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

:root {
  --bg: #05050f;
  --bg-card: rgba(10, 15, 30, 0.8);
  --bg-card-hover: rgba(15, 25, 50, 0.9);
  --text: #c8d6e5;
  --text-muted: #6b7fa3;
  --accent: #a855f7;
  --accent-glow: rgba(168, 85, 247, 0.3);
  --energy: #c084fc;
  --border: rgba(168, 85, 247, 0.1);
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --max-w: 1200px;
  --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 3rem;
  background: rgba(5, 5, 15, 0.75);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  color: var(--accent);
  display: flex; align-items: center;
  text-decoration: none;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.8; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.3s; letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  padding: 0.45rem 1.2rem !important;
  border: 1px solid var(--accent); border-radius: 6px;
  color: var(--accent) !important;
  transition: all 0.3s !important;
}
.nav-cta:hover {
  background: var(--accent); color: var(--bg) !important;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600;
  padding: 0.75rem 1.6rem; border-radius: 8px;
  text-decoration: none; transition: all 0.3s;
}
.btn--primary {
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent), var(--energy));
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn--outline {
  color: var(--accent);
  border: 1px solid var(--border);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--accent);
  background: rgba(168, 85, 247, 0.06);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 7rem 2rem 3rem; text-align: center;
  overflow: hidden;
}

/* Radial glow orb */
.hero-glow {
  position: absolute;
  top: 35%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(0, 212, 255, 0.03) 40%, transparent 70%);
  pointer-events: none;
  animation: glow-drift 8s ease-in-out infinite;
}
@keyframes glow-drift {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

/* Subtle dot grid */
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(168, 85, 247, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-inner { max-width: 700px; position: relative; z-index: 1; }

.hero-label {
  font-family: var(--font-mono);
  font-size: 2.2rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--accent); margin-bottom: 70px;
  display: inline-flex; align-items: center; gap: 1rem;
  position: relative;
  overflow: hidden;
}
.hero-label::before,
.hero-label::after {
  content: '';
  width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  flex-shrink: 0;
}
.hero-label::after {
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Flare sweep — pseudo-element overlay */
.hero-label::marker { content: none; }
.hero-label .flare {
  position: absolute;
  top: 0; left: -100%; bottom: 0;
  width: 60%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(168, 85, 247, 0.15) 30%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(168, 85, 247, 0.15) 70%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: flare-sweep 4s ease-in-out 1s infinite;
}
@keyframes flare-sweep {
  0%   { left: -100%; }
  50%  { left: 150%; }
  100% { left: 150%; }
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--text-muted); margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: 3.4rem; font-weight: 700;
  color: var(--text); line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent), var(--energy));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 2.5rem;
  max-width: 560px; margin-left: auto; margin-right: auto;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Trust metrics strip */
.hero-metrics {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  margin-top: 4rem;
  padding: 1.25rem 2rem;
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.metric {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.5rem 2rem; gap: 0.2rem;
}
.metric-value {
  font-family: var(--font-mono);
  font-size: 1.1rem; font-weight: 700;
  color: var(--accent);
}
.metric-label {
  font-size: 0.75rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.metric-divider {
  width: 1px; height: 36px;
  background: var(--border);
}

.scroll-indicator {
  position: absolute; bottom: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--accent); font-size: 0.85rem;
  font-family: var(--font-mono); letter-spacing: 0.1em;
  text-decoration: none; cursor: pointer;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); opacity: 0.7;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── Section common ── */
.section-header { text-align: center; margin-bottom: 3rem; }

.section-title {
  font-family: var(--font-mono);
  font-size: 2.4rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.75rem;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-title.visible { opacity: 1; transform: translateY(0); }

.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ── Split Sections ── */
.split-section {
  padding: 6rem 3rem;
  overflow: hidden;
}

.split-section--alt {
  background: rgba(10, 15, 30, 0.4);
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.split-section--reversed .split-inner {
  direction: rtl;
}
.split-section--reversed .split-inner > * {
  direction: ltr;
}

.split-label {
  font-family: var(--font-mono);
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--accent);
  display: block; margin-bottom: 0.75rem;
}

.split-title {
  font-family: var(--font-mono);
  font-size: 2.4rem; font-weight: 700;
  color: var(--text); line-height: 1.15;
  margin-bottom: 1.25rem;
}
.split-title .highlight {
  background: linear-gradient(135deg, var(--accent), var(--energy));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.split-desc {
  font-size: 1rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 1.5rem;
}

.split-list {
  list-style: none; margin-bottom: 1.5rem;
}
.split-list li {
  position: relative;
  font-size: 0.9rem; color: var(--text-muted);
  padding-left: 1.25rem; margin-bottom: 0.5rem;
  line-height: 1.6;
}
.split-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.split-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tag {
  font-family: var(--font-mono); font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 20px; color: var(--accent);
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* Visual side */
.split-visual {
  display: flex; align-items: center; justify-content: center;
}

.visual-card {
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  color: var(--accent);
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.08);
  transition: all 0.4s;
}
.visual-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 80px rgba(168, 85, 247, 0.15);
  transform: scale(1.03);
}
.visual-card svg {
  width: 100%; height: 100%;
  opacity: 0.7;
}

/* Scroll reveal animations */
.reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translateX(0);
}

/* ── CTA Banner ── */
.cta-banner {
  padding: 6rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.03) 50%, transparent 100%);
}

.cta-inner { max-width: 650px; margin: 0 auto; }

.cta-sub {
  font-size: 1.1rem; color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex; align-items: center;
  gap: 2rem; justify-content: center; flex-wrap: wrap;
}

.contact-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.95rem;
  color: var(--accent); text-decoration: none;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border); border-radius: 8px;
  transition: all 0.3s;
}
.contact-link:hover {
  color: var(--energy);
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.05);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-logo {
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-about {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text); margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
}
.footer-list li { margin-bottom: 0.5rem; }
.footer-list a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.85rem; transition: color 0.3s;
}
.footer-list a:hover { color: var(--accent); }

.footer-address {
  font-style: normal; font-size: 0.85rem;
  color: var(--text-muted); line-height: 1.7;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem; color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  .nav { padding: 0.75rem 1.5rem; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 70%; height: 100vh;
    background: rgba(5, 5, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; gap: 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; z-index: 101; }

  .hero { padding-bottom: 6rem; }
  .hero-label { font-size: 1.6rem; letter-spacing: 0.15em; }
  .hero-title { font-size: 2.4rem; }
  .hero-sub { font-size: 1rem; }
  .hero-glow { width: 400px; height: 400px; }
  .hero-metrics { flex-direction: column; gap: 0; padding: 1rem; }
  .metric { padding: 0.4rem 1.5rem; }
  .metric-divider { width: 60px; height: 1px; }
  .scroll-indicator { position: relative; bottom: auto; margin-top: 2rem; }

  .split-section { padding: 4rem 1.5rem; }
  .split-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-section--reversed .split-inner { direction: ltr; }
  .split-title { font-size: 1.9rem; }
  .visual-card { width: 200px; height: 200px; padding: 2rem; }
  .section-title { font-size: 1.9rem; }

  .cta-banner { padding: 4rem 1.5rem; }
  .contact-links { flex-direction: column; gap: 0.75rem; }

  .footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero-label { font-size: 1.2rem; }
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-glow { width: 300px; height: 300px; }
}
