/* ==========================================================================
   xQue — Queue Management System
   Author: Experts InfoTech · xQue Team
   Built with vanilla CSS (no framework)
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 1. Design Tokens                                                          */
/* -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --brand-50:  #e8f4ff;
  --brand-100: #c8e2ff;
  --brand-200: #8ec3ff;
  --brand-300: #54a3ff;
  --brand-400: #1f86f5;
  --brand-500: #0a6ee0;     /* primary blue */
  --brand-600: #0a57b8;
  --brand-700: #094590;
  --brand-800: #0a356d;
  --brand-900: #0a2549;

  --accent-50:  #ecfdf3;
  --accent-100: #d1fadf;
  --accent-200: #a7f3c4;
  --accent-300: #6ee79c;
  --accent-400: #34d277;
  --accent-500: #16a34a;    /* primary green */
  --accent-600: #15803d;
  --accent-700: #166533;

  /* Surfaces */
  --bg:         #ffffff;
  --bg-soft:    #f7faff;
  --bg-tint:    #eff5ff;
  --surface:    #ffffff;
  --surface-2:  #f1f5f9;
  --ink-900:    #0a1226;
  --ink-800:    #111a36;
  --ink-700:    #1f2a48;
  --ink-600:    #34406a;
  --ink-500:    #4a5780;
  --ink-400:    #6b7596;
  --ink-300:    #9aa3bd;
  --ink-200:    #cdd4e3;
  --ink-100:    #e8ecf4;
  --ink-50:     #f3f5fa;
  --line:       #e3e8f1;

  /* Semantic */
  --success:    #16a34a;
  --warning:    #f59e0b;
  --danger:     #ef4444;
  --info:       #0ea5e9;

  /* Dark surfaces (used in hero/demo) */
  --dark-900:   #061026;
  --dark-800:   #0a1633;
  --dark-700:   #0e1f44;
  --dark-600:   #142b5a;

  /* Effects */
  --grad-blue:  linear-gradient(135deg, #1f86f5 0%, #0a4d8c 100%);
  --grad-green: linear-gradient(135deg, #34d277 0%, #16a34a 100%);
  --grad-mix:   linear-gradient(135deg, #0a6ee0 0%, #16a34a 100%);
  --grad-text:  linear-gradient(110deg, #0a6ee0 0%, #1f86f5 35%, #16a34a 100%);

  --shadow-sm:  0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md:  0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg:  0 16px 40px -8px rgba(15, 35, 90, 0.16);
  --shadow-xl:  0 32px 80px -16px rgba(15, 35, 90, 0.25);
  --shadow-glow:0 0 40px rgba(31, 134, 245, 0.35);

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --radius-full:999px;

  /* Layout */
  --container:  1240px;
  --gutter:     clamp(16px, 3vw, 28px);

  /* Type */
  --font-sans:  "Inter", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Motion */
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:     160ms;
  --t-base:     280ms;
  --t-slow:     520ms;

  /* Header height (set on scroll) */
  --nav-h:      78px;
}

/* -------------------------------------------------------------------------- */
/* 2. Reset & Base                                                           */
/* -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

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

html { overflow-x: hidden; }
section, footer, header { max-width: 100%; }

img, svg, video { display: block; max-width: 100%; height: auto; }
img { color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--brand-500); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -200px;
  left: 16px;
  background: var(--brand-500);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 9999;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* -------------------------------------------------------------------------- */
/* 3. Typography                                                             */
/* -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-500);
  background: var(--brand-50);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--brand-100);
}
.eyebrow--light { color: #b9d6ff; background: rgba(31,134,245,0.12); border-color: rgba(31,134,245,0.25); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 14px 0 12px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
.section-title--light { color: #fff; }
.section-sub {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--ink-500);
  max-width: 720px;
  margin: 0;
}
.section-sub--light { color: #c6d4ee; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section__head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}
.section__head .eyebrow { margin-inline: auto; }
.section__head .section-sub { margin-inline: auto; margin-top: 14px; }

.lead {
  font-size: 1.1rem;
  color: var(--ink-700);
  line-height: 1.7;
  margin: 0 0 16px;
}
.muted { color: var(--ink-500); }

.link {
  color: var(--brand-500);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.link:hover { border-color: currentColor; }

/* -------------------------------------------------------------------------- */
/* 4. Buttons                                                                */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              color var(--t-base) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(10, 110, 224, 0.55);
}
.btn--primary:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(10, 110, 224, 0.65);
}

.btn--ghost {
  background: var(--bg);
  color: var(--ink-800);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  border-color: var(--brand-500);
  color: var(--brand-500);
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.2);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(0,0,0,0.25); }

.btn--lg { padding: 14px 26px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn--lg svg { width: 20px; height: 20px; }
.btn--block { width: 100%; }

/* -------------------------------------------------------------------------- */
/* 5. Announcement Bar                                                       */
/* -------------------------------------------------------------------------- */
.announce {
  background: var(--ink-900);
  color: #c8d2ec;
  font-size: 13px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.announce__track {
  display: inline-flex;
  white-space: nowrap;
  padding: 9px 0;
  gap: 36px;
  animation: marquee 36s linear infinite;
}
.announce__item { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.announce__item strong { color: #fff; font-weight: 600; }

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}
.dot--green  { background: var(--accent-400); box-shadow: 0 0 0 4px rgba(52,210,119,0.2); }
.dot--blue   { background: var(--brand-300); box-shadow: 0 0 0 4px rgba(84,163,255,0.2); }
.dot--amber  { background: var(--warning); box-shadow: 0 0 0 4px rgba(245,158,11,0.2); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------------- */
/* 6. Navbar                                                                 */
/* -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -10px rgba(15,23,42,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
  padding-block: 14px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  box-shadow: 0 6px 16px -4px rgba(10, 110, 224, 0.3);
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.nav__brand-tag {
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.nav__link {
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: 10px;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  position: relative;
}
.nav__link:hover { color: var(--brand-500); background: var(--brand-50); }
.nav__link.is-active { color: var(--brand-500); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--grad-blue);
  border-radius: 2px;
}

.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav__phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-800);
  padding: 8px 12px;
  border-radius: 10px;
  transition: color var(--t-fast) var(--ease);
}
.nav__phone:hover { color: var(--brand-500); }
.nav__phone svg { width: 16px; height: 16px; }

.nav__cta { padding: 10px 18px; }
@media (min-width: 1100px) { .nav__phone { display: inline-flex; } }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  position: relative;
}
.nav__burger span {
  width: 18px; height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__links {
    position: fixed;
    inset: calc(var(--nav-h) + 30px) 16px auto 16px;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-xl);
    align-items: stretch;
    gap: 4px;
    transform: translateY(-12px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
  }
  .nav__links.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link { padding: 12px 14px; font-size: 1rem; }
  .nav__burger { display: inline-flex; }
  .nav__cta { display: none; }
}

/* -------------------------------------------------------------------------- */
/* 7. Hero                                                                   */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0 clamp(60px, 8vw, 100px);
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 60%, #f6faff 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 110, 224, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 110, 224, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero__glow {
  position: absolute;
  width: 540px; height: 540px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.hero__glow--1 { background: #4ea1ff; top: -180px; left: -100px; }
.hero__glow--2 { background: #5fe39c; bottom: -220px; right: -120px; opacity: 0.45; }

.hero__orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(10,110,224,0.18);
}
.hero__orb--1 {
  width: 320px; height: 320px;
  top: 18%; right: -80px;
  animation: float 14s ease-in-out infinite;
}
.hero__orb--2 {
  width: 180px; height: 180px;
  bottom: 12%; left: 6%;
  border-color: rgba(22,163,74,0.2);
  animation: float 18s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(8deg); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__content { min-width: 0; }
.hero__visual { min-width: 0; overflow: visible; }
.about__content { min-width: 0; overflow-wrap: break-word; word-wrap: break-word; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-500);
  box-shadow: 0 0 0 0 rgba(22,163,74,0.6);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.55); }
  70% { box-shadow: 0 0 0 12px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 22px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.hero__title > span { display: inline-block; }

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-500);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 32px;
}
.hero__sub strong { color: var(--ink-800); font-weight: 600; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: var(--ink-600);
  font-weight: 500;
}
.hero__bullets li { display: flex; align-items: center; gap: 8px; }
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-700);
  font-size: 11px;
  font-weight: 800;
}

/* Hero visual */
.hero__visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.display {
  background: linear-gradient(180deg, #0a1633 0%, #061026 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px -20px rgba(10,22,51,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  padding: 14px;
  color: #fff;
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.display::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(31,134,245,0.2), transparent 50%);
  pointer-events: none;
}

.display__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.display__dots { display: flex; gap: 6px; margin-right: 4px; }
.display__dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.display__dots span:nth-child(1) { background: #ff5f57; }
.display__dots span:nth-child(2) { background: #febc2e; }
.display__dots span:nth-child(3) { background: #28c840; }
.display__title { flex: 1; font-weight: 600; }
.display__time { font-family: var(--font-mono); letter-spacing: 0.04em; }

.display__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  padding: 16px 6px 12px;
  position: relative;
  z-index: 1;
}

.display__now {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 18px 16px;
  background: linear-gradient(135deg, rgba(31,134,245,0.15), rgba(22,163,74,0.1));
  border: 1px solid rgba(31,134,245,0.25);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.display__now::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  animation: shine 3.5s linear infinite;
}
@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.display__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.display__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 30px rgba(31,134,245,0.4);
}
.display__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.display__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.display__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}
.display__row--active {
  background: linear-gradient(90deg, rgba(22,163,74,0.18), rgba(22,163,74,0.04));
  border-color: rgba(22,163,74,0.4);
  box-shadow: 0 0 24px rgba(22,163,74,0.18);
}
.display__row--active .display__row-num { color: #fff; }
.display__row-label { color: rgba(255,255,255,0.7); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.display__row-num { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: rgba(255,255,255,0.85); }

.display__marquee {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.display__marquee-track {
  display: inline-flex;
  gap: 18px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee 28s linear infinite;
}

/* Phone mockup */
.phone-mock {
  position: absolute;
  right: -10px;
  bottom: 20px;
  width: 200px;
  height: 410px;
  background: linear-gradient(180deg, #1a2545 0%, #0a1633 100%);
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 30px 60px -10px rgba(10,22,51,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  animation: floaty 8s ease-in-out infinite;
  z-index: 2;
}
.phone-mock__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-mock__screen {
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  border-radius: 24px;
  height: 100%;
  padding: 32px 16px 16px;
  position: relative;
  overflow: hidden;
}
.phone-mock__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-800);
  margin-bottom: 18px;
}
.phone-mock__pill {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 16px;
  background: #000;
  border-radius: 0 0 10px 10px;
}
.phone-mock__time { color: var(--ink-700); }

.phone-mock__app {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border-radius: 22px;
  padding: 18px 16px;
  height: calc(100% - 50px);
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-mock__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink-900);
  margin-bottom: 14px;
}
.phone-mock__ticket {
  text-align: center;
  margin-bottom: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.phone-mock__ticket-label {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.phone-mock__ticket-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand-500);
  letter-spacing: -0.02em;
  line-height: 1;
}
.phone-mock__ticket-stat {
  display: flex;
  justify-content: space-around;
  margin-top: 16px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.phone-mock__stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.phone-mock__stat-num { font-weight: 800; font-size: 1.1rem; color: var(--ink-900); }
.phone-mock__stat-lbl { font-size: 10px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; }
.phone-mock__progress {
  height: 6px;
  background: var(--ink-100);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}
.phone-mock__progress-bar {
  height: 100%;
  width: 38%;
  background: var(--grad-mix);
  border-radius: 4px;
  animation: prog 5s ease-in-out infinite;
}
@keyframes prog {
  0%, 100% { width: 38%; }
  50% { width: 78%; }
}
.phone-mock__hint {
  text-align: center;
  font-size: 10px;
  color: var(--ink-500);
  margin-top: 10px;
}

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}
.floating-card--top { top: 30px; left: -20px; }
.floating-card--bottom { bottom: 60px; left: -30px; animation-delay: -2.5s; }
.floating-card__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.floating-card__icon--green {
  background: var(--accent-100);
  color: var(--accent-700);
}
.floating-card__icon--blue {
  background: var(--brand-50);
  color: var(--brand-600);
}
.floating-card__icon svg { width: 20px; height: 20px; }
.floating-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-900);
  line-height: 1.2;
}
.floating-card__sub {
  font-size: 0.78rem;
  color: var(--ink-500);
  margin-top: 2px;
}

.hero__scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink-500);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hero__scroll span {
  width: 2px; height: 36px;
  background: linear-gradient(180deg, var(--brand-500), transparent);
  border-radius: 2px;
  animation: scrollLine 1.6s ease-in-out infinite;
}
.hero__scroll em { font-style: normal; font-weight: 600; }
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 540px; margin-top: 30px; }
  .hero__scroll { display: none; }
}
@media (max-width: 640px) {
  .hero__visual { min-height: 480px; }
  .phone-mock { width: 180px; height: 360px; right: 4px; bottom: 20px; }
  .floating-card--top { left: 0; }
  .floating-card--bottom { left: 0; bottom: 20px; }
  .floating-card { padding: 10px 12px; }
}

/* -------------------------------------------------------------------------- */
/* 8. Trust Bar                                                              */
/* -------------------------------------------------------------------------- */
.trust {
  padding: 36px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust__label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-500);
  font-weight: 600;
  margin: 0 0 18px;
}
.trust__marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.trust__track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-700);
  opacity: 0.85;
}
.trust__dot { color: var(--brand-300); font-size: 10px; }

/* -------------------------------------------------------------------------- */
/* 9. Stats                                                                  */
/* -------------------------------------------------------------------------- */
.stats { padding: clamp(60px, 8vw, 90px) 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.stats__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(31,134,245,0.07), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(22,163,74,0.07), transparent 40%);
  pointer-events: none;
}
.stat { text-align: center; position: relative; z-index: 1; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.stat__num sup {
  font-size: 0.5em;
  -webkit-text-fill-color: var(--brand-500);
  color: var(--brand-500);
  font-weight: 700;
  margin-left: 4px;
}
.stat__label { font-weight: 600; color: var(--ink-800); font-size: 1rem; }
.stat__sub { font-size: 13px; color: var(--ink-500); margin-top: 2px; }

@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* -------------------------------------------------------------------------- */
/* 10. About                                                                 */
/* -------------------------------------------------------------------------- */
.about { padding: clamp(60px, 8vw, 100px) 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  min-width: 0;
}

.about__media {
  position: relative;
  min-height: 520px;
  min-width: 0;
}
.about__photo {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid #fff;
}
.about__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.about__photo:hover img { transform: scale(1.05); }

.about__photo--1 {
  width: 68%;
  height: 380px;
  top: 0;
  left: 0;
  z-index: 2;
}
.about__photo--2 {
  width: 55%;
  height: 280px;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.about__chip {
  position: absolute;
  bottom: 36%;
  left: 4%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 4;
  animation: floaty 5s ease-in-out infinite;
}
.about__chip-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand-500);
  line-height: 1;
}
.about__chip-text {
  font-size: 12px;
  color: var(--ink-500);
}

.about__content .eyebrow { margin-bottom: 16px; }
.about__pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.about__pill {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.about__pill:hover { transform: translateY(-4px); border-color: var(--brand-200); }
.about__pill svg {
  width: 24px; height: 24px;
  color: var(--brand-500);
  flex-shrink: 0;
}
.about__pill strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 2px;
  font-size: 0.95rem;
}
.about__pill span { font-size: 13px; color: var(--ink-500); }

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 420px; }
  .about__photo--1 { height: 280px; }
  .about__photo--2 { height: 220px; }
}
@media (max-width: 640px) {
  .about__media { min-height: 360px; }
  .about__photo--1 { width: 80%; }
  .about__photo--2 { width: 60%; }
  .about__pills { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------- */
/* 11. How it works                                                          */
/* -------------------------------------------------------------------------- */
.how { padding: clamp(60px, 8vw, 100px) 0; background: var(--bg-soft); }

.how__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.how__line {
  position: absolute;
  top: 60px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-300) 0 6px, transparent 6px 12px);
  z-index: 0;
}

.how__step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  text-align: center;
  z-index: 1;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.how__step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.how__num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--brand-500);
  background: var(--surface);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 2px solid var(--brand-100);
}
.how__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  margin: 0 auto 18px;
  background: var(--brand-50);
  color: var(--brand-500);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--t-base) var(--ease);
}
.how__icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  border: 1px dashed var(--brand-200);
  opacity: 0.5;
}
.how__step:hover .how__icon { transform: scale(1.1) rotate(-6deg); }
.how__icon svg { width: 30px; height: 30px; }
.how__step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink-900);
  margin: 0 0 8px;
}
.how__step p { color: var(--ink-500); font-size: 0.95rem; line-height: 1.6; margin: 0; }

@media (max-width: 960px) {
  .how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how__line { display: none; }
}
@media (max-width: 540px) {
  .how__steps { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------- */
/* 12. Features                                                              */
/* -------------------------------------------------------------------------- */
.features { padding: clamp(60px, 8vw, 100px) 0; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-mix);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.feature:hover {
  transform: translateY(-6px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
}
.feature:hover::before { transform: scaleX(1); }

.feature__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature__icon--blue   { background: var(--brand-50);  color: var(--brand-600); }
.feature__icon--green  { background: var(--accent-50); color: var(--accent-600); }
.feature__icon--purple { background: #f3e8ff; color: #7e22ce; }
.feature__icon--amber  { background: #fff7ed; color: #c2410c; }
.feature__icon--teal   { background: #f0fdfa; color: #0f766e; }
.feature__icon--pink   { background: #fdf2f8; color: #be185d; }

.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-900);
  margin: 0 0 8px;
}
.feature p { color: var(--ink-500); font-size: 0.95rem; line-height: 1.6; margin: 0 0 16px; }
.feature__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-500);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.feature__more:hover { border-color: currentColor; }

@media (max-width: 960px) {
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .features__grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------- */
/* 13. Products                                                              */
/* -------------------------------------------------------------------------- */
.products { padding: clamp(60px, 8vw, 100px) 0; background: var(--bg-soft); }
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.product__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0a1633 0%, #142b5a 100%);
  overflow: hidden;
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.product:hover .product__media img { transform: scale(1.06); }
.product__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand-500);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}
.product__tag--green { background: var(--accent-500); }
.product__tag--amber { background: var(--warning); }
.product__tag--blue  { background: var(--info); }

.product__body { padding: 24px 26px 28px; flex: 1; }
.product__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink-900);
  margin: 0 0 8px;
}
.product__body > p { color: var(--ink-500); font-size: 0.95rem; line-height: 1.6; margin: 0 0 18px; }

.product__specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.product__specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.product__specs li:last-child { border-bottom: 0; }
.product__specs span { color: var(--ink-500); }
.product__specs b { color: var(--ink-900); font-weight: 600; }

@media (max-width: 768px) { .products__grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* 14. Live Demo                                                             */
/* -------------------------------------------------------------------------- */
.demo {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(180deg, #061026 0%, #0a1633 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(31,134,245,0.18), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(22,163,74,0.12), transparent 40%);
  pointer-events: none;
}

.demo__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.demo__panel {
  background: linear-gradient(180deg, #0e1f44 0%, #0a1633 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.demo__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.demo__bar-dot { width: 12px; height: 12px; border-radius: 50%; }
.demo__bar-dot--r { background: #ff5f57; }
.demo__bar-dot--y { background: #febc2e; }
.demo__bar-dot--g { background: #28c840; }
.demo__bar-title { flex: 1; text-align: center; font-weight: 500; }
.demo__bar-time { font-family: var(--font-mono); font-size: 12px; }

.demo__content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  padding: 24px;
}

.demo__left { display: flex; flex-direction: column; gap: 14px; }
.demo__maincard {
  background: linear-gradient(135deg, rgba(31,134,245,0.18), rgba(22,163,74,0.1));
  border: 1px solid rgba(31,134,245,0.3);
  border-radius: var(--radius);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
}
.demo__maincard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  animation: shine 4s linear infinite;
}
.demo__maincard-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}
.demo__maincard-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 6px 0 4px;
}
.demo__maincard-sub { color: rgba(255,255,255,0.7); font-size: 14px; }

.demo__row { display: flex; gap: 10px; flex-wrap: wrap; }
.demo__btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: all var(--t-fast) var(--ease);
}
.demo__btn svg { width: 14px; height: 14px; }
.demo__btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.demo__btn--primary {
  background: var(--brand-500);
  border-color: var(--brand-400);
  box-shadow: 0 4px 14px rgba(31,134,245,0.4);
}
.demo__btn--primary:hover { background: var(--brand-400); }
.demo__btn--ghost {
  background: transparent;
  border-color: rgba(22,163,74,0.3);
  color: #b3e8c4;
}
.demo__btn--ghost:hover { background: rgba(22,163,74,0.15); }
.demo__btn.is-pulse { animation: btnPulse 0.5s var(--ease); }
@keyframes btnPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.demo__counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.demo__counter {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  transition: all var(--t-fast) var(--ease);
  cursor: pointer;
}
.demo__counter span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.demo__counter em { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.demo__counter--active {
  background: linear-gradient(135deg, rgba(22,163,74,0.2), rgba(22,163,74,0.05));
  border-color: rgba(22,163,74,0.4);
  box-shadow: 0 0 16px rgba(22,163,74,0.2);
}
.demo__counter--break {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.3);
  color: #fcd9a6;
}
.demo__counter--break em { color: #fbbf24; }

.demo__right { display: flex; flex-direction: column; gap: 16px; }
.demo__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
}
.demo__card-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  font-weight: 600;
}
.demo__qlist { display: flex; flex-direction: column; gap: 6px; }
.demo__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-mono);
  transition: all var(--t-base) var(--ease);
}
.demo__q span { font-weight: 700; }
.demo__q em { font-style: normal; color: rgba(255,255,255,0.5); font-size: 12px; }
.demo__q--now {
  background: linear-gradient(90deg, rgba(22,163,74,0.2), rgba(22,163,74,0.05));
  border: 1px solid rgba(22,163,74,0.3);
  color: #fff;
  animation: popIn 0.4s var(--ease-bounce);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.demo__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 14px;
}
.demo__stat { text-align: center; }
.demo__stat-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.demo__stat-lbl {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.demo__side { display: flex; flex-direction: column; gap: 18px; }
.demo__bigdisplay .display--mini {
  width: 100%;
  animation: none;
  padding: 12px;
}
.display--mini .display__main { padding: 12px 4px 8px; }
.display--mini .display__number { font-size: clamp(2.5rem, 5vw, 3.5rem); }
.display--mini .display__row { padding: 8px 12px; font-size: 12px; }
.display--mini .display__row-num { font-size: 1rem; }

.demo__caption {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 10px 0 0;
  letter-spacing: 0.04em;
}

.demo__phone {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
}
.demo__phone .demo__caption { text-align: left; margin: 0 0 12px; }
.demo__wa { display: flex; flex-direction: column; gap: 8px; }
.demo__wa-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  max-width: 85%;
  line-height: 1.5;
  animation: bubbleIn 0.4s var(--ease);
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.demo__wa-bubble--in {
  background: #fff;
  color: var(--ink-800);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.demo__wa-bubble--out {
  background: #d9fdd3;
  color: var(--ink-800);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 600;
  width: fit-content;
}
.demo__wa-bubble--list { font-size: 12px; }

@media (max-width: 1024px) {
  .demo__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .demo__content { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------- */
/* 15. Industries                                                            */
/* -------------------------------------------------------------------------- */
.industries { padding: clamp(60px, 8vw, 100px) 0; }
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.industry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.industry::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.industry:hover {
  transform: translateY(-6px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
}
.industry:hover::before { transform: scaleX(1); }
.industry__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--brand-50);
  color: var(--brand-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.industry__icon svg { width: 28px; height: 28px; }
.industry__icon--green  { background: var(--accent-50); color: var(--accent-600); }
.industry__icon--purple { background: #f3e8ff; color: #7e22ce; }
.industry__icon--amber  { background: #fff7ed; color: #c2410c; }
.industry__icon--teal   { background: #f0fdfa; color: #0f766e; }
.industry__icon--pink   { background: #fdf2f8; color: #be185d; }

.industry h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink-900);
  margin: 0 0 8px;
}
.industry p { color: var(--ink-500); font-size: 0.95rem; line-height: 1.6; margin: 0 0 14px; }
.industry__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-500);
  background: var(--brand-50);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.industry__tag--green  { color: var(--accent-700); background: var(--accent-50); }
.industry__tag--purple { color: #7e22ce; background: #f3e8ff; }
.industry__tag--amber  { color: #c2410c; background: #fff7ed; }
.industry__tag--teal   { color: #0f766e; background: #f0fdfa; }
.industry__tag--pink   { color: #be185d; background: #fdf2f8; }

@media (max-width: 960px) { .industries__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .industries__grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* 16. Gallery                                                               */
/* -------------------------------------------------------------------------- */
.gallery { padding: clamp(60px, 8vw, 100px) 0; background: var(--bg-soft); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--surface);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7));
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
}
.gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  z-index: 1;
  transform: translateY(20px);
  opacity: 0;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.gallery__item:hover figcaption { transform: translateY(0); opacity: 1; }

.gallery__item--lg {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery__item--wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--lg { grid-column: span 2; grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 540px) {
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--lg, .gallery__item--wide { grid-column: span 1; grid-row: span 1; }
  .gallery__item figcaption { transform: translateY(0); opacity: 1; }
}

/* -------------------------------------------------------------------------- */
/* 17. Testimonials                                                          */
/* -------------------------------------------------------------------------- */
.testimonials { padding: clamp(60px, 8vw, 100px) 0; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tcard::before {
  content: "“";
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--brand-100);
  font-weight: 800;
}
.tcard__stars { color: #facc15; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.tcard blockquote {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}
.tcard__person { display: flex; align-items: center; gap: 14px; }
.tcard__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  font-family: var(--font-display);
}
.tcard__avatar--blue   { background: var(--grad-blue); }
.tcard__avatar--green  { background: var(--grad-green); }
.tcard__avatar--purple { background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%); }
.tcard__person strong { display: block; color: var(--ink-900); font-weight: 700; }
.tcard__person span { font-size: 13px; color: var(--ink-500); }

@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; } }

/* -------------------------------------------------------------------------- */
/* 18. FAQ                                                                   */
/* -------------------------------------------------------------------------- */
.faq { padding: clamp(60px, 8vw, 100px) 0; background: var(--bg-soft); }
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  min-width: 0;
}
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.faq__item[open] {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-900);
  position: relative;
  padding-right: 40px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--brand-500);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.faq__item[open] summary::after {
  content: "−";
  background: var(--brand-500);
  color: #fff;
}
.faq__item p {
  color: var(--ink-500);
  line-height: 1.7;
  margin: 0;
  padding-bottom: 18px;
  font-size: 0.95rem;
}

@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* 19. CTA                                                                   */
/* -------------------------------------------------------------------------- */
.cta { padding: clamp(40px, 6vw, 80px) 0; }
.cta__inner {
  position: relative;
  background: var(--grad-blue);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.cta__orb--1 { width: 360px; height: 360px; background: rgba(255,255,255,0.15); top: -120px; left: -100px; }
.cta__orb--2 { width: 320px; height: 320px; background: rgba(22,163,74,0.4); bottom: -100px; right: -100px; }

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  position: relative;
  z-index: 1;
}
.cta__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  max-width: 580px;
  margin: 0;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .cta__actions { flex-direction: column; align-items: stretch; }
}

/* -------------------------------------------------------------------------- */
/* 20. Contact                                                               */
/* -------------------------------------------------------------------------- */
.contact { padding: clamp(60px, 8vw, 100px) 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
  min-width: 0;
}

.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(31,134,245,0.12);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row--split > div { display: flex; flex-direction: column; gap: 6px; }

.form-note { font-size: 12px; color: var(--ink-500); margin: 14px 0 0; }
.form-success {
  margin-top: 18px;
  padding: 16px;
  background: var(--accent-50);
  color: var(--accent-700);
  border: 1px solid var(--accent-200);
  border-radius: 12px;
  font-size: 0.95rem;
  animation: popIn 0.4s var(--ease);
}

.contact__info { display: flex; flex-direction: column; gap: 18px; }
.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.contact__card:hover { transform: translateY(-2px); border-color: var(--brand-200); }
.contact__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__icon--green { background: var(--accent-50); color: var(--accent-600); }
.contact__icon--blue  { background: #e0f2fe; color: #0369a1; }
.contact__icon svg { width: 22px; height: 22px; }
.contact__card strong {
  display: block;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact__card p { color: var(--ink-500); font-size: 0.92rem; line-height: 1.6; margin: 0; }

.contact__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form-row--split { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------- */
/* 21. Footer                                                                */
/* -------------------------------------------------------------------------- */
.footer {
  background: var(--ink-900);
  color: #c8d2ec;
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(31,134,245,0.18), transparent 40%),
              radial-gradient(circle at 80% 100%, rgba(22,163,74,0.12), transparent 40%);
  pointer-events: none;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 360px;
  margin: 18px 0 24px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer__logo img { border-radius: 10px; }
.footer__logo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.footer__logo span { font-size: 12px; color: rgba(255,255,255,0.6); }
.footer__social { display: flex; gap: 10px; }
.footer__social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast) var(--ease);
}
.footer__social-btn:hover { background: var(--brand-500); border-color: var(--brand-500); transform: translateY(-2px); }
.footer__social-btn svg { width: 18px; height: 18px; }

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer__col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding: 6px 0;
  transition: color var(--t-fast) var(--ease), padding var(--t-fast) var(--ease);
}
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__addr { color: rgba(255,255,255,0.5); font-size: 13px; margin: 6px 0 0; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  position: relative;
  z-index: 1;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* -------------------------------------------------------------------------- */
/* 22. Reveal Animation                                                      */
/* -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* 23. Reduced Motion                                                        */
/* -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------- */
/* 24. Back to Top                                                           */
/* -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-500);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(10, 110, 224, 0.5);
  cursor: pointer;
  z-index: 50;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--brand-600); }
.back-to-top svg { width: 22px; height: 22px; }

/* -------------------------------------------------------------------------- */
/* 25. Inner Pages (Privacy / Terms / Legal)                                 */
/* -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(40px, 6vw, 64px);
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 60%, #f6faff 100%);
  overflow: hidden;
  text-align: center;
}
.page-header__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.page-header__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10, 110, 224, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 110, 224, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}
.page-header__glow {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
}
.page-header__glow--1 { background: #4ea1ff; top: -160px; left: -80px; }
.page-header__glow--2 { background: #5fe39c; bottom: -200px; right: -80px; }

.page-header__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}
.page-header__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.page-header__crumbs a {
  color: var(--ink-500);
  font-weight: 500;
  transition: color var(--t-fast) var(--ease);
}
.page-header__crumbs a:hover { color: var(--brand-500); }
.page-header__crumbs span { color: var(--ink-300); }
.page-header__crumbs em { font-style: normal; color: var(--ink-800); font-weight: 600; }

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.page-header__sub {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--ink-500);
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
  margin-inline: auto;
}
.page-header__meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.page-header__meta .chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-600);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

/* Legal / long-form content */
.legal {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px);
  background: var(--bg);
}
.legal__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.legal__toc {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  max-height: calc(100vh - var(--nav-h) - 32px);
  overflow-y: auto;
}
.legal__toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 12px;
  padding: 0 4px;
}
.legal__toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal__toc-list a {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--ink-600);
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  line-height: 1.35;
}
.legal__toc-list a:hover {
  background: var(--brand-50);
  color: var(--brand-600);
  border-left-color: var(--brand-300);
}

.legal__content {
  max-width: 760px;
  min-width: 0;
}
.legal__section {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--line);
}
.legal__section:last-child { border-bottom: 0; }
.legal__section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.legal__section h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-800);
  margin: 22px 0 10px;
}
.legal__section p {
  color: var(--ink-600);
  line-height: 1.75;
  margin: 0 0 14px;
  font-size: 0.98rem;
}
.legal__section p strong { color: var(--ink-800); }
.legal__section ul, .legal__section ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--ink-600);
  line-height: 1.75;
  font-size: 0.98rem;
}
.legal__section ul li, .legal__section ol li { margin-bottom: 8px; }
.legal__section ul li::marker { color: var(--brand-400); }
.legal__section a { color: var(--brand-500); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color var(--t-fast) var(--ease); }
.legal__section a:hover { border-bottom-color: currentColor; }
.legal__section code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--ink-800);
}
.legal__section hr {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 20px 0;
}

/* Info grid for legal page */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}
.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.info-card:hover { transform: translateY(-2px); border-color: var(--brand-200); }
.info-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 6px;
}
.info-card__value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1rem;
  line-height: 1.4;
}
.info-card__value--mono { font-family: var(--font-mono); font-weight: 500; }

.legal-cta {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.legal-cta strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink-900);
  display: block;
  margin-bottom: 4px;
}
.legal-cta p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .legal__layout { grid-template-columns: 1fr; }
  .legal__toc { position: static; max-height: none; }
  .legal__toc-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .legal__toc-list a { border-left: 0; border-bottom: 2px solid transparent; padding: 6px 10px; }
  .legal__toc-list a:hover { border-bottom-color: var(--brand-300); border-left-color: transparent; }
  .info-grid { grid-template-columns: 1fr; }
  .legal-cta { flex-direction: column; align-items: flex-start; }
}
