/* ── KAIJU DESIGNS — SHARED STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --ink:          #08080f;
  --deep:         #0c0c18;
  --card:         rgba(255,255,255,0.025);
  --blue:         #2a4fff;
  --blue-soft:    #3d5cff;
  --purple:       #6b2ddb;
  --purple-mid:   #8b4dff;
  --purple-light: #a87de8;
  --silver:       #b8c2dc;
  --white:        #e8ecff;
  --border:       rgba(107, 45, 219, 0.18);
  --border-hover: rgba(107, 45, 219, 0.38);
  --grad:         linear-gradient(135deg, #2a4fff 0%, #6b2ddb 100%);
  --grad-soft:    linear-gradient(135deg, rgba(42,79,255,0.12) 0%, rgba(107,45,219,0.12) 100%);
  --glow-blue:    0 0 22px rgba(42,79,255,0.25);
  --glow-purple:  0 0 22px rgba(107,45,219,0.25);
  --glow-btn:     0 4px 24px rgba(107,45,219,0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Noise grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
}

/* ── ORBS ── */
.orb { position: fixed; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; animation: floatOrb 20s ease-in-out infinite; }
.orb-1 { width: 550px; height: 550px; background: radial-gradient(circle, rgba(42,79,255,0.18), transparent 70%); top: -180px; left: -180px; }
.orb-2 { width: 450px; height: 450px; background: radial-gradient(circle, rgba(107,45,219,0.15), transparent 70%); bottom: 5%; right: -140px; animation-delay: -7s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(42,79,255,0.1), transparent 70%); top: 45%; left: 38%; animation-delay: -13s; }
@keyframes floatOrb {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(25px,-35px) scale(1.04); }
  66%     { transform: translate(-18px,18px) scale(0.96); }
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 18px 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,8,15,0.75);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  animation: navIn 0.7s ease both;
}
@keyframes navIn { from { opacity:0; transform: translateY(-16px); } to { opacity:1; transform: translateY(0); } }

.nav-logo {
  text-decoration: none; display: flex; align-items: center;
}
.nav-logo-img {
  height: 52px; width: auto; display: block;
  transition: opacity 0.3s;
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--silver); text-decoration: none; font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.4px; position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--grad); transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--grad) !important; color: #fff !important;
  padding: 9px 22px; border-radius: 50px;
  font-weight: 600 !important; font-size: 0.82rem !important;
  letter-spacing: 0.4px !important; transition: opacity 0.3s, transform 0.3s !important;
  box-shadow: var(--glow-btn) !important;
}
.nav-cta:hover { opacity: 0.88; transform: scale(1.03) !important; }
.nav-cta::after { display: none !important; }

/* hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--silver); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SECTION WRAPPERS ── */
.page-section { position: relative; z-index: 2; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 60px; }

/* ── SECTION LABELS ── */
.label {
  display: inline-block; font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--purple-light); margin-bottom: 14px; font-weight: 500;
}
.section-heading {
  font-family: 'Orbitron', monospace; font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 16px;
}
.section-heading .accent {
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub { color: var(--silver); font-size: 1rem; line-height: 1.7; font-weight: 300; max-width: 560px; margin-bottom: 56px; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; text-decoration: none; border-radius: 50px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
  border: none; outline: none;
}
.btn-primary {
  background: var(--grad); color: #fff; padding: 15px 38px;
  font-size: 0.95rem; letter-spacing: 0.3px;
  box-shadow: var(--glow-btn); position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #3d5cff, #8b4dff); opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(107,45,219,0.45); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  background: transparent; color: var(--purple-light);
  padding: 14px 36px; font-size: 0.95rem;
  border: 1px solid rgba(107,45,219,0.35);
}
.btn-outline:hover { border-color: var(--purple-light); background: rgba(107,45,219,0.1); transform: translateY(-2px); }

/* ── CARDS ── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 36px;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: -60%; left: -60%; width: 220%; height: 220%;
  background: radial-gradient(circle, rgba(107,45,219,0.05), transparent 55%);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: 0 16px 48px rgba(107,45,219,0.12); }

/* ── DIVIDER ── */
.divider { width: 48px; height: 2px; background: var(--grad); border-radius: 2px; margin-bottom: 24px; }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  padding: 48px 60px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  font-family: 'Orbitron', monospace; font-weight: 900; font-size: 1.15rem;
  letter-spacing: 2px; text-decoration: none;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
footer p { color: rgba(184,194,220,0.45); font-size: 0.82rem; }
footer a { color: var(--purple-light); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: var(--white); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--silver); font-size: 0.82rem; font-weight: 500; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(8,8,15,0.97); padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .container { padding: 0 24px; }
  footer { padding: 40px 24px; }
}
