/* ================================================
   Mellem — Marketing Site Styles
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* --- Custom Properties --- */
:root {
  --accent: #2D7A6E;
  --accent-hover: #24635A;
  --accent-light: #E8F3F1;
  --accent-subtle: #D1E8E4;
  --bg-primary: #F7F6F3;
  --bg-secondary: #F2F1EE;
  --bg-hover: #ECEAE6;
  --text-primary: #1A1A1A;
  --text-secondary: #6B6B6B;
  --text-muted: #A3A3A3;
  --border: #E5E4E1;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --font: 'Nunito', sans-serif;
  --max-width: 1120px;

  --mood-stressed: #D4856A;
  --mood-stressed-bg: #FAEAE4;
  --mood-anxious: #C9956B;
  --mood-anxious-bg: #F5EBDF;
  --mood-tired: #8B7EC8;
  --mood-tired-bg: #ECEAF5;
  --mood-drained: #5B9EC9;
  --mood-drained-bg: #E2EFF7;
  --mood-frustrated: #C46B6B;
  --mood-frustrated-bg: #F5E4E4;
  --mood-restless: #999999;
  --mood-restless-bg: #EFEFEF;
  --mood-pause: #7DAE8B;
  --mood-pause-bg: #EEF6F0;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1 { font-size: 3.75rem; font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: 2.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
p { color: var(--text-secondary); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  background: var(--white);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn .apple-icon {
  width: 16px;
  height: 16px;
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 760px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 228, 225, 0.6);
  transition: all 0.3s ease;
}

.nav.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.nav-logo svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav-cta .btn {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(247, 246, 243, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: background 0.15s;
}
.mobile-menu a:hover { background: var(--bg-secondary); }
.mobile-menu .btn { margin-top: 12px; font-size: 1.1rem; padding: 14px 32px; }

/* --- Hero --- */
.hero {
  padding: 140px 24px 48px;
}

.hero-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text .subline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.65;
}

.hero-text .btn {
  margin-bottom: 8px;
}

.hero-text .platform-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero mockup: zoomed-in Mac screen corner */
.hero-mockup {
  position: relative;
}

.hero-screen {
  background: linear-gradient(135deg, #C9D6DE 0%, #A8C0CB 30%, #D4C9B8 60%, #E0D5C8 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Fake macOS menu bar (light, like the real thing) */
.hero-mac-bar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0 14px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mac-bar-items {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mac-bar-item {
  font-size: 0.68rem;
  color: rgba(0,0,0,0.5);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mac-bar-mellem {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0,0,0,0.06);
}

.mac-bar-mellem svg {
  width: 12px;
  height: 12px;
}

.mac-bar-mellem span {
  font-size: 0.68rem;
  color: rgba(0,0,0,0.65);
  font-weight: 700;
}

/* Desktop area under menu bar */
.hero-desktop {
  padding: 6px 12px 24px;
  min-height: 240px;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

/* Dropdown panel floating from menu bar */
.hero-dropdown {
  width: 280px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
  animation: heroDropSlide 0.4s ease 0.3s both;
}

@keyframes heroDropSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-drop-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.hero-drop-status .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

.hero-drop-status span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-drop-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-left: 15px;
}

.hero-drop-cta {
  width: 100%;
  padding: 9px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.hero-drop-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.hero-drop-row svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* --- Section spacing --- */
.section {
  padding: 96px 24px;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}

.section-header p {
  margin-top: 12px;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

/* --- How it works cards --- */
.how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.how-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.how-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.how-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.how-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.how-card h3 { margin-bottom: 8px; }
.how-card p { font-size: 0.95rem; line-height: 1.55; }

/* --- Feature rows --- */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row:nth-child(even) { direction: rtl; }
.feature-row:nth-child(even) > * { direction: ltr; }

.feature-text h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 1rem;
  line-height: 1.65;
}

/* --- Notification feature row: custom 35/65 layout --- */
.feature-row-notif {
  grid-template-columns: 35% 1fr;
  gap: 48px;
}

.feature-mockup-notif {
  overflow: hidden;
  min-width: 0;
}

/* --- Notification Carousel: infinite drift, edge-fade via mask --- */
.notif-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 70px, black calc(100% - 70px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 70px, black calc(100% - 70px), transparent 100%);
}

.notif-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.notif-carousel-wrap:hover .notif-track {
  animation-play-state: paused !important;
}

.notif-card {
  flex: 0 0 360px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #E5E4E1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Card inner layout */
.notif-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-icon svg { width: 20px; height: 20px; }

.notif-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.notif-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.notif-actions {
  display: flex;
  gap: 10px;
}

.notif-actions .btn-mock {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-mock-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-mock-ghost {
  background: var(--bg-secondary);
  color: var(--text-secondary);
}


/* --- Mood Animation Mockup (fixed height, no reflow) --- */
.mockup-mood-anim {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  /* Fixed height to prevent page jump between screens */
  height: 420px;
}

.mood-screen-checkin,
.mood-screen-meditation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mood-screen-checkin {
  opacity: 1;
  transform: translateX(0);
}

.mood-screen-checkin.hidden {
  opacity: 0;
  transform: translateX(-20px);
  pointer-events: none;
}

.mood-screen-meditation {
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
}

.mood-screen-meditation.visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.mockup-mood-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 18px;
}

.mockup-mood-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.mood-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--white);
  transition: all 0.3s ease;
}

.mood-pill.selected {
  border-color: transparent;
}

.mood-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mood-pill-full { grid-column: 1 / -1; }

.mockup-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.dur-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.dur-pill.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.dur-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.mockup-begin {
  margin-top: 16px;
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
}

.mockup-begin.pressed {
  transform: scale(0.96);
  background: var(--accent-hover);
}

/* Meditation screen inside mockup */
.meditation-view {
  text-align: center;
  padding: 16px 0;
}

.meditation-view .med-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breathing-circle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.breathing-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 2px solid var(--accent-subtle);
  animation: breathe 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breathing-circle svg {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}

@keyframes breathe {
  0%, 100% { transform: scale(0.85); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.meditation-view .med-timer {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.meditation-view .med-guidance {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* --- Menu bar + dropdown mockup (zoomed screen style) --- */
.mockup-menubar-full {
  max-width: 380px;
  margin: 0 auto;
}

.mockup-screen {
  background: linear-gradient(135deg, #C9D6DE 0%, #A8C0CB 30%, #D4C9B8 60%, #E0D5C8 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.mockup-mac-bar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0 14px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mockup-mac-bar .mac-bar-items {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mockup-mac-bar .mac-bar-item {
  font-size: 0.68rem;
  color: rgba(0,0,0,0.5);
  font-weight: 600;
}

.mockup-mac-bar .mac-bar-mellem {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0,0,0,0.06);
}

.mockup-mac-bar .mac-bar-mellem svg { width: 12px; height: 12px; }
.mockup-mac-bar .mac-bar-mellem span {
  font-size: 0.68rem;
  color: rgba(0,0,0,0.65);
  font-weight: 700;
}

.mockup-desktop {
  padding: 6px 16px 24px;
  display: flex;
  justify-content: flex-end;
}

.mockup-dropdown-panel {
  width: 260px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
}

.mockup-drop-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.mockup-drop-status .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.mockup-drop-status span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mockup-drop-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 15px;
}

.mockup-drop-cta {
  width: 100%;
  padding: 9px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.mockup-drop-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.mockup-drop-row svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* --- Try It Section --- */
.try-section {
  padding: 96px 24px;
  background: var(--bg-secondary);
}

.try-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.try-inner .section-label { margin-bottom: 12px; }
.try-inner h2 { margin-bottom: 8px; }
.try-inner > p { margin-bottom: 32px; font-size: 1.05rem; }

.try-player {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: left;
}

.try-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.try-player-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.try-voice-pills {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.try-voice-pill {
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
}

.try-voice-pill:hover {
  border-color: var(--accent-subtle);
  color: var(--text-primary);
}

.try-voice-pill.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.try-player-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.try-player-icon svg { width: 22px; height: 22px; }

.try-player-info h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.try-player-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.try-player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.try-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.try-play-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.try-play-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.try-progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.try-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.try-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}

.try-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}


/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-section {
  padding: 96px 24px;
}

.cta-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  background: var(--accent-light);
  border: 1px solid var(--accent-subtle);
}

.cta-card h2 { margin-bottom: 24px; }
.cta-card p { margin-bottom: 28px; font-size: 1.05rem; }
.cta-trial {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Pricing page --- */
.pricing-hero {
  padding: 160px 24px 48px;
  text-align: center;
}

.pricing-hero h1 { margin-bottom: 12px; }
.pricing-hero p {
  font-size: 1.1rem;
  max-width: 440px;
  margin: 0 auto;
}

.pricing-card {
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
}

/* Segmented toggle */
.pricing-toggle {
  display: inline-flex;
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 32px;
}

.pricing-seg {
  position: relative;
  z-index: 1;
  padding: 8px 20px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: color 0.25s ease;
  white-space: nowrap;
}

.pricing-seg.active {
  color: var(--white);
}

.pricing-seg-indicator {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition: left 0.3s ease, width 0.3s ease;
}

.pricing-save-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255,255,255,0.25);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  margin-left: 4px;
  vertical-align: middle;
}

.pricing-seg:not(.active) .pricing-save-badge {
  background: var(--accent);
  color: var(--white);
}

/* Price display */
.pricing-price-wrap {
  position: relative;
  min-height: 72px;
  margin-bottom: 8px;
}

.pricing-price-option {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.pricing-price-option.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 2px;
}

.pricing-annual-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.pricing-features {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-feature svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* FAQ */
.faq-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 24px;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

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

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

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

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Contact page --- */
.contact-hero {
  padding: 160px 24px 48px;
  text-align: center;
}

.contact-hero h1 { margin-bottom: 12px; }
.contact-hero p {
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto;
}

.contact-content {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-card h3 { margin-bottom: 8px; }
.contact-card p { margin-bottom: 24px; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 0.9rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.15s;
  outline: none;
}

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

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

.contact-form .btn { align-self: flex-start; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.2s; }

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

  .nav { max-width: 100%; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 120px 24px 40px; }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-text .subline { margin-left: auto; margin-right: auto; }
  .hero-mockup { margin: 0 auto; max-width: 380px; }

  .section { padding: 64px 24px; }
  .how-cards { grid-template-columns: 1fr; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-row:nth-child(even) { direction: ltr; }

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

  .feature-row-notif {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .notif-carousel-wrap { margin: 0 -24px; padding: 16px 0; }
  .notif-card { flex: 0 0 300px; }

  .try-section { padding: 64px 24px; }

  .pricing-card {
    max-width: 100%;
    padding: 32px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero { padding: 110px 16px 32px; }
  .section { padding: 48px 16px; }
  .container { padding: 0 16px; }
  .how-card { padding: 24px; }
  .cta-card { padding: 40px 24px; }
  .hero-mockup { max-width: 320px; }
}

/* --- Legal Pages --- */
.legal-hero {
  padding: 120px 24px 40px;
  text-align: center;
  background: var(--bg-primary);
}
.legal-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.legal-hero p {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.legal-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 12px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p,
.legal-content li {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-content li {
  margin-bottom: 6px;
}
.legal-content a {
  color: var(--accent);
  text-decoration: none;
}
.legal-content a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
