/* ========================================
   NovaEdge CDN — Premium SaaS Homepage
   ======================================== */

:root {
  --blue-600: #2563EB;
  --blue-400: #38BDF8;
  --purple-500: #8B5CF6;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-100: #F1F5F9;
  --red-500: #EF4444;
  --green-400: #4ADE80;

  --bg-primary: #0B1120;
  --bg-secondary: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.6);
  --border: rgba(56, 189, 248, 0.12);
  --border-hover: rgba(56, 189, 248, 0.25);

  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-300);
  background: var(--bg-primary);
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: var(--blue-500);
  color: white;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid white;
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background effects */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: rgba(37, 99, 235, 0.15);
}

.bg-glow--2 {
  width: 500px;
  height: 500px;
  bottom: 20%;
  left: -150px;
  background: rgba(139, 92, 246, 0.1);
}

main, .header, .footer {
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-600) 0%, #3B82F6 50%, var(--purple-500) 100%);
  color: white;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.btn--outline {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(56, 189, 248, 0.28);
  color: var(--blue-400);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.btn--outline:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--slate-300);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}

.header--scrolled {
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.28));
}

.logo__text {
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

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

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-400);
  transition: color var(--transition);
}

.nav__link:hover {
  color: white;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-300);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 80px) 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  grid-template-rows: auto auto auto;
  gap: 32px 80px;
  align-items: start;
}

.hero__intro {
  grid-column: 1;
  grid-row: 1;
}

.hero__visual {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 760px;
}

.hero__cards {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-400);
  margin-bottom: 28px;
}

.hero__badge-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--slate-500);
  padding-left: 10px;
  border-left: 1px solid rgba(56, 189, 248, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-400);
  animation: pulse 2s ease-in-out infinite;
}

.pulse-dot--green {
  background: var(--green-400);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.14;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
  color: #B0BEC9;
  margin-bottom: 20px;
  max-width: 560px;
}

.hero__tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-400);
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: border-color var(--transition), background var(--transition);
}

.hero-card:hover {
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(30, 41, 59, 0.7);
}

.hero-card .icon {
  width: 18px;
  height: 18px;
  color: var(--blue-400);
  flex-shrink: 0;
}

.hero-card strong {
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.hero__thesis {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px 56px;
  align-items: center;
  margin-top: 8px;
  padding: 28px 32px;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.hero__thesis-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__thesis-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  color: white;
  letter-spacing: -0.02em;
}

.hero__thesis-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate-400);
  margin: 0;
}

.hero__thesis-emphasis {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-400);
  margin: 0;
}

/* Hero product showcase */
.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  perspective: 1400px;
}

.hero-showcase__ambient {
  position: absolute;
  inset: -12% -8% -18%;
  pointer-events: none;
  z-index: 0;
}

.hero-showcase__glow {
  position: absolute;
  inset: 8% 4% 12%;
  background:
    radial-gradient(ellipse 55% 45% at 42% 38%, rgba(56, 189, 248, 0.28), transparent 68%),
    radial-gradient(ellipse 50% 42% at 72% 58%, rgba(139, 92, 246, 0.22), transparent 65%);
  filter: blur(48px);
  opacity: 0.85;
}

.hero-showcase__frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(8, 12, 26, 0.45);
  border: 1px solid rgba(56, 189, 248, 0.22);
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.1),
    0 0 48px rgba(37, 99, 235, 0.18),
    0 0 100px rgba(139, 92, 246, 0.12),
    0 28px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
  transform-origin: center center;
}

.hero-showcase__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-xl);
  display: block;
}

.hero-showcase__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 42%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-showcase__reflect {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -18%;
  height: 28%;
  z-index: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, transparent 100%);
  transform: perspective(1400px) rotateY(-4deg) scaleY(-1);
  transform-origin: center top;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 75%);
  filter: blur(2px);
  pointer-events: none;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, transparent 100%);
}

.section--featured {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 99, 235, 0.08), transparent),
    linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, transparent 100%);
}

.section--muted {
  opacity: 0.92;
}

.section--muted .section-title--sm {
  font-size: clamp(24px, 3vw, 32px);
}

.section--muted .glass-card {
  background: rgba(15, 23, 42, 0.45);
}

.section-header {
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--slate-400);
  max-width: 760px;
}

.section-header--center .section-desc {
  margin: 0 auto;
}

.section-desc--narrow {
  max-width: 640px;
}

.section-desc strong {
  color: var(--slate-300);
}

.section-desc a,
.glass-card p a {
  color: var(--blue-400);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.35);
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.section-desc a:hover,
.glass-card p a:hover {
  color: white;
}

.section-tagline {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--purple-500);
}

.section-header--center .section-tagline {
  margin-top: 24px;
}

.hide-desktop {
  display: none;
}

.hide-mobile {
  display: inline;
}

/* Compare table */
.compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.compare-table th,
.compare-table td {
  padding: 20px 28px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: rgba(37, 99, 235, 0.08);
}

.compare-table th:first-child {
  width: 45%;
  border-right: 1px solid var(--border);
}

.compare-table td:first-child {
  color: var(--slate-500);
  border-right: 1px solid var(--border);
}

.compare-table td:last-child {
  color: var(--slate-300);
}

.compare-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 8px;
}

.compare-check svg {
  width: 12px;
  height: 12px;
  color: var(--blue-400);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr {
  transition: background var(--transition);
}

.compare-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.03);
}

.highlight {
  color: var(--blue-400);
  font-weight: 500;
}

/* Glass cards */
.feature-grid {
  display: grid;
  gap: 20px;
}

.feature-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

.glass-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.glass-card--compact {
  padding: 24px;
}

.glass-card--accent {
  background: rgba(20, 30, 55, 0.65);
  border-color: rgba(56, 189, 248, 0.2);
}

.glass-card--accent h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
}

.feature-grid--antibypass .glass-card--accent:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
}

.glass-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 10px;
  margin-bottom: 20px;
}

.glass-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--blue-400);
}

.glass-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}

.glass-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-500);
}

/* Flowchart */
.flowchart {
  max-width: 640px;
  margin: 0 auto;
}

.flowchart__step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.flowchart__step.visible {
  opacity: 1;
  transform: translateY(0);
}

.flowchart__node {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(139, 92, 246, 0.1));
  border: 1px solid var(--border-hover);
  border-radius: 14px;
}

.flowchart__node svg {
  width: 24px;
  height: 24px;
  color: var(--blue-400);
}

.flowchart__content {
  flex: 1;
  padding-top: 4px;
}

.flowchart__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.flowchart__content h3 {
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.flowchart__content p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.65;
}

.flowchart__connector {
  width: 2px;
  height: 32px;
  margin-left: 27px;
  background: linear-gradient(180deg, var(--blue-600), var(--purple-500));
  opacity: 0.3;
}

/* Split section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-section--reverse {
  direction: rtl;
}

.split-section--reverse > * {
  direction: ltr;
}

/* CC panel */
.cc-panel {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.cc-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.cc-panel__title {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.cc-panel__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--green-400);
}

.cc-panel__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.cc-panel__stat {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cc-panel__stat-val {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.cc-panel__stat-val--warn {
  font-size: 18px;
  color: var(--blue-400);
}

.cc-panel__stat-label {
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 4px;
  display: block;
}

.cc-panel__strategies {
  padding: 8px 12px 12px;
}

.cc-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--slate-400);
  transition: background var(--transition);
}

.cc-panel__row--active {
  color: var(--slate-300);
}

.cc-panel__row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cc-panel__badge {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--slate-500);
}

.cc-panel__badge--on {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--blue-400);
}

/* Integration note */
.integration-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 48px;
  padding: 20px 24px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}

.integration-note__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.integration-note__icon svg {
  width: 20px;
  height: 20px;
  color: var(--slate-500);
}

.integration-note__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.integration-note__body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate-500);
}

.integration-note__hint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--slate-600);
}

/* Ops list */
.ops-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  list-style: none;
  margin-top: 28px;
}

.ops-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-400);
}

.ops-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-400);
  flex-shrink: 0;
}

/* Dashboard preview */
.dashboard-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.dashboard-preview__bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border);
}

.dashboard-preview__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-700);
}

.dashboard-preview__bar span:first-child { background: #EF4444; opacity: 0.7; }
.dashboard-preview__bar span:nth-child(2) { background: #EAB308; opacity: 0.7; }
.dashboard-preview__bar span:nth-child(3) { background: #22C55E; opacity: 0.7; }

.dashboard-preview__content {
  display: flex;
  min-height: 280px;
}

.dashboard-preview__sidebar {
  width: 56px;
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-item {
  height: 8px;
  border-radius: 4px;
  background: var(--slate-800);
}

.dash-item--active {
  background: var(--blue-600);
  opacity: 0.6;
}

.dashboard-preview__main {
  flex: 1;
  padding: 20px;
}

.dash-stat-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.dash-stat {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.dash-stat__val {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.dash-stat__label {
  font-size: 11px;
  color: var(--slate-500);
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding-top: 16px;
}

.dash-chart__bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
  border-radius: 4px 4px 0 0;
  opacity: 0.6;
  animation: barGrow 1s ease-out forwards;
}

@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(37, 99, 235, 0.2), transparent),
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(139, 92, 246, 0.15), transparent),
    linear-gradient(180deg, var(--bg-primary), var(--slate-900));
  z-index: 0;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.cta-section__desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--slate-400);
  max-width: 680px;
  margin: 0 auto 20px;
}

.cta-section__tagline {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-400);
  margin-bottom: 16px;
}

.cta-section__contact {
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-400);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-section__handle {
  margin-top: 20px;
  font-size: 14px;
  color: var(--slate-500);
}

.cta-section__handle a {
  color: var(--blue-400);
  font-weight: 500;
  transition: color var(--transition);
}

.cta-section__handle a:hover {
  color: white;
}

.cta-section__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
}

.faq-item__question {
  font-size: 17px;
  font-weight: 600;
  color: white;
  line-height: 1.5;
  margin-bottom: 12px;
}

.faq-item__answer {
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate-400);
  margin: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer__tagline {
  margin-top: 12px;
  font-size: 14px;
  color: var(--slate-500);
}

.footer__contact {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-500);
  margin-top: 12px;
  max-width: 280px;
}

.footer__contact a {
  color: var(--blue-400);
  font-weight: 500;
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: white;
}

/* Modal */
body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 36px 32px 32px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.6);
  color: var(--slate-400);
  cursor: pointer;
  transition: all var(--transition);
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.modal__close:hover {
  color: white;
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.1);
}

.modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--blue-400);
}

.modal__icon svg {
  width: 28px;
  height: 28px;
}

.modal__title {
  font-size: clamp(22px, 4vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.modal__desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-400);
  margin-bottom: 28px;
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal__actions .btn {
  width: 100%;
}

.modal__handle {
  margin-top: 18px;
  font-size: 14px;
  color: var(--slate-500);
}

.modal__handle a {
  color: var(--blue-400);
  font-weight: 500;
  transition: color var(--transition);
}

.modal__handle a:hover {
  color: white;
}

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

.footer__col h4 {
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--slate-500);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--slate-300);
}

.footer__link-btn {
  display: block;
  padding: 0;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--slate-500);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color var(--transition);
}

.footer__link-btn:hover {
  color: var(--slate-300);
}

.nav__link[aria-current="true"] {
  color: white;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--slate-600);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 40px;
  }

  .hero__intro {
    grid-column: 1;
    grid-row: auto;
    order: 1;
  }

  .hero__visual {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    max-width: 680px;
    margin: 0 auto;
    justify-self: center;
  }

  .hero__cards {
    grid-column: 1;
    grid-row: auto;
    order: 3;
  }

  .hero__thesis {
    grid-column: 1;
    grid-row: auto;
    order: 4;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .feature-grid--3,
  .feature-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .split-section--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav__link:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--header-h) + 48px);
    min-height: auto;
  }

  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .hero__intro { order: 1; }
  .hero__visual { order: 2; max-width: 100%; min-height: auto; }
  .hero__cards { order: 3; }
  .hero__thesis { order: 4; }

  .hero__cta {
    margin-bottom: 28px;
  }

  .hero-showcase {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-showcase__frame {
    transform: none;
  }

  .hero-showcase__reflect {
    display: none;
  }

  .hero-showcase__img {
    max-height: 340px;
    width: 100%;
    object-fit: contain;
  }

  .hero__cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .feature-grid--3,
  .feature-grid--6 {
    grid-template-columns: 1fr;
  }

  .ops-list {
    grid-template-columns: 1fr;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
  }

  .hide-desktop {
    display: inline;
  }

  .hide-mobile {
    display: none;
  }

  .cta-section {
    padding: 80px 0;
  }

  .cta-section__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-section__buttons .btn {
    width: 100%;
  }
}

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__thesis {
    padding: 20px;
  }

  .compare-table th,
  .compare-table td {
    padding: 14px 16px;
    font-size: 13px;
  }

  .footer__links {
    grid-template-columns: 1fr;
  }
}


/* Dashboard showcase */
.dashboard-preview-section {
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.dashboard-preview-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(37, 99, 235, 0.12), transparent 62%),
    radial-gradient(ellipse 45% 40% at 80% 70%, rgba(139, 92, 246, 0.1), transparent 60%);
  pointer-events: none;
}

.dashboard-showcase {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  perspective: 1200px;
}

.dashboard-showcase__glow {
  position: absolute;
  inset: 10% 8% -6%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(56, 189, 248, 0.22), transparent 65%),
    radial-gradient(ellipse 40% 40% at 70% 60%, rgba(139, 92, 246, 0.18), transparent 60%);
  filter: blur(60px);
  opacity: 0.75;
  pointer-events: none;
}

.dashboard-showcase__frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(139, 92, 246, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  transform: rotateX(1.2deg);
  transform-origin: center top;
}

.dashboard-showcase__toolbar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
  background: rgba(2, 6, 23, 0.56);
}

.dashboard-showcase__dots {
  display: inline-flex;
  gap: 7px;
  flex-shrink: 0;
}

.dashboard-showcase__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.45);
}

.dashboard-showcase__dots span:nth-child(1) {
  background: rgba(239, 68, 68, 0.8);
}

.dashboard-showcase__dots span:nth-child(2) {
  background: rgba(245, 158, 11, 0.8);
}

.dashboard-showcase__dots span:nth-child(3) {
  background: rgba(34, 197, 94, 0.8);
}

.dashboard-showcase__title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-400);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-showcase__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--green-400);
  flex-shrink: 0;
}

.dashboard-showcase img {
  display: block;
  width: 100%;
  height: auto;
  background: #0b1120;
}

@media (max-width: 900px) {
  .dashboard-preview-section {
    padding-top: 40px;
  }

  .dashboard-showcase__frame {
    border-radius: 20px;
    transform: none;
  }

  .dashboard-showcase__toolbar {
    height: 44px;
    padding: 0 14px;
  }

  .dashboard-showcase__status {
    display: none;
  }
}

@media (max-width: 640px) {
  .dashboard-showcase {
    margin: 0 -10px;
  }

  .dashboard-showcase__frame {
    border-radius: 16px;
  }

  .dashboard-showcase__toolbar {
    height: 40px;
  }

  .dashboard-showcase__dots span {
    width: 8px;
    height: 8px;
  }

  .dashboard-showcase__title {
    font-size: 11px;
  }
}
