/* =========================================================
   i-Chimpanzees (Pvt) Ltd – Website styles
   Palette taken from the logo gradient
   ========================================================= */
:root {
  --bg: #0a0c12;
  --bg-2: #10131c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #e9ecf3;
  --text-strong: #ffffff;
  --muted: #9aa3b5;
  --card-bg: rgba(255, 255, 255, 0.04);
  --input-bg: rgba(0, 0, 0, 0.25);
  --nav-bg: rgba(10, 12, 18, 0.82);
  --nav-drawer-bg: rgba(12, 14, 22, 0.97);
  --blue: #2f6bff;
  --purple: #8b3dff;
  --orange: #ff6a2b;
  --yellow: #ffb81c;
  --green: #35c94b;
  --grad: linear-gradient(110deg, var(--blue), var(--purple) 35%, var(--orange) 65%, var(--yellow) 82%, var(--green));
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --font-h: "Sora", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg-2: #edf2f7;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-2: rgba(255, 255, 255, 0.95);
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.18);
  --text: #1e293b;
  --text-strong: #0f172a;
  --muted: #64748b;
  --card-bg: #ffffff;
  --input-bg: #ffffff;
  --nav-bg: rgba(248, 250, 252, 0.88);
  --nav-drawer-bg: rgba(255, 255, 255, 0.98);
  --shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.12);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-h); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; margin: 1rem 0 1.2rem; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; margin: 0.8rem 0 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; }

.grad-text {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0.9rem; border: 1px solid var(--border); border-radius: 99px; background: var(--surface);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px var(--purple); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-grad { background: var(--grad); background-size: 180% auto; color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 61, 255, 0.7); }
.btn-grad:hover { background-position: right center; box-shadow: 0 14px 34px -10px rgba(255, 106, 43, 0.7); }
.btn-ghost { border-color: var(--border); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.2); }
.btn-wa { background: #1fae5b; color: #fff; }
.btn-wa:hover { box-shadow: 0 12px 30px -10px rgba(31, 174, 91, 0.8); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- Progress, cursor glow ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 1001; }
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 61, 255, 0.12), transparent 65%);
  pointer-events: none; z-index: 0; transform: translate(-50%, -50%); transition: opacity 0.3s; opacity: 0;
}

/* ---------- Brand mark (crops head from logo) ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-h); font-weight: 700; font-size: 1.15rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: #222 url("assets/logo.jpg") no-repeat;
  background-size: 171%; background-position: 50% 25%;
  border: 1px solid var(--border); flex-shrink: 0;
}
.brand-text .i { color: var(--blue); font-weight: 800; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; transition: background 0.3s, border-color 0.3s, padding 0.3s; padding: 1rem 0; border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); padding: 0.6rem 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) { font-size: 0.93rem; color: var(--muted); position: relative; transition: color 0.2s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); transition: width 0.3s; border-radius: 2px; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { width: 100%; }

/* ---------- Theme toggle button ---------- */
.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  overflow: hidden;
  padding: 0;
}
.theme-toggle:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  color: var(--purple);
}
.theme-toggle:active {
  transform: translateY(0);
}
.theme-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
.theme-icon svg {
  width: 19px;
  height: 19px;
}
.theme-label-mobile {
  display: none;
  font-size: 0.95rem;
  font-weight: 500;
  margin-left: 2.2rem;
}

/* Light / dark visibility */
[data-theme="light"] .icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
  color: #ea580c;
}
[data-theme="light"] .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}
[data-theme="dark"] .icon-sun,
:root:not([data-theme="light"]) .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}
[data-theme="dark"] .icon-moon,
:root:not([data-theme="light"]) .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
  color: var(--yellow);
}

.header-theme-toggle {
  display: inline-flex;
}
.nav-links .theme-toggle {
  display: none;
}

.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; }
.burger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
#circuitCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 200px; background: linear-gradient(transparent, var(--bg)); z-index: 1; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 560px; min-height: 3.6em; }
.typed { color: var(--text); font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--orange); margin-left: 3px; vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.8rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; }
.hero-tags li { font-size: 0.8rem; color: var(--muted); padding: 0.3rem 0.8rem; border-radius: 99px; border: 1px solid var(--border); }

.hero-visual { display: grid; place-items: center; perspective: 1000px; }
.logo-orb { position: relative; width: min(440px, 80vw); aspect-ratio: 1; transition: transform 0.2s ease-out; transform-style: preserve-3d; }
.logo-orb img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 80px -10px rgba(139, 61, 255, 0.55), inset 0 0 0 1px var(--border); }
.ring { position: absolute; inset: 0; border-radius: 50%; }
.ring-1 { background: conic-gradient(from 0deg, var(--blue), var(--purple), var(--orange), var(--yellow), var(--green), var(--blue)); animation: spin 10s linear infinite; -webkit-mask: radial-gradient(circle, transparent 66%, #000 66.5%, #000 68%, transparent 68.5%); mask: radial-gradient(circle, transparent 66%, #000 66.5%, #000 68%, transparent 68.5%); filter: drop-shadow(0 0 8px rgba(139,61,255,0.8)); }
.ring-2 { inset: -4%; border: 1px dashed rgba(255, 255, 255, 0.14); animation: spin 40s linear infinite reverse; }
.ring-2::before, .ring-2::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; }
.ring-2::before { top: 12%; left: 12%; background: var(--blue); box-shadow: 0 0 14px var(--blue); }
.ring-2::after { bottom: 12%; right: 12%; background: var(--green); box-shadow: 0 0 14px var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px; z-index: 2; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--text); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; z-index: 1; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 20%, var(--bg-2) 80%, var(--bg)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-copy p { color: var(--muted); margin-bottom: 1rem; font-size: 1.05rem; }
.about-copy strong { color: var(--text); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.value-card { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform 0.3s, border-color 0.3s; }
.value-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.2); }
.value-card:nth-child(even) { transform: translateY(24px); }
.value-card:nth-child(even):hover { transform: translateY(18px); }
.value-card h3 { margin: 1rem 0 0.4rem; }
.value-card p { color: var(--muted); font-size: 0.92rem; }
.value-icon, .c-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.value-icon svg, .c-icon svg { width: 24px; height: 24px; }
.c-blue { color: var(--blue); background: rgba(47, 107, 255, 0.13); }
.c-purple { color: var(--purple); background: rgba(139, 61, 255, 0.14); }
.c-orange { color: var(--orange); background: rgba(255, 106, 43, 0.13); }
.c-green { color: var(--green); background: rgba(53, 201, 75, 0.13); }

/* ---------- Focus ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.focus-card {
  --c: var(--purple); --mx: 50%; --my: 50%;
  position: relative; padding: 2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.2s ease-out, border-color 0.3s; transform-style: preserve-3d; outline: none;
}
.focus-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(380px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 22%, transparent), transparent 60%);
}
.focus-card:hover::before, .focus-card:focus-visible::before, .focus-card.active::before { opacity: 1; }
.focus-card:hover, .focus-card:focus-visible, .focus-card.active { border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.focus-card > * { position: relative; }
.focus-icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); margin-bottom: 1.3rem; transition: transform 0.4s; }
.focus-icon svg { width: 26px; height: 26px; }
.focus-card:hover .focus-icon { transform: scale(1.1) rotate(-6deg); }
.focus-card h3 { margin-bottom: 0.6rem; }
.focus-card p { color: var(--muted); font-size: 0.94rem; }
.focus-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.2rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.45s, opacity 0.35s; }
.focus-card:hover ul, .focus-card:focus-visible ul, .focus-card.active ul { max-height: 100px; opacity: 1; }
.focus-card li { font-size: 0.77rem; padding: 0.25rem 0.7rem; border-radius: 99px; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.focus-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.6rem; background: linear-gradient(140deg, rgba(47,107,255,0.15), rgba(139,61,255,0.12), rgba(255,106,43,0.1), rgba(53,201,75,0.12)); }
.focus-cta .btn { margin-top: 0.8rem; }

/* ---------- VirtualAttend ---------- */
.va-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3.5rem; align-items: start; }
.va-demo { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 380px; margin: 0 auto; }

/* View switcher */
.va-mode-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 99px;
  gap: 4px;
  margin-bottom: 1.5rem;
  width: 100%;
}
.va-mode-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 99px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.va-mode-btn svg {
  width: 15px;
  height: 15px;
}
.va-mode-btn:hover {
  color: var(--text);
}
.va-mode-btn.active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 15px -3px rgba(139, 61, 255, 0.4);
}

.phone { width: 330px; border-radius: 42px; padding: 12px; background: linear-gradient(145deg, #1f2533, #0a0d14); box-shadow: var(--shadow), 0 0 0 1px var(--border), 0 0 70px -20px rgba(53, 201, 75, 0.35); position: relative; }
[data-theme="light"] .phone {
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.1);
}
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; background: #050e09; border-radius: 0 0 16px 16px; z-index: 3; }
.phone-screen { background: #03140b; border-radius: 32px; padding: 36px 16px 20px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; border: 1px solid rgba(53, 201, 75, 0.2); }

/* Real kiosk view */
.real-screen {
  padding: 30px 10px 16px;
  gap: 10px;
}
.real-kiosk-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(53, 201, 75, 0.3);
}
.kiosk-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.kiosk-badges-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.kbadge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 99px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.kbadge-gps {
  background: rgba(3, 30, 15, 0.75);
  border: 1px solid rgba(53, 201, 75, 0.5);
  color: #35c94b;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.kbadge-gps .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35c94b;
  box-shadow: 0 0 8px #35c94b;
}
.kbadge-kiosk {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.real-kiosk-caption {
  padding: 8px 6px;
}
.real-kiosk-caption h4 {
  font-size: 0.92rem;
  color: #35c94b;
  margin-bottom: 4px;
}
.real-kiosk-caption p {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

/* App Header & Kiosk branding */
.app-top { display: flex; justify-content: space-between; align-items: center; }
.kiosk-header-left { display: flex; align-items: center; gap: 6px; }
.va-brand-title {
  font-family: var(--font-h);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.va-brand-attend {
  color: #35c94b;
  font-weight: 800;
}
.va-kiosk-tag {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  letter-spacing: 0.06em;
}
.app-clock { color: #94a3b8; font-weight: 500; font-size: 0.85rem; font-variant-numeric: tabular-nums; }

.kiosk-subbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
}
.gps-secured-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(53, 201, 75, 0.14);
  border: 1px solid rgba(53, 201, 75, 0.35);
  color: #35c94b;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
}
.gps-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35c94b;
  box-shadow: 0 0 6px #35c94b;
}
.admin-gear-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-gear-tag svg {
  width: 12px;
  height: 12px;
}

/* Scanner view mirroring the real kiosk viewport */
.scan-area {
  position: relative;
  height: 190px;
  border-radius: 20px;
  background: #020c06 url("assets/virtualattend-screenshot.jpg") no-repeat center 35%;
  background-size: 135%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1.5px solid rgba(53, 201, 75, 0.35);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}
.face {
  width: 100px;
  height: 120px;
  stroke: rgba(53, 201, 75, 0.4);
  stroke-width: 2;
  transition: stroke 0.4s;
  z-index: 1;
}
.scan-frame { position: absolute; inset: 12px; pointer-events: none; }
.scan-frame i { position: absolute; width: 20px; height: 20px; border: 3px solid #35c94b; transition: border-color 0.3s; }
.scan-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.scan-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.scan-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.scan-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }

.scan-line { position: absolute; left: 10%; right: 10%; height: 3px; top: 10%; background: linear-gradient(90deg, transparent, #35c94b, #2f6bff, transparent); box-shadow: 0 0 18px #35c94b; opacity: 0; z-index: 2; }
.face-points { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.face-points b { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #35c94b; box-shadow: 0 0 8px #35c94b; transform: scale(0); animation: pop 0.35s forwards; }

.scanner-live-badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(7, 19, 12, 0.88);
  border: 1px solid rgba(53, 201, 75, 0.4);
  color: #35c94b;
  z-index: 3;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #35c94b;
  animation: pulse 1s infinite;
}

/* Frosted message dialog replicating the prompt from the screenshot */
.scanner-modal {
  position: absolute;
  inset: 22px 14px;
  background: rgba(10, 24, 17, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  z-index: 4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s, transform 0.3s;
}
.info-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #74b9ff, #0984e3);
  color: #ffffff;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(9, 132, 227, 0.4);
}
.modal-msg {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.scan-area.scanning .scan-line { opacity: 1; animation: scan 1.2s ease-in-out infinite alternate; }
.scan-area.scanning .scan-frame i { border-color: #2f6bff; }
.scan-area.matched .scan-frame i { border-color: #35c94b; }
.scan-area.matched .face { stroke: #35c94b; }
@keyframes scan { to { top: 86%; } }

/* Real Kiosk Check IN / Check OUT Split Buttons */
.kiosk-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.kiosk-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}
.kiosk-action-btn .k-icon {
  font-size: 1.15rem;
}
.kiosk-action-btn.check-in-btn.active,
.kiosk-action-btn.check-in-btn:hover {
  background: #17b35f;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  border-color: #4ade80;
  box-shadow: 0 8px 20px -4px rgba(34, 197, 94, 0.5);
  transform: translateY(-2px);
}
.kiosk-action-btn.check-out-btn.active,
.kiosk-action-btn.check-out-btn:hover {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  border-color: #fb923c;
  box-shadow: 0 8px 20px -4px rgba(249, 115, 22, 0.5);
  transform: translateY(-2px);
}
.kiosk-action-btn:active {
  transform: translateY(0);
}

.geo { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.geo-map { position: relative; width: 58px; height: 46px; border-radius: 10px; flex-shrink: 0; overflow: hidden;
  background: #121725 repeating-linear-gradient(0deg, transparent 0 9px, rgba(255,255,255,0.05) 9px 10px), repeating-linear-gradient(90deg, transparent 0 9px, rgba(255,255,255,0.05) 9px 10px); }
.geo-fence { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 1.5px dashed var(--muted); transition: 0.4s; }
.geo-pin { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--muted); transition: 0.4s; }
.geo.verifying .geo-fence { border-color: var(--orange); animation: pulse 0.9s infinite; }
.geo.ok .geo-fence { border-color: var(--green); background: rgba(53,201,75,0.15); }
.geo.ok .geo-pin { background: var(--green); box-shadow: 0 0 10px var(--green); }
@keyframes pulse { 50% { transform: scale(1.25); opacity: 0.5; } }
.geo-info small { display: block; font-size: 0.72rem; color: var(--muted); }
.geo-info strong { font-size: 0.9rem; }

.steps { list-style: none; display: grid; gap: 6px; font-size: 0.82rem; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 9px; transition: color 0.3s; }
.steps li span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; transition: 0.3s; flex-shrink: 0; }
.steps li.active { color: var(--text); }
.steps li.active span { border-color: var(--blue); border-top-color: transparent; animation: spin 0.7s linear infinite; }
.steps li.done { color: var(--text); }
.steps li.done span { border-color: var(--green); background: var(--green); }
.steps li.done span::after { content: ""; width: 4px; height: 7px; border: solid #0c0f17; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }

.app-status { font-size: 0.82rem; text-align: center; padding: 10px; border-radius: 12px; background: var(--surface); color: var(--muted); min-height: 42px; display: grid; place-items: center; transition: 0.3s; }
.app-status.success { background: rgba(53,201,75,0.14); color: #7ff08f; }
.app-actions { display: grid; gap: 8px; }
.app-actions select { padding: 0.6rem 0.8rem; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.85rem; }
.app-actions select option { background: #151925; }
.demo-note { margin-top: 1rem; font-size: 0.8rem; color: var(--muted); }

.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.tab { flex: 1; padding: 0.65rem 0.9rem; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: 0.88rem; font-weight: 600; transition: 0.25s; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.active { background: var(--grad); color: #fff; }
.tab-panels { position: relative; min-height: 130px; margin: 1.4rem 0; }
.tab-panel { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: 0.4s; pointer-events: none; }
.tab-panel.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.tab-panel h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.tab-panel p { color: var(--muted); }

.va-header-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.note-portal-link {
  color: var(--green);
  font-weight: 700;
  margin-left: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.note-portal-link:hover {
  color: var(--blue);
}
.dash-portal-link {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.portal-cta-inline {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(53, 201, 75, 0.08);
  border: 1px solid rgba(53, 201, 75, 0.25);
  transition: all 0.25s ease;
}
.portal-cta-inline:hover {
  background: rgba(53, 201, 75, 0.15);
  border-color: rgba(53, 201, 75, 0.45);
  transform: translateY(-2px);
}
.portal-cta-inline span {
  font-size: 0.76rem;
  color: var(--muted);
}
.portal-cta-inline strong {
  font-size: 0.88rem;
  color: var(--green);
  word-break: break-all;
}
[data-theme="light"] .portal-cta-inline {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
}
[data-theme="light"] .portal-cta-inline strong {
  color: #16a34a;
}

.dash { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.dash-head { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.92rem; margin-bottom: 1.2rem; }
.dash-head em { color: var(--muted); font-weight: 400; font-style: normal; font-size: 0.8rem; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 0.8rem; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.2s infinite; }
.dash-bars { display: grid; gap: 0.75rem; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: 0.8rem; font-size: 0.84rem; }
.bar-row span:first-child { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,0.06); }
.bar i { display: block; height: 100%; width: 0; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.bar .b-in { background: linear-gradient(90deg, var(--blue), var(--purple)); }
.bar .b-late { background: var(--yellow); }
.bar .b-out { background: rgba(255,106,43,0.7); }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.dash-legend { display: flex; gap: 1.2rem; margin: 1rem 0; font-size: 0.78rem; color: var(--muted); }
.dash-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.lg-in { background: var(--purple); } .lg-late { background: var(--yellow); } .lg-out { background: var(--orange); }
.dash-feed { list-style: none; display: grid; gap: 0.5rem; max-height: 150px; overflow: hidden; }
.dash-feed li { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.55rem 0.8rem; border-radius: 10px; background: rgba(255,255,255,0.03); font-size: 0.82rem; animation: slideIn 0.5s; }
.dash-feed li span:last-child { color: var(--muted); white-space: nowrap; }
.dash-feed li.you { background: rgba(53,201,75,0.12); border: 1px solid rgba(53,201,75,0.3); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Estimator ---------- */
.est-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; padding: 2.2rem; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.est-controls { display: grid; gap: 1.5rem; }
.est-controls label { display: grid; gap: 0.6rem; font-size: 0.92rem; color: var(--muted); }
.est-controls label span { display: flex; justify-content: space-between; gap: 1rem; }
.est-controls b { color: var(--text); font-family: var(--font-h); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--purple) var(--p, 50%), rgba(255,255,255,0.1) var(--p, 50%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--purple); box-shadow: 0 0 0 5px rgba(139,61,255,0.2); transition: transform 0.2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--purple); }
.est-result { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; padding: 1.5rem; border-radius: 18px; background: rgba(0,0,0,0.25); border: 1px solid var(--border); }
.gauge { position: relative; width: 190px; height: 190px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.g-track { stroke: rgba(255,255,255,0.08); stroke-width: 14; }
.g-fill { stroke: url(#gaugeGrad); stroke-width: 14; stroke-dasharray: 527.8; stroke-dashoffset: 527.8; transition: stroke-dashoffset 0.6s ease; }
.gauge-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-label strong { font-family: var(--font-h); font-size: 2.3rem; line-height: 1; }
.gauge-label small, .est-stats small { color: var(--muted); font-size: 0.8rem; }
.est-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; text-align: center; }
.est-stats div { padding: 0.8rem; border-radius: 12px; background: var(--surface); }
.est-stats strong { display: block; font-family: var(--font-h); font-size: 1.35rem; }
.est-note { font-size: 0.75rem; color: var(--muted); text-align: center; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.timeline-line { position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 3px; background: var(--border); border-radius: 3px; }
.timeline-progress { height: 100%; width: 0; background: var(--grad); border-radius: 3px; transition: width 0.15s linear; }
.t-step { position: relative; text-align: center; }
.t-dot { width: 56px; height: 56px; margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-h); font-weight: 700; font-size: 1.2rem; position: relative; z-index: 1; border: 2px solid currentColor; box-shadow: 0 0 20px -4px currentColor; }
.t-dot.c-blue { background: #0f1a33; } .t-dot.c-purple { background: #1a1233; } .t-dot.c-orange { background: #2a160e; } .t-dot.c-green { background: #0f2614; }
.t-card { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform 0.3s, border-color 0.3s; height: calc(100% - 76px); }
.t-step:hover .t-card { transform: translateY(-6px); border-color: rgba(255,255,255,0.2); }
.t-card h3 { margin-bottom: 0.5rem; }
.t-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 1.05rem; }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.c-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: 0.3s; }
.c-card:hover { transform: translateX(6px); border-color: rgba(255,255,255,0.2); background: var(--surface-2); }
.c-card small { display: block; color: var(--muted); font-size: 0.78rem; }
.c-card strong { font-size: 1rem; word-break: break-word; }

.contact-form { padding: 2.2rem; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); display: grid; gap: 1.1rem; box-shadow: var(--shadow); }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; padding: 1.35rem 1rem 0.6rem; border-radius: 12px; background: var(--input-bg); border: 1px solid var(--border); outline: none; transition: border-color 0.25s, box-shadow 0.25s; resize: vertical; }
.field select option { background: var(--bg); color: var(--text); }
.field label { position: absolute; left: 1rem; top: 0.95rem; color: var(--muted); font-size: 0.95rem; pointer-events: none; transition: 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(139,61,255,0.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.static { top: 0.4rem; font-size: 0.72rem; color: var(--purple); }
.field.invalid input, .field.invalid textarea { border-color: var(--orange); }
.form-error { color: var(--orange); font-size: 0.85rem; min-height: 1.2em; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

/* Light theme overrides for high contrast & polish */
[data-theme="light"] .focus-card,
[data-theme="light"] .value-card,
[data-theme="light"] .t-card,
[data-theme="light"] .c-card,
[data-theme="light"] .dash,
[data-theme="light"] .est-grid,
[data-theme="light"] .contact-form,
[data-theme="light"] .tabs {
  background: var(--card-bg);
  box-shadow: 0 8px 30px -10px rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .est-result {
  background: rgba(241, 245, 249, 0.7);
}
[data-theme="light"] .g-track {
  stroke: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(47, 107, 255, 0.1), transparent 65%);
}
[data-theme="light"] .t-dot.c-blue { background: #e0eaff; }
[data-theme="light"] .t-dot.c-purple { background: #ede4ff; }
[data-theme="light"] .t-dot.c-orange { background: #ffece2; }
[data-theme="light"] .t-dot.c-green { background: #def7e4; }
[data-theme="light"] .dash-feed li {
  background: rgba(15, 23, 42, 0.03);
}
[data-theme="light"] .brand-mark {
  background-color: #f1f5f9;
}
[data-theme="light"] .hero::after {
  background: linear-gradient(transparent, var(--bg));
}
[data-theme="light"] .to-top {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ---------- Remote Asset Management (RAM) Section ---------- */
.ram-subhead {
  font-size: 1.25rem;
  color: var(--text);
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
}
.ram-subhead strong {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.ram-lead {
  max-width: 820px;
  margin: 0 auto 1.8rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}
.ram-header-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Browser showcase frame */
.ram-showcase {
  margin: 2.5rem 0 5rem;
}
.ram-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.ram-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.4rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.ram-tab svg {
  width: 18px;
  height: 18px;
}
.ram-tab:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.ram-tab.active {
  background: var(--grad);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px -6px rgba(47, 107, 255, 0.5);
}

.ram-viewport {
  background: #0d111a;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 60px -20px rgba(47, 107, 255, 0.25);
  overflow: hidden;
}
[data-theme="light"] .ram-viewport {
  background: #ffffff;
  box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.15);
}

.ram-browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
[data-theme="light"] .ram-browser-chrome {
  background: #f1f5f9;
}
.chrome-dots {
  display: flex;
  gap: 7px;
}
.chrome-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f56;
}
.chrome-dots span:nth-child(2) { background: #ffbd2e; }
.chrome-dots span:nth-child(3) { background: #27c93f; }

.chrome-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 420px;
  width: 100%;
}
[data-theme="light"] .chrome-url {
  background: #ffffff;
}
.chrome-url svg {
  width: 13px;
  height: 13px;
  color: var(--green);
}
.chrome-ext-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  transition: color 0.2s;
}
.chrome-ext-btn:hover {
  color: var(--purple);
}

.ram-screen {
  display: none;
  animation: fadeIn 0.4s ease;
}
.ram-screen.active {
  display: block;
}
.ram-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.screen-highlight-banner {
  padding: 1.2rem 1.6rem;
  background: rgba(13, 17, 26, 0.95);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}
[data-theme="light"] .screen-highlight-banner {
  background: #f8fafc;
}
.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(47, 107, 255, 0.15);
  border: 1px solid rgba(47, 107, 255, 0.35);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}
.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: pulse 1.2s infinite;
}

/* Features Grid */
.ram-features-section {
  margin: 4.5rem 0 3.5rem;
}
.ram-inner-head {
  margin-bottom: 2.5rem;
}
.ram-inner-head h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 0.8rem 0 0.5rem;
}
.ram-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.ram-feat-card {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s;
}
.ram-feat-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}
.feat-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.feat-ico svg {
  width: 22px;
  height: 22px;
}
.ram-feat-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.ram-feat-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Benefits & Industry dual layout */
.ram-dual-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
  align-items: stretch;
}
.ram-benefits-box, .ram-industries-box {
  padding: 2.4rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.ram-benefits-box h3, .ram-industries-box h3 {
  font-size: 1.6rem;
  margin: 0.8rem 0 1.4rem;
}
.ram-benefit-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}
.ram-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  line-height: 1.5;
}
.check-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(53, 201, 75, 0.18);
  color: #35c94b;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.ram-benefit-list strong {
  color: var(--text);
}

.ram-industries-box p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}
.industry-tags-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.ind-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 600;
}
.ind-icon {
  font-size: 1.1rem;
}

.ram-cta-banner {
  margin-top: auto;
  padding: 1.6rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.12), rgba(139, 61, 255, 0.12));
  border: 1px solid rgba(139, 61, 255, 0.25);
}
.ram-cta-banner h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.ram-cta-banner p {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.cta-flex {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

[data-theme="light"] .ram-feat-card,
[data-theme="light"] .ram-benefits-box,
[data-theme="light"] .ram-industries-box {
  background: #ffffff;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .ind-pill {
  background: #f1f5f9;
}

@media (max-width: 1024px) {
  .ram-features-grid { grid-template-columns: repeat(2, 1fr); }
  .ram-dual-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ram-features-grid { grid-template-columns: 1fr; }
  .industry-tags-grid { grid-template-columns: 1fr; }
  .screen-highlight-banner { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 0; position: relative; z-index: 1; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.tagline { color: var(--muted); font-size: 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
.tagline .d { width: 7px; height: 7px; border-radius: 50%; }
.d-blue { background: var(--blue); } .d-green { background: var(--green); }
.copy { color: var(--muted); font-size: 0.82rem; }

/* ---------- Floating ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; z-index: 999; box-shadow: 0 10px 30px -6px rgba(37,211,102,0.6); transition: transform 0.3s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ripple 2s infinite; }
@keyframes ripple { to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; stroke: none; }
.to-top { position: fixed; right: 30px; bottom: 92px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: rgba(16,19,28,0.85); backdrop-filter: blur(8px); cursor: pointer; z-index: 999; opacity: 0; transform: translateY(10px); pointer-events: none; transition: 0.3s; font-size: 1.1rem; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--purple); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.value-card.reveal.in:nth-child(even) { transform: translateY(24px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .va-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 880px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80vw); flex-direction: column; align-items: flex-start; justify-content: center; padding: 2rem; gap: 1.6rem; background: var(--nav-drawer-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-left: 1px solid var(--border); transform: translateX(100%); transition: transform 0.4s; }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { font-size: 1.1rem; }
  .nav-links .theme-toggle {
    display: inline-flex;
    width: 100%;
    height: 44px;
    padding: 0 1rem;
    justify-content: flex-start;
    border-radius: 12px;
  }
  .nav-links .theme-label-mobile {
    display: inline-block;
  }
  .header-theme-toggle {
    display: inline-flex;
  }
  .burger { display: block; z-index: 2; }
  .hero-grid, .about-grid, .contact-grid, .est-grid { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-tags { justify-content: center; }
  .hero-visual { order: -1; }
  .logo-orb { width: min(300px, 70vw); }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline-line { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .focus-grid, .values, .timeline, .form-actions { grid-template-columns: 1fr; }
  .value-card:nth-child(even), .value-card.reveal.in:nth-child(even) { transform: none; }
  .est-grid, .contact-form { padding: 1.4rem; }
  .phone { width: 290px; }
  .bar-row { grid-template-columns: 90px 1fr 40px; }
  .tab { flex: 1 1 45%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}
