/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #8b5cf6;
  --primary-dark: #7c3aed;
  --secondary: #ec4899;
  --accent: #06b6d4;
  --dark: #1e1b4b;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  white-space: nowrap;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  color: var(--gray-700);
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  padding: 100px 0 80px;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--gray-50);
}

.cta-btn {
  composes: btn;
  composes: btn-primary;
}

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

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

/* Features grid */
.features {
  padding: 100px 0;
  background: var(--white);
}

.features h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--dark);
}

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

.feature-card {
  background: var(--gray-50);
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  background: var(--white);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* Sections */
section {
  padding: 80px 0;
}

.bg-gray {
  background: var(--gray-100);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

/* Content */
.content-section {
  padding: 80px 0;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark);
}

.content-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--gray-900);
}

.content-section p {
  margin-bottom: 20px;
  color: var(--gray-700);
  line-height: 1.8;
}

.content-section ul {
  margin: 20px 0;
  padding-left: 24px;
}

.content-section li {
  margin-bottom: 12px;
  color: var(--gray-700);
  line-height: 1.7;
}

/* Two column layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 60px 0;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.two-column img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 60px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--gray-600);
  font-size: 1rem;
  margin-top: 8px;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 30px;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

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

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-question.active svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 0 24px 24px;
  max-height: 1000px;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.blog-card-content {
  padding: 24px;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
  line-height: 1.4;
}

.blog-card p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-card-meta {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Article */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--gray-700);
}

.article-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 40px 0 20px;
  color: var(--dark);
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 30px 0 16px;
  color: var(--gray-900);
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 12px;
}

.article-content a {
  color: var(--primary);
  text-decoration: none;
}

.article-content a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 30px;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
  padding: 20px 0;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 99;
}

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

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--gray-700);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  nav {
    display: none;
  }

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

  .two-column {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-column.reverse {
    direction: ltr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

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

  .cta-floating {
    bottom: 20px;
    right: 20px;
    padding: 14px 24px;
    font-size: 1rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-4 {
  margin-left: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

/* Larger margins */
.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

/* Gradient CTA section */
.section-cta {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

/* Width */
.w-100 {
  width: 100%;
}

/* Text colors */
.text-gray-400 {
  color: var(--gray-400);
}

.text-gray-500 {
  color: var(--gray-500);
}

.text-gray-600 {
  color: var(--gray-600);
}

.text-gray-700 {
  color: var(--gray-700);
}

.text-gray-900 {
  color: var(--gray-900);
}

.text-dark {
  color: var(--dark);
}

.text-primary {
  color: var(--primary);
}

/* Display */
.d-block {
  display: block;
}

/* Related articles section */
.related-articles {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-200);
}

.related-articles-title {
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
}

.related-articles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-articles-item {
  margin-bottom: 12px;
}

.related-articles-link {
  color: var(--primary);
  text-decoration: none;
}

.related-articles-link:hover {
  text-decoration: underline;
}

/* Narrow container */
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* Small centered container */
.container-small {
  max-width: 600px;
  margin: 0 auto;
}

/* CTA group */
.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Centered section with spacing */
.section-center {
  text-align: center;
  margin-top: 40px;
}

/* Info box for contact/guidelines */
.info-box {
  background: var(--gray-50);
  padding: 30px;
  border-radius: 16px;
}

.info-box--with-margin {
  background: var(--gray-50);
  padding: 30px;
  border-radius: 16px;
  margin-top: 30px;
}

.info-box-title {
  color: var(--dark);
  margin-bottom: 20px;
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
}

.info-box-row {
  margin-bottom: 20px;
}

.info-box-label {
  color: var(--gray-900);
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.info-box-value {
  color: var(--gray-600);
}

/* Backgrounds */
.bg-gray-50 {
  background: var(--gray-50);
  padding: 30px;
  border-radius: 16px;
}

.bg-gray-50--with-margin {
  background: var(--gray-50);
  padding: 30px;
  border-radius: 16px;
  margin-top: 30px;
}

/* Info card for contact/guides */
.info-card {
  background: var(--gray-50);
  padding: 30px;
  border-radius: 16px;
  margin-top: 30px;
}

.info-card-title {
  color: var(--dark);
  margin-bottom: 20px;
  display: block;
}

.info-card-row {
  margin-bottom: 20px;
}

.info-card-label {
  color: var(--gray-900);
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.info-card-value {
  color: var(--gray-600);
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* Inline content wrapper for feature cards */
.feature-card-content-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  border: 1px solid var(--gray-200);
}

/* Success story card */
.success-story-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  border: 1px solid var(--gray-200);
}

/* Section heading with color */
.section-heading-primary {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-heading-secondary {
  color: var(--secondary);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-heading-accent {
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Tip card */
.tip-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  border-left: 4px solid var(--primary);
  text-align: left;
}

/* Guidelines card */
.guidelines-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  border-left: 4px solid var(--primary);
  text-align: left;
}

.guidelines-card h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Success story card */
.story-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  border: 1px solid var(--gray-200);
}

.story-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.story-card-avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 16px;
  flex-shrink: 0;
}

.story-card-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
}

.story-card-role {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.story-card-text {
  font-style: italic;
  line-height: 1.8;
  color: var(--gray-700);
}

/* Tip card (for dating-tips and similar) */
.tip-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  text-align: left;
}

.tip-card-title {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Blog card link */
.blog-card-link {
  text-decoration: none;
  color: inherit;
}

.blog-card-link:hover {
  text-decoration: underline;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
