/* ============================================================
   MEDKO — PREMIUM MINIMALIST — Inspired by Apple / Linear / Stripe
   ============================================================ */

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

:root {
  --black:   #080808;
  --near-black: #111111;
  --gray-9:  #1a1a1a;
  --gray-7:  #3a3a3a;
  --gray-5:  #888888;
  --gray-3:  #cccccc;
  --gray-1:  #f2f2f2;
  --gray-0:  #fafafa;
  --white:   #ffffff;

  --accent:  #4338CA;   /* indigo — matches app */
  --accent-h:#3730A3;
  --accent-l:#EEF2FF;

  --font: 'Inter', -apple-system, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILS ─────────────────────────────────────── */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── TYPOGRAPHY SCALE ───────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: 56px;
}

.section-sub {
  font-size: 18px;
  color: var(--gray-5);
  margin-top: -40px;
  margin-bottom: 56px;
  font-weight: 400;
  line-height: 1.7;
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s;
  letter-spacing: -0.1px;
}
.btn-main:hover {
  background: var(--gray-9);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-5);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 13px 8px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--black); }

/* ── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.07); }

.nav-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 30px; height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 450;
  color: var(--gray-5);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }

.nav-end { flex-shrink: 0; }

.nav-download {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,0.12);
  transition: all 0.2s;
  letter-spacing: -0.1px;
}
.nav-download:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--black); border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  padding-top: 120px;
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-5);
  margin-bottom: 28px;
}

.dot-live {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.hero-h1 {
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -3px;
  color: var(--black);
  margin-bottom: 24px;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #4338CA 20%, #06B6D4 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--gray-5);
  line-height: 1.65;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 72px;
}

/* ── PHONE STACK (HERO) ──────────────────────────── */
.hero-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 0;
  position: relative;
}

.phone-stack {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: -16px;
  position: relative;
}

/* ═══════════════════════════════════════════════════
   CLEAN FLAT PHONE FRAME (matches reference image)
   ═══════════════════════════════════════════════════ */

/* Device wrapper — no buttons, just the frame */
.device {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

/* Hide side buttons — clean look */
.device-btn-vol-up,
.device-btn-vol-dn,
.device-btn-mute,
.device-btn-power { display: none; }

/* ─── THE PHONE FRAME (matches real iPhone 15 Pro) ─── */
.iphone {
  position: relative;
  /* Titanium Space Black — same color as real iPhone 15 Pro bezel */
  border: 12px solid #3a3a3c;
  border-radius: 56px;
  background: #3a3a3c;
  overflow: hidden;
  box-shadow:
    /* Inner edge highlight — light catching the top of the bezel */
    0 0 0 1px rgba(255,255,255,0.10) inset,
    /* Subtle dark outer ring */
    0 0 0 1px rgba(0,0,0,0.25),
    /* Natural drop shadow */
    0 28px 56px rgba(0,0,0,0.22),
    0 10px 20px rgba(0,0,0,0.14);
}

/* Inner screen — sits inside the bezel */
.iphone-inner {
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}

.iphone-inner img {
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Dynamic Island — black pill floating ON the screen (not in bezel) */
.iphone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  /* Pill proportions matching real iPhone 15 Pro Dynamic Island */
  width: 34%;
  height: 30px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
  /* Tiny inner glow to show it's a cutout */
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset;
}

/* Three-phone hero layout */
.iphone-main {
  width: 250px;
  z-index: 3;
  animation: phoneFloat 5s ease-in-out infinite;
}
.iphone-back {
  width: 200px;
  opacity: 0.6;
  z-index: 1;
  margin-right: -36px;
  transform: scale(0.87) translateX(18px);
  animation: phoneFloatSide1 5s ease-in-out infinite 0.7s;
  filter: brightness(0.75);
}
.iphone-right {
  width: 200px;
  opacity: 0.6;
  z-index: 1;
  margin-left: -36px;
  transform: scale(0.87) translateX(-18px);
  animation: phoneFloatSide2 5s ease-in-out infinite 1.4s;
  filter: brightness(0.75);
}

@keyframes phoneFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-12px); }
}
@keyframes phoneFloatSide1 {
  0%,100% { transform: scale(0.87) translateX(18px) translateY(0); }
  50%     { transform: scale(0.87) translateX(18px) translateY(-8px); }
}
@keyframes phoneFloatSide2 {
  0%,100% { transform: scale(0.87) translateX(-18px) translateY(0); }
  50%     { transform: scale(0.87) translateX(-18px) translateY(-6px); }
}

/* ── STATS BAR ───────────────────────────────────── */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 0;
  border-top: 1px solid var(--gray-1);
  margin-top: 64px;
  flex-wrap: wrap;
}

.stat {
  padding: 0 48px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--black);
  margin-bottom: 4px;
}
.stat span {
  font-size: 13px;
  color: var(--gray-5);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-1);
}

/* ── FEATURES ─────────────────────────────────────── */
.features {
  padding: 120px 0;
  background: var(--gray-0);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-1);
  border: 1px solid var(--gray-1);
  border-radius: 20px;
  overflow: hidden;
}

.feat-card {
  background: var(--white);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feat-card:hover { background: var(--gray-0); }

.feat-icon {
  width: 40px; height: 40px;
  background: var(--gray-0);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  margin-bottom: 20px;
  border: 1px solid var(--gray-1);
  transition: all 0.2s;
}
.feat-card:hover .feat-icon {
  background: var(--accent-l);
  color: var(--accent);
  border-color: rgba(67,56,202,0.2);
}

.feat-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.feat-card p {
  font-size: 14px;
  color: var(--gray-5);
  line-height: 1.65;
}

/* ── SCREENS ─────────────────────────────────────── */
.screens {
  padding: 120px 0;
  background: var(--white);
}

.screens-scroll-wrap { margin-top: 0; }

.screens-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.screen-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.screen-block-rev {
  direction: rtl;
}
.screen-block-rev > * { direction: ltr; }

.screen-phone-frame {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Solo device for screens section */
.device-solo {
  position: relative;
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.device-solo:hover { transform: translateY(-10px) scale(1.015); }

.iphone-solo {
  width: 210px;
  border-width: 10px;
  border-radius: 50px;
}
.iphone-solo .iphone-inner {
  border-radius: 40px;
}
.iphone-solo .iphone-island {
  height: 26px;
  width: 34%;
  top: 10px;
}

.screen-copy { max-width: 440px; }

.screen-num {
  display: block;
  font-size: 72px;
  font-weight: 900;
  color: var(--gray-1);
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: -8px;
}

.screen-copy h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.screen-copy p {
  font-size: 16px;
  color: var(--gray-5);
  line-height: 1.75;
  margin-bottom: 24px;
}

.screen-copy ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.screen-copy ul li {
  font-size: 14px;
  color: var(--gray-7);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.screen-copy ul li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── HOW IT WORKS ─────────────────────────────────── */
.how {
  padding: 120px 0;
  background: var(--gray-0);
}

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

.step {
  flex: 1;
  padding: 0 32px 0 0;
}
.step:last-child { padding-right: 0; }

.step-n {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
  transition: all 0.2s;
}
.step:hover .step-n {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.step p { font-size: 14px; color: var(--gray-5); line-height: 1.7; }

.step-line {
  width: 1px;
  height: 40px;
  background: var(--gray-1);
  flex-shrink: 0;
  margin-top: 0;
  align-self: flex-start;
  margin-top: 20px;
}

/* ── GROWTH ─────────────────────────────────────────── */
.growth {
  padding: 120px 0;
  background: var(--white);
}

.growth-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.growth-text h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
}
.growth-text p { font-size: 16px; color: var(--gray-5); line-height: 1.75; margin-bottom: 28px; }

.growth-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.growth-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-7);
  font-weight: 500;
}
.growth-list li svg { color: var(--accent); flex-shrink: 0; }

/* Google card */
.google-card {
  background: var(--white);
  border: 1px solid var(--gray-1);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-0);
  border: 1px solid var(--gray-1);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--gray-7);
}

.gc-result {
  background: var(--gray-0);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gc-ad {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: #e8f0fe;
  color: #1a73e8;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.gc-name { font-size: 15px; font-weight: 700; color: #1a0dab; }

.gc-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-5);
}
.gc-stars { color: #f59e0b; font-size: 13px; }

.gc-book {
  display: inline-block;
  width: fit-content;
  margin-top: 4px;
  background: #1a73e8;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.gc-book:hover { opacity: 0.85; }

.gc-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: var(--gray-3);
}
.gc-arrow span { font-size: 13px; color: var(--gray-5); font-weight: 500; }

/* ── PRICING ─────────────────────────────────────────── */
.pricing {
  padding: 120px 0;
  background: var(--gray-0);
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
  text-align: left;
}

.plan {
  background: var(--white);
  border: 1px solid var(--gray-1);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.plan-featured {
  background: var(--black);
  border-color: transparent;
  color: var(--white);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  background: var(--accent);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.plan-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.plan-featured .plan-name { color: rgba(255,255,255,0.5); }

.plan-price {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}
.plan-price span { font-size: 18px; font-weight: 500; letter-spacing: 0; }
.plan-featured .plan-price { color: var(--white); }

.plan-coming {
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.plan-cycle {
  font-size: 13px;
  color: var(--gray-5);
  margin-bottom: 28px;
}
.plan-featured .plan-cycle { color: rgba(255,255,255,0.4); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 32px;
}
.plan-features li {
  font-size: 14px;
  color: var(--gray-7);
  font-weight: 450;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-1);
}
.plan-features li:last-child { border-bottom: none; padding-bottom: 0; }
.plan-featured .plan-features li { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.08); }

.plan-btn {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: -0.1px;
}

.plan-btn-outline {
  border: 1.5px solid var(--gray-3);
  color: var(--black);
}
.plan-btn-outline:hover { border-color: var(--black); background: var(--black); color: var(--white); }

.plan-btn-solid {
  background: var(--white);
  color: var(--black);
}
.plan-btn-solid:hover { background: var(--gray-0); }

/* ── TESTIMONIALS ─────────────────────────────────── */
.testimonials {
  padding: 120px 0;
  background: var(--white);
}

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

.testi {
  border: 1px solid var(--gray-1);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testi:hover {
  border-color: var(--gray-3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}

.testi-stars { font-size: 14px; color: #f59e0b; letter-spacing: 2px; }

.testi blockquote {
  font-size: 15px;
  color: var(--gray-7);
  line-height: 1.75;
  flex: 1;
  font-style: normal;
  quotes: none;
}

.testi-who { display: flex; align-items: center; gap: 12px; }

.testi-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--white);
  flex-shrink: 0;
}

.testi-who strong { display: block; font-size: 14px; font-weight: 700; color: var(--black); }
.testi-who span { font-size: 12px; color: var(--gray-5); }

/* ── CTA ──────────────────────────────────────────── */
.cta {
  padding: 120px 0;
  background: var(--black);
}

.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-logo {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: block;
}

.cta h2 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1.05;
}

.cta p { font-size: 17px; color: rgba(255,255,255,0.45); font-weight: 400; }

.cta-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }

.cta .btn-main { background: var(--white); color: var(--black); }
.cta .btn-main:hover { background: var(--gray-1); }

.cta .btn-ghost { color: rgba(255,255,255,0.4); }
.cta .btn-ghost:hover { color: rgba(255,255,255,0.8); }

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  background: var(--near-black);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo span { color: var(--white); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.35); line-height: 1.7; }

.footer-links-group h4 {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links-group a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer-socials a:hover { color: rgba(255,255,255,0.7); }

/* ── SCROLL ANIMATIONS ───────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-left"] { transform: translateX(24px); }

[data-aos].visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .plan-featured { order: -1; }
  .testi-grid { grid-template-columns: 1fr; }
  .growth-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; gap: 32px; }
  .step-line { width: 32px; height: 1px; background: var(--gray-1); }
  .screen-block, .screen-block-rev { grid-template-columns: 1fr; gap: 40px; text-align: center; direction: ltr; }
  .screen-copy { max-width: 100%; }
  .screen-copy ul { display: inline-flex; text-align: left; }
  .screen-phone-frame { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-end { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 16px 32px 24px;
    border-bottom: 1px solid var(--gray-1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  }
  .hero-h1 { letter-spacing: -2px; }
  .phone-stack { gap: 8px; }
  .iphone-back, .iphone-right { display: none; }
  .iphone-main { width: 210px; }
  .stat { padding: 0 20px; }
  .stat strong { font-size: 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-bar { gap: 0; }
  .stat-divider { display: none; }
  .stat { padding: 16px; flex: 1 1 50%; border-bottom: 1px solid var(--gray-1); }
  .br-desktop { display: none; }
}

/* ══════════════════════════════════════════════
   INNER PAGES — shared styles
   ══════════════════════════════════════════════ */

.page-hero {
  padding: 120px 0 72px;
  background: var(--gray-0);
  border-bottom: 1px solid var(--gray-1);
  text-align: center;
}
.page-hero .section-tag { margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 17px;
  color: var(--gray-5);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.prose-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}
.prose-wrap h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.4px; color: var(--black);
  margin: 48px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-1);
}
.prose-wrap h2:first-of-type { margin-top: 0; }
.prose-wrap h3 { font-size: 16px; font-weight: 700; color: var(--gray-7); margin: 24px 0 8px; }
.prose-wrap p { font-size: 15px; color: var(--gray-5); line-height: 1.85; margin-bottom: 16px; }
.prose-wrap ul, .prose-wrap ol { padding-left: 20px; margin-bottom: 16px; }
.prose-wrap li { font-size: 15px; color: var(--gray-5); line-height: 1.85; margin-bottom: 6px; }
.prose-wrap a { color: var(--accent); text-decoration: none; }
.prose-wrap a:hover { text-decoration: underline; }
.prose-meta {
  display: inline-block; background: var(--gray-0); border: 1px solid var(--gray-1);
  border-radius: 10px; padding: 12px 20px; font-size: 13px; color: var(--gray-5); margin-bottom: 48px;
}
.prose-meta strong { color: var(--black); }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 100px 0; }
.about-text h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; color: var(--black); margin-bottom: 18px; line-height: 1.15; }
.about-text p { font-size: 16px; color: var(--gray-5); line-height: 1.8; margin-bottom: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 0 100px; }
.value-card { border: 1px solid var(--gray-1); border-radius: 20px; padding: 32px 28px; transition: all 0.2s; }
.value-card:hover { border-color: var(--gray-3); box-shadow: 0 8px 32px rgba(0,0,0,0.05); transform: translateY(-3px); }
.value-icon { font-size: 28px; margin-bottom: 14px; }
.value-card h3 { font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--gray-5); line-height: 1.65; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.team-card { border: 1px solid var(--gray-1); border-radius: 20px; padding: 28px; text-align: center; transition: all 0.2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.team-av { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: var(--white); }
.team-card h3 { font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--gray-5); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; padding: 80px 0 120px; }
.contact-info h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; color: var(--black); margin-bottom: 12px; }
.contact-info p { font-size: 15px; color: var(--gray-5); line-height: 1.75; margin-bottom: 36px; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-method { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--gray-1); border-radius: 14px; text-decoration: none; transition: all 0.2s; }
.contact-method:hover { border-color: var(--gray-3); background: var(--gray-0); transform: translateX(4px); }
.cm-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--gray-0); border: 1px solid var(--gray-1); font-size: 18px; flex-shrink: 0; }
.cm-label { font-size: 11px; font-weight: 600; color: var(--gray-5); text-transform: uppercase; letter-spacing: 1px; }
.cm-value { font-size: 15px; font-weight: 600; color: var(--black); }
.contact-form-card { background: var(--white); border: 1px solid var(--gray-1); border-radius: 24px; padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.contact-form-card h3 { font-size: 20px; font-weight: 800; color: var(--black); margin-bottom: 28px; letter-spacing: -0.3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-7); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-1); border-radius: 10px; font-family: var(--font); font-size: 14px; color: var(--black); background: var(--white); outline: none; transition: border-color 0.2s; resize: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-3); }
.form-success { display: none; text-align: center; padding: 32px; }
.form-success .success-icon { font-size: 40px; margin-bottom: 12px; }
.form-success h4 { font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.form-success p { font-size: 14px; color: var(--gray-5); }
.faq-item { border-bottom: 1px solid var(--gray-1); padding: 20px 0; }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--black); text-align: left; padding: 0; gap: 16px; }
.faq-q svg { flex-shrink: 0; transition: transform 0.3s; color: var(--gray-5); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { font-size: 14px; color: var(--gray-5); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 200px; padding-top: 12px; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .prose-wrap { padding: 48px 20px 80px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
}
