/* ================================================
   MAIN.CSS — Reset + CSS Variables + Base Styles
   DarkPlus — darkplus.online
================================================ */

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

:root {
  /* ── PALETTE ── DarkPlus brand: near-black surfaces, #7C5CFF violet, #FFB54A amber ── */
  --void:         #06060B;
  --void-deep:    #030306;
  --surface:      #0D0D15;
  --surface-2:    #12121D;
  --surface-3:    #191926;
  --line:         rgba(255,255,255,0.07);
  --line-strong:  rgba(255,255,255,0.14);

  --violet:       #7C5CFF;
  --violet-bright:#9B82FF;
  --violet-deep:  #5536DB;
  --cyan:         #3BE0E8;
  --amber:        #FFB54A;
  --amber-soft:   #FFD08A;

  --text-main:    #F3F4F9;
  --text-muted:   #A3A7BC;
  --text-dim:     #6B7089;

  /* ── GEOMETRY ── */
  --r-sm:  7px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  32px;

  /* ── SHADOWS ── */
  --sh-sm: 0 1px 4px rgba(0,0,0,0.4);
  --sh-md: 0 6px 24px rgba(0,0,0,0.45);
  --sh-lg: 0 20px 64px rgba(0,0,0,0.6);
  --sh-violet: 0 6px 24px rgba(124,92,255,0.35);

  /* ── TYPOGRAPHY ── */
  --f-display: 'Space Grotesk', sans-serif;
  --f-body:    'Inter', sans-serif;

  /* ── EASING ── */
  --ease: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--f-body);
  color: var(--text-main);
  background: var(--void);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }
ul { list-style: none; }

::selection { background: rgba(124,92,255,0.35); color: #fff; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── SECTION COMMON ── */
section { padding: 104px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--violet-bright); margin-bottom: 14px;
}
.section-eyebrow::before {
  content: ''; width: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet));
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.12; color: var(--text-main); margin-bottom: 16px;
}
.section-sub {
  font-size: 1.025rem; color: var(--text-muted);
  max-width: 540px; line-height: 1.78;
}
.section-header { margin-bottom: 60px; }

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--f-display); font-weight: 600;
  font-size: 0.9rem; letter-spacing: -0.005em;
  background: linear-gradient(135deg, var(--violet-deep) 0%, var(--violet) 100%);
  color: #fff; padding: 14px 28px; border-radius: var(--r-sm);
  transition: all var(--ease);
  box-shadow: var(--sh-violet);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(124,92,255,0.5);
}
.btn-secondary {
  font-family: var(--f-display); font-weight: 500; font-size: 0.9rem;
  color: var(--text-muted); padding: 14px 28px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  transition: all var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover {
  color: var(--text-main); border-color: rgba(124,92,255,0.45);
  background: rgba(124,92,255,0.08);
}
.btn-white {
  font-family: var(--f-display); font-weight: 600; font-size: 0.9rem;
  background: #fff; color: #0B0B12;
  padding: 14px 28px; border-radius: var(--r-sm);
  transition: all var(--ease);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.btn-outline-white {
  font-family: var(--f-display); font-weight: 500; font-size: 0.9rem;
  color: rgba(255,255,255,0.82); padding: 14px 28px;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,0.26);
  transition: all var(--ease);
}
.btn-outline-white:hover {
  color: #fff; border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.08);
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
