/* =============================================
   BASE — variables, reset, typography, body
   ============================================= */

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

/* ── DARK MODE (default) ── */
:root {
  --bg: #08090d;
  --bg-2: #0e1018;
  --bg-3: #13151f;
  --border: rgba(255,255,255,0.08);
  --accent: #6c63ff;
  --accent-2: #a78bfa;
  --accent-glow: rgba(108,99,255,0.35);
  --text: #e8eaf0;
  --text-muted: #7a7f9a;
  --text-dim: #4a4f6a;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
  --shadow-card: 0 4px 40px rgba(0,0,0,0.5);
  --services-bg: var(--bg);
  --packages-bg: var(--bg-2);
  --work-bg: var(--bg-2);
  --contact-bg: var(--bg);
  --nav-bg-idle: rgba(8,9,13,0.8);
  --nav-bg-scroll: rgba(8,9,13,0.97);
  --hero-grid-color: rgba(255,255,255,0.03);
  --card-shadow-hover: 0 20px 60px rgba(0,0,0,0.4);
  --form-bg: var(--bg-2);
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg: #f5f6fa;
  --bg-2: #ffffff;
  --bg-3: #eef0f7;
  --border: rgba(0,0,0,0.09);
  --accent: #5b52f0;
  --accent-2: #7c6ff7;
  --accent-glow: rgba(91,82,240,0.2);
  --text: #1a1b2e;
  --text-muted: #5a5f7a;
  --text-dim: #9a9fb8;
  --white: #1a1b2e;
  --shadow-card: 0 4px 32px rgba(0,0,0,0.1);
  --services-bg: #f0f1f8;
  --packages-bg: #e8eaf5;
  --work-bg: #f5f6fa;
  --contact-bg: #ffffff;
  --nav-bg-idle: rgba(255,255,255,0.85);
  --nav-bg-scroll: rgba(255,255,255,0.98);
  --hero-grid-color: rgba(0,0,0,0.04);
  --card-shadow-hover: 0 20px 60px rgba(91,82,240,0.15);
  --form-bg: #f0f1f8;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- SECTION BASE ---------- */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-badge { display: inline-block; background: rgba(108,99,255,0.15); color: var(--accent-2); border: 1px solid rgba(108,99,255,0.3); border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; margin-bottom: 20px; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; color: var(--text); margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }
