/* =====================================================
   base.css — Global Variables, Reset, Buttons, Helpers
   Edit this file to change: colors, fonts, spacing
===================================================== */

/* ── CSS Variables ── */
:root {
  /* Colors */
  --bg:      #080c14;
  --bg2:     #0c1120;
  --card:    #111827;
  --card2:   #16203a;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);
  --accent:  #7c5cfc;   /* ← Change this to rebrand the whole site */
  --accent2: #5b8af5;
  --accent3: #c084fc;
  --green:   #4ade80;
  --yellow:  #facc15;
  --orange:  #f97316;
  --text:    #e8eaf0;
  --text2:   #8892a4;
  --text3:   #4a556a;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Layout */
  --nav-h:  68px;
  --max-w:  1180px;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);

  /* Easing */
  --ease:  cubic-bezier(0.25,0.46,0.45,0.94);
  --ease2: cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; }
body   { font-family: var(--font-body); background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; cursor: none; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { font-family: var(--font-body); }
strong { font-weight: 600; color: var(--text); }

/* ── Scrollbar ── */
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── Custom Cursor ── */
.cursor-dot {
  position: fixed; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: background 0.2s;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 2px solid rgba(124,92,252,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor-ring.hovered {
  width: 54px; height: 54px;
  border-color: var(--accent);
  background: rgba(124,92,252,0.06);
}

/* ── Layout ── */
section    { padding: 100px 0; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; width: 100%; }
.section-alt { background: var(--bg2); }

.section-header { text-align: center; }
.section-title  { font-family: var(--font-display); font-size: clamp(2.1rem,4.2vw,3rem); font-weight: 800; margin-bottom: 10px; }
.section-sub    { color: var(--text2); font-size: 0.975rem; margin-bottom: 16px; }
.section-line   { width: 48px; height: 3px; background: linear-gradient(90deg,var(--accent),var(--accent2)); border-radius: 2px; margin: 0 auto 60px; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-size: 0.9rem; font-weight: 600; border: none; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.btn-primary:hover { background: #6a4aed; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,92,252,0.45); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
  font-size: 0.9rem; font-weight: 500; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
