@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #0a0807;
  --bg-soft: #0f0c0a;
  --bg-card: #15110e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ece9e6;
  --text-muted: #97908a;
  --text-dim: #5f5a55;
  --accent: #ff7849;
  --accent-dark: #d94d1f;
  --accent-light: #ff9166;
  --accent-soft: rgba(255, 120, 73, 0.12);
  --accent-glow: rgba(255, 120, 73, 0.45);
  --red: #ef4444;
  --amber: #fbbf24;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-accent: 0 0 0 1px rgba(255, 120, 73, 0.25), 0 12px 40px -8px rgba(255, 120, 73, 0.35);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 15% -10%, rgba(255, 120, 73, 0.12), transparent 60%),
    radial-gradient(700px 500px at 85% 10%, rgba(255, 120, 73, 0.06), transparent 60%),
    radial-gradient(800px 800px at 50% 110%, rgba(255, 120, 73, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

main, header, footer, section { position: relative; z-index: 2; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

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

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

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 60%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #051a10;
  box-shadow: 0 8px 30px -8px var(--accent-glow);
}

.btn-primary:hover {
  background: #ff9166;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px var(--accent-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  color: var(--text-muted);
  padding: 10px 18px;
}

.btn-ghost:hover { color: var(--text); }

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

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 120, 73, 0.3);
  transform: translateY(-3px);
}

.card-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 120, 73, 0.1), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 120, 73, 0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 18px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 18px 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 9, 8, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 14px rgba(255, 120, 73, 0.55));
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name { color: var(--text); }
.brand-dot { color: var(--accent); }

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

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

.menu-toggle { display: none; }

.mobile-menu { display: none; }

/* ============ HERO ============ */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.stat-num span { color: var(--accent); }

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background:
    conic-gradient(from 0deg, transparent 0%, var(--accent-soft) 20%, transparent 40%, transparent 60%, var(--accent-soft) 80%, transparent 100%);
  animation: rotate 18s linear infinite;
  mask: radial-gradient(circle, transparent 50%, #000 51%, #000 100%);
  -webkit-mask: radial-gradient(circle, transparent 50%, #000 51%, #000 100%);
}

.hero-ring::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
}

.hero-shield {
  width: 50%;
  height: 50%;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--border-strong);
  border-radius: 30%;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 80px -20px rgba(255, 120, 73, 0.3);
  position: relative;
  z-index: 2;
}

.hero-shield svg { width: 50%; height: 50%; color: var(--accent); }

.hero-shield img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(255, 120, 73, 0.4));
}

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(7, 9, 8, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 3;
  white-space: nowrap;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero-badge.b1 { top: 10%; left: -5%; animation: float 5s ease-in-out infinite; }
.hero-badge.b2 { top: 50%; right: -8%; animation: float 6s ease-in-out infinite -2s; }
.hero-badge.b3 { bottom: 10%; left: 5%; animation: float 7s ease-in-out infinite -4s; }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  grid-column: span 2;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 120, 73, 0.25);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.feature-tags span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ============ PREVIEW SLIDER ============ */
.preview-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }

.preview-url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.preview-stage {
  position: relative;
  aspect-ratio: 14 / 9;
  min-height: 720px;
  background: var(--bg);
}

.preview-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 820px) {
  .preview-stage {
    aspect-ratio: auto;
    min-height: 580px;
  }
}

.preview-slide {
  position: absolute;
  inset: 0;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: grid;
  gap: 16px;
}

.preview-slide.active { opacity: 1; }

.preview-slide-1 {
  grid-template-columns: 220px 1fr;
}

.mock-sidebar {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-sidebar .item {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-sidebar .item.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.mock-sidebar .item::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.mock-sidebar .item.active::before { background: var(--accent); }

.mock-content {
  display: grid;
  gap: 12px;
  grid-template-rows: auto 1fr;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mock-stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.mock-stat .label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.mock-stat .value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.mock-stat .value.green { color: var(--accent); }

.mock-chart {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  position: relative;
}

.mock-chart svg { width: 100%; height: 100%; }

.preview-slide-2, .preview-slide-3, .preview-slide-4 {
  grid-template-rows: auto 1fr;
}

.mock-toolbar {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.mock-toolbar .btn-mini {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.mock-toolbar .btn-mini.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(255, 120, 73, 0.3);
}

.mock-canvas {
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.mock-node {
  position: absolute;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-size: 11px;
  color: var(--text);
  box-shadow: 0 8px 20px -4px rgba(255, 120, 73, 0.3);
  font-family: var(--font-mono);
}

.mock-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.mock-bots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: 100%;
}

.mock-bot {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-bot .avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1px solid var(--border);
  margin-bottom: 4px;
}

.mock-bot .name { font-size: 12px; font-weight: 600; }
.mock-bot .role { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); }
.mock-bot .bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-top: auto;
}
.mock-bot .bar::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: var(--accent);
}

.mock-combat {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 12px;
  height: 100%;
}

.mock-arena {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 2px;
  padding: 8px;
}

.mock-cell {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.mock-cell.ally { background: var(--accent-soft); border-color: var(--accent); }
.mock-cell.enemy { background: rgba(255, 93, 108, 0.2); border-color: var(--red); }
.mock-cell.aoe { background: rgba(255, 184, 107, 0.15); }

.mock-log {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-log .line { color: var(--text-muted); }
.mock-log .line.win { color: var(--accent); }
.mock-log .line.dmg { color: var(--red); }

.preview-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.preview-control {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.preview-control.active {
  width: 32px;
  border-radius: 999px;
  background: var(--accent);
}

.preview-caption {
  text-align: center;
  margin-top: 24px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ============ ADVANTAGES ============ */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.adv-card {
  padding: 32px;
  text-align: left;
}

.adv-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.adv-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.adv-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ============ PRICING ============ */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin: 0 auto 48px;
}

.pricing-toggle .toggle-btn {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.pricing-toggle .toggle-btn.active {
  background: var(--accent);
  color: #051a10;
}

.pricing-toggle .save {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 120, 73, 0.15);
  color: var(--accent);
  margin-left: 6px;
  font-family: var(--font-mono);
}

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

.price-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.price-card.popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 120, 73, 0.06), rgba(255, 120, 73, 0.01));
  box-shadow: var(--shadow-accent);
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--accent);
  color: #051a10;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-period {
  color: var(--text-muted);
  font-size: 14px;
}

.price-desc { color: var(--text-muted); font-size: 14px; }

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}

.price-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ff7849' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============ DOWNLOAD ============ */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dl-card {
  text-align: center;
  padding: 36px 28px;
}

.dl-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 120, 73, 0.25);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.dl-icon svg { width: 32px; height: 32px; }

.dl-card h3 { font-size: 22px; margin-bottom: 4px; }
.dl-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-bottom: 18px; }

/* ============ DISCORD ============ */
.discord-card {
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(255, 120, 73, 0.06), rgba(88, 101, 242, 0.05));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.discord-card::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.18), transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.discord-card > * { position: relative; z-index: 1; }

.discord-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 18px 0 32px;
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-mini .copy {
  color: var(--text-muted);
  font-size: 13px;
}

/* ============ AUTH PAGES ============ */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-side {
  position: relative;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(800px 600px at 20% 30%, rgba(255, 120, 73, 0.15), transparent 60%),
    radial-gradient(600px 800px at 80% 90%, rgba(255, 120, 73, 0.08), transparent 60%),
    var(--bg-soft);
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.auth-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 120, 73, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 120, 73, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask: radial-gradient(circle at center, #000 30%, transparent 70%);
  -webkit-mask: radial-gradient(circle at center, #000 30%, transparent 70%);
}

.auth-side .brand,
.auth-side .auth-promo,
.auth-side .auth-quote { position: relative; z-index: 1; }

.auth-promo h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 20px;
  max-width: 480px;
}

.auth-promo p { color: var(--text-muted); font-size: 17px; max-width: 460px; }

.auth-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.auth-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
}

.auth-features li::before {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ff7849' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 55%;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 120, 73, 0.3);
  flex-shrink: 0;
}

.auth-quote {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.auth-quote p { font-style: italic; color: var(--text); margin-bottom: 14px; }
.auth-quote .by { font-size: 13px; color: var(--text-muted); font-family: var(--font-mono); }

.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  min-height: 100vh;
}

.auth-form {
  width: 100%;
  max-width: 420px;
}

.auth-form h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.auth-form .sub {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.social-btns {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  color: var(--text);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
}

.social-btn svg { width: 18px; height: 18px; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: var(--text-dim);
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
}

.input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 120, 73, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 120, 73, 0.1);
}

.input::placeholder { color: var(--text-dim); }

.field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.field-row a { font-size: 13px; color: var(--accent); }
.field-row a:hover { text-decoration: underline; }

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.auth-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.auth-footer a {
  color: var(--accent);
  font-weight: 600;
}

.auth-footer a:hover { text-decoration: underline; }

.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.password-strength span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.2s;
}

.password-strength.s1 span:nth-child(1) { background: var(--red); }
.password-strength.s2 span:nth-child(1),
.password-strength.s2 span:nth-child(2) { background: var(--amber); }
.password-strength.s3 span:nth-child(1),
.password-strength.s3 span:nth-child(2),
.password-strength.s3 span:nth-child(3) { background: var(--accent); }
.password-strength.s4 span { background: var(--accent); }

.step-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.step-indicator .step {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
}

.step-indicator .step.active { background: var(--accent); }

.plan-options {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.plan-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s;
}

.plan-option:hover { border-color: rgba(255, 120, 73, 0.4); }

.plan-option.selected {
  border-color: var(--accent);
  background: rgba(255, 120, 73, 0.05);
}

.plan-option .plan-info h4 { font-size: 16px; margin-bottom: 2px; }
.plan-option .plan-info p { font-size: 13px; color: var(--text-muted); }
.plan-option .plan-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}

/* ============ PROFILE ============ */
.profile-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.profile-sidebar {
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.profile-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 28px;
}

.profile-user .av {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid;
  place-items: center;
  color: #051a10;
  font-weight: 700;
  font-family: var(--font-display);
}

.profile-user .info .n { font-size: 14px; font-weight: 600; }
.profile-user .info .e { font-size: 12px; color: var(--text-muted); }

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.profile-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  text-align: left;
}

.profile-nav button:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.profile-nav button.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.profile-nav button svg { width: 18px; height: 18px; }

.profile-content {
  padding: 40px;
  overflow-y: auto;
}

.profile-page { display: none; }
.profile-page.active { display: block; }

.profile-page h1 {
  font-size: 32px;
  margin-bottom: 6px;
}

.profile-page .page-sub {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.stat-card .label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.stat-card .value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
}

.stat-card .delta {
  font-size: 12px;
  color: var(--accent);
  margin-top: 4px;
  font-family: var(--font-mono);
}

.stat-card .delta.down { color: var(--red); }

.bots-list {
  display: grid;
  gap: 12px;
}

.bot-row {
  display: grid;
  grid-template-columns: 50px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.bot-row .bot-av {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-display);
}

.bot-row .bot-info h4 { font-size: 15px; margin-bottom: 2px; }
.bot-row .bot-info p { font-size: 13px; color: var(--text-muted); font-family: var(--font-mono); }

.bot-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.bot-status.active { background: var(--accent-soft); color: var(--accent); }
.bot-status.paused { background: rgba(255, 184, 107, 0.15); color: var(--amber); }
.bot-status.offline { background: rgba(255, 255, 255, 0.04); color: var(--text-muted); }

.bot-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.bot-stats {
  display: flex;
  gap: 18px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.bot-stats span strong { color: var(--text); display: block; font-size: 14px; }

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg { width: 16px; height: 16px; }

.settings-form {
  display: grid;
  gap: 20px;
  max-width: 600px;
}

.settings-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.settings-section h3 {
  font-size: 18px;
  margin-bottom: 18px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-child { border-bottom: none; padding-bottom: 0; }
.toggle-row:first-child { padding-top: 0; }

.toggle-row .info h4 { font-size: 15px; margin-bottom: 2px; }
.toggle-row .info p { font-size: 13px; color: var(--text-muted); }

.switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}

.switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(20px); }

.billing-card {
  background: linear-gradient(135deg, rgba(255, 120, 73, 0.08), rgba(255, 120, 73, 0.02));
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 18px;
}

.billing-card .plan-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.billing-card .price { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--accent); }
.billing-card .renew { color: var(--text-muted); font-size: 13px; margin-top: 8px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid, .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card { grid-column: span 1; }
  .adv-grid, .dl-grid, .pricing-grid { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
  .profile-wrap { grid-template-columns: 1fr; }
  .profile-sidebar { position: relative; height: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .bot-row { grid-template-columns: 50px 1fr; gap: 14px; }
  .bot-row .bot-status, .bot-row .bot-stats, .bot-row .icon-btn { grid-column: 2; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .btn:not(.menu-toggle) { display: none; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  .site-header.menu-open .mobile-menu { display: flex; }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    margin-top: 8px;
    flex-direction: column;
    gap: 6px;
  }
  .mobile-menu a {
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text);
    font-size: 15px;
  }
  .mobile-menu a:hover { background: rgba(255, 255, 255, 0.04); }
  .section { padding: 70px 0; }
  .hero { padding: 130px 0 60px; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .features-grid { grid-template-columns: 1fr; }
  .discord-card { padding: 30px; }
  .preview-slide { padding: 16px; }
  .preview-slide-1 { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .profile-content { padding: 24px; }
}

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

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

.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }
