/* ─── DTECHTION SHARED STYLES ──────────────────────────── */
:root {
  --purple:        #7B2FFF;
  --purple-light:  #9D5FFF;
  --purple-dim:    rgba(123,47,255,0.10);
  --purple-glow:   rgba(123,47,255,0.28);
  --black:         #0D0D0D;
  --white:         #FFFFFF;
  --bg:            #FFFFFF;
  --bg-alt:        #F7F5FF;      /* very light purple tint for alt sections */
  --bg-card:       #FAFAFA;
  --border:        rgba(123,47,255,0.14);
  --border-light:  rgba(0,0,0,0.07);
  --text-primary:  #0D0D0D;
  --text-secondary:#444444;
  --text-muted:    #888888;
  --green:         #1DB954;
  --font-display:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
}

*, *::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-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── NAV ───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0;
  color: var(--black);
}
.nav-logo .tech { color: var(--purple); letter-spacing: 0; }
.nav-logo-icon {
  width: 36px; height: 36px;
  border: 2px solid var(--purple);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple-dim);
}
.nav-logo-icon svg { width: 22px; height: 22px; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); }
.nav-cta {
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--purple-light);
  box-shadow: 0 4px 18px var(--purple-glow);
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--purple-light);
  box-shadow: 0 6px 28px var(--purple-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid var(--purple);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover {
  background: var(--purple);
  color: var(--white);
}

/* ─── SECTION SHARED ────────────────────────────────────── */
.section-wrap { padding: 100px 5vw; }
.section-wrap.alt { background: var(--bg-alt); }
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}
.accent { color: var(--purple); }

/* ─── PAGE HERO (inner pages) ───────────────────────────── */
.page-hero {
  padding: 140px 5vw 80px;
  text-align: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(123,47,255,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 72px 5vw 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: var(--white); }
.footer-brand p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 240px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: #666; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: #555; }
.footer-badge {
  font-size: 0.75rem;
  color: var(--purple-light);
  background: rgba(123,47,255,0.15);
  border: 1px solid rgba(123,47,255,0.3);
  padding: 4px 14px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
}

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

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
