/* ═══════════════════════════════════════════════
   DELEVEO — Shared Styles
   Variables, Reset, Cursor, Nav, Footer, Utils
   ═══════════════════════════════════════════════ */

/* ── RESET & VARIABLES ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
input, textarea, select, button, a, label { cursor: none !important; }

:root {
  --black: #080808;
  --white: #f5f5f0;
  --gray-dim: #1a1a1a;
  --gray-mid: #2e2e2e;
  --gray-text: #888;
  --accent: #c8ff00;
  --accent-dim: rgba(200, 255, 0, 0.08);
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ──────────────────────────────── */
.cursor {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(200, 255, 0, 0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}

/* ── NAVIGATION ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s ease, padding 0.3s ease;
}
nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  padding: 18px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 400;
  color: var(--gray-text); text-decoration: none;
  letter-spacing: 0.03em; transition: color 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--accent);
  color: var(--black) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; transform: scale(0.97); }

/* Subpage nav (back button variant) */
nav.nav-sub { background: rgba(8, 8, 8, 0.92); backdrop-filter: blur(20px); padding: 24px 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.nav-back {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-text);
  text-decoration: none; transition: color 0.2s;
}
.nav-back svg { width: 16px; height: 16px; }
.nav-back:hover { color: var(--white); }

/* ── BUTTONS ────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 16px 36px; border-radius: 100px;
  text-decoration: none; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200, 255, 0, 0.25);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 400;
  padding: 16px 36px; border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  cursor: none;
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

/* ── SECTION UTILITIES ──────────────────────────── */
section { padding: 120px 60px; }
.section-label {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  font-weight: 500; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--accent); }
h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.05; margin-bottom: 20px;
}
.section-desc { font-size: 17px; font-weight: 300; color: #888; max-width: 480px; line-height: 1.7; }

/* ── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--black); padding: 60px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
footer p { font-size: 13px; color: #444; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: 13px; color: #444; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

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

/* ── KEYFRAMES ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── RESPONSIVE SHARED ──────────────────────────── */
@media (max-width: 900px) {
  nav        { padding: 20px 28px; }
  nav.scrolled { padding: 16px 28px; }
  nav.nav-sub  { padding: 18px 24px; }
  .nav-links { display: none; }
  footer     { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
}
.hidden { display: none; }

@media (hover: none) and (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}
