/* ============================================================
   Genlink Guard Console — Professional Design System
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800;900&family=Noto+Sans+Thai:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  /* Colors */
  --blue:        #1168d8;
  --blue-2:      #0b56c2;
  --blue-light:  #e8f0fe;
  --navy:        #071b3d;
  --navy-2:      #0a2a58;
  --ink:         #121a2e;
  --muted:       #5e6e8a;
  --teal:        #17b9cf;
  --teal-light:  #e0f8fc;
  --green:       #20bf6b;
  --green-light: #e8faf0;
  --red:         #f23d4f;
  --red-light:   #fff0f2;
  --orange:      #ff8a1f;
  --orange-light:#fff4e6;
  --surface:     #ffffff;
  --soft:        #f5f8ff;
  --line:        #dce8f7;
  --line-2:      #e8effa;

  /* Shadows */
  --shadow-xs:  0 2px 8px rgba(10,67,142,.08);
  --shadow-sm:  0 8px 28px rgba(10,67,142,.10);
  --shadow:     0 20px 60px rgba(10,67,142,.13);
  --shadow-lg:  0 32px 90px rgba(10,67,142,.18);

  /* Radii */
  --r-xs:  8px;
  --r-sm:  14px;
  --r:     20px;
  --r-md:  26px;
  --r-lg:  32px;
  --r-xl:  40px;

  /* Layout */
  --max:    1200px;
  --nav-h:  72px;

  /* Typography */
  --font: 'Prompt', 'Noto Sans Thai', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(.25,.8,.25,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
/* ── Premium page background — tech / futuristic blue-white ── */
body {
  font-family: var(--font);
  color: var(--ink);
  background-color: #f0f6ff;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /*
   * Layered background (back → front):
   * 1. Base: very light sky-blue wash
   * 2. Diagonal band — the signature swept line from the image
   * 3. Upper-right glow (bright core)
   * 4. Left-side teal accent
   * 5. Bottom centre depth
   * 6. Subtle dot grid (tech texture)
   */
  background-image:
    /* dot grid — only top-right quadrant, fades out */
    radial-gradient(circle, rgba(17,104,216,.09) 1px, transparent 1px),
    /* diagonal sweep band */
    linear-gradient(138deg,
      transparent 28%,
      rgba(255,255,255,.55) 36%,
      rgba(200,225,255,.30) 44%,
      transparent 56%
    ),
    /* primary upper-right glow */
    radial-gradient(ellipse 70% 55% at 92% 0%,
      rgba(17,104,216,.13) 0%,
      rgba(100,180,255,.07) 45%,
      transparent 70%
    ),
    /* teal left accent */
    radial-gradient(ellipse 45% 35% at 0% 30%,
      rgba(23,185,207,.10) 0%,
      transparent 60%
    ),
    /* bottom soft depth */
    radial-gradient(ellipse 80% 40% at 50% 110%,
      rgba(17,104,216,.06) 0%,
      transparent 60%
    ),
    /* base sky wash */
    linear-gradient(180deg, #eaf3ff 0%, #f5f9ff 40%, #ffffff 80%);
  background-size:
    26px 26px,   /* dot grid tile */
    auto, auto, auto, auto, auto;
  background-attachment: fixed, fixed, fixed, fixed, fixed, fixed;
}

a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; }

/* ── Container ── */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ── Typography Scale ── */
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); line-height: 1.14; font-weight: 800; letter-spacing: -.03em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.4rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: -.02em; }
h4 { font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
p  { line-height: 1.75; }

.lead {
  font-size: clamp(.97rem, 1.6vw, 1.13rem);
  color: #3d4f6e;
  line-height: 1.8;
  font-weight: 400;
}
.small { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.muted { color: var(--muted); }

/* ── Gradient Text ── */
.grad {
  background: linear-gradient(135deg, var(--blue) 10%, var(--teal) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1.5px solid rgba(17,104,216,.18);
  background: rgba(255,255,255,.82);
  color: var(--blue-2);
  box-shadow: 0 4px 16px rgba(17,104,216,.09);
  backdrop-filter: blur(12px);
}
.badge.green  { color: #13894d; background: var(--green-light); border-color: rgba(32,191,107,.25); }
.badge.red    { color: #c0192e; background: var(--red-light);   border-color: rgba(242,61,79,.22); }
.badge.orange { color: #b85e00; background: var(--orange-light);border-color: rgba(255,138,31,.22); }
.eyebrow { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.6rem;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn.primary {
  background: linear-gradient(135deg, #1168d8 0%, #1a8dff 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(17,104,216,.30);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(17,104,216,.38); }
.btn.primary:active { transform: translateY(0); }

.btn.ghost {
  background: rgba(255,255,255,.92);
  border-color: rgba(17,104,216,.18);
  color: var(--blue-2);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.btn.ghost:hover { background: var(--blue-light); border-color: rgba(17,104,216,.3); transform: translateY(-1px); }

.btn.dark  { background: var(--navy); color: #fff; box-shadow: 0 12px 28px rgba(7,27,61,.22); }
.btn.dark:hover { background: var(--navy-2); transform: translateY(-2px); }

.btn.red   { background: linear-gradient(135deg, #fa4658, #e71835); color: white; box-shadow: 0 12px 28px rgba(231,24,53,.28); }
.btn.red:hover { transform: translateY(-2px); }

/* ── Topbar / Navigation ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(17,104,216,.10);
  box-shadow: 0 1px 0 rgba(17,104,216,.06), 0 4px 20px rgba(17,104,216,.06);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand */
.brand { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.brand img.genlink { width: 136px; height: auto; }
.brand .divider { width: 1px; height: 32px; background: var(--line); }
.brand .product { display: flex; align-items: center; gap: .6rem; }
.brand .product img { width: 42px; height: 42px; border-radius: var(--r-sm); object-fit: cover; }
.brand .product-text {
  line-height: 1.1;
  font-weight: 800;
  font-size: .82rem;
  color: #0b315d;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.brand .product-text span {
  display: block;
  font-size: .65rem;
  color: #6a84a5;
  font-weight: 500;
  letter-spacing: .1em;
  margin-top: .15rem;
  text-transform: uppercase;
}

/* Nav Links */
.navlinks {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.navlinks a {
  padding: .55rem .85rem;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 600;
  color: #4a5a75;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.navlinks a:hover { background: var(--blue-light); color: var(--blue); }
.navlinks a.active {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
}

/* CTA nav button */
.nav-cta {
  flex-shrink: 0;
}

.menu-btn {
  display: none;
  border: 0;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--r-sm);
  padding: .6rem .85rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: background .18s;
}
.menu-btn:hover { background: rgba(17,104,216,.18); }
.menu-btn svg { transition: transform .2s; }
.menu-btn.open svg { transform: rotate(90deg); }

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  z-index: 200;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Sections ── */
.section       { padding: 96px 0; position: relative; }
.section.compact { padding: 64px 0; }
.section.tight { padding: 40px 0; }

.section-kicker {
  font-size: .78rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-kicker::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  letter-spacing: -.035em;
  line-height: 1.14;
  margin-bottom: .7rem;
}
.section-sub {
  font-size: .97rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 680px;
  margin-top: .65rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 36px;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  /* Hero-specific sky-blue backdrop */
  background: linear-gradient(160deg,
    rgba(220,238,255,.45) 0%,
    rgba(240,248,255,.20) 55%,
    transparent 100%
  );
}

/* Diagonal swept-band line — signature element from design brief */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* upper diagonal band */
    linear-gradient(136deg,
      transparent 0%,
      transparent 24%,
      rgba(255,255,255,.70) 28%,
      rgba(190,220,255,.28) 34%,
      transparent 44%
    ),
    /* second thinner line */
    linear-gradient(136deg,
      transparent 36%,
      rgba(255,255,255,.40) 39%,
      transparent 44%
    ),
    /* dot grid — top-right fade */
    radial-gradient(circle, rgba(17,104,216,.11) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px;
  mask-image: radial-gradient(ellipse 90% 100% at 100% 0%, #000 0, transparent 80%);
  pointer-events: none;
}

/* Gate / boom-barrier silhouette — bottom-right corner */
.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 480px;
  height: 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 220' fill='none'%3E%3C!-- ground line --%3E%3Crect x='0' y='210' width='480' height='2' fill='rgba(17%2C104%2C216%2C.12)'/%3E%3C!-- left gate post --%3E%3Crect x='60' y='130' width='28' height='80' rx='4' fill='rgba(17%2C104%2C216%2C.10)'/%3E%3Ccircle cx='74' cy='148' r='10' stroke='rgba(17%2C104%2C216%2C.15)' stroke-width='2' fill='none'/%3E%3C!-- boom arm --%3E%3Crect x='88' y='143' width='180' height='8' rx='4' fill='rgba(17%2C104%2C216%2C.13)' transform='rotate(-8 88 147)'/%3E%3C!-- right gate post --%3E%3Crect x='310' y='110' width='32' height='100' rx='4' fill='rgba(17%2C104%2C216%2C.10)'/%3E%3Ccircle cx='326' cy='130' r='11' stroke='rgba(17%2C104%2C216%2C.15)' stroke-width='2' fill='none'/%3E%3C!-- second boom arm (exit) --%3E%3Crect x='342' y='124' width='110' height='7' rx='3.5' fill='rgba(17%2C104%2C216%2C.11)' transform='rotate(-6 342 127)'/%3E%3C!-- building/guard post box left --%3E%3Crect x='20' y='155' width='38' height='55' rx='5' fill='rgba(17%2C104%2C216%2C.07)'/%3E%3Crect x='28' y='163' width='10' height='12' rx='2' fill='rgba(17%2C104%2C216%2C.12)'/%3E%3C!-- building/guard post box right --%3E%3Crect x='400' y='140' width='44' height='70' rx='5' fill='rgba(17%2C104%2C216%2C.07)'/%3E%3Crect x='410' y='150' width='11' height='14' rx='2' fill='rgba(17%2C104%2C216%2C.12)'/%3E%3C!-- light pole --%3E%3Crect x='230' y='60' width='4' height='150' rx='2' fill='rgba(17%2C104%2C216%2C.09)'/%3E%3Crect x='210' y='60' width='24' height='4' rx='2' fill='rgba(17%2C104%2C216%2C.10)'/%3E%3Ccircle cx='209' cy='62' r='5' fill='rgba(23%2C185%2C207%2C.15)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
  opacity: .75;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin-bottom: .6rem; }
.hero p.lead { margin: 1.25rem 0 1.8rem; }
.cta-row { display: flex; gap: .85rem; flex-wrap: wrap; align-items: center; }

/* Proof stats below CTA */
.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.proof .mini {
  background: rgba(255,255,255,.82);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r);
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.proof .mini:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.proof .num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: .3rem;
}
.proof .mini span { font-size: .78rem; color: var(--muted); font-weight: 500; }

/* Hero Visual */
.hero-visual { position: relative; min-height: 580px; }
.device-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
}
.phone-card {
  position: relative;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(145deg, #1c2535, #060d1a);
  box-shadow: 0 40px 100px rgba(5,30,70,.28), 0 0 0 1px rgba(255,255,255,.06);
  transform: rotate(-2.5deg);
  max-width: 340px;
  margin: auto;
}
.phone-card img {
  border-radius: 30px;
  max-height: 580px;
  object-fit: cover;
  object-position: top;
}
.hero-slide {
  position: absolute;
  right: -10px;
  bottom: 20px;
  width: 66%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.7);
  transform: rotate(2deg);
}

/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(255,255,255,.9);
  border: 1.5px solid rgba(17,104,216,.12);
  border-radius: 22px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  display: flex;
  gap: 11px;
  align-items: center;
  animation: floatBob 4s ease-in-out infinite;
}
.float-card.two  { animation-delay: 1.3s; }
.float-card.three { animation-delay: 2.6s; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.float-card strong { display: block; font-size: .88rem; color: #0c3c78; font-weight: 700; }
.float-card .small { font-size: .76rem; }
.float-card .ico {
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: var(--blue-light);
  flex-shrink: 0;
}
.float-card.one   { left: 0;   top: 60px; }
.float-card.two   { right: -8px; top: 190px; }
.float-card.three { left: 8%;  bottom: 80px; }

/* ── Stats Bar ── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  padding: 28px 24px;
  background: linear-gradient(135deg, #fff 0%, #f5f9ff 100%);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .45rem;
}
.stat span { font-size: .84rem; color: var(--muted); line-height: 1.55; }

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: rgba(255,255,255,.92);
  border: 1.5px solid rgba(17,104,216,.10);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(17,104,216,.2);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(17,104,216,.03) 0%, transparent 60%);
  pointer-events: none;
}
.card h3 { font-size: 1.18rem; margin-bottom: .5rem; font-weight: 700; }
.card p  { color: var(--muted); font-size: .92rem; line-height: 1.75; }

/* Icon */
.icon {
  width: 54px; height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue-light), #fff);
  box-shadow: inset 0 0 0 1.5px rgba(17,104,216,.14), var(--shadow-xs);
}
.icon.red    { background: var(--red-light);    box-shadow: inset 0 0 0 1.5px rgba(242,61,79,.18); }
.icon.green  { background: var(--green-light);  box-shadow: inset 0 0 0 1.5px rgba(32,191,107,.2); }
.icon.orange { background: var(--orange-light); box-shadow: inset 0 0 0 1.5px rgba(255,138,31,.2); }

/* ── Feature Large ── */
.feature-large {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #f5f9ff 100%);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.feature-large::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,185,207,.10) 0%, transparent 70%);
  pointer-events: none;
}
.feature-large.reverse { grid-template-columns: 1.1fr .9fr; }

.section-tech { position: relative; padding: 96px 0; }
.section-tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg,
      transparent 35%,
      rgba(255,255,255,.55) 40%,
      rgba(200,228,255,.22) 46%,
      transparent 55%
    ),
    radial-gradient(circle, rgba(17,104,216,.08) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 20% 50%, #000 0, transparent 75%);
  pointer-events: none;
}

/* Screenshot */
.screenshot-wrap img {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  border: 1.5px solid rgba(255,255,255,.7);
}
.screenshot-wrap.slide img { border-radius: var(--r-md); }

/* ── Mockup Stack ── */
.mockup-stack {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  min-height: 480px;
}
.mock-phone {
  width: min(260px, 100%);
  border-radius: 34px;
  padding: 8px;
  background: linear-gradient(145deg, #1e2737, #050d1e);
  box-shadow: 0 32px 80px rgba(6,30,75,.24), 0 0 0 1px rgba(255,255,255,.05);
}
.mock-phone img {
  border-radius: 28px;
  max-height: 520px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}
.mock-phone.small {
  width: 190px;
  transform: translateY(28px) rotate(3.5deg);
  opacity: .92;
}

/* ── Bullet List ── */
.bullet-list { display: grid; gap: 14px; margin: 24px 0; }
.bullet {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #42516d;
  font-size: .95rem;
  line-height: 1.65;
}
.bullet b { color: var(--navy); }
.check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 900;
  font-size: .82rem;
  margin-top: 1px;
}

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── Workflow ── */
.workflow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  position: relative;
}
.workflow::before {
  content: "";
  position: absolute;
  left: 6.5%;
  right: 6.5%;
  top: 25px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 100%);
  opacity: .2;
  z-index: 0;
}
.workflow-step {
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-xs);
  position: relative;
  z-index: 1;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.workflow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(17,104,216,.2); }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: .88rem;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(17,104,216,.28);
}
.workflow-step h3 { font-size: .96rem; margin-bottom: .45rem; }
.workflow-step p  { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* ── Gallery ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery a {
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.gallery a:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.gallery img {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .3s var(--ease);
}
.gallery a:hover img { transform: scale(1.04); }
.gallery .cap {
  padding: 12px 16px;
  font-size: .88rem;
  font-weight: 700;
  color: #173765;
}

/* ── Panel ── */
.panel {
  background: rgba(255,255,255,.9);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.panel:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.panel h2 { margin-bottom: .65rem; font-size: 1.35rem; font-weight: 800; }

/* ── Split ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

/* ── Pricing ── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.price {
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1.5px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price.featured {
  background: linear-gradient(165deg, #0c68d4 0%, #073a86 100%);
  color: #fff;
  transform: translateY(-10px);
  box-shadow: 0 24px 70px rgba(11,58,134,.36);
  border-color: transparent;
}
.price.featured:hover { transform: translateY(-14px); }
.price h3 {
  font-size: 1.08rem;
  margin-bottom: .4rem;
  font-weight: 800;
  color: var(--navy);
}
.price.featured h3 { color: #fff; }
.price-num {
  font-size: 1.65rem;
  font-weight: 950;
  color: var(--blue);
  margin: .5rem 0 .7rem;
  letter-spacing: -.04em;
}
.price.featured .price-num { color: #9dd6ff; }
.price p.small { margin-bottom: .8rem; }
.price.featured p.small { color: rgba(255,255,255,.72); }
.price ul { display: grid; gap: 10px; margin-top: 20px; }
.price li {
  display: flex;
  gap: 9px;
  font-size: .9rem;
  color: #3d4f6e;
  line-height: 1.55;
}
.price li::before { content: "✓"; color: var(--green); font-weight: 900; flex-shrink: 0; }
.price.featured li { color: rgba(255,255,255,.88); }
.price.featured li::before { color: #6effa2; }

/* ── CTA Band ── */
.cta-band {
  padding: 60px 56px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #063a84 0%, #1168d8 50%, #15b8cf 100%);
  color: #fff;
  box-shadow: 0 28px 80px rgba(9,74,158,.28);
  overflow: hidden;
  position: relative;
}
/* decorative circles */
.cta-band::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -60%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  pointer-events: none;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: -5%;
  bottom: -50%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(23,185,207,.12);
  pointer-events: none;
}
/* Genlink G watermark inside CTA */
.cta-band .cta-watermark {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(136deg,
      transparent 40%,
      rgba(255,255,255,.08) 46%,
      transparent 52%
    ),
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: auto, 22px 22px;
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: .75rem; position: relative; z-index: 1; }
.cta-band p  { color: rgba(220,236,255,.88); max-width: 700px; margin-bottom: 2rem; font-size: 1rem; position: relative; z-index: 1; }
.cta-band .cta-row { position: relative; z-index: 1; }

/* ── Page Hero ── */
.page-hero {
  padding: 56px 0 36px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg,
    rgba(215,235,255,.40) 0%,
    rgba(240,248,255,.15) 55%,
    transparent 100%
  );
}
/* diagonal line + dot grid — right side only */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(136deg,
      transparent 30%,
      rgba(255,255,255,.65) 35%,
      rgba(190,220,255,.25) 40%,
      transparent 50%
    ),
    radial-gradient(circle, rgba(17,104,216,.09) 1px, transparent 1px);
  background-size: auto, 24px 24px;
  mask-image: radial-gradient(ellipse 70% 100% at 95% 50%, #000 0, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.85rem); margin-bottom: .55rem; position: relative; z-index: 1; }
.page-hero p.lead { margin-top: .85rem; max-width: 660px; position: relative; z-index: 1; }
.page-hero .eyebrow { position: relative; z-index: 1; }

/* ── Timeline ── */
.timeline { display: grid; gap: 18px; }
.timeline-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
}
.timeline-item .dot {
  width: 50px; height: 50px;
  border-radius: 16px;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}
.timeline-item h3 { font-size: 1rem; margin-bottom: .3rem; font-weight: 700; }

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
}
.form { display: grid; gap: 14px; }
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: .9rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--soft);
  font-family: var(--font);
  font-size: .92rem;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: rgba(17,104,216,.4);
  box-shadow: 0 0 0 3px rgba(17,104,216,.1);
  background: #fff;
}
.form textarea { min-height: 130px; resize: vertical; }
.form select { cursor: pointer; }

/* ── FAQ ── */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r);
  padding: 18px 22px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(17,104,216,.2); }
.faq summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  font-size: .96rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); line-height: 1.75; margin-top: 12px; font-size: .92rem; }

/* ── Footer ── */
.footer {
  padding: 64px 0 28px;
  background: linear-gradient(180deg, #071b3d 0%, #050f24 100%);
  color: #bfcfea;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
/* diagonal accent line in footer */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(136deg,
    transparent 55%,
    rgba(255,255,255,.04) 62%,
    transparent 68%
  );
  pointer-events: none;
}
/* right-side glow */
.footer::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,185,207,.07) 0%, transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr .9fr .9fr;
  gap: 32px;
}
.footer h3 { color: #fff; font-size: 1.15rem; margin: .75rem 0 .5rem; }
.footer h4 {
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer a {
  display: block;
  color: #97b0d0;
  font-size: .88rem;
  margin: .5rem 0;
  transition: color .18s;
}
.footer a:hover { color: #fff; }
.footer p.small { color: #7a94b8; font-size: .84rem; line-height: 1.7; }
.footer .brand { margin-bottom: .5rem; }
.footer .brand img.genlink {width: 120px; }
.footer .brand .divider { background: rgba(255,255,255,.15); }
.footer .brand .product img { }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding-top: 22px;
}
.copyright { font-size: .82rem; color: #6a86aa; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .82rem; color: #6a86aa; margin: 0; }
.footer-links a:hover { color: #fff; }

/* ── Breadcrumb ── */
.breadcrumb { padding: 32px 0 0; }
.breadcrumb a { color: var(--blue); font-weight: 700; }

/* ── Mobile Menu Overlay ── */
@media (max-width: 980px) {
  .navlinks {
    position: fixed;
    inset: calc(var(--nav-h) + 8px) 16px auto 16px;
    background: rgba(255,255,255,.97);
    border: 1.5px solid var(--line-2);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    z-index: 90;
  }
  .navlinks.open { display: flex; }
  .navlinks a { padding: .75rem 1rem; border-radius: var(--r-sm); font-size: .92rem; }
  .menu-btn { display: inline-flex; }

  .hero-grid,
  .feature-large,
  .feature-large.reverse,
  .split,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-visual { min-height: auto; }
  .phone-card  { max-width: 290px; }
  .hero-slide  { position: relative; width: 100%; margin-top: 18px; right: auto; bottom: auto; transform: none; }
  .float-card  { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; margin: 8px 0; }
  .hero-visual { display: flex; flex-direction: column; align-items: center; gap: 12px; }

  .proof, .cards, .stats, .price-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .workflow     { grid-template-columns: repeat(3, 1fr); }
  .gallery      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .mockup-stack { min-height: auto; }
  .mock-phone.small { display: none; }
  .price.featured { transform: none; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 32px, var(--max)); }
  :root { --nav-h: 64px; }

  .brand img.genlink  { width: 100px; }
  .brand .product img { width: 36px; height: 36px; }
  .brand .product-text { display: none; }
  .brand .divider { display: none; }

  .hero    { padding: 48px 0 56px; }
  .section { padding: 64px 0; }
  .section.compact { padding: 48px 0; }

  .cta-row .btn { width: 100%; }
  .workflow, .gallery { grid-template-columns: 1fr; }
  .workflow::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .proof, .cards, .stats, .price-grid { grid-template-columns: 1fr; }
  .panel, .feature-large, .cta-band { padding: 26px; border-radius: var(--r-md); }
  .cta-band { padding: 32px 28px; }
  .phone-card { transform: none; max-width: 260px; }
  .mock-phone { width: 210px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Collapse navlinks to pill style on xs */
  .navlinks a { font-size: .9rem; }
}

/* ── Animations (scroll reveal) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal-item {
    opacity: 0;
    transform: translateY(16px);
  }
  .reveal-item.visible {
    animation: revealUp .6s cubic-bezier(.2,.8,.2,1) forwards;
  }
  @keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
  }
}
