/* ==========================================================================
   HRMate — Shared styles (landing + base)
   ========================================================================== */

:root {
  /* Brand */
  --brand: #4f46e5;
  --brand-strong: #4338ca;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --brand-gradient: linear-gradient(100deg, #818cf8 0%, #8b5cf6 45%, #22d3ee 100%);

  /* Ink / neutrals */
  --ink-900: #0a0f1e;
  --ink-800: #101828;
  --ink-700: #344054;
  --muted: #667085;
  --muted-2: #98a2b3;

  /* Light surfaces */
  --bg: #f6f8fc;
  --card: #ffffff;
  --border: #e8ecf5;
  --border-strong: #d9e0ee;

  /* Status */
  --ok: #10b981;
  --ok-soft: #ecfdf5;
  --warn: #f59e0b;
  --warn-soft: #fffbeb;
  --danger: #ef4444;
  --danger-soft: #fef2f2;
  --info: #3b82f6;
  --info-soft: #eff6ff;
  --violet-soft: #f5f3ff;
  --cyan-soft: #ecfeff;

  /* Radii & shadows */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 8px 24px -8px rgba(16, 24, 40, .12), 0 2px 6px rgba(16, 24, 40, .05);
  --shadow-lg: 0 24px 48px -16px rgba(16, 24, 40, .18), 0 8px 16px -8px rgba(16, 24, 40, .08);
  --shadow-glow: 0 10px 40px -8px rgba(79, 70, 229, .55);

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow { max-width: 860px; }

.muted { color: var(--muted); }

/* ---------- Typography helpers ---------- */
.grad-text {
  background: linear-gradient(100deg, #6366f1, #8b5cf6 55%, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.18; letter-spacing: -.02em; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: var(--violet-soft);
  border: 1px solid #e3defc;
  padding: 7px 14px;
  border-radius: 999px;
}
.badge-glow {
  color: #c7d2fe;
  background: rgba(99, 102, 241, .12);
  border-color: rgba(129, 140, 248, .35);
  backdrop-filter: blur(6px);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .25);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-md);
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }

.btn-primary {
  color: #fff;
  background-image: linear-gradient(100deg, #6366f1, #7c3aed);
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, .6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(99, 102, 241, .75);
}

.btn-ghost {
  color: var(--ink-700);
  background: rgba(255, 255, 255, .7);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: #b6c0d6; background: #fff; transform: translateY(-2px); }

.btn-ghost-light {
  color: #e6e9f5;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

.btn-outline {
  color: var(--ink-700);
  background: transparent;
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-sm { font-size: 14px; padding: 10px 18px; }
.btn-lg { font-size: 16px; padding: 15px 28px; border-radius: 14px; }
.btn-punch {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border-radius: 14px;
}
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-light { background: var(--bg); }
.section-dark {
  background: var(--ink-900);
  color: #e6e9f5;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(99, 102, 241, .16), transparent 65%),
    radial-gradient(700px 380px at 90% 100%, rgba(34, 211, 238, .1), transparent 65%);
  pointer-events: none;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(30px, 4.4vw, 42px); font-weight: 700; margin: 20px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #9aa5bf; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 8px 24px -16px rgba(16, 24, 40, .18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6 60%, #22d3ee);
  box-shadow: 0 6px 16px -6px rgba(99, 102, 241, .7);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.brand-accent { color: var(--brand); }

.nav.scrolled .brand-name { color: var(--ink-900); }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .55); color: var(--brand); }
.nav.scrolled .nav-links a:hover { background: var(--violet-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { display: none; }
.nav-actions .btn-primary { color: #fff; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-burger span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink-800); transition: transform .25s, opacity .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink-900);
  color: #eef1fb;
  padding: 160px 0 90px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb-1 { width: 520px; height: 520px; background: rgba(99, 102, 241, .5); top: -220px; right: -120px; }
.orb-2 { width: 420px; height: 420px; background: rgba(34, 211, 238, .3); top: 60%; left: -180px; }
.orb-3 { width: 300px; height: 300px; background: rgba(139, 92, 246, .4); top: 8%; left: 30%; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

.hero-title {
  font-size: clamp(38px, 5.4vw, 60px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
}
.hero-sub {
  font-size: 18px;
  color: #a9b3cf;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { color: #dfe4f5; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); }

.hero-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #93a0bf;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--cyan); }

/* ----- Hero product mock ----- */
.hero-visual { position: relative; }

.mock-browser {
  position: relative;
  border-radius: 18px;
  background: #0e1528;
  border: 1px solid rgba(148, 163, 255, .22);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75);
  transform: perspective(1400px) rotateY(-7deg) rotateX(4deg);
  transition: transform .5s ease;
}
.hero-visual:hover .mock-browser { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }

.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(148, 163, 255, .16);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }

.mock-url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(148, 163, 255, .1);
  border: 1px solid rgba(148, 163, 255, .14);
  color: #8ea0c7;
  font-size: 12.5px;
  letter-spacing: .3px;
}
.mock-url svg { width: 13px; height: 13px; }

.mock-body { display: flex; min-height: 380px; }
.mock-side {
  width: 58px;
  border-right: 1px solid rgba(148, 163, 255, .14);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.mock-logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  margin-bottom: 14px;
}
.mock-nav-item { width: 32px; height: 10px; border-radius: 5px; background: rgba(148, 163, 255, .18); }
.mock-nav-item.active { background: linear-gradient(90deg, #6366f1, #8b5cf6); box-shadow: 0 0 14px rgba(99, 102, 241, .6); }

.mock-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.mock-greeting { display: flex; align-items: center; gap: 12px; }
.mock-greet-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #f472b6, #8b5cf6);
}
.mock-greet-name { display: block; width: 130px; height: 11px; border-radius: 6px; background: rgba(238, 242, 255, .5); margin-bottom: 7px; }
.mock-greet-sub { display: block; width: 90px; height: 8px; border-radius: 5px; background: rgba(148, 163, 255, .3); }

.mock-punch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .22), rgba(34, 211, 238, .12));
  border: 1px solid rgba(148, 163, 255, .28);
  border-radius: 16px;
  padding: 18px;
  position: relative;
}
.mock-punch::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 16px;
  background: radial-gradient(300px 120px at 50% 0%, rgba(99, 102, 241, .25), transparent 70%);
  pointer-events: none;
}
.mock-punch-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 10px 24px -8px rgba(99, 102, 241, .8);
}
.mock-punch-icon svg { width: 22px; height: 22px; }
.mock-punch-time { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: #fff; letter-spacing: .5px; }
.mock-punch-status { font-size: 12.5px; color: #7ee6c4; display: inline-flex; align-items: center; gap: 6px; }
.mock-punch-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(16, 185, 129, .25); }
.mock-punch-meta { font-size: 12px; color: #8ea0c7; }

.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-card {
  background: rgba(148, 163, 255, .09);
  border: 1px solid rgba(148, 163, 255, .15);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-card-label { width: 55%; height: 8px; border-radius: 4px; background: rgba(148, 163, 255, .3); }
.mock-card-big { width: 38%; height: 16px; border-radius: 6px; background: rgba(238, 242, 255, .55); }
.mock-card-line { width: 80%; height: 7px; border-radius: 4px; background: rgba(148, 163, 255, .22); }

.mock-week { display: flex; gap: 8px; }
.mock-day { flex: 1; height: 34px; border-radius: 9px; background: rgba(16, 185, 129, .3); border: 1px solid rgba(16, 185, 129, .4); }
.mock-day.off { background: rgba(148, 163, 255, .08); border-color: transparent; }
.mock-day.sun { background: rgba(245, 158, 11, .18); border-color: rgba(245, 158, 11, .35); }

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(16, 24, 40, .82);
  border: 1px solid rgba(148, 163, 255, .25);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6);
  animation: floaty 5s ease-in-out infinite;
  white-space: nowrap;
}
.float-card strong { display: block; font-size: 13.5px; color: #f2f5ff; }
.float-card small { display: block; font-size: 12px; color: #93a0bf; }
.float-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(34, 211, 238, .13);
  border: 1px solid rgba(34, 211, 238, .3);
}
.float-icon.good { color: #6ee7b7; background: rgba(16, 185, 129, .14); border-color: rgba(16, 185, 129, .35); }
.float-icon svg { width: 17px; height: 17px; }
.float-card-1 { top: 8%; right: -26px; animation-delay: .4s; }
.float-card-2 { bottom: 6%; left: -30px; animation-delay: 1.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(148, 163, 255, .15);
  border: 1px solid rgba(148, 163, 255, .15);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.stat {
  background: rgba(10, 15, 30, .82);
  padding: 26px 22px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 13.5px; color: #93a0bf; }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #d6dbf5;
}
.feature-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 13px;
  margin-bottom: 18px;
}
.feature-icon svg { width: 23px; height: 23px; }
.ic-blue { color: var(--info); background: var(--info-soft); }
.ic-violet { color: var(--violet); background: var(--violet-soft); }
.ic-cyan { color: #0891b2; background: var(--cyan-soft); }
.ic-emerald { color: var(--ok); background: var(--ok-soft); }
.ic-rose { color: #e11d48; background: #fff1f2; }
.ic-slate { color: #475467; background: #f2f4f7; }

.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, rgba(99, 102, 241, .5), rgba(34, 211, 238, .5));
  opacity: .5;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 10px;
}
.step-num {
  position: absolute;
  top: -14px;
  right: 12%;
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(148, 163, 255, .35);
}
.step-icon {
  position: relative;
  width: 88px; height: 88px;
  margin: 0 auto 22px;
  display: grid; place-items: center;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 18px 40px -12px rgba(99, 102, 241, .65);
  z-index: 1;
}
.step-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 255, .3);
  z-index: -1;
}
.step-icon svg { width: 34px; height: 34px; }
.step h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.step p { color: #9aa5bf; font-size: 14.5px; max-width: 300px; margin: 0 auto; }

/* ==========================================================================
   PRODUCT PREVIEW / TABS
   ========================================================================== */
.tabs { margin-top: 8px; }
.tab-buttons {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: #eef1f8;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 26px;
}
.tab-btn {
  border: 0;
  background: transparent;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, background .2s, box-shadow .2s;
}
.tab-btn.active {
  color: var(--brand);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.tab-panel { display: none; animation: fadeUp .45s ease both; }
.tab-panel.active { display: block; }

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.panel-copy h3 { font-size: 25px; margin-bottom: 18px; }
.check-list { margin-bottom: 26px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--ink-700);
  font-size: 15px;
}
.check-ic {
  width: 24px; height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ok);
  background: var(--ok-soft);
}
.check-ic svg { width: 13px; height: 13px; }

/* mini-app inside panels */
.panel-shot { display: flex; justify-content: center; }
.mini-app {
  width: 100%;
  max-width: 420px;
  background: var(--ink-900);
  border: 1px solid rgba(148, 163, 255, .22);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 24px 50px -20px rgba(16, 24, 40, .5);
}
.mini-top { display: flex; align-items: center; gap: 12px; }
.mini-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #f472b6, #8b5cf6);
}
.mini-top strong { display: block; color: #fff; font-size: 14px; }
.mini-top small { color: #8ea0c7; font-size: 12px; }
.mini-chip {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(16, 185, 129, .14);
  border: 1px solid rgba(16, 185, 129, .35);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.mini-chip.soft { color: #c7d2fe; background: rgba(99, 102, 241, .15); border-color: rgba(129, 140, 248, .35); }

.mini-punch {
  background: linear-gradient(135deg, rgba(99, 102, 241, .25), rgba(34, 211, 238, .1));
  border: 1px solid rgba(148, 163, 255, .3);
  border-radius: 14px;
  padding: 14px 18px;
}
.mini-punch-in { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; }
.mini-punch-label { font-size: 12.5px; color: #7ee6c4; }

.mini-cals { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mini-day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #cfd8f0;
  background: rgba(16, 185, 129, .18);
  border: 1px solid rgba(16, 185, 129, .25);
}
.mini-day.l { color: #fdba74; background: rgba(245, 158, 11, .16); border-color: rgba(245, 158, 11, .3); }
.mini-day.h { color: #f0abfc; background: rgba(139, 92, 246, .2); border-color: rgba(139, 92, 246, .35); }
.mini-day.off { background: rgba(148, 163, 255, .06); border-color: transparent; color: #5d6b8f; }
.mini-day.sun { color: #fdba74; background: rgba(245, 158, 11, .13); border-color: rgba(245, 158, 11, .25); }

.mini-legend { display: flex; gap: 14px; flex-wrap: wrap; }
.mini-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: #8ea0c7; }
.mini-legend i { width: 9px; height: 9px; border-radius: 3px; }
.lg-p { background: #10b981; }
.lg-l { background: #f59e0b; }
.lg-h { background: #8b5cf6; }
.lg-o { background: #475569; }
.lg-wo { background: #e5e7eb; }

/* leaves mini */
.mini-bals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-bal {
  background: rgba(148, 163, 255, .08);
  border: 1px solid rgba(148, 163, 255, .15);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.mini-bal-label { display: block; font-size: 10px; color: #8ea0c7; margin-bottom: 4px; }
.mini-bal strong { display: block; font-family: var(--font-display); font-size: 22px; color: #fff; }
.mini-bal-sub { font-size: 10.5px; color: #7ee6c4; }

.mini-req {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(148, 163, 255, .08);
  border: 1px solid rgba(148, 163, 255, .16);
  border-radius: 12px;
  padding: 12px 14px;
}
.mini-req-type { font-size: 11px; color: #8ea0c7; width: 84px; }
.mini-req strong { font-size: 13px; color: #eef1fb; }
.mini-req-status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.mini-req-status.pending { color: #fdba74; background: rgba(245, 158, 11, .14); }
.mini-req-status.approved { color: #6ee7b7; background: rgba(16, 185, 129, .14); }

.mini-apply {
  border: 1px dashed rgba(148, 163, 255, .4);
  background: rgba(99, 102, 241, .12);
  color: #c7d2fe;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.mini-apply:hover { background: rgba(99, 102, 241, .22); }

/* reports mini */
.mini-report { display: flex; flex-direction: column; gap: 4px; }
.mini-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.mini-report-head strong { color: #fff; font-family: var(--font-display); font-size: 15px; }
.mini-report-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(148, 163, 255, .18);
  font-size: 13px;
  color: #a9b3cf;
}
.mini-report-row strong { color: #fff; }
.mini-report-cta {
  margin-top: 12px;
  text-align: center;
  background: linear-gradient(100deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 11px;
  border-radius: 10px;
  cursor: pointer;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice-card {
  position: relative;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(148, 163, 255, .18);
  border-radius: var(--r-lg);
  padding: 28px 26px 24px;
  transition: transform .25s, border-color .25s, background .25s;
}
.voice-card:hover { transform: translateY(-6px); border-color: rgba(148, 163, 255, .4); background: rgba(255, 255, 255, .07); }
.quote-mark {
  position: absolute;
  top: 8px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 74px;
  line-height: 1;
  color: rgba(129, 140, 248, .35);
}
.voice-card blockquote { font-size: 15px; color: #cdd6ec; line-height: 1.7; margin-bottom: 22px; }
.voice-card figcaption { display: flex; align-items: center; gap: 12px; }
.voice-avatar {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.av-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.av-2 { background: linear-gradient(135deg, #f472b6, #ec4899); }
.av-3 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.voice-card strong { display: block; color: #fff; font-size: 14px; }
.voice-card small { color: #8ea0c7; font-size: 12.5px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: #d6dbf5; box-shadow: var(--shadow-md); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink-800);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  background: var(--brand);
  border-radius: 2px;
  transition: transform .25s;
}
.faq-plus::before { width: 14px; height: 2px; }
.faq-plus::after { width: 2px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section { padding: 40px 0 110px; }
.cta-card {
  position: relative;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% -40%, rgba(99, 102, 241, .45), transparent 70%),
    var(--ink-900);
  border: 1px solid rgba(148, 163, 255, .25);
  border-radius: 28px;
  padding: 72px 36px;
  color: #fff;
}
.cta-glow {
  position: absolute;
  width: 500px; height: 500px;
  top: -260px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(99, 102, 241, .5), transparent);
  filter: blur(40px);
  pointer-events: none;
}
.cta-card h2 { font-size: clamp(30px, 4.5vw, 44px); position: relative; }
.cta-card p { color: #a9b3cf; font-size: 17px; margin: 16px 0 30px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: #070c19; color: #9aa5bf; padding: 64px 0 28px; border-top: 1px solid rgba(148, 163, 255, .12); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer .brand-name { color: #fff; }
.footer-brand p { font-size: 14px; margin: 16px 0; max-width: 320px; line-height: 1.7; }
.footer-host {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #7ee6c4;
  background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(16, 185, 129, .25);
  padding: 6px 12px;
  border-radius: 999px;
}
.footer-host svg { width: 14px; height: 14px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; transition: color .18s, transform .18s; }
.footer-col a:hover { color: #c7d2fe; transform: translateX(3px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  border-top: 1px solid rgba(148, 163, 255, .12);
  padding-top: 24px;
}

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-grid { background-size: 44px 44px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .voice-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 14px 22px 20px;
    gap: 4px;
    box-shadow: 0 30px 50px -30px rgba(16, 24, 40, .35);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; color: var(--ink-800); }
  .nav-burger { display: flex; }
  .nav-login { display: none; }
  .nav-demo { display: inline-flex !important; padding: 10px 14px; font-size: 13.5px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 130px 0 60px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { display: none; }
  .voice-grid { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; padding: 26px 22px; }
  .float-card-1 { right: -6px; }
  .float-card-2 { left: -6px; }
  .mock-body { min-height: 320px; }
  .mock-cards { gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}