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

:root {
  --bg:          #07070b;
  --bg-tv:       #0a0a0e;
  --surface:     rgba(255,255,255,0.055);
  --surface2:    rgba(255,255,255,0.085);
  --surface3:    rgba(255,255,255,0.12);
  --border:      rgba(255,255,255,0.10);
  --text:        #f5f5f7;
  --text2:       rgba(235,235,245,0.62);
  --text3:       rgba(235,235,245,0.34);
  --accent:      #7b61ff;
  --accent2:     #ff4d8d;
  --grad:        linear-gradient(135deg, #8f6bff 0%, #ff4d8d 100%);
  --red:         #ff4d5e;
  --green:       #34c759;
  --orange:      #ff9f0a;
  --radius-sm:   12px;
  --radius-md:   16px;
  --radius-lg:   20px;
  --shadow:      0 14px 40px rgba(0,0,0,0.7);
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Typography ===== */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Layout ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ===== Section header ===== */
.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 600px;
}

/* ===== Card glass ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.2s, transform 0.2s;
}
.card:hover {
  background: var(--surface2);
  transform: translateY(-2px);
}

/* ===== Button ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ===== Stars canvas ===== */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 3px; }
