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

:root {
  --bg: #080810;
  --bg-2: #0d0d1a;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);

  --accent: #3b7fff;
  --accent-2: #7b5ea7;
  --accent-3: #00d4aa;

  --text-1: #f4f4f8;
  --text-2: #9898b0;
  --text-3: #5a5a78;

  --gradient: linear-gradient(135deg, #3b7fff 0%, #7b5ea7 50%, #00d4aa 100%);
  --gradient-soft: linear-gradient(135deg, rgba(59,127,255,0.15) 0%, rgba(123,94,167,0.15) 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(59,127,255,0.3); }

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(8,8,16,0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav.scrolled {
  background: rgba(8,8,16,0.95);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon { font-size: 22px; }
.logo-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-1); }

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 100px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: opacity 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #3b7fff 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: float 8s ease-in-out infinite;
}

.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7b5ea7 0%, transparent 70%);
  top: 200px; right: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.glow-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #00d4aa 0%, transparent 70%);
  bottom: 0; left: 40%;
  opacity: 0.2;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(59,127,255,0.12);
  border: 1px solid rgba(59,127,255,0.3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #6fa3ff;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-line { display: block; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(59,127,255,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59,127,255,0.5);
  background: #5a8eff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--surface);
  color: var(--text-1);
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-large { padding: 18px 44px; font-size: 17px; }

/* ── LED SCREEN MOCKUP ────────────────────────────────────── */
.hero-mockup {
  position: relative;
  z-index: 2;
  margin-top: 72px;
  width: 100%;
  max-width: 900px;
}

.mockup-stage {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.led-screen {
  background: #0a0a18;
  border: 1px solid rgba(59,127,255,0.25);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(59,127,255,0.1),
    0 40px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.led-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.led-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.led-dot.red { background: #ff5f57; }
.led-dot.yellow { background: #ffbd2e; }
.led-dot.green { background: #28c840; }

.led-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-3);
  margin-left: 4px;
}

.led-body { padding: 28px; }

.led-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 28px;
  line-height: 1.4;
}

.led-bars { display: flex; flex-direction: column; gap: 14px; }

.led-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-label {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

.bar-track {
  height: 32px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.led-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.voters-count {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-1);
}

.led-voters {
  font-size: 13px;
  color: var(--text-2);
}

.led-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ff4444;
}

.live-dot {
  width: 8px; height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Operator Panel */
.operator-panel {
  background: #0a0a18;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 20px;
  min-width: 220px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.panel-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-3);
  margin-bottom: 16px;
}

.panel-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.panel-btn {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  cursor: default;
  transition: all 0.2s;
}

.panel-btn.active {
  background: rgba(59,127,255,0.15);
  border-color: rgba(59,127,255,0.4);
  color: #7fb0ff;
}

.panel-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat span { font-size: 11px; color: var(--text-3); }
.stat strong { font-size: 12px; font-weight: 700; color: var(--text-1); }

/* Scroll Hint */
.hero-scroll-hint {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-hint span {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 1px;
}

.scroll-arrow {
  font-size: 20px;
  color: var(--text-3);
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── SECTIONS ──────────────────────────────────────────────── */
.section {
  padding: 120px 40px;
  position: relative;
}

.section-dark { background: var(--bg-2); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text-1);
}

.section-desc {
  font-size: 18px;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 72px;
}

/* ── CARDS ─────────────────────────────────────────────────── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  transition: all 0.3s;
}

.glass:hover {
  background: var(--surface-2);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  padding: 36px 30px;
  border-radius: var(--radius);
}

.card-icon { font-size: 32px; margin-bottom: 20px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* Timeline */
.format-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-3);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-1);
}

.timeline-content p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
}

/* Phases Grid */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.phase-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.phase-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.phase-card:hover::before { opacity: 1; }

.phase-number {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.phase-icon { font-size: 36px; margin-bottom: 16px; }
.phase-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }

.phase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.phase-list li {
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.phase-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.phase-duration {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-3);
  letter-spacing: 1px;
  padding: 6px 14px;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 100px;
  display: inline-block;
}

/* ── INVESTMENT TABLE ─────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.investment-table {
  width: 100%;
  border-collapse: collapse;
}

.investment-table thead {
  background: rgba(255,255,255,0.04);
}

.investment-table th {
  padding: 16px 24px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-3);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}

.investment-table td {
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

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

.investment-table tr:not(.total-row):hover td {
  background: rgba(255,255,255,0.02);
}

.price {
  font-weight: 700;
  color: var(--text-1) !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.total-row td {
  background: rgba(59,127,255,0.06);
  padding: 24px 24px;
}

.total-row strong {
  display: block;
  font-size: 16px;
  color: var(--text-1);
  margin-bottom: 4px;
}

.total-note {
  font-size: 13px;
  color: var(--text-3);
}

.total-price {
  font-size: 24px !important;
  color: var(--accent) !important;
}

/* Tags */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.tag-design { background: rgba(123,94,167,0.15); color: #a78bfa; border: 1px solid rgba(123,94,167,0.3); }
.tag-dev { background: rgba(59,127,255,0.12); color: #6fa3ff; border: 1px solid rgba(59,127,255,0.25); }
.tag-content { background: rgba(0,212,170,0.1); color: #00d4aa; border: 1px solid rgba(0,212,170,0.2); }
.tag-prod { background: rgba(255,165,0,0.1); color: #ffa940; border: 1px solid rgba(255,165,0,0.2); }
.tag-data { background: rgba(255,70,70,0.1); color: #ff7070; border: 1px solid rgba(255,70,70,0.2); }

/* Investment Note */
.investment-note {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: rgba(0,212,170,0.06);
  border: 1px solid rgba(0,212,170,0.15);
  border-radius: var(--radius-sm);
}

.note-icon { font-size: 24px; flex-shrink: 0; }
.note-text { font-size: 15px; color: var(--text-2); line-height: 1.65; }
.note-text strong { color: var(--accent-3); }

/* ── DELIVERABLES ─────────────────────────────────────────── */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
}

.deliverable {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.deliverable:hover {
  background: var(--surface-2);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.deliverable-check {
  width: 32px; height: 32px;
  background: rgba(0,212,170,0.12);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-3);
  flex-shrink: 0;
}

.deliverable h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-1);
}

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

/* ── PLATFORM GRID ────────────────────────────────────────── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.platform-card {
  padding: 32px 28px;
  border-radius: var(--radius);
}

.platform-icon { font-size: 32px; margin-bottom: 16px; }
.platform-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.platform-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── CTA ──────────────────────────────────────────────────── */
.cta-section {
  padding: 160px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,127,255,0.2) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-3);
  margin-bottom: 32px;
}

.cta-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 48px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-trust {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: var(--text-3);
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-note {
  font-size: 14px;
  color: var(--text-3);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-3);
  opacity: 0.5;
}

/* ── REVEAL ANIMATIONS ────────────────────────────────────── */
.reveal, .reveal-slow {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-slow {
  transition-duration: 1.2s;
  transition-delay: 0.1s;
}

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

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }

  .hero { padding: 100px 20px 60px; }
  .hero-title { font-size: clamp(44px, 12vw, 72px); letter-spacing: -2px; }
  .hero-subtitle { font-size: 17px; }

  .mockup-stage {
    grid-template-columns: 1fr;
  }

  .operator-panel { display: none; }

  .section { padding: 80px 20px; }
  .section-title { letter-spacing: -1px; }

  .about-grid, .phases-grid, .platform-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline-item {
    grid-template-columns: 60px 1fr;
  }

  .timeline-num { font-size: 36px; }

  .cta-section { padding: 100px 20px; }

  .investment-table th:nth-child(2),
  .investment-table td:nth-child(2) { display: none; }
}

@media (max-width: 600px) {
  .hero-cta-group { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
