/* =============================================================================
   TRIPPERGRAM — styles.css
   Modern startup landing page | Pure CSS | No frameworks
   Customize colors via CSS variables in :root
   ============================================================================= */


/* =============================================================================
   1. CSS VARIABLES
   ============================================================================= */
:root {
  /* Brand Colors */
  --purple:        #7168C0;
  --purple-hover:  #6059B0;
  --purple-light:  #9B94D4;
  --blue-light:    #D4E9FC;
  --bg:            #F5F5F5;
  --dark:          #1A1A1A;
  --grey:          #8F8F8F;
  --light-grey:    #F2F2F2;
  --green:         #49A282;
  --red:           #D34545;
  --orange:        #E9792B;
  --white:         #FFFFFF;

  /* Hero gradient */
  --hero-from:     #EEE9FF;
  --hero-to:       #D4E9FC;

  /* Typography */
  --font: 'Euclid Circular A', 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --section-py:    100px;
  --container:     1200px;

  /* Border radius */
  --radius-card:   20px;
  --radius-btn:    100px;
  --radius-phone:  40px;

  /* Shadows */
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-btn:    0 8px 24px rgba(113, 104, 192, 0.35);
  --shadow-phone:  0 24px 60px rgba(0, 0, 0, 0.15);
}


/* =============================================================================
   2. RESET & BASE
   ============================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button {
  font-family: var(--font);
}


/* =============================================================================
   3. CONTAINER
   ============================================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}


/* =============================================================================
   4. TYPOGRAPHY UTILITIES
   ============================================================================= */

/* Section label: "SIMPLE & FAST" style */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 12px;
  display: block;
}

.section-label-dark {
  color: #555;
}

/* Colored pill tag: "FOR TOURISTS" / "FOR GUIDES" */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.tag-purple {
  background: rgba(113, 104, 192, 0.1);
  color: var(--purple);
}

.tag-green {
  background: rgba(73, 162, 130, 0.12);
  color: var(--green);
}

/* Section title */
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-title-white {
  color: var(--white);
  margin-bottom: 56px;
}

/* Section subtitle / body copy */
.section-subtitle {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 48px;
}


/* =============================================================================
   5. BUTTONS
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 200ms ease;
  white-space: nowrap;
  line-height: 1;
}

/* Filled purple */
.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.btn-primary:hover {
  background: var(--purple-hover);
  border-color: var(--purple-hover);
  transform: scale(1.03);
  box-shadow: var(--shadow-btn);
}

/* Outlined purple */
.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.btn-outline:hover {
  background: rgba(113, 104, 192, 0.08);
  transform: scale(1.03);
}

/* Outlined white (for dark banners) */
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: scale(1.03);
}


/* =============================================================================
   6. NAVBAR
   ============================================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 300ms ease, box-shadow 300ms ease, padding 300ms ease;
}

/* Scrolled state: frosted glass effect */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.4px;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  transition: color 200ms ease;
  position: relative;
  padding: 2px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 200ms ease;
  transform-origin: left;
}

.nav-link:hover {
  color: var(--purple);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--purple);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  transition: background 200ms ease;
  flex-shrink: 0;
}

.hamburger:hover {
  background: var(--light-grey);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 300ms ease;
  transform-origin: center;
}

/* Hamburger "X" state */
.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =============================================================================
   7. HERO SECTION
   ============================================================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Decorative concentric circles */
.hero-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-circle-1 {
  width: 560px;
  height: 560px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.hero-circle-2 {
  width: 880px;
  height: 880px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-circle-3 {
  width: 1200px;
  height: 1200px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hero inner layout */
.hero-container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 520px;
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 18px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Phone pair wrapper */
.hero-phones {
  display: flex;
  gap: 32px;
  align-items: flex-end;
  flex-shrink: 0;
}

.phone-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey);
  letter-spacing: 0.3px;
  text-align: center;
}


/* =============================================================================
   8. PHONE MOCKUPS
   ============================================================================= */

/* ─── Large (hero) ──────────── */
.phone-mockup {
  /* 375:780 ≈ 0.481 aspect ratio */
  width: 210px;
  height: 436px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.14));
  display: block;
}

.phone-frame {
  width: 100%;
  height: 100%;
  border: 3px solid var(--dark);
  border-radius: 40px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 10px 10px;
}

.phone-notch {
  width: 66px;
  height: 18px;
  background: var(--dark);
  border-radius: 0 0 14px 14px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.phone-screen {
  flex: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
}

/* ─── Small (screenshot rows) ──────────── */
.phone-mockup-sm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.phone-frame-sm {
  width: 165px;
  height: 343px;
  border: 2.5px solid var(--dark);
  border-radius: 32px;
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.phone-notch-sm {
  width: 52px;
  height: 14px;
  background: var(--dark);
  border-radius: 0 0 10px 10px;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.phone-screen-sm {
  flex: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
}

/* ─── Screenshot placeholder ──────────── */
.screenshot-placeholder {
  background: var(--light-grey);
  border: 2px dashed #BFBFBF;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 8px;
  color: var(--grey);
  user-select: none;
}

.placeholder-icon {
  font-size: 22px;
  opacity: 0.6;
  display: block;
}

.placeholder-label {
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  opacity: 0.8;
}

/* Replace placeholder with real screenshot: <img class="screenshot-img" /> */
.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
  display: block;
}


/* =============================================================================
   9. HOW IT WORKS SECTION
   ============================================================================= */
.how-it-works {
  background: var(--white);
  padding: var(--section-py) 24px;
  text-align: center;
}

.how-it-works .section-label {
  display: block;
}

.how-it-works .section-title {
  max-width: 400px;
  margin: 0 auto 56px;
}

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

.step-card {
  background: var(--white);
  border: 1px solid #EAEAEA;
  border-radius: var(--radius-card);
  padding: 36px 28px 32px;
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* Purple number badge */
.step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 11px;
  font-weight: 800;
  color: var(--white);
  background: var(--purple);
  width: 30px;
  height: 30px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

.step-icon {
  font-size: 38px;
  margin: 24px 0 16px;
  display: block;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.65;
}


/* =============================================================================
   10. FOR TOURISTS SECTION
   ============================================================================= */
.for-tourists {
  background: #F8FBFF;
  padding: var(--section-py) 24px;
}


/* =============================================================================
   11. FEATURE CARDS  (shared — tourists & guides)
   ============================================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.09);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.65;
}

/* Screenshot section heading */
.screenshots-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.3px;
}

/* Horizontal phone row */
.screenshots-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Cross-link banners */
.crosslink-banner {
  border-radius: var(--radius-card);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.crosslink-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.15);
}

/* Dark banner (tourist section) */
.crosslink-dark {
  background: linear-gradient(130deg, #251C5C 0%, #3E3488 100%);
}

/* Light banner (guides section) */
.crosslink-light {
  background: linear-gradient(130deg, #EEE9FF 0%, #DCD7F8 100%);
}

.crosslink-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

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


/* =============================================================================
   12. FOR GUIDES SECTION
   ============================================================================= */
.for-guides {
  background: var(--bg);
  padding: var(--section-py) 24px;
}

/* "How to Get Started" block */
.get-started {
  margin-bottom: 72px;
}

.get-started-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -0.3px;
}

.steps-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-h {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0 8px;
}

.step-h-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(113, 104, 192, 0.3);
}

.step-h-text {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.55;
}

/* Connector line between steps */
.step-connector {
  flex-shrink: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  margin-top: 23px;
  opacity: 0.35;
  border-radius: 2px;
}


/* =============================================================================
   13. WHY TRIPPERGRAM  (dark section)
   ============================================================================= */
.why-trippergram {
  background: var(--dark);
  padding: var(--section-py) 24px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

.why-card {
  background: #242424;
  border: 1px solid #2E2E2E;
  border-radius: var(--radius-card);
  padding: 32px 28px;
  text-align: left;
  transition: transform 220ms ease, border-color 220ms ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: #484848;
}

.why-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.why-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.65;
}


/* =============================================================================
   14. DOWNLOAD SECTION
   ============================================================================= */
.download {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  padding: var(--section-py) 24px;
  text-align: center;
}

.download-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.8px;
}

.download-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  margin-bottom: 48px;
}

/* Widget container */
.download-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ─── Role Toggle ──────────── */
.role-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 4px;
}

.toggle-btn {
  position: relative;
  padding: 10px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  transition: color 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.toggle-btn.active {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.15);
}

.toggle-btn:not(.active):hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* ─── Store Buttons ──────────── */
.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  transition: opacity 200ms ease, transform 200ms ease;
}

.store-buttons.hidden {
  display: none;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--dark);
  border-radius: 100px;
  padding: 14px 26px;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  min-width: 180px;
  border: none;
}

.store-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

.store-btn-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--dark);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 1px;
}

.store-btn-sub {
  font-size: 10px;
  color: var(--grey);
  font-weight: 400;
  line-height: 1;
}

.store-btn-main {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.download-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}


/* =============================================================================
   15. FOOTER
   ============================================================================= */
.footer {
  background: #111111;
  padding: 64px 0 0;
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 260px;
}

.footer-logo-text {
  color: var(--white) !important;
}

.footer-tagline {
  font-size: 14px;
  color: #555;
  margin-top: 12px;
  line-height: 1.5;
}

/* Link columns */
.footer-links-grid {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 20px;
}

.footer-col-links li {
  margin-bottom: 10px;
}

.footer-col-links a {
  font-size: 14px;
  color: #777;
  transition: color 200ms ease;
}

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

/* Divider */
.footer-divider {
  height: 1px;
  background: #222;
}

/* Bottom bar */
.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #444;
}


/* =============================================================================
   16. SECTION — shared background variations
   ============================================================================= */
.section-white {
  background: var(--white);
}


/* =============================================================================
   17. ANIMATIONS
   ============================================================================= */

/* On-load hero animations (CSS keyframes, no JS) */
.animate-hero {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: var(--delay, 0ms);
}

/* Scroll-triggered animations (JS adds .visible) */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--stagger, 0) * 100ms);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =============================================================================
   18. RESPONSIVE BREAKPOINTS
   ============================================================================= */

/* ─── Tablet landscape (≤ 1024px) ──────────── */
@media (max-width: 1024px) {
  :root {
    --section-py: 88px;
  }

  .hero-phones {
    gap: 24px;
  }

  .phone-mockup {
    width: 185px;
    height: 385px;
  }
}

/* ─── Tablet (≤ 900px): hero goes single column ──────────── */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-phones {
    justify-content: center;
  }
}

/* ─── Tablet portrait (≤ 768px) ──────────── */
@media (max-width: 768px) {

  /* Show hamburger, hide desktop nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f0f0f0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 14px 24px;
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
    font-size: 16px;
  }

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

  .nav-link::after {
    display: none; /* Hide underline animation on mobile list */
  }

  /* Steps — single column */
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Feature cards — single column */
  .features-grid {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }

  /* Why grid — single column */
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  /* Cross-link banners stack */
  .crosslink-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  /* Horizontal steps → vertical */
  .steps-horizontal {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .step-connector {
    width: 2px;
    height: 28px;
    margin: 0;
    background: linear-gradient(180deg, var(--purple), var(--purple-light));
  }

  /* Screenshot rows: horizontally scrollable on mobile */
  .screenshots-row {
    gap: 20px;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 4px 24px 12px;
    margin: 0 -24px 48px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .phone-mockup-sm {
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* Download buttons stack */
  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  /* Footer stacks */
  .footer-top {
    flex-direction: column;
    gap: 36px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links-grid {
    gap: 28px;
  }
}

/* ─── Mobile (≤ 480px) ──────────── */
@media (max-width: 480px) {
  :root {
    --section-py: 72px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .hero-phones {
    gap: 14px;
  }

  .phone-mockup {
    width: 155px;
    height: 322px;
  }

  .phone-frame {
    border-radius: 32px;
  }

  .phone-notch {
    width: 52px;
    height: 14px;
  }

  /* Scale down concentric circles */
  .hero-circle-1 { width: 300px; height: 300px; }
  .hero-circle-2 { width: 480px; height: 480px; }
  .hero-circle-3 { width: 660px; height: 660px; }

  .section-title {
    letter-spacing: -0.3px;
  }

  .crosslink-banner {
    padding: 24px 20px;
  }

  .download-title {
    letter-spacing: -0.5px;
  }
}
