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

:root {
  --bg:           #07080f;
  --bg-2:         #0c0e1a;
  --surface:      rgba(255,255,255,0.04);
  --surface-hover:rgba(255,255,255,0.07);
  --border:       rgba(255,255,255,0.08);
  --border-glow:  rgba(99,102,241,0.3);

  --text:         #f0f0f8;
  --text-muted:   rgba(240,240,248,0.5);
  --text-dim:     rgba(240,240,248,0.3);

  --accent:       #6366f1;
  --accent-2:     #8b5cf6;
  --cyan:         #22d3ee;
  --green:        #10b981;
  --amber:        #f59e0b;
  --rose:         #f43f5e;

  --grad:         linear-gradient(135deg, #6366f1, #8b5cf6, #22d3ee);
  --grad-subtle:  linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.1));

  --radius:       16px;
  --radius-lg:    24px;
  --radius-full:  9999px;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-h:        72px;
  --section-py:   120px;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== BACKGROUND ORBS ===== */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  top: -200px; left: -200px;
  animation-delay: 0s;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  bottom: 10%; right: -150px;
  animation-delay: -7s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #22d3ee, transparent 70%);
  top: 50%; left: 40%;
  animation-delay: -14s;
  opacity: 0.1;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}

/* NOISE */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 2;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(7,8,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(99,102,241,0.8);
  animation: dotPulse 2s ease-in-out infinite;
}
.logo-dot.small { width: 6px; height: 6px; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(99,102,241,0.8); }
  50%       { box-shadow: 0 0 20px rgba(139,92,246,1); }
}
.accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.btn-nav {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.btn-nav:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.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;
  padding: 16px 24px 24px;
  background: rgba(7,8,15,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-cta {
  margin-top: 16px;
  text-align: center;
  padding: 14px !important;
  border-radius: var(--radius) !important;
  background: var(--accent) !important;
  border: none !important;
  color: white !important;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 36px;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  max-width: 900px;
}

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

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.hero-subtitle strong { color: var(--text); }

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: var(--grad);
  color: white;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(99,102,241,0.4);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.5);
}
.btn-primary.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}
.stat-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

.telegram-badge {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  font-size: 13px;
  font-weight: 500;
  color: #60a5fa;
  backdrop-filter: blur(10px);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== VISION GRID ===== */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.vision-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.vision-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
}
.vision-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.vision-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.vision-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== AGENTS GRID ===== */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.agent-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.agent-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.agent-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.06));
  border-color: rgba(99,102,241,0.25);
}
.agent-featured:hover {
  border-color: rgba(99,102,241,0.5);
}
.agent-general {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.agent-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.agent-avatar {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.agent-avatar-aria    { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white; }
.agent-avatar-harvey  { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: white; }
.agent-avatar-eliott  { background: linear-gradient(135deg, #10b981, #059669); color: white; }
.agent-avatar-kira    { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.agent-avatar-atlas   { background: linear-gradient(135deg, #22d3ee, #0891b2); color: white; }
.agent-avatar-nova    { background: linear-gradient(135deg, #ec4899, #db2777); color: white; }
.agent-avatar-general { background: rgba(255,255,255,0.1); border: 1px dashed var(--border); color: var(--text-dim); }

.agent-meta { flex: 1; min-width: 0; }
.agent-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}
.agent-role {
  font-size: 13px;
  color: var(--text-muted);
}

.badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-live {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34d399;
}
.badge-coming {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  color: #fbbf24;
}

.agent-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ===== ARCHITECTURE ===== */
.arch-diagram {
  max-width: 680px;
  margin: 0 auto 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.arch-layer {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
}
.arch-layer-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.arch-box {
  padding: 20px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  flex: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.arch-box:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(99,102,241,0.15);
}
.arch-icon { font-size: 24px; margin-bottom: 8px; }
.arch-box span {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.arch-box small {
  font-size: 12px;
  color: var(--text-dim);
}

.arch-telegram { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.25); }
.arch-bot      { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.2); }
.arch-brain    { background: rgba(139,92,246,0.08); border-color: rgba(139,92,246,0.2); }
.arch-claude   { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.2); }
.arch-tools    { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.2); }
.arch-memory   { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); }

.arch-connector {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}
.connector-line {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(99,102,241,0.4), rgba(99,102,241,0.1));
}

.arch-split-connector {
  position: relative;
  width: 100%;
  height: 48px;
}
.arch-split-connector::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: rgba(99,102,241,0.4);
}
.arch-split-connector::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: rgba(99,102,241,0.3);
}
.connector-left, .connector-right {
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 28px;
  background: rgba(99,102,241,0.4);
}
.connector-left  { left: 25%; transform: translateX(-50%); }
.connector-right { right: 25%; transform: translateX(50%); }

.arch-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.arch-feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.arch-feature:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
}
.arch-feat-icon { font-size: 28px; margin-bottom: 12px; }
.arch-feature h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.arch-feature p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== ROADMAP ===== */
.roadmap {
  max-width: 700px;
  margin: 0 auto;
}
.roadmap-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  padding-bottom: 48px;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.roadmap-item:hover { opacity: 1; }
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-done  { opacity: 1; }
.roadmap-active { opacity: 1; }

.roadmap-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.roadmap-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg-2);
  box-shadow: 0 0 0 3px var(--border);
  flex-shrink: 0;
  margin-top: 6px;
}
.roadmap-done .roadmap-dot  {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2), 0 0 12px rgba(16,185,129,0.4);
}
.roadmap-active .roadmap-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.2), 0 0 12px rgba(99,102,241,0.5);
  animation: activePulse 2s ease-in-out infinite;
}
@keyframes activePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(99,102,241,0.2), 0 0 12px rgba(99,102,241,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(99,102,241,0.1), 0 0 20px rgba(99,102,241,0.7); }
}
.roadmap-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 8px;
}
.roadmap-done  .roadmap-line { background: rgba(16,185,129,0.3); }
.roadmap-active .roadmap-line { background: linear-gradient(to bottom, rgba(99,102,241,0.5), var(--border)); }

.roadmap-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.roadmap-phase {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.roadmap-status {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}
.status-done   { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.status-active { background: rgba(99,102,241,0.15); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.3); }
.status-future { background: var(--surface); color: var(--text-dim); border: 1px solid var(--border); }

.roadmap-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}
.roadmap-content ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.roadmap-content li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.roadmap-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}
.roadmap-content code {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: var(--cyan);
  font-family: 'Courier New', monospace;
}

/* ===== PRINCIPLES ===== */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.principle-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.principle-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
}
.principle-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}
.principle-card:hover::before { opacity: 1; }
.principle-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.1);
  margin-bottom: 16px;
  line-height: 1;
}
.principle-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.principle-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== CTA ===== */
.section-cta {
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.15), transparent 70%);
}
.cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 40px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.cta-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  color: #60a5fa;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-telegram:hover {
  background: rgba(37,99,235,0.25);
  border-color: rgba(37,99,235,0.5);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  position: relative;
  z-index: 2;
}
.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== SCROLL ANIMATIONS ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  :root { --section-py: 72px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }

  .hero-title { letter-spacing: -1px; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 28px; }

  .telegram-badge { display: none; }

  .agents-grid { grid-template-columns: 1fr; }
  .agent-featured { grid-column: auto; }

  .arch-layer-split { grid-template-columns: 1fr; }
  .arch-split-connector { display: none; }

  .cta-inner { padding: 48px 24px; }

  .roadmap-item { grid-template-columns: 28px 1fr; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-telegram { justify-content: center; }
}

/* ===== NAVBAR ACTIVE LINK ===== */
.nav-active {
  color: var(--text) !important;
  background: var(--surface) !important;
}

/* ===== HERO SMALL (News page) ===== */
.hero-small {
  min-height: 40vh;
  padding-bottom: 40px;
}

/* ===== NEWS PAGE ===== */
.news-article {
  max-width: 780px;
  margin: 0 auto 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  transition: border-color 0.3s;
}
.news-article:hover { border-color: var(--border-glow); }

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.news-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(99,102,241,0.15);
  color: var(--accent);
  border: 1px solid rgba(99,102,241,0.25);
}
.news-date {
  font-size: 13px;
  color: var(--text-muted);
}

.news-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  line-height: 1.25;
}

.news-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.news-body p strong { color: var(--text); }
.news-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text);
}
.news-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-list li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.news-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.news-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .news-article { padding: 28px 20px; }
  .hero-small { min-height: 30vh; }
}
