/* ===== CSS RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08090F;
  --bg-2: #0D0F18;
  --surface: #131620;
  --surface-2: #1A1D2A;
  --border: #1E2230;
  --text: #E8EAF0;
  --text-2: #9AA0B2;
  --text-3: #5C6378;
  --magenta: #FF3CAC;
  --cyan: #00D4FF;
  --amber: #FFB800;
  --urgent: #FF4D4D;
  --high: #FF9A3C;
  --trend: #00D4FF;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --section-pad: 100px 24px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(8, 9, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 34, 48, 0.8);
}

.header-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.nav-tagline {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== SECTION LABELS ===== */
.problem-label, .how-label, .features-label, .principles-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.label-line {
  display: block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
}

.label-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.prism-orbs {
  position: absolute;
  inset: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.orb-magenta {
  width: 600px;
  height: 600px;
  background: var(--magenta);
  top: -200px;
  left: -100px;
  animation: floatOrb 12s ease-in-out infinite;
}

.orb-cyan {
  width: 500px;
  height: 500px;
  background: var(--cyan);
  bottom: -150px;
  right: -100px;
  animation: floatOrb 15s ease-in-out infinite reverse;
}

.orb-amber {
  width: 300px;
  height: 300px;
  background: var(--amber);
  top: 40%;
  right: 30%;
  animation: floatOrb 18s ease-in-out infinite 3s;
  opacity: 0.08;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.97); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 34, 48, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 34, 48, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.eyebrow-dot.magenta { background: var(--magenta); }
.eyebrow-dot.cyan { background: var(--cyan); }
.eyebrow-dot.amber { background: var(--amber); }

.eyebrow-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.hero-headline {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 460px;
  margin-bottom: 40px;
}

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

.meta-stat { display: flex; flex-direction: column; gap: 2px; }

.stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.4;
  max-width: 100px;
}

.meta-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ===== DEVICE MOCKUP ===== */
.hero-visual { display: flex; justify-content: center; }

.prism-device {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 60, 172, 0.1),
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(0, 212, 255, 0.06);
}

.device-glow {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), var(--amber));
}

.device-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.chrome-dots {
  display: flex;
  gap: 5px;
}

.chrome-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface-2);
}

.chrome-dots span:nth-child(1) { background: #FF5F57; }
.chrome-dots span:nth-child(2) { background: #FFBD2E; }
.chrome-dots span:nth-child(3) { background: #28CA41; }

.chrome-url {
  font-size: 11px;
  color: var(--text-3);
  background: var(--surface);
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--font-body);
}

.device-screen { padding: 16px; }

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.screen-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.screen-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ===== INSIGHT CARDS ===== */
.insight-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.insight-card:last-of-type { margin-bottom: 0; }

.card-urgent { border-left: 3px solid var(--urgent); }
.card-high { border-left: 3px solid var(--high); }
.card-medium { border-left: 3px solid var(--trend); }

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.card-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
}
.tag-urgent { color: var(--urgent); background: rgba(255, 77, 77, 0.1); }
.tag-high { color: var(--high); background: rgba(255, 154, 60, 0.1); }
.tag-medium { color: var(--trend); background: rgba(0, 212, 255, 0.1); }

.card-score {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}

.card-text {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 8px;
}

.card-sources {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.source-tag {
  font-size: 10px;
  color: var(--text-3);
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 3px;
}

.screen-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 10px;
  color: var(--text-3);
}

/* ===== PROBLEM SECTION ===== */
.problem {
  padding: var(--section-pad);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner { max-width: var(--max-w); margin: 0 auto; }

.problem-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  max-width: 600px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.problem-col {}

.problem-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}

.ps-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.ps-unit {
  font-size: 14px;
  color: var(--text-3);
  font-weight: 400;
}

.ps-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ===== HOW SECTION ===== */
.how { padding: var(--section-pad); }

.how-inner { max-width: var(--max-w); margin: 0 auto; }

.how-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 500px;
}

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

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.step-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

.step-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--cyan);
  margin-bottom: 16px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding: 0 8px;
  padding-top: 80px;
  flex-shrink: 0;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: var(--section-pad);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-inner { max-width: var(--max-w); margin: 0 auto; }

.features-headline {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 32px 28px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--surface-2); }

.fc-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 16px;
}

.fc-icon-cyan { background: rgba(0, 212, 255, 0.08); color: var(--cyan); }
.fc-icon-magenta { background: rgba(255, 60, 172, 0.08); color: var(--magenta); }
.fc-icon-amber { background: rgba(255, 184, 0, 0.08); color: var(--amber); }

.fc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.fc-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ===== PRINCIPLES SECTION ===== */
.principles {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.principles-inner { max-width: var(--max-w); margin: 0 auto; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.principle {}

.p-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.p-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.p-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ===== CLOSING SECTION ===== */
.closing {
  position: relative;
  padding: var(--section-pad);
  overflow: hidden;
}

.closing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.closing-prism-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(255, 60, 172, 0.06) 0deg,
    rgba(0, 212, 255, 0.04) 60deg,
    rgba(255, 184, 0, 0.04) 120deg,
    rgba(255, 60, 172, 0.06) 180deg,
    rgba(0, 212, 255, 0.04) 240deg,
    rgba(255, 184, 0, 0.04) 300deg,
    rgba(255, 60, 172, 0.06) 360deg
  );
  border-radius: 50%;
  filter: blur(60px);
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

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

.closing-body {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 48px;
}

.closing-stat-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 32px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 40px;
}

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

.csb-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.csb-label {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.csb-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 60px 24px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-3);
  max-width: 220px;
  line-height: 1.5;
}

.footer-links { display: flex; gap: 64px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--text); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
}

.footer-prism-mark {
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { order: -1; }
  .hero-meta { gap: 20px; }
  .meta-divider { display: none; }
  .hero-meta { flex-wrap: wrap; }
  .problem-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-steps { flex-direction: column; gap: 16px; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; gap: 28px; }
  .closing-stat-block { gap: 24px; padding: 24px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 600px) {
  :root { --section-pad: 72px 20px; }
  .hero { padding-top: 100px; }
  .hero-headline { font-size: 40px; }
  .prism-device { max-width: 100%; }
  .ps-number { font-size: 36px; }
  .site-header { padding: 0 20px; }
}
