/* ==========================================================================
   WaySide — Design System & Landing Page Styles
   ========================================================================== */

:root {
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Primary palette */
  --primary-50: #EEF2FF;
  --primary-100: #E0E7FF;
  --primary-200: #C7D2FE;
  --primary-400: #818CF8;
  --primary-500: #6366F1;
  --primary-600: #4F46E5;
  --primary-700: #4338CA;
  --primary-800: #3730A3;

  /* Warm accent */
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;

  /* Neutrals */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  --white: #FFFFFF;
  --black: #000000;

  /* Semantic */
  --text: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-500);
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --border: var(--gray-200);
  --border-light: var(--gray-100);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 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);

  /* Layout */
  --max-w: 1180px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --header-h: 72px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

img, svg { display: block; max-width: 100%; }

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

h1, h2, h3, h4 { margin: 0; line-height: 1.15; }

p { margin: 0; }

/* ==========================================================================
   Layout
   ========================================================================== */

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

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

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

.section-header h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
}

.section-header p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--primary-600);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.3), 0 4px 12px rgba(79, 70, 229, 0.15);
}
.btn-primary:hover {
  background: var(--primary-700);
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.4), 0 8px 20px rgba(79, 70, 229, 0.2);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-600);
  padding: 14px 20px;
}
.btn-ghost:hover { background: var(--primary-50); }

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }

.brand-logo {
  height: 38px;
  width: auto;
}

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

.desktop-nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s;
}
.desktop-nav a:hover { color: var(--text); text-decoration: none; }

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

.header-login {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s;
}
.header-login:hover { color: var(--text); text-decoration: none; }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px 24px;
  z-index: 99;
}

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

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a, .mobile-nav button {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
}
.mobile-nav a:hover { color: var(--primary-600); text-decoration: none; }

.mobile-nav .btn {
  margin-top: 8px;
  width: 100%;
}

.mobile-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 4px 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 80px 0 96px;
  overflow: hidden;
}

.hero-wallpaper {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 124px;
  overflow: visible;
  background-image: url('/assets/temp-wallpaper-1.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.hero-wallpaper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(255, 255, 255, 0.0) 100%
  );
  pointer-events: none;
}

.hero-wallpaper .hero-grid {
  position: relative;
  z-index: 1;
  /* Break out of container centering: go full viewport width */
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 5vw;
  padding-right: 5vw;
  grid-template-columns: 1fr 1fr;
  gap: 180px;
}

/* Local scrim for guaranteed readability (only in wallpaper hero) */
.hero-wallpaper .hero-copy {
  padding: 28px 28px 24px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.35);
  /* Right-align in left column → right edge at screen midpoint, center at ~1/3 */
  justify-self: end;
  max-width: 635px;
  width: 100%;
}

.hero-wallpaper .hero-eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

/* Ensure wallpaper hero heading stays white (prevents later overrides) */
.hero-wallpaper .hero-copy h1 {
  color: rgba(255, 255, 255, 0.98);
}

.hero-wallpaper .hero-lead {
  color: rgba(255, 255, 255, 0.88);
}

.hero-wallpaper .hero-lead strong {
  color: rgba(255, 255, 255, 0.98);
}

.hero-wallpaper .hero-note {
  color: rgba(255, 255, 255, 0.78);
}

.hero-wallpaper .btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero-wallpaper .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.85);
}

.hero-wallpaper .hero-screenshot {
  filter: drop-shadow(0 28px 80px rgba(0, 0, 0, 0.45));
}

/* Left-align screenshot in right column → center sits at ~2/3 of screen */
.hero-wallpaper .hero-visual {
  justify-content: flex-start;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 216px;
  align-items: center;
}

.hero-eyebrow {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-700);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--gray-900);
}

.hero-lead {
  margin-top: 24px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
}

.hero-lead strong { color: var(--text); font-weight: 600; }

.hero .cta-row { margin-top: 32px; }

.hero-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hero visual placeholder */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-screenshot {
  width: min(468px, 100%);
  height: auto;
  border-radius: 0;
  box-shadow: none;
  border: none;
  background: transparent;
  filter: drop-shadow(0 22px 70px rgba(0, 0, 0, 0.35));
  transform: translateX(24px);
  transition: transform 0.3s ease;
}

.hero-screenshot:hover {
  transform: translateX(24px) translateY(-8px);
}

/* ==========================================================================
   Emotional Bridge: "Plan less. Enjoy more."
   ========================================================================== */

.bridge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.bridge-card {
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bridge-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.bridge-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 2.25rem;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.bridge-icon.purple { background: var(--primary-50); }
.bridge-icon.cyan { background: #CFFAFE; }
.bridge-icon.amber { background: var(--amber-50); }
.bridge-icon.green { background: #D1FAE5; }

.bridge-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bridge-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Value Props (3 big alternating blocks)
   ========================================================================== */

/* Features section with full-bleed background image */
.section-features-wallpaper {
  position: relative;
  background-image: url("/assets/temp-wallpaper-2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-y: visible;
  overflow-x: clip;
}

.section-features-wallpaper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 0;
}

.section-features-wallpaper .container {
  position: relative;
  z-index: 1;
}

/* Text and UI over the features wallpaper — keep readable */
.section-features-wallpaper .value-eyebrow {
  color: rgba(255, 255, 255, 0.95);
}

.section-features-wallpaper .value-copy h2 {
  color: rgba(255, 255, 255, 0.98);
}

.section-features-wallpaper .value-copy p {
  color: rgba(255, 255, 255, 0.9);
}

.section-features-wallpaper .value-bullets li {
  color: rgba(255, 255, 255, 0.88);
}

.section-features-wallpaper .value-check {
  background: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.98);
}

.section-features-wallpaper .value-visual-placeholder {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Forward bookings screenshot: transparent over background, like hero phone */
.value-screenshot {
  width: 660px;
  max-width: none;
  height: auto;
  display: block;
  border: none;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 28px 80px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.value-visual:hover .value-screenshot {
  transform: translateY(-8px);
}
.section-features-wallpaper .value-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
/* Let the first value block's screenshot overflow to the right */
.section-features-wallpaper .value-block:first-child .value-visual {
  overflow: visible;
  min-width: 0;
  justify-content: flex-start;
}
.section-features-wallpaper .value-block:first-child {
  overflow: visible;
  gap: 0px;
}
.section-features-wallpaper .container {
  overflow: visible;
}

.section-features-wallpaper .btn-primary {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.section-features-wallpaper .btn-primary:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.value-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}
.value-block + .value-block { padding-top: 0; }

.value-block.reversed .value-copy { order: 2; }
.value-block.reversed .value-visual { order: 1; }

.value-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-600);
  margin-bottom: 12px;
}

.value-copy h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.value-copy p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
}

.value-bullets {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.value-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.value-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 1px;
}

.value-copy .btn { margin-top: 28px; }

/* Visual placeholders */
.value-visual-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
  line-height: 1.5;
}
.value-visual-placeholder.vp-1 {
  background: linear-gradient(145deg, #EEF2FF, #DBEAFE);
}
.value-visual-placeholder.vp-2 {
  background: linear-gradient(145deg, #FFFBEB, #FEF3C7);
}
.value-visual-placeholder.vp-3 {
  background: linear-gradient(145deg, #ECFDF5, #D1FAE5);
}

/* ---------- Triple phone showcase (Three Views) ---------- */

.value-block-views {
  padding: 80px 0;
  text-align: center;
}
.value-block + .value-block-views { padding-top: 0; }
.value-block-views + .value-block { padding-top: 0; }

.value-views-header {
  max-width: 640px;
  margin: 0 auto 56px;
}

.value-views-header .value-eyebrow { margin-bottom: 12px; }

.value-views-header h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.value-views-header p {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.value-views-trio {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 24px;
  box-sizing: border-box;
}

.value-views-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0;
  flex: 0 1 420px;
}

.value-views-phone img {
  width: 390px;
  max-width: 100%;
  height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.value-views-phone--featured img {
  width: 443px;
}

.value-views-phone:hover img {
  transform: translateY(-8px);
}

.value-views-phone figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.value-views-phone figcaption strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.value-views-phone figcaption span {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Wallpaper overrides for the trio */
.section-features-wallpaper .value-views-header h2 {
  color: rgba(255, 255, 255, 0.98);
}
.section-features-wallpaper .value-views-header p {
  color: rgba(255, 255, 255, 0.9);
}
.section-features-wallpaper .value-views-phone figcaption strong {
  color: rgba(255, 255, 255, 0.95);
}
.section-features-wallpaper .value-views-phone figcaption span {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Duo phone layout (AI Assistant) ---------- */

.value-visual-duo {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
}

.value-visual-duo .value-duo-back {
  width: 430px;
  max-width: none;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.value-visual-duo .value-duo-front {
  width: 430px;
  max-width: none;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-left: -130px;
  margin-top: 140px;
}

.value-visual-duo:hover .value-duo-back,
.value-visual-duo:hover .value-duo-front {
  transform: translateY(-8px);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature icon colors */
.fi-indigo { background: var(--primary-50); }
.fi-amber { background: var(--amber-50); }
.fi-green { background: #D1FAE5; }
.fi-blue { background: #DBEAFE; }
.fi-pink { background: #FCE7F3; }
.fi-purple { background: #EDE9FE; }
.fi-orange { background: #FFEDD5; }
.fi-cyan { background: #CFFAFE; }

/* ==========================================================================
   How It Works (3 Steps)
   ========================================================================== */

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 24px;
  background: var(--primary-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* ==========================================================================
   Social Proof / Reviews
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.review-stars {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--amber-500);
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.review-author {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-100);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-700);
}

.review-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

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

/* ==========================================================================
   Premium Teaser
   ========================================================================== */

.premium-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.premium-card {
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--white);
}
.premium-card.featured {
  border-color: var(--primary-400);
  background: linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
  box-shadow: 0 0 0 1px var(--primary-200), var(--shadow-lg);
}

.premium-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.premium-badge.free { background: var(--gray-100); color: var(--gray-700); }
.premium-badge.pro { background: var(--primary-100); color: var(--primary-700); }

.premium-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.premium-price {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.premium-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.premium-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.premium-list .check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 1px;
}
.premium-card .check { background: var(--gray-100); color: var(--gray-600); }
.premium-card.featured .check { background: var(--primary-100); color: var(--primary-600); }

/* ==========================================================================
   Guides Teaser
   ========================================================================== */

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.guide-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.25s, transform 0.25s;
}
.guide-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}

.guide-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.guide-img.gi-1 { background: linear-gradient(135deg, #DBEAFE, #C7D2FE); }
.guide-img.gi-2 { background: linear-gradient(135deg, #FEF3C7, #FFEDD5); }
.guide-img.gi-3 { background: linear-gradient(135deg, #D1FAE5, #CFFAFE); }

.guide-body { padding: 20px; }

.guide-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-600);
  margin-bottom: 8px;
}

.guide-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.guide-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
  gap: 16px;
}
.faq-question:hover { background: var(--gray-50); }

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

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

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--primary-50) 100%);
}

.final-cta h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.final-cta p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .cta-row {
  justify-content: center;
  margin-top: 32px;
}

/* ==========================================================================
   Inline CTA Banner (mid-page) — lives inside features section, no own background
   ========================================================================== */

.mid-cta {
  padding: 56px 0;
}

.mid-cta-inner {
  padding: 48px;
  border-radius: var(--radius-xl);
  background: rgba(0, 0, 0, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.mid-cta-inner h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.98);
}

.mid-cta-inner p {
  margin-top: 8px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.mid-cta-inner .btn-primary {
  background: var(--white);
  color: var(--primary-700);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.mid-cta-inner .btn-primary:hover {
  background: var(--gray-50);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--gray-50);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand-col .brand-logo { height: 32px; margin-bottom: 12px; }

.footer-brand-col p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

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

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Download Modal
   ========================================================================== */

.modal {
  width: min(480px, calc(100% - 32px));
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.modal-card { padding: 28px; }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-title {
  font-weight: 800;
  font-size: 1.2rem;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--gray-50);
  color: var(--text-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: all 0.15s;
}
.icon-btn:hover { background: var(--gray-100); }

.modal .muted {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.download-modal-panel { margin-top: 4px; }

.coming-soon-message {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.store-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.store-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--gray-50);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: all 0.15s;
}
.store-link:hover { background: var(--gray-100); border-color: var(--gray-300); }

.qr-wrap {
  margin-top: 20px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--gray-50);
}

.qr-wrap canvas { border-radius: 8px; }

.qr-wrap .muted { font-size: 0.8rem; }

/* ==========================================================================
   Utility
   ========================================================================== */

.muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ==========================================================================
   Prose (guides, terms, privacy)
   ========================================================================== */

.page { padding: 48px 0 80px; }

.prose {
  max-width: 72ch;
  color: var(--text-secondary);
}
.prose h1, .prose h2, .prose h3 { color: var(--text); }
.prose h1 { font-size: 2rem; margin: 0 0 16px; }
.prose h2 { font-size: 1.3rem; margin: 32px 0 12px; }
.prose p, .prose li { line-height: 1.7; }

/* Auth panel */
.auth-panel {
  margin-top: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0;
}

label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100);
}

.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--gray-50);
  color: var(--text-secondary);
  font-size: 0.9rem;
  white-space: pre-wrap;
}
.status.good { border-color: #86EFAC; background: #F0FDF4; }
.status.bad { border-color: #FCA5A5; background: #FEF2F2; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 144px; }
  .hero-visual { order: -1; justify-content: center; }
  .hero-screenshot { width: min(360px, 100%); transform: none; }
  .hero-screenshot:hover { transform: translateY(-8px); }
  .hero-lead { max-width: 100%; }
  .hero-wallpaper .hero-copy { justify-self: unset; max-width: 100%; width: 100%; }
  .hero-wallpaper .hero-visual { justify-content: center; }
  .hero-wallpaper .hero-grid { padding-left: 4vw; padding-right: 4vw; }

  .value-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .value-block.reversed .value-copy,
  .value-block.reversed .value-visual { order: unset; }

  /* Trio: scale down for tablet */
  .value-views-phone img { width: 280px; }
  .value-views-phone--featured img { width: 320px; }
  .value-views-trio { gap: 20px; }

  /* VP1: cap email screenshot */
  .value-screenshot { width: 500px; }

  /* Duo: center and scale for single-column */
  .value-visual-duo { justify-content: center; }
  .value-visual-duo .value-duo-back { width: 340px; }
  .value-visual-duo .value-duo-front { width: 340px; margin-left: -100px; margin-top: 100px; }

  .premium-row { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .desktop-nav { display: none; }
  .header-login { display: none; }
  .header-actions .btn { display: none; }
  .mobile-menu-toggle { display: flex; }

  .bridge-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .features-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .steps-row { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .steps-row::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .guides-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .mid-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }

  .hero h1 { font-size: clamp(2rem, 6vw, 3rem); }

  /* VP1: fluid on mobile */
  .value-screenshot { width: 100%; max-width: 500px; }

  /* Trio: horizontal scroll on mobile */
  .value-views-trio {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 24px;
    justify-content: flex-start;
    gap: 20px;
    padding: 0 24px 12px;
    margin-left: 0;
    width: auto;
  }
  .value-views-phone {
    flex: 0 0 72vw;
    max-width: 340px;
    scroll-snap-align: center;
  }
  .value-views-phone img { width: 100%; }
  .value-views-phone--featured img { width: 100%; }

  /* Duo: scale for mobile */
  .value-visual-duo .value-duo-back { width: 280px; }
  .value-visual-duo .value-duo-front { width: 280px; margin-left: -80px; margin-top: 80px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .store-row { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }

  /* Trio: tighter on small screens */
  .value-views-phone { flex: 0 0 78vw; max-width: 320px; }
  .value-views-phone figcaption span { display: none; }

  /* Duo: stack vertically */
  .value-visual-duo { flex-direction: column; align-items: center; justify-content: center; }
  .value-visual-duo .value-duo-back { width: 300px; }
  .value-visual-duo .value-duo-front { width: 300px; margin-left: 40px; margin-top: -40px; }
}

@media (min-width: 1025px) {
  /* layout handled by justify-self: end + full-width grid */
}
