:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --secondary: #10B981;
  --accent: #8B5CF6;
  --dark: #1F2937;
  --dark-light: #374151;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --light: #F9FAFB;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px var(--shadow);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
  color: var(--dark);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  color: var(--dark-light);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.nav-list a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, #E0F2FE 0%, #F0FDF4 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Buttons */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 6px var(--shadow);
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px var(--shadow-lg);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-primary {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.cta-large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

.cta-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  padding: 1rem 2rem;
  font-size: 1rem;
  box-shadow: 0 8px 16px var(--shadow-lg);
  border-radius: 50px;
  animation: pulse 2s infinite;
}

/* Secondary CTA button (affiliate) */
.cta-btn.cta-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-btn.cta-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px var(--shadow-lg);
}

.cta-btn.cta-secondary:active {
  transform: translateY(0);
}

/* Secondary button for non-affiliate actions */
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  margin-left: 0.5rem;
}

.secondary-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Features */
.features {
  padding: 5rem 0;
  background: var(--white);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Steps */
.how-it-works {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: var(--light);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px var(--shadow);
}

.testimonial-content p {
  font-style: italic;
  color: var(--dark-light);
  margin-bottom: 1.5rem;
}

.testimonial-author strong {
  display: block;
  color: var(--dark);
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--gray);
}

/* Page Hero */
.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #E0F2FE 0%, #F0FDF4 100%);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Content Sections */
.content-block {
  margin-bottom: 3rem;
}

.content-block h2 {
  color: var(--dark);
  margin-bottom: 1rem;
}

.content-block ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-block li {
  margin-bottom: 0.5rem;
}

.values-grid, .features-list, .feature-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-item, .feature-item {
  background: var(--light);
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
}

.value-item svg, .feature-item svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Steps Detailed */
.steps-detailed {
  padding: 5rem 0;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--light);
  border-radius: 1rem;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-tip {
  background: #FEF3C7;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  border-left: 4px solid #F59E0B;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* FAQ */
.faq-content {
  padding: 3rem 0 5rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: 1.5rem;
  color: var(--gray);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer a {
  color: var(--primary);
}

/* Blog */
.blog-content {
  padding: 3rem 0 5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px var(--shadow-lg);
}

.blog-image {
  width: 100%;
  height: 250px;
}

.blog-image svg {
  width: 100%;
  height: 100%;
}

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.blog-content h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-content h2 a {
  color: var(--dark);
}

.blog-content h2 a:hover {
  color: var(--primary);
}

.blog-content p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
}

/* Blog Post */
.blog-post {
  padding: 2rem 0 5rem;
}

.post-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--gray);
  font-size: 0.875rem;
}

.post-category {
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content strong {
  color: var(--dark);
}

.post-footer {
  max-width: 800px;
  margin: 4rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.post-navigation {
  margin-bottom: 2rem;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.post-cta {
  text-align: center;
  padding: 2rem;
  background: var(--light);
  border-radius: 1rem;
}

/* Page CTA */
.page-cta {
  text-align: center;
  padding: 3rem 0;
  margin-top: 2rem;
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.page-cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  text-align: center;
}

.page-cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.page-cta-section .cta-btn {
  background: var(--white);
  color: var(--primary);
}

.page-cta-section .cta-btn:hover {
  background: var(--light);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.footer-brand p {
  color: var(--gray-light);
  font-size: 0.875rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--gray-light);
  font-size: 0.875rem;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: var(--gray-light);
  font-size: 0.875rem;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.tip-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 4px var(--shadow);
}

.tip-icon {
  width: 48px;
  height: 48px;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.emergency-section {
  background: #FEF2F2;
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 3rem;
  border-left: 4px solid #DC2626;
}

.emergency-section h2 {
  color: #DC2626;
}

.quick-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.quick-link-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 2px 4px var(--shadow);
  transition: transform 0.2s;
}

.quick-link-card:hover {
  transform: translateY(-3px);
}

.quick-link-card svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Stories */
.stories-grid {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

.story-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 4px var(--shadow);
}

.story-card.featured {
  border-left: 4px solid var(--primary);
}

.story-quote p {
  font-style: italic;
  color: var(--dark-light);
  margin-bottom: 1.5rem;
}

.story-author strong {
  display: block;
  margin-bottom: 0.25rem;
}

.story-author span {
  color: var(--gray);
  font-size: 0.875rem;
}

.story-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.story-tags span {
  background: var(--light);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--gray);
}

/* Guidelines */
.guidelines-section {
  margin-bottom: 3rem;
}

.guidelines-section h2 {
  margin-bottom: 1.5rem;
}

.behavior-list {
  list-style: none;
  margin-left: 0;
}

.behavior-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.behavior-list.prohibited li {
  color: #DC2626;
}

.enforcement-list {
  list-style: none;
  margin-left: 0;
}

.enforcement-list li {
  padding: 0.75rem 0;
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
  background: var(--light);
  padding: 2rem;
  border-radius: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-list {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: 0 4px 6px var(--shadow);
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--border);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 1rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-floating {
    bottom: 1rem;
    right: 1rem;
    padding: 0.875rem 1.5rem;
  }

  .steps-detailed .step-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .quick-links {
    flex-direction: column;
  }

  .post-content {
    padding: 0 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: 1.875rem;
  }

  .cta-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* =========== ADDITIONAL STYLES FOR MISSING CLASSES =========== */

/* Section containers */
.about-content,
.contact-content,
.policy-content,
.guidelines-content,
.stories-content,
.tips-content,
.tips-article,
.features-overview,
.features-showcase,
.faq-preview {
  padding: 5rem 0;
  background: var(--white);
}

/* Article content (e.g., dating tips page) */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Feature full-width sections with visual and text */
.feature-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "text visual";
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

.feature-full.reverse {
  grid-template-areas: "visual text";
}

.feature-full .feature-text {
  grid-area: text;
}

.feature-full .feature-visual {
  grid-area: visual;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-full .feature-visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Small CTA button */
.cta-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* Centered intro text blocks */
.stories-intro,
.guidelines-intro,
.tips-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* Values list as grid (alternative to values-grid) */
.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* CTA blocks inside containers (FAQ, Stories) */
.faq-cta,
.stories-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--light);
  border-radius: 1rem;
  text-align: center;
}

/* FAQ preview full-width section */
.faq-preview {
  padding: 4rem 0;
  background: var(--light);
  text-align: center;
}

/* Tip sections spacing */
.tip-section {
  margin-bottom: 3rem;
}

/* Post date styling */
.post-date {
  font-size: 0.875rem;
  color: var(--gray);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-full {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "visual";
  }
}