:root {
  /* Dark theme (default) */
  --bg: #0a0f1c;
  --panel: #0f172a;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #60a5fa;
  --accent-2: #a855f7;
  --accent-3: #22c55e;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --max-width: 1180px;
  --gradient: radial-gradient(circle at 10% 20%, rgba(96, 165, 250, 0.16), transparent 40%),
    linear-gradient(135deg, #0b1222 0%, #0a0f1c 100%);
  --border: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] {
  /* Light theme - Warm, women-friendly tones */
  --bg: #faf8f5;
  --panel: #fffefb;
  --card: #fffefb;
  --text: #3d3529;
  --muted: #8b7d6b;
  --accent: #d9776f;
  --accent-2: #c0847c;
  --accent-3: #a78b7a;
  --shadow: 0 18px 40px rgba(141, 125, 107, 0.12);
  --gradient: radial-gradient(circle at 10% 20%, rgba(217, 119, 111, 0.1), transparent 40%),
    linear-gradient(135deg, #faf8f5 0%, #f5f1eb 100%);
  --border: rgba(141, 125, 107, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: background-color 300ms ease, color 300ms ease;
}

/* Site Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 20px 0;
}

.logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 300ms ease;
}

.logo:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav__link {
  padding: 12px 16px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 10px;
  transition: color 200ms ease, background-color 200ms ease;
}

.site-nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .site-nav__link:hover {
  background: rgba(0, 0, 0, 0.04);
}

.btn--small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: transform 150ms ease, border-color 300ms ease;
  flex-shrink: 0;
  text-decoration: none;
}

.user-avatar:hover {
  transform: scale(1.05);
  border-color: var(--accent);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar #avatar-initials {
  font-weight: 700;
  font-size: 18px;
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.theme-switcher {
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  padding: 32px 20px 48px;
  background: var(--gradient);
}

/* Theme Switcher */
.theme-switcher {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 300ms ease;
  touch-action: manipulation;
  flex-shrink: 0;
}

.theme-switcher:hover {
  transform: scale(1.05);
}

.theme-switcher:active {
  transform: scale(0.95);
}

.theme-switcher__icon {
  font-size: 20px;
  line-height: 1;
  position: absolute;
  transition: opacity 200ms ease, transform 200ms ease;
}

.theme-switcher__icon--light {
  opacity: 0;
  transform: rotate(90deg);
}

.theme-switcher__icon--dark {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme="light"] .theme-switcher__icon--light {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme="light"] .theme-switcher__icon--dark {
  opacity: 0;
  transform: rotate(-90deg);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--card) 0%, var(--panel) 100%);
  border: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto 26px;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.hero__copy h1 {
  margin: 10px 0 12px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero__copy .lede {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero__visual {
  background: linear-gradient(135deg, var(--panel), var(--card));
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: background-color 300ms ease, border-color 300ms ease;
}

.visual-bar {
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, #14b8a6, #6366f1);
  margin-bottom: 14px;
  transition: background 300ms ease;
}

[data-theme="light"] .visual-bar {
  background: linear-gradient(135deg, #d9776f, #c0847c);
}

.visual-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.visual-tile {
  height: 110px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f2937, #0f172a);
}

.tile--green {
  background: linear-gradient(135deg, #22c55e, #84cc16);
  transition: background 300ms ease;
}

[data-theme="light"] .tile--green {
  background: linear-gradient(135deg, #a78b7a, #b89a8a);
}

.tile--amber {
  background: linear-gradient(135deg, #f97316, #fbbf24);
  transition: background 300ms ease;
}

[data-theme="light"] .tile--amber {
  background: linear-gradient(135deg, #d9776f, #e5a89f);
}

.tile--blue {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  transition: background 300ms ease;
}

[data-theme="light"] .tile--blue {
  background: linear-gradient(135deg, #c0847c, #d4a59d);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: background-color 300ms ease;
}

[data-theme="light"] .pill {
  background: rgba(217, 119, 111, 0.15);
  color: var(--text);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(96, 165, 250, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  transition: background-color 300ms ease, color 300ms ease;
}

[data-theme="light"] .badge {
  background: rgba(217, 119, 111, 0.15);
  color: #c85a4f;
}

.badge--green {
  background: rgba(34, 197, 94, 0.16);
  color: var(--accent-3);
}

[data-theme="light"] .badge--green {
  background: rgba(167, 139, 122, 0.18);
  color: #8b6f5a;
}

.badge--violet {
  background: rgba(168, 85, 247, 0.16);
  color: var(--accent-2);
}

[data-theme="light"] .badge--violet {
  background: rgba(192, 132, 124, 0.18);
  color: #a86b5f;
}

.badge--blue {
  background: rgba(96, 165, 250, 0.16);
  color: var(--accent);
}

[data-theme="light"] .badge--blue {
  background: rgba(217, 119, 111, 0.15);
  color: #c85a4f;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 10px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.btn {
  min-height: 52px;
  min-width: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  touch-action: manipulation;
}

.btn:active {
  transform: translateY(1px) scale(0.995);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  transition: background 300ms ease, color 300ms ease;
}

[data-theme="light"] .btn--accent {
  background: linear-gradient(135deg, #d9776f, #c0847c);
  color: #fffefb;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: none;
}

.section {
  max-width: var(--max-width);
  margin: 32px auto 20px;
  padding: 0 4px;
}

.section__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.section__head h2 {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}

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

.grid--stats {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: linear-gradient(135deg, var(--card) 0%, var(--panel) 100%);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: background-color 300ms ease, border-color 300ms ease;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.stat {
  display: grid;
  gap: 6px;
}

.stat__label {
  color: var(--muted);
  font-size: 14px;
}

.stat__value {
  font-weight: 700;
  font-size: 20px;
}

.section--cta .cta-panel {
  background: linear-gradient(135deg, var(--panel) 0%, var(--card) 100%);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.section--cta h2 {
  margin: 6px 0 8px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.section--cta .lede {
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.footer {
  max-width: var(--max-width);
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 4px 12px;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  max-width: var(--max-width);
  margin: 0 auto 32px;
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  transition: border-color 300ms ease;
}

.tab {
  min-height: 52px;
  padding: 0 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
  transition: color 150ms ease, border-color 150ms ease;
}

.tab:hover,
.tab:focus {
  color: var(--text);
  outline: none;
}

.tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content {
  display: block;
}

.tab-content[hidden] {
  display: none;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: linear-gradient(135deg, var(--card) 0%, var(--panel) 100%);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.pricing-card--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 18px 40px rgba(96, 165, 250, 0.2);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

[data-theme="light"] .pricing-card--featured {
  border: 2px solid #d9776f;
  box-shadow: 0 18px 40px rgba(217, 119, 111, 0.25);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  transition: background 300ms ease, color 300ms ease;
}

[data-theme="light"] .pricing-card__badge {
  background: linear-gradient(135deg, #d9776f, #c0847c);
  color: #fffefb;
}

.pricing-card__header {
  margin-bottom: 24px;
}

.pricing-card__header h3 {
  margin: 0 0 12px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
}

.price-period {
  font-size: 16px;
  color: var(--muted);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.pricing-card__features li {
  padding: 10px 0;
  color: var(--muted);
  line-height: 1.5;
  position: relative;
  padding-left: 24px;
}

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-3);
  font-weight: 700;
}

.pricing-card__cta {
  margin-top: auto;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto;
}

.pricing-note p {
  margin: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: linear-gradient(135deg, var(--card) 0%, var(--panel) 100%);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.testimonial-card__quote {
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 300ms ease, color 300ms ease;
}

[data-theme="light"] .testimonial-card__avatar {
  background: linear-gradient(135deg, #d9776f, #c0847c);
  color: #fffefb;
}

.testimonial-card__info {
  flex: 1;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.testimonial-card__role {
  font-size: 14px;
  color: var(--muted);
}

/* About Page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-hero {
  text-align: center;
  margin-bottom: 48px;
}

.about-hero h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 16px;
}

.about-tagline {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.about-section {
  margin-bottom: 40px;
}

.about-section h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 16px;
}

.about-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 16px;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.about-card {
  background: linear-gradient(135deg, var(--card) 0%, var(--panel) 100%);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  transition: background-color 300ms ease, border-color 300ms ease;
}

.about-card h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.about-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.about-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--card) 0%, var(--panel) 100%);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: background-color 300ms ease, border-color 300ms ease;
}

.about-cta h4 {
  margin-bottom: 8px;
}

.about-cta p {
  margin-bottom: 20px;
}

.about-cta .cta-row {
  justify-content: center;
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 16px 0;
  }

  .logo {
    font-size: 26px;
  }

  .site-nav__link {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .user-avatar {
    width: 44px;
    height: 44px;
  }

  .user-avatar #avatar-initials {
    font-size: 16px;
  }

  .page {
    padding: 24px 16px 32px;
  }

  .hero {
    padding: 24px;
  }

  .btn {
    width: 100%;
  }

  .btn--small {
    width: auto;
  }

  .tabs {
    gap: 4px;
  }

  .tab {
    padding: 0 16px;
    font-size: 15px;
  }

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

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

  .theme-switcher {
    width: 44px;
    height: 44px;
  }

  .theme-switcher__icon {
    font-size: 18px;
  }
}
