/* ═══════════════════════════════════════════
   BASE.CSS — Reset, Variables, Typography, Buttons
   CyberEduc
═══════════════════════════════════════════ */

/* ── Google Fonts are loaded in HTML ── */

/* ── CSS Variables ── */
:root {
  /* Colors */
  --bg:           #0a0c0f;
  --bg-2:         #0f1318;
  --bg-3:         #151b22;
  --border:       #1e2730;
  --border-light: #2a3540;

  --green:        #00ff88;
  --green-dim:    #00cc6a;
  --green-glow:   rgba(0, 255, 136, 0.15);
  --green-glow-s: rgba(0, 255, 136, 0.08);

  --red:          #ff4455;
  --yellow:       #ffd700;
  --blue:         #4499ff;

  --text:         #e8edf2;
  --text-muted:   #6b7c8f;
  --text-dim:     #3d4f60;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;

  /* Spacing */
  --section-pad:  120px;
  --container:    1200px;

  /* Borders */
  --radius:       8px;
  --radius-lg:    16px;

  /* Transitions */
  --transition:   0.2s ease;
  --transition-s: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

.accent {
  color: var(--green);
  position: relative;
}

.mono {
  font-family: var(--font-mono);
}

/* ── Section Helpers ── */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid var(--green-glow);
  border-radius: 100px;
  background: var(--green-glow-s);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--text);
  margin-top: 12px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition-s);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--green-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--green-glow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-s);
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-glow-s);
}

.btn-large {
  font-size: 16px;
  padding: 16px 32px;
}

.btn-small {
  font-size: 13px;
  padding: 8px 16px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--green-dim);
}

/* ── Selection ── */
::selection {
  background: var(--green-glow);
  color: var(--green);
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-mono   { font-family: var(--font-mono); }
.text-green  { color: var(--green); }
.text-muted  { color: var(--text-muted); }
.mt-8        { margin-top: 8px; }
.mt-16       { margin-top: 16px; }
.mt-32       { margin-top: 32px; }
