/* ============================================================
   ESTOQUI — Blue / White / Cream premium editorial system
   ============================================================ */
:root {
  /* Brand */
  --blue: #1E40FF;
  --blue-2: #1230D8;
  --blue-3: #0B1F8F;
  --blue-tint: #E8ECFF;
  --blue-hover: #4B67FF;

  /* Neutrals */
  --cream: #F7F1E6;
  --cream-2: #FBF6EC;
  --cream-3: #F1EAD9;
  --paper: #FFFFFF;
  --ink-900: #0D1330;
  --ink-800: #191F3E;
  --ink-700: #2A3057;
  --ink-500: #545B85;
  --ink-400: #8A90B4;
  --ink-300: #B7BCD6;
  --ink-200: #DCE0EF;
  --line: #E4E1D6;

  /* Photographic warmth (LIVES ONLY IN PHOTOS, NOT UI) —
     kept for possible legacy references */
  --warm-amber: #C97843;

  /* Type */
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-script: 'Caveat', 'Bradley Hand', cursive;

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(13, 19, 48, 0.06), 0 2px 6px rgba(13, 19, 48, 0.04);
  --shadow: 0 4px 14px rgba(13, 19, 48, 0.08), 0 12px 32px rgba(13, 19, 48, 0.06);
  --shadow-lg: 0 20px 60px rgba(13, 19, 48, 0.14);

  --container: 1240px;
  --container-narrow: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--cream-2);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ================= PROMO BAR ================= */
.promo-bar {
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 10px 40px 10px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.promo-emoji { opacity: 0.85; }
.promo-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: white; font-size: 14px; cursor: pointer;
  opacity: 0.75;
}
.promo-close:hover { opacity: 1; }

/* ================= NAV ================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(13, 19, 48, 0.06);
  box-shadow: 0 1px 0 rgba(13, 19, 48, 0.02);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 34px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex; align-items: center; gap: 34px;
  font-size: 15px; font-weight: 500;
}
.nav-links a {
  color: var(--ink-900);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.btn-ghost {
  color: var(--ink-900);
  font-size: 15px; font-weight: 500;
  padding: 8px 4px;
}
.btn-ghost:hover { color: var(--blue); }

.btn-primary {
  background: var(--blue);
  color: white;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(30, 64, 255, 0.25);
}
.btn-primary:hover { background: var(--blue-2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30, 64, 255, 0.35); }
.btn-primary.btn-sm { padding: 9px 18px; font-size: 14px; box-shadow: 0 2px 8px rgba(30, 64, 255, 0.25); }
.btn-primary.btn-block { display: flex; width: 100%; justify-content: center; padding: 16px 24px; font-size: 16px; }

.btn-white {
  background: white; color: var(--blue);
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22); }

.btn-outline-light {
  background: transparent; color: white;
  padding: 14px 28px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.45);
  font-weight: 600; font-size: 15px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.85); }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink-900);
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 20, 65, 0.86) 0%, rgba(11, 20, 65, 0.55) 45%, rgba(11, 20, 65, 0.15) 78%, rgba(11, 20, 65, 0) 100%),
    linear-gradient(180deg, rgba(11, 20, 65, 0.28) 0%, rgba(11, 20, 65, 0.05) 45%, rgba(11, 20, 65, 0.55) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 32px 120px 32px;
  display: flex; align-items: flex-start;
}
.hero-copy { max-width: 620px; color: white; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--blue-hover);
  box-shadow: 0 0 12px rgba(75, 103, 255, 0.7);
}

.hero-title {
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.97;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 26px 0;
  color: white;
}
.hero-title em {
  font-weight: 400;
  color: #C4CFFF;
}

/* Circled word — hand-drawn feel */
.circled {
  position: relative;
  display: inline-block;
  color: #A6B5FF;
  padding: 0 0.08em;
}
.circle-svg {
  position: absolute;
  left: -6%; top: -8%;
  width: 112%; height: 118%;
  overflow: visible;
  pointer-events: none;
}
.circle-path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: drawCircle 1.6s cubic-bezier(0.5, 0, 0.2, 1) 0.6s forwards;
  filter: drop-shadow(0 2px 4px rgba(30, 64, 255, 0.35));
}
@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

.hero-sub {
  font-size: 20px; line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 32px 0;
  max-width: 560px;
}

.email-capture {
  display: flex; align-items: center;
  background: white;
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  max-width: 520px;
  box-shadow: 0 10px 40px rgba(11, 20, 65, 0.35);
}
.email-capture input {
  flex: 1; border: 0; outline: none;
  font-family: var(--font-body); font-size: 16px;
  padding: 12px 8px;
  background: transparent;
  color: var(--ink-900);
}
.email-capture input::placeholder { color: var(--ink-400); }

.email-capture-white { max-width: 560px; }

.hero-fineprint {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.01em;
}

/* ================= SECTION HEAD ================= */
.section-head {
  max-width: 900px;
  margin: 0 auto 56px auto;
  padding: 0 32px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow-dark { color: #A6B5FF; }
.section-title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px 0;
  color: var(--ink-900);
}
.section-title em { color: var(--blue); }
.section-lede {
  font-size: 18px;
  color: var(--ink-500);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ================= PRODUCT TILE GRID ================= */
.products {
  padding: 120px 0 100px 0;
  background: var(--cream-2);
}
.tile-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-900);
  color: white;
  display: block;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
  box-shadow: var(--shadow-sm);
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tile:hover img { transform: scale(1.04); }
.tile::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 40, 0) 40%, rgba(5, 10, 40, 0.55) 75%, rgba(5, 10, 40, 0.92) 100%);
  pointer-events: none;
}
.tile-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 28px 30px 30px 30px;
  color: white;
}
.tile-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: white;
}
.tile-tag-alt {
  background: var(--blue);
  border-color: var(--blue);
}
.tile-headline {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: white;
  max-width: 22ch;
}
.tile-sub {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  max-width: 34ch;
}
.tile-software {
  grid-column: 1 / -1;
  aspect-ratio: 24 / 9;
}
.tile-software .tile-headline { font-size: 32px; max-width: 28ch; }
.tile-software .tile-sub { max-width: 44ch; font-size: 15.5px; }

/* ================= HOW IT WORKS ================= */
.how {
  background: linear-gradient(180deg, var(--ink-900) 0%, #050822 100%);
  color: white;
  padding: 120px 0 130px 0;
  position: relative;
  overflow: hidden;
}
.how::before {
  content: '';
  position: absolute;
  top: -100px; left: -200px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(30, 64, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.how-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
}
.how-copy .eyebrow { color: #A6B5FF; }
.how-title {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 50px 0;
  color: white;
}
.how-title em { color: #A6B5FF; }
.how-list { list-style: none; padding: 0; margin: 0; }
.how-item {
  display: flex; gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.42;
  transition: opacity 0.4s ease;
  cursor: pointer;
}
.how-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.how-item.active,
.how-item:hover { opacity: 1; }
.how-item-num {
  font-family: var(--font-serif); font-style: italic;
  color: #A6B5FF;
  font-size: 34px; line-height: 1;
  min-width: 56px;
}
.how-item-title {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: white;
}
.how-item-desc {
  font-size: 15.5px; line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 44ch;
}
.how-visual {
  position: sticky; top: 100px;
  height: fit-content;
}
.how-photo-stack {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  background: var(--ink-900);
}
.how-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.how-photo.active { opacity: 1; }

/* ================= DIFFERENTIATOR BANNER ================= */
.banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 60%, var(--blue-3) 100%);
  color: white;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 60%);
  pointer-events: none;
}
.banner::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(75, 103, 255, 0.35), transparent 60%);
  pointer-events: none;
}
.banner-inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.banner-title {
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 40px 0;
  color: white;
  max-width: 22ch;
}
.banner-title em { color: #C4CFFF; }
.banner-list {
  list-style: none; padding: 0; margin: 0 0 40px 0;
  display: grid; gap: 18px;
}
.banner-list li {
  display: flex; gap: 16px; align-items: flex-start;
  font-size: 19px;
  line-height: 1.5;
  max-width: 68ch;
  color: rgba(255,255,255,0.94);
}
.check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: white;
  color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin-top: 2px;
}
.banner-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ================= EDITORIAL TESTIMONIAL ================= */
.story {
  background: var(--cream-2);
  padding: 130px 0 130px 0;
}
.story-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-media {
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}
.story-media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.story-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-stat {
  position: absolute;
  bottom: -32px; left: -32px;
  background: var(--ink-900);
  color: white;
  padding: 26px 32px 24px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  transform: rotate(-2deg);
  border: 3px solid white;
}
.story-stat-num {
  display: block;
  font-size: 82px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue-hover);
  font-family: var(--font-body);
}
.story-stat-word {
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-top: 6px;
  display: flex; align-items: baseline; gap: 8px;
}
.story-stat-word em {
  font-family: var(--font-script);
  font-size: 30px;
  font-style: normal;
  color: #A6B5FF;
  transform: rotate(-4deg);
  display: inline-block;
}

.story-copy blockquote {
  margin: 0 0 30px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 34px;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  max-width: 24ch;
}
.story-attrib {
  margin-bottom: 40px;
}
.story-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.story-role {
  font-size: 14.5px;
  color: var(--ink-500);
}
.story-strip {
  display: flex; gap: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.strip-item .strip-name {
  font-weight: 700; color: var(--ink-900);
  font-size: 15px;
}
.strip-item .strip-city {
  font-size: 13px; color: var(--ink-500);
  margin-top: 2px;
}

/* ================= PRICING ================= */
.pricing {
  background: var(--paper);
  padding: 130px 0 120px 0;
}
.plans {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.plan {
  background: var(--paper);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px 36px;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.plan:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--blue-tint);
}
.plan-featured {
  background: var(--ink-900);
  color: white;
  border-color: var(--ink-900);
}
.plan-badge {
  position: absolute;
  top: -14px; left: 24px;
  background: var(--blue);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(30, 64, 255, 0.4);
}
.plan-tag {
  display: inline-block;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.plan-tag-alt {
  background: rgba(255,255,255,0.15);
  color: #C4CFFF;
}
.plan-name {
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: inherit;
}
.plan-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 14px;
}
.plan-currency { font-size: 26px; font-weight: 600; }
.plan-amount { font-size: 68px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-per { font-size: 16px; color: var(--ink-500); margin-left: 6px; }
.plan-featured .plan-per { color: rgba(255,255,255,0.6); }
.plan-lede {
  font-size: 16px; line-height: 1.5;
  color: var(--ink-500);
  margin-bottom: 26px;
  min-height: 3.2em;
}
.plan-featured .plan-lede { color: rgba(255,255,255,0.72); }
.plan-features {
  list-style: none; padding: 0; margin: 0 0 30px 0;
  display: grid; gap: 12px;
  flex: 1;
}
.plan-features li {
  padding-left: 28px;
  position: relative;
  font-size: 15.5px;
  color: var(--ink-800);
  line-height: 1.5;
}
.plan-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--blue);
  font-weight: 700;
}
.plan-featured .plan-features li { color: rgba(255,255,255,0.9); }
.plan-featured .plan-features li::before { color: #A6B5FF; }
.btn-featured { background: white; color: var(--blue); }
.btn-featured:hover { background: var(--blue-tint); }
.plan-secondary {
  display: block; text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-500);
}
.plan-secondary:hover { color: var(--blue); }
.plan-featured .plan-secondary { color: rgba(255,255,255,0.65); }
.plan-featured .plan-secondary:hover { color: white; }
.pricing-fine {
  text-align: center;
  color: var(--ink-500);
  font-size: 14px;
  margin-top: 40px;
  padding: 0 32px;
}

/* ================= CLOSING CTA ================= */
.closing {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(30, 64, 255, 0.25), transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(75, 103, 255, 0.28), transparent 55%),
    linear-gradient(180deg, var(--ink-900) 0%, #050822 100%);
  color: white;
  padding: 130px 0 130px 0;
  text-align: center;
}
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}
.closing-title {
  font-size: clamp(46px, 6vw, 88px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 32px 0;
  color: white;
}
.closing-title .circled { color: #A6B5FF; }
.closing-title .circle-svg { top: -6%; }
.closing-check {
  list-style: none; padding: 0; margin: 0 0 40px 0;
  display: flex; justify-content: center; gap: 32px;
  flex-wrap: wrap;
}
.closing-check li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.closing-check .check {
  width: 22px; height: 22px; font-size: 11px;
}
.email-capture-white { margin: 0 auto; }

/* ================= FOOTER ================= */
.foot {
  background: #050822;
  color: rgba(255,255,255,0.68);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.foot-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
}
.foot-brand { max-width: 320px; }
.foot-logo {
  display: inline-block;
  height: 32px;
  width: auto;
  opacity: 0.92;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-head {
  font-size: 12px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.foot-col a {
  color: rgba(255,255,255,0.6);
  font-size: 14.5px;
}
.foot-col a:hover { color: white; }
.foot-legal {
  max-width: var(--container);
  margin: 60px auto 0 auto;
  padding: 24px 32px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.foot-legal a { color: rgba(255,255,255,0.55); margin: 0 4px; }

/* ================= MODAL ================= */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-scrim {
  position: absolute; inset: 0;
  background: rgba(11, 20, 65, 0.72);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.2s ease;
}
.modal-panel {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--radius-lg);
  padding: 44px 40px 36px 40px;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: 0;
  font-size: 16px;
  color: var(--ink-400);
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--cream-3); color: var(--ink-900); }
.modal-steps {
  display: flex; gap: 6px;
  margin-bottom: 28px;
}
.step {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--ink-200);
  transition: background 0.3s ease;
}
.step.active { background: var(--blue); }
.modal-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.modal-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
  color: var(--ink-900);
}
.modal-sub {
  font-size: 15px;
  color: var(--ink-500);
  margin: 0 0 24px 0;
  line-height: 1.5;
}
.modal-field { margin-bottom: 16px; }
.modal-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.modal-field input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease;
}
.modal-field input:focus { border-color: var(--blue); }
.modal-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.mplan {
  background: white;
  border: 2px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
  font-family: var(--font-body);
}
.mplan:hover { border-color: var(--blue); transform: translateY(-1px); }
.mplan.selected { border-color: var(--blue); background: var(--blue-tint); }
.mplan-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mplan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.mplan-price {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.mplan-price span { font-size: 12px; font-weight: 500; color: var(--ink-500); }
.mplan-lede {
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.4;
}
.pay-primary {
  width: 100%;
  background: var(--blue);
  color: white;
  border: 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  transition: background 0.15s ease;
  margin-bottom: 12px;
}
.pay-primary:hover { background: var(--blue-2); }
.pay-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 4px;
}
.pay-secondary {
  display: block; text-align: center;
  padding: 14px;
  color: var(--ink-500);
  font-size: 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius);
  margin-bottom: 20px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.pay-secondary:hover { border-color: var(--blue); color: var(--blue); }
.pay-fine {
  font-size: 12px;
  color: var(--ink-400);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero-inner { padding: 72px 24px 100px; }
  .hero-title { font-size: clamp(44px, 9vw, 78px); }
  .tile-grid { grid-template-columns: 1fr 1fr; }
  .tile-software { grid-column: 1 / -1; aspect-ratio: 16/9; }
  .how-inner { grid-template-columns: 1fr; gap: 60px; }
  .how-visual { position: static; }
  .story-inner { grid-template-columns: 1fr; gap: 100px; }
  .plans { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 12px 20px; }
  .logo img { height: 26px; }
  .btn-primary.btn-sm { padding: 8px 14px; font-size: 13px; }
  .hero { min-height: 620px; }
  .hero-inner { padding: 56px 20px 80px; }
  .hero-title { font-size: 44px; letter-spacing: -0.03em; }
  .hero-sub { font-size: 17px; }
  .email-capture { flex-direction: column; padding: 6px; gap: 6px; border-radius: 16px; }
  .email-capture input { width: 100%; padding: 14px; }
  .email-capture .btn-primary { width: 100%; justify-content: center; padding: 14px; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat { padding: 18px 24px; }
  .stat-num { font-size: 24px; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile-software { aspect-ratio: 4/5; }
  .tile-body { padding: 22px 24px; }
  .tile-headline { font-size: 22px; }
  .tile-software .tile-headline { font-size: 24px; }
  .section-title { font-size: 40px; }
  .banner-title { font-size: 36px; }
  .banner-list li { font-size: 16px; }
  .banner-ctas { flex-direction: column; }
  .banner-ctas .btn-white, .banner-ctas .btn-outline-light { width: 100%; text-align: center; justify-content: center; }
  .story-media { padding: 0; }
  .story-stat {
    position: relative;
    left: auto; bottom: auto;
    margin: -60px auto 0 20px;
    display: inline-block;
  }
  .story-copy blockquote { font-size: 26px; }
  .story-strip { flex-wrap: wrap; gap: 20px; }
  .plan { padding: 32px 24px 28px 24px; }
  .plan-amount { font-size: 56px; }
  .modal-panel { padding: 32px 24px 24px 24px; }
  .modal-plans { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .closing-check { flex-direction: column; gap: 12px; }
}

/* ================= LANGUAGE SWITCHER ================= */
.lang-switch {
  display: flex;
  gap: 2px;
  border: 1px solid rgba(15, 18, 34, 0.14);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.7);
}
.lang-switch button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 999px;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.lang-switch button:hover { opacity: 1; }
.lang-switch button.active {
  background: #4f46e5;
  color: #fff;
  opacity: 1;
}
