/* ═══════════════════════════════════════════════════════════
   CHRONEXA — style.css
   Premium SaaS Landing Page
   ═══════════════════════════════════════════════════════════ */

/* ── RESET & TOKENS ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #03030a;
  --dark:    #080812;
  --dark2:   #0d0d1a;
  --dark3:   #111120;
  --glass:   rgba(255,255,255,0.04);
  --glass2:  rgba(255,255,255,0.07);
  --border:  rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.13);
  --cyan:    #00e5ff;
  --cyan2:   #00bcd4;
  --purple:  #a855f7;
  --purple2: #7c3aed;
  --green:   #22c55e;
  --amber:   #f59e0b;
  --red:     #ef4444;
  --text:    rgba(255,255,255,0.92);
  --muted:   rgba(255,255,255,0.50);
  --muted2:  rgba(255,255,255,0.28);
  --radius:  12px;
  --radius2: 20px;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html  { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── UTILS ───────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 120px 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,229,255,.07);
  border: 1px solid rgba(0,229,255,.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-ghost {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .2s;
}
.btn-ghost:hover { color: var(--text); background: var(--glass); }

.btn-primary {
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #000;
  padding: 9px 20px;
  border-radius: 9px;
  transition: all .25s;
  box-shadow: 0 0 24px rgba(0,229,255,.2);
  white-space: nowrap;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(0,229,255,.35);
}

.btn-hero-primary {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #000;
  padding: 15px 32px;
  border-radius: 12px;
  display: inline-block;
  transition: all .25s;
  box-shadow: 0 0 40px rgba(0,229,255,.22);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(0,229,255,.4);
}

.btn-hero-outline {
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 14px 30px;
  border-radius: 12px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all .25s;
}
.btn-hero-outline:hover {
  border-color: rgba(168,85,247,.5);
  background: rgba(168,85,247,.06);
}

.play-icon { font-size: 12px; opacity: .8; }

/* ── NAVBAR ──────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(3,3,10,.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}
#navbar.scrolled {
  background: rgba(3,3,10,.88);
  border-bottom-color: var(--border2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #000;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu.open { display: flex; }

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  position: relative;
  padding: 200px 0 100px;
  overflow: hidden;
  background: var(--black);
}

.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .28;
  animation: aFloat 14s ease-in-out infinite;
}
.aurora-blob.a1 {
  width: 700px; height: 600px;
  background: radial-gradient(circle, rgba(0,229,255,.5), transparent 65%);
  top: -180px; left: -100px;
  animation-delay: 0s;
}
.aurora-blob.a2 {
  width: 600px; height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,.45), transparent 65%);
  bottom: -150px; right: -80px;
  animation-delay: -5s;
}
.aurora-blob.a3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,229,255,.3), transparent 65%);
  top: 40%; left: 45%;
  animation-delay: -8s;
  opacity: .15;
}

@keyframes aFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(50px,-40px) scale(1.08); }
  66%       { transform: translate(-30px,50px) scale(0.95); }
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 40%, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(0,229,255,.06);
  border: 1px solid rgba(0,229,255,.18);
  border-radius: 100px;
  padding: 7px 18px 7px 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px;
}

.live-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: livePulse 2s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .55; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(42px, 6.5vw, 88px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.06;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

.stat-div {
  width: 1px; height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── DASHBOARD MOCKUP ────────────────────────────────────── */
.dash-wrap {
  position: relative;
  max-width: 960px;
  margin: 80px auto 0;
  z-index: 2;
}

.dash-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; height: 70%;
  background: radial-gradient(ellipse, rgba(0,229,255,.1) 0%, rgba(168,85,247,.07) 50%, transparent 80%);
  pointer-events: none;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(13,13,26,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  z-index: 4;
  min-width: 148px;
}
.fc-1 { top: -28px; right: -36px; animation: fc1Float 5s ease-in-out infinite; }
.fc-2 { bottom: 30px; left: -44px; animation: fc2Float 6.5s ease-in-out infinite; }
.fc-3 { top: 40%;  right: -56px; animation: fc1Float 7s ease-in-out infinite; animation-delay: -3s; }

@keyframes fc1Float {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}
@keyframes fc2Float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%       { transform: translateY(-8px) rotate(-2.5deg); }
}

.fc-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 5px;
  font-weight: 600;
  font-family: var(--font-display);
}
.fc-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
.fc-value.cyan   { color: var(--cyan); }
.fc-value.green  { color: var(--green); }
.fc-value.purple { color: var(--purple); }
.fc-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* Dashboard window */
.dash-window {
  background: var(--dark2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,229,255,.05),
    0 40px 120px rgba(0,0,0,.8),
    0 0 80px rgba(0,229,255,.05);
  animation: dashFloat 6s ease-in-out infinite;
}
@keyframes dashFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green-dot { background: #28c840; }

.titlebar-title {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  margin-left: 8px;
  flex: 1;
}
.titlebar-pills {
  display: flex;
  gap: 4px;
}
.tb-pill {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.tb-pill.active {
  background: rgba(0,229,255,.1);
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,.2);
}

.dash-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 360px;
}

.dash-sidebar {
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.sb-item.active {
  background: rgba(0,229,255,.1);
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,.15);
}
.sb-item:not(.active):hover { background: var(--glass); color: var(--text); }

.dash-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.kpi-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px;
}
.kpi-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 5px;
  font-weight: 600;
}
.kpi-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
.kpi-val.cyan   { color: var(--cyan); }
.kpi-val.purple { color: var(--purple); }
.kpi-val.green  { color: var(--green); }
.kpi-val.amber  { color: var(--amber); }
.kpi-trend {
  font-size: 10px;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 100px;
  display: inline-block;
  font-weight: 500;
}
.kpi-trend.up   { background: rgba(34,197,94,.12); color: var(--green); }
.kpi-trend.down { background: rgba(239,68,68,.12); color: var(--red); }

.chart-box {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  flex: 1;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.chart-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.chart-live-badge {
  font-size: 10px;
  background: rgba(34,197,94,.1);
  color: var(--green);
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 600;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}
.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  transition: height .5s ease;
}
.cyan-bar   { background: linear-gradient(to top, rgba(0,229,255,.3), rgba(0,229,255,.75)); }
.purple-bar { background: linear-gradient(to top, rgba(168,85,247,.3), rgba(168,85,247,.75)); }
.bar-label  { font-size: 9px; color: var(--muted2); text-transform: uppercase; }

.emp-list { display: flex; flex-direction: column; gap: 7px; }
.emp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.emp-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  flex-shrink: 0;
}
.emp-info { flex: 1; }
.emp-name { font-size: 12px; font-weight: 500; }
.emp-dept { font-size: 10px; color: var(--muted); }
.emp-badge {
  font-size: 10px; font-weight: 600;
  padding: 3px 9px; border-radius: 100px;
}
.emp-badge.online  { background: rgba(34,197,94,.12); color: var(--green); }
.emp-badge.meeting { background: rgba(245,158,11,.12); color: var(--amber); }

/* ── TRUSTED BY ──────────────────────────────────────────── */
#trusted {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dark);
}
.trusted-label {
  text-align: center;
  font-size: 12px;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  margin-bottom: 32px;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.logo-item {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: -.02em;
  transition: color .3s;
}
.logo-item:hover { color: var(--muted); }

/* ── FEATURES / BENTO ────────────────────────────────────── */
#features { background: var(--dark); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all .35s;
  cursor: default;
}
.bento-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,229,255,.04), rgba(168,85,247,.04));
  opacity: 0;
  transition: opacity .35s;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0,229,255,.06);
}
.bento-card:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.span6  { grid-column: span 6; }
.span4  { grid-column: span 4; }

.bc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.cyan-icon   { background: rgba(0,229,255,.1);  color: var(--cyan);   box-shadow: 0 0 18px rgba(0,229,255,.1); }
.purple-icon { background: rgba(168,85,247,.1); color: var(--purple); box-shadow: 0 0 18px rgba(168,85,247,.1); }
.green-icon  { background: rgba(34,197,94,.1);  color: var(--green); }
.amber-icon  { background: rgba(245,158,11,.1); color: var(--amber); }

.bc-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.bc-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Mini timelog */
.mini-timelog { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.tl-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 7px;
}
.tl-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.tl-name { font-size: 12px; flex: 1; }
.tl-dur  { font-size: 11px; font-weight: 600; font-family: var(--font-display); }
.tl-dur.cyan   { color: var(--cyan); }
.tl-dur.purple { color: var(--purple); }
.tl-dur.green  { color: var(--green); }

/* Mini calendar */
.mini-calendar { margin-top: 20px; }
.cal-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 4px;
}
.cal-header span { font-size: 9px; color: var(--muted2); text-align: center; font-weight: 600; text-transform: uppercase; }
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.cal-day {
  font-size: 11px;
  text-align: center;
  padding: 5px 2px;
  border-radius: 5px;
  color: var(--muted);
}
.cal-day.today  { background: rgba(0,229,255,.15); color: var(--cyan); font-weight: 700; }
.cal-day.shift  { background: rgba(168,85,247,.12); color: var(--purple); }
.cal-day.off    { opacity: .35; }

/* Mini bars */
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin-top: 18px;
}
.mb-bar { flex: 1; border-radius: 3px 3px 0 0; }

/* ── PRODUCT SHOWCASE ────────────────────────────────────── */
#showcase {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.aurora-subtle {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
}
.aurora-subtle::before {
  content: '';
  position: absolute;
  width: 600px; height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,.1), transparent 65%);
  top: -100px; right: -100px;
  border-radius: 50%;
  filter: blur(80px);
}

.showcase-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  position: relative; z-index: 2;
}
.stab {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  color: var(--muted);
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: all .2s;
}
.stab:hover  { color: var(--text); background: var(--glass); }
.stab.active { background: rgba(0,229,255,.1); color: var(--cyan); border-color: rgba(0,229,255,.2); }

.showcase-window {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--dark2);
  border: 1px solid var(--border2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,229,255,.04),
    0 60px 160px rgba(0,0,0,.8),
    0 0 120px rgba(168,85,247,.04);
  position: relative; z-index: 2;
}

.sw-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.sw-title {
  flex: 1;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  margin-left: 6px;
}
.sw-live {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  animation: livePulse 2s ease-in-out infinite;
}

.sw-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  min-height: 440px;
}

/* SW Main Chart */
.sw-main-chart {
  padding: 24px;
  border-right: 1px solid var(--border);
}
.smc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.smc-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.smc-badge {
  font-size: 11px;
  background: rgba(34,197,94,.1);
  color: var(--green);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}

.area-svg-wrap {
  width: 100%; height: 160px;
  margin-bottom: 14px;
}
.area-svg-wrap svg { width: 100%; height: 100%; }

.chart-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.leg-line {
  display: inline-block;
  width: 20px; height: 2.5px;
  border-radius: 2px;
}
.cyan-line   { background: var(--cyan); }
.purple-line { background: var(--purple); }

.kpi-mini-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.kpi-mini {
  text-align: center;
  padding: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 9px;
}
.kpi-mini-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  margin-bottom: 5px;
}
.kpi-mini-val {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}
.kpi-mini-val.cyan   { color: var(--cyan); }
.kpi-mini-val.purple { color: var(--purple); }
.kpi-mini-val.green  { color: var(--green); }

/* SW Sidebar */
.sw-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
.sw-widget {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.sw-widget-cta {
  background: rgba(0,229,255,.04);
  border-color: rgba(0,229,255,.15);
}
.sww-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.sww-emps { display: flex; flex-direction: column; gap: 10px; }
.sww-emp  { display: flex; align-items: center; gap: 8px; }
.sww-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.sww-info { flex: 1; }
.sww-name { font-size: 12px; font-weight: 500; }
.sww-dept { font-size: 11px; color: var(--muted); }
.online-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
}
.online-dot.away {
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber);
}

.prog-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.prog-row  { display: flex; flex-direction: column; gap: 5px; }
.prog-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.prog-val { color: var(--muted); font-size: 11px; }
.prog-track {
  height: 5px;
  background: rgba(255,255,255,.06);
  border-radius: 100px;
  overflow: hidden;
}
.prog-fill { height: 100%; border-radius: 100px; }
.next-shift-time {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--cyan);
  margin: 4px 0;
}
.next-shift-sub { font-size: 12px; color: var(--muted); }

/* ── BENEFITS ────────────────────────────────────────────── */
#benefits { background: var(--dark); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.benefit-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.benefit-card:hover::after { transform: scaleX(1); }
.benefit-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}
.benefit-card:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.ben-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ben-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,229,255,.15);
}
.ben-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.ben-desc  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── SECURITY ────────────────────────────────────────────── */
#security {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.sec-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 65% 80% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 65% 80% at 50% 50%, #000, transparent);
  pointer-events: none;
}

.sec-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 2;
}

.sec-text .section-sub { margin: 0; max-width: none; }

.sec-feats { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.sec-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .3s;
}
.sec-feat:hover {
  border-color: rgba(168,85,247,.3);
  background: rgba(168,85,247,.04);
}
.sec-feat-icon {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: rgba(168,85,247,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.sf-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.sf-desc  { font-size: 13px; color: var(--muted); line-height: 1.55; }

.sec-visual { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.sec-rings  { position: relative; width: 260px; height: 260px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.sec-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168,85,247,.2);
  animation: secRotate 20s linear infinite;
}
.r1 { width: 260px; height: 260px; }
.r2 { width: 200px; height: 200px; animation-duration: 15s; animation-direction: reverse; border-color: rgba(168,85,247,.15); }
.r3 { width: 140px; height: 140px; border-color: rgba(168,85,247,.1); }
@keyframes secRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.sec-center {
  font-size: 60px;
  z-index: 2;
  position: relative;
  animation: secPulse 3s ease-in-out infinite;
}
@keyframes secPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(168,85,247,.4)); }
  50%       { filter: drop-shadow(0 0 40px rgba(168,85,247,.7)); }
}

.sec-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sec-badge {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px;
  background: var(--glass);
  border: 1px solid rgba(168,85,247,.2);
  border-radius: 100px;
  font-size: 12px; font-weight: 500;
  color: var(--purple);
}

/* ── PRICING ─────────────────────────────────────────────── */
#pricing { background: var(--dark); }

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.bill-label {
  font-size: 14px;
  color: var(--muted);
  transition: color .25s;
}
.bill-label.active { color: var(--text); }

.toggle-track {
  width: 52px; height: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  transition: background .3s;
  padding: 0;
}
.toggle-track.on { background: linear-gradient(135deg, var(--cyan), var(--purple)); border-color: transparent; }
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
  transition: transform .3s;
  display: block;
}
.toggle-track.on .toggle-thumb { transform: translateX(24px); }

.save-pill {
  font-size: 12px;
  background: rgba(34,197,94,.1);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-8px);
  transition: all .3s;
}
.save-pill.visible { opacity: 1; transform: translateX(0); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 36px;
  position: relative;
  transition: all .35s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.price-featured {
  border-color: rgba(0,229,255,.35);
  background: rgba(0,229,255,.04);
  box-shadow: 0 0 0 1px rgba(0,229,255,.15), 0 0 60px rgba(0,229,255,.07);
}

.recommended-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #000;
  font-size: 11px; font-weight: 700;
  font-family: var(--font-display);
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted);
  margin-bottom: 12px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 6px;
}
.price-cur {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--muted);
  align-self: flex-start;
  margin-top: 8px;
}
.price-val {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 800;
  line-height: 1;
  transition: all .3s;
}
.price-per { font-size: 13px; color: var(--muted); margin-left: 2px; }
.plan-desc { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.55; }

.price-divider { border: none; height: 1px; background: var(--border); margin-bottom: 24px; }

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.feat-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,229,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
}

.plan-btn {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  font-family: var(--font-display);
  border: 1px solid var(--border2);
  color: var(--text);
  background: var(--glass);
  cursor: pointer;
  transition: all .25s;
}
.plan-btn:hover { border-color: rgba(0,229,255,.4); background: rgba(0,229,255,.05); }
.plan-btn-featured {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #000;
  border: none;
}
.plan-btn-featured:hover {
  box-shadow: 0 0 30px rgba(0,229,255,.3);
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
#testimonials { background: var(--black); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 28px;
  transition: all .3s;
}
.testi-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0,229,255,.05);
}
.testi-card:focus { outline: 2px solid var(--cyan); outline-offset: 2px; }

.testi-stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-quote {
  font-size: 14px; line-height: 1.7;
  font-style: italic;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.testi-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.testi-co   { font-size: 12px; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────── */
#faq { background: var(--dark); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: var(--border2); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  text-align: left;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.faq-q:hover { color: var(--cyan); }
.faq-q:focus { outline: 2px solid var(--cyan); outline-offset: -2px; }

.faq-icon {
  font-size: 20px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .3s, color .2s;
  font-weight: 300;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--cyan); }

.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}
.faq-a:not([hidden]) { max-height: 300px; padding: 0 24px 20px; }
.faq-a[hidden] { display: block !important; max-height: 0; padding-bottom: 0; }

.faq-contact-link { color: var(--cyan); text-decoration: underline; }

/* ── FINAL CTA ───────────────────────────────────────────── */
#cta {
  background: var(--black);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-aurora {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.cta-aurora .aurora-blob.a1 {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,229,255,.08), rgba(168,85,247,.06) 50%, transparent 80%);
  animation: none;
  border-radius: 50%;
  filter: blur(60px);
}
.cta-aurora .aurora-blob.a2 {
  top: 30%; left: 20%;
  width: 400px; height: 300px;
  background: radial-gradient(circle, rgba(168,85,247,.06), transparent 70%);
  filter: blur(80px);
  animation: aFloat 10s ease-in-out infinite;
}

.cta-content { position: relative; z-index: 2; }
.cta-title {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -.035em;
  margin-bottom: 20px;
  margin-top: 12px;
}
.cta-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.65;
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-note {
  font-size: 13px;
  color: var(--muted2);
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 240px;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
}
.social-btn:hover { border-color: rgba(0,229,255,.3); color: var(--cyan); }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted2);
  margin-bottom: 18px;
}
.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
}
.footer-col nav a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.footer-copy { font-size: 13px; color: var(--muted2); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 13px;
  color: var(--muted2);
  transition: color .2s;
}
.footer-legal a:hover { color: var(--text); }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .span4 { grid-column: span 6; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sw-body { grid-template-columns: 1fr; }
  .sw-sidebar { display: none; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-actions { display: none; }
  .hamburger  { display: flex; }
  .section    { padding: 80px 0; }
  #hero       { padding: 160px 0 80px; }

  .span6, .span4 { grid-column: span 12; }
  .bento-grid { grid-template-columns: 1fr; }

  .pricing-grid, .testi-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .sec-layout    { grid-template-columns: 1fr; gap: 48px; }
  .sec-visual    { order: -1; }

  .dash-body    { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .kpi-row      { grid-template-columns: repeat(2, 1fr); }

  .float-card   { display: none; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }

  h1.hero-title { font-size: 40px; }
  .hero-stats   { gap: 24px; }
  .stat-div     { height: 28px; }
  .kpi-mini-row { grid-template-columns: repeat(2, 1fr); }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container    { padding: 0 18px; }
  .hero-btns    { flex-direction: column; align-items: stretch; }
  .btn-hero-primary, .btn-hero-outline { text-align: center; justify-content: center; }
  .cta-btns     { flex-direction: column; align-items: stretch; }
  .hero-stats   { flex-direction: column; gap: 16px; align-items: center; }
  .stat-div     { display: none; }
  .logos-row    { gap: 28px; }
}

/* ── FOCUS & ACCESSIBILITY ───────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}