/* =====================================================================
   BAE Infotech Pvt Ltd — styles.css
   Raw modern CSS · CSS variables for theming · Grid + Flexbox
   Palette derived from the logo: deep navy + electric blue.
   Animations use transform/opacity only for 60fps.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --max: 1200px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 22px;
  --radius-sm: 14px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Brand blues (from logo) — no purple */
  --accent: #1a8fff;      /* electric blue glow */
  --accent-2: #2f6bff;    /* royal blue */
  --accent-3: #5fd0ff;    /* bright cyan-blue */
  --navy: #0a1a3a;        /* logo navy */
  --grad: linear-gradient(120deg, #2f6bff 0%, #1a8fff 50%, #5fd0ff 120%);
  --grad-soft: linear-gradient(120deg, #2f6bff, #1a8fff);
}

/* Dark — deep navy space (logo body colour) */
:root[data-theme="dark"] {
  --bg: #04070f;
  --bg-2: #081227;
  --surface: rgba(120, 170, 255, .05);
  --surface-2: rgba(120, 170, 255, .08);
  --border: rgba(120, 170, 255, .12);
  --border-strong: rgba(120, 170, 255, .22);
  --text: #e9f0ff;
  --text-dim: #93a4c7;
  --text-faint: #5c6b8e;
  --glow: rgba(26, 143, 255, .38);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .85);
  --grain-op: .05;
  color-scheme: dark;
}

/* Light — clean laboratory white with navy ink */
:root[data-theme="light"] {
  --bg: #eef3fb;
  --bg-2: #f7faff;
  --surface: rgba(255, 255, 255, .68);
  --surface-2: rgba(255, 255, 255, .88);
  --border: rgba(10, 26, 58, .1);
  --border-strong: rgba(10, 26, 58, .18);
  --text: #0a1a3a;
  --text-dim: #46567a;
  --text-faint: #8391ac;
  --glow: rgba(26, 143, 255, .26);
  --shadow: 0 30px 70px -35px rgba(20, 50, 120, .38);
  --grain-op: .022;
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .6s var(--ease), color .6s var(--ease);
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 80% -10%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 60%),
    radial-gradient(55vw 55vw at 6% 10%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%),
    radial-gradient(50vw 40vw at 50% 108%, color-mix(in srgb, var(--accent-3) 14%, transparent), transparent 60%),
    var(--bg);
  transition: background .6s var(--ease);
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4.5rem, 11vw, 9rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.center { text-align: center; }
.divider { height: 1px; border: none; background: var(--border); margin: 0; }

/* ---------- Grain + scroll progress + cursor glow ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 9999;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--grad); box-shadow: 0 0 16px var(--glow);
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 480px; height: 480px; z-index: -1;
  border-radius: 50%; pointer-events: none; transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, var(--glow), transparent 62%);
  opacity: 0; transition: opacity .5s var(--ease); will-change: transform;
}
body.cursor-active .cursor-glow { opacity: .55; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Glass primitive ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface-2);
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 100px; font-weight: 600;
  font-family: var(--font-display); letter-spacing: .01em; white-space: nowrap;
  border: 1px solid var(--border-strong); background: var(--btn-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: .6rem 1.05rem; font-size: .86rem; }
.btn--block { width: 100%; justify-content: center; padding-block: 1.05rem; }
.btn--ghost { color: var(--text); }
.btn--primary {
  color: #fff; border-color: transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad-soft) border-box;
}
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-soft); opacity: .95; }
.btn--primary::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--grad); opacity: 0; filter: blur(14px); transition: opacity .4s var(--ease);
}
.btn--primary:hover { box-shadow: 0 18px 40px -14px var(--glow); }
.btn--primary:hover::after { opacity: .85; }

.link-underline {
  position: relative; font-weight: 600; font-family: var(--font-display);
  color: var(--text); padding-bottom: 2px; display: inline-flex; align-items: center; gap: .4rem;
}
.link-underline svg { transition: transform .35s var(--ease); }
.link-underline:hover svg { transform: translateX(4px); }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; }
.brand__logo { display: block; }
.brand__logo img { display: block; height: 30px; width: auto; }
.brand__logo--dark { display: none; }
:root[data-theme="light"] .brand__logo--light { display: none; }
:root[data-theme="light"] .brand__logo--dark { display: block; }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: transform .5s var(--ease), background .4s var(--ease), border-color .4s var(--ease); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; margin-top: .55rem; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); margin-top: 0; }
.nav.hidden { transform: translateY(-115%); }
.nav__links { display: flex; gap: 1.9rem; }
.nav__link { position: relative; font-size: .92rem; color: var(--text-dim); font-weight: 500; transition: color .3s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link.active { color: var(--text); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }

.theme-toggle { padding: 0; }
.theme-toggle__track { display: block; width: 54px; height: 28px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border-strong); position: relative; transition: background .4s var(--ease); }
.theme-toggle__thumb { position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-soft); color: #fff; display: grid; place-items: center; transition: transform .5s var(--ease); box-shadow: 0 4px 12px var(--glow); }
:root[data-theme="light"] .theme-toggle__thumb { transform: translateX(26px); }
.theme-toggle__thumb .icon-moon { display: block; } .theme-toggle__thumb .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle__thumb .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle__thumb .icon-sun { display: block; }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); z-index: 999;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center; gap: 1.2rem;
  padding: 2rem var(--pad); transform: translateX(100%);
  transition: transform .55s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu__link { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text-dim); transition: color .3s var(--ease); }
.mobile-menu__link.active, .mobile-menu__link:hover { color: var(--text); }
.mobile-menu__cta { margin-top: 1rem; justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: clamp(8rem, 16vw, 11rem); padding-bottom: clamp(3rem, 7vw, 5rem); overflow: hidden; }
.page-hero__aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(40vw 40vw at 78% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
              radial-gradient(44vw 40vw at 10% 40%, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 62%);
  filter: blur(24px); opacity: .8; }
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.page-hero h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(2.6rem, 8vw, 5rem); line-height: 1; margin-bottom: 1.2rem; }
.page-hero p { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--text-dim); max-width: 620px; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .8rem; color: var(--text-faint); margin-bottom: 1.4rem; font-family: var(--font-display); letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding-top: clamp(5.5rem, 6svh, 6rem); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__aurora { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(40vw 40vw at 20% 30%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%),
              radial-gradient(46vw 46vw at 82% 70%, color-mix(in srgb, var(--accent-2) 24%, transparent), transparent 62%);
  filter: blur(20px); opacity: .8; animation: aurora 16s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate3d(0, -18px, 0) scale(1.06); } }
.hero__content { position: relative; z-index: 3; text-align: center; }

.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; border-radius: 100px; font-size: .82rem; font-weight: 500; color: var(--text-dim); border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(10px); margin-bottom: 1.8rem; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 12px var(--accent-3); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }

.hero__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(2.6rem, min(14vw, 13svh), 10rem); line-height: .92; margin-bottom: 1.4rem; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { max-width: 640px; margin: 0 auto clamp(1.2rem, 3svh, 2.3rem); font-size: clamp(1.02rem, 2.4vw, 1.28rem); color: var(--text-dim); }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; align-items: center; justify-content: center; gap: 1.6rem; flex-wrap: wrap; }
.hero__stats { display: flex; justify-content: center; gap: clamp(1.5rem, 6vw, 4rem); margin-top: clamp(1.4rem, 4svh, 3.4rem); flex-wrap: wrap; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
.stat dd { font-size: .82rem; color: var(--text-faint); letter-spacing: .02em; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 1px solid var(--border-strong); border-radius: 100px; display: grid; place-items: start center; padding-top: 7px; }
.hero__scroll-line { width: 3px; height: 8px; border-radius: 3px; background: var(--grad); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding-block: 1.1rem; background: var(--surface); backdrop-filter: blur(6px); }
.marquee__track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 2.6vw, 1.55rem); color: var(--text-dim); }
.marquee__dot { color: var(--accent); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section head ---------- */
.section__head { max-width: 780px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; font-weight: 600; }
.section__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.04; }
.section__lead { margin-top: 1.1rem; font-size: clamp(1rem, 2.4vw, 1.18rem); color: var(--text-dim); }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.product-card { position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .5s var(--ease); }
.product-card__glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; transform: translate(-50%, -50%); left: var(--mx, 50%); top: var(--my, 50%); }
.product-card:hover .product-card__glow { opacity: .9; }
.product-card:hover { border-color: var(--border-strong); }
.product-card__visual { position: relative; height: 260px; overflow: hidden; border-bottom: 1px solid var(--border); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, transparent), color-mix(in srgb, var(--accent-2) 14%, transparent)); display: grid; place-items: center; }
.product-card__visual--wave .wave-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-card__badge { position: absolute; top: 1rem; left: 1rem; z-index: 4; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 100px; background: color-mix(in srgb, var(--bg) 55%, transparent); border: 1px solid var(--border-strong); backdrop-filter: blur(8px); color: var(--text); }
.product-card__body { padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.product-card__body h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.product-card__body p { color: var(--text-dim); }
.product-card__body .link-underline { margin-top: auto; align-self: flex-start; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-size: .78rem; padding: .35rem .7rem; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); }

/* DineNServe POS mock */
.pos-ui { width: 88%; max-width: 420px; border-radius: 16px; background: color-mix(in srgb, var(--bg) 78%, transparent); border: 1px solid var(--border-strong); backdrop-filter: blur(10px); padding: .9rem; box-shadow: var(--shadow); display: grid; gap: .7rem; }
.pos-ui__bar { display: flex; align-items: center; gap: .4rem; }
.pos-ui__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-faint); opacity: .6; }
.pos-ui__dot:nth-child(1) { background: #ff5f57; } .pos-ui__dot:nth-child(2) { background: #febc2e; } .pos-ui__dot:nth-child(3) { background: #28c840; }
.pos-ui__title { margin-left: auto; font-size: .68rem; color: var(--text-dim); font-family: var(--font-display); }
.pos-ui__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.pos-tile { border-radius: 10px; padding: .55rem .5rem; background: var(--surface-2); border: 1px solid var(--border); text-align: center; }
.pos-tile span { display: block; font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.pos-tile small { font-size: .62rem; color: var(--text-faint); }
.pos-tile--active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 18px -6px var(--glow); }
.pos-tile--warn { border-color: color-mix(in srgb, #f59e0b 60%, transparent); }
.pos-tile--warn small { color: #f59e0b; }
.pos-ui__row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.pos-ui__insight { font-size: .72rem; color: var(--text-dim); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid var(--border); padding: .4rem .6rem; border-radius: 8px; }
.pos-ui__insight b { color: var(--accent-3); }
.pos-ui__kpi { text-align: right; }
.pos-ui__kpi-num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.pos-ui__kpi small { display: block; font-size: .6rem; color: var(--text-faint); }

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 1.5rem); grid-auto-rows: 1fr; }
.bento__card { position: relative; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.1rem); display: flex; flex-direction: column; gap: .8rem; transition: transform .5s var(--ease), border-color .5s var(--ease); }
.bento__card--lg { grid-column: span 2; grid-row: span 2; }
.bento__card--wide { grid-column: span 2; }
.bento__card h3 { font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 600; }
.bento__card p { color: var(--text-dim); font-size: .95rem; }
.bento__tag { margin-top: auto; font-size: .74rem; letter-spacing: .05em; color: var(--text-faint); font-family: var(--font-display); }
.bento__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid var(--border); }
.bento__icon svg { width: 26px; height: 26px; }
.bento__card--lg .bento__icon { width: 62px; height: 62px; }
.card-glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 1;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 60%, transparent), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.card-glow::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, var(--glow), transparent 65%); left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s var(--ease); z-index: 0; }
.card-glow:hover::before, .card-glow:hover::after { opacity: 1; }
.card-glow:hover { border-color: var(--border-strong); }
.card-glow > * { position: relative; z-index: 2; }

/* ---------- Feature rows (product / service detail) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3.5rem, 8vw, 7rem); }
.feature-row--rev .feature-row__media { order: 2; }
.feature-row__media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; border: 1px solid var(--border); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, transparent), color-mix(in srgb, var(--accent-2) 12%, transparent)); display: grid; place-items: center; }
.feature-row__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-row__media .product-card__badge { top: auto; bottom: 1rem; }
.feature-row h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; }
.feature-row .eyebrow { margin-bottom: .6rem; }
.feature-row p { color: var(--text-dim); margin-top: 1rem; }
.feature-list { margin-top: 1.6rem; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .8rem; align-items: flex-start; }
.feature-list .fi { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); border: 1px solid var(--border); }
.feature-list b { font-family: var(--font-display); font-weight: 600; display: block; }
.feature-list span { color: var(--text-dim); font-size: .92rem; }

/* Dashboard mock (tourism SaaS) */
.dash { width: 90%; max-width: 460px; border-radius: 16px; background: color-mix(in srgb, var(--bg) 80%, transparent); border: 1px solid var(--border-strong); backdrop-filter: blur(10px); padding: 1rem; box-shadow: var(--shadow); display: grid; gap: .8rem; }
.dash__head { display: flex; align-items: center; justify-content: space-between; }
.dash__head b { font-family: var(--font-display); font-size: .9rem; }
.dash__pill { font-size: .62rem; color: var(--accent-3); border: 1px solid var(--border); padding: .2rem .5rem; border-radius: 100px; }
.dash__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.dash__kpi { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: .55rem; }
.dash__kpi b { font-family: var(--font-display); font-size: 1.05rem; display: block; }
.dash__kpi small { font-size: .58rem; color: var(--text-faint); }
.dash__chart { height: 74px; display: flex; align-items: flex-end; gap: 5px; padding: .4rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.dash__bar { flex: 1; height: 100%; border-radius: 4px 4px 0 0; background: var(--grad); opacity: .85; transform-origin: bottom; transform: scaleY(.4); }
.dash__route { display: flex; align-items: center; gap: .5rem; font-size: .72rem; color: var(--text-dim); }
.dash__route .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.dash__route .seg { flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }

/* ---------- Team / expertise ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 1.4rem); }
.team-card { padding: clamp(1.4rem, 3vw, 1.9rem); text-align: left; }
.team-card__ring { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1rem; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid var(--border); }
.team-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .4rem; }
.team-card p { color: var(--text-dim); font-size: .9rem; }
.team-card .count { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Logos / trust strip ---------- */
.trust { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem); flex-wrap: wrap; opacity: .8; }
.trust span { font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; color: var(--text-faint); font-size: clamp(.9rem, 2vw, 1.1rem); }

/* ---------- Timeline / process ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 1.8rem); }
.timeline__line { position: absolute; top: 2.4rem; left: 6%; right: 6%; height: 2px; background: var(--border); overflow: hidden; }
.timeline__line span { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.timeline__step { padding: clamp(1.6rem, 3vw, 2.2rem); position: relative; overflow: hidden; }
.timeline__no { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.timeline__step h3 { font-family: var(--font-display); font-size: 1.35rem; margin: .4rem 0 .5rem; }
.timeline__step p { color: var(--text-dim); font-size: .95rem; }

/* ---------- Careers ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.5rem); }
.value-card { padding: clamp(1.5rem, 3vw, 2rem); }
.value-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .5rem; }
.value-card p { color: var(--text-dim); font-size: .93rem; }
.roles { display: grid; gap: 1rem; }
.role { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(1.2rem, 3vw, 1.7rem); transition: transform .4s var(--ease), border-color .4s var(--ease); }
.role:hover { transform: translateX(6px); border-color: var(--border-strong); }
.role__info h3 { font-family: var(--font-display); font-size: 1.15rem; }
.role__meta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .4rem; font-size: .8rem; color: var(--text-faint); }
.role__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.role__cta { flex: none; color: var(--accent); font-family: var(--font-display); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.role:hover .role__cta svg { transform: translateX(4px); }
.role__cta svg { transition: transform .35s var(--ease); }

/* ---------- Contact ---------- */
.section--contact { padding-bottom: clamp(4rem, 9vw, 7rem); }
.contact { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(2rem, 5vw, 4rem); overflow: hidden; }
.contact__glow { position: absolute; width: 480px; height: 480px; border-radius: 50%; top: -140px; right: -120px; background: radial-gradient(circle, var(--glow), transparent 62%); pointer-events: none; }
.contact__intro { position: relative; z-index: 2; }
.contact__meta { margin-top: 2rem; display: grid; gap: .9rem; }
.contact__meta li { display: flex; flex-direction: column; }
.contact__meta span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); }
.contact__meta a, .contact__meta strong { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }
.contact__meta a:hover { color: var(--accent); }
.contact__form { position: relative; z-index: 2; display: grid; gap: 1.5rem; align-content: start; }

.field { position: relative; }
.field input, .field textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--border-strong); padding: 1.4rem 0 .5rem; color: var(--text); font-family: var(--font-body); font-size: 1rem; resize: none; }
.field label { position: absolute; left: 0; top: 1.3rem; color: var(--text-faint); pointer-events: none; transition: transform .35s var(--ease), color .35s var(--ease); transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-1.35rem) scale(.78); color: var(--accent); }
.field__line { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.field input:focus ~ .field__line, .field textarea:focus ~ .field__line { transform: scaleX(1); }

.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading .btn__label { opacity: .5; }
.btn.loading .btn__spinner { display: inline-block; }
.contact__success { display: flex; align-items: center; gap: .5rem; color: #22c55e; font-weight: 500; font-size: .95rem; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.contact__success.show { opacity: 1; transform: translateY(0); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(3rem, 8vw, 5.5rem); }
.cta-band__glow { position: absolute; inset: 0; background: radial-gradient(50% 120% at 50% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); pointer-events: none; }
.cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -.02em; position: relative; }
.cta-band p { color: var(--text-dim); margin: 1rem auto 2rem; max-width: 540px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Card "learn more" link (services / products hubs) ---------- */
.card-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: .88rem; }
.card-link svg { transition: transform .35s var(--ease); }
.bento__card:hover .card-link svg, .role:hover .card-link svg { transform: translateX(4px); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.blog-card { display: flex; flex-direction: column; padding: clamp(1.4rem, 3vw, 1.9rem); }
.blog-card__meta { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: var(--text-faint); margin-bottom: .9rem; }
.blog-card__tag { color: var(--accent); font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; }
.blog-card h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; margin-bottom: .6rem; }
.blog-card p { color: var(--text-dim); font-size: .93rem; flex: 1; }
.blog-card__byline { margin-top: 1.2rem; display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--text-dim); }
.blog-card__avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .78rem; flex: none; }

.article { max-width: 760px; margin-inline: auto; }
.article__byline { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.6rem; }
.article__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .9rem; flex: none; }
.article__byline b { display: block; font-family: var(--font-display); font-size: .95rem; }
.article__byline span { font-size: .8rem; color: var(--text-faint); }
.article__body { max-width: 760px; margin-inline: auto; color: var(--text-dim); font-size: 1.05rem; line-height: 1.75; }
.article__body h2 { font-family: var(--font-display); color: var(--text); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 2.2rem 0 .9rem; letter-spacing: -.01em; }
.article__body p { margin-bottom: 1.3rem; }
.article__body ul { margin: 0 0 1.3rem 1.3rem; display: grid; gap: .5rem; }
.article__body li { list-style: disc; }
.article__body strong { color: var(--text); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: 3.5rem 2rem; margin-top: clamp(2rem, 6vw, 4rem); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand { display: flex; align-items: flex-start; gap: .9rem; }
.footer__brand strong { font-family: var(--font-display); display: block; font-size: 1.05rem; }
.footer__brand p { font-size: .82rem; color: var(--text-dim); max-width: 260px; margin-top: .3rem; }
.footer__col h4 { font-family: var(--font-display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.footer__col a, .footer__col address { display: block; color: var(--text-dim); font-size: .92rem; margin-bottom: .6rem; font-style: normal; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.footer__copy { font-size: .82rem; color: var(--text-faint); }
.footer__socials { display: flex; gap: .8rem; }
.footer__socials a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--text-dim); transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.footer__socials a:hover { color: var(--accent); border-color: var(--border-strong); transform: translateY(-2px); }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: translateY(34px) scale(.96); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
.reveal-line { transform: translateY(105%); transition: transform 1s var(--ease-out); }
.hero__title.in .reveal-line { transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .products { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--lg { grid-column: span 2; grid-row: span 1; }
  .bento__card--wide { grid-column: span 2; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .timeline__line { display: none; }
  .contact { grid-template-columns: 1fr; }
  .feature-row, .feature-row--rev .feature-row__media { grid-template-columns: 1fr; order: 0; }
  .feature-row__media { order: -1 !important; min-height: 280px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--lg, .bento__card--wide { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.4rem; }
  .footer__top { grid-template-columns: 1fr; }
  .role { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  /* Phones stack the hero content taller than wide/short laptop layouts do,
     so the same svh-based sizing isn't enough on its own — tighten the
     vertical rhythm further and drop the decorative scroll cue (it was the
     thing overlapping the stats once hero height ~= content height). */
  .pill { margin-bottom: .6rem; }
  .hero__title { margin-bottom: .6rem; }
  .hero__sub { margin-bottom: .8rem !important; }
  .hero__cta { gap: .7rem; }
  .hero__stats { margin-top: .9rem !important; }
  .hero__scroll { display: none; }
}
@media (min-width: 1600px) {
  :root { --max: 1440px; }
  .hero__title { font-size: clamp(6rem, min(12vw, 13svh), 12rem); }
}
/* Extra-short viewports (small laptops, landscape phones) - the base
   .hero__title/.hero__stats rules already scale off svh so the stat row
   never sits below the fold; this just hides the scroll cue, which has
   no room to breathe once the hero shrinks this far. */
@media (max-height: 560px) {
  .hero__scroll { display: none; }
}

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