/* ============================================================
   GeoGix – Company Website
   Modern dark theme with playful gaming accents
   ============================================================ */

:root {
  --bg: #0b1020;
  --bg-2: #0f1530;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1f8;
  --text-dim: #a6adc8;
  --text-mute: #6b7393;
  --teal: #5eead4;
  --indigo: #6366f1;
  --violet: #a855f7;
  --grad: linear-gradient(120deg, #5eead4 0%, #6366f1 55%, #a855f7 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }

h1, h2, h3, h4 { font-family: "Space Grotesk", "Outfit", sans-serif; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }

/* ---------- Animated background ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, var(--bg-2) 0%, var(--bg) 60%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; will-change: transform; }
.blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, #5eead4, transparent 70%); top: -120px; left: -80px; animation: float1 18s ease-in-out infinite; }
.blob-2 { width: 600px; height: 600px; background: radial-gradient(circle, #6366f1, transparent 70%); top: 20%; right: -160px; animation: float2 22s ease-in-out infinite; }
.blob-3 { width: 460px; height: 460px; background: radial-gradient(circle, #a855f7, transparent 70%); bottom: -120px; left: 30%; animation: float3 20s ease-in-out infinite; }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(110% 90% at 50% 0%, #000 35%, transparent 75%); }

@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(60px,40px) scale(1.1);} }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(-50px,30px) scale(0.95);} }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(40px,-40px) scale(1.08);} }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.3s var(--ease), border-color 0.3s var(--ease); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(11, 16, 32, 0.72); backdrop-filter: blur(16px); border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; }
.brand-mark { display: inline-flex; }
.brand-name { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { color: var(--text-dim); font-size: 0.95rem; font-weight: 500; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); transition: width 0.25s var(--ease); border-radius: 2px; }
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1rem; padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease); white-space: nowrap; }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn-primary { background: var(--grad); color: #0b1020; box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(99, 102, 241, 0.85); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 72px; }
.hero-inner { text-align: center; max-width: 860px; margin: 0 auto; padding-top: 40px; padding-bottom: 80px; }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); padding: 7px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); margin-bottom: 28px; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 700; margin-bottom: 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-dim); max-width: 620px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 72px; }

.hero-stats { display: flex; gap: 56px; justify-content: center; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: "Space Grotesk", sans-serif; font-size: 2.6rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-mute); margin-top: 6px; letter-spacing: 0.03em; }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-hint span { width: 4px; height: 8px; background: var(--teal); border-radius: 2px; animation: scrolldot 1.6s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-4px);} 50% { opacity: 1;} 100% { opacity: 0; transform: translateY(10px);} }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.018), transparent); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 18px; }
.section-intro { color: var(--text-dim); font-size: 1.1rem; }
.lead { font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--text-dim); max-width: 820px; font-weight: 300; line-height: 1.6; }
.lead { color: #c4cbe4; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease); position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity 0.3s var(--ease); mask: linear-gradient(#000, transparent 40%); }
.card:hover { transform: translateY(-6px); border-color: rgba(94, 234, 212, 0.4); background: var(--surface-2); }
.card-icon { font-size: 2rem; width: 56px; height: 56px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 20px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.97rem; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.values-grid .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.values-list li { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.values-list li:first-child { padding-top: 0; }
.val-no { font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--teal); flex-shrink: 0; padding-top: 2px; }
.values-list h3 { font-size: 1.3rem; margin-bottom: 6px; }
.values-list p { color: var(--text-dim); }

/* ---------- CTA ---------- */
.cta-panel { position: relative; background: linear-gradient(135deg, rgba(99,102,241,0.16), rgba(168,85,247,0.1)); border: 1px solid var(--border); border-radius: 28px; padding: 64px 56px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-content { max-width: 560px; }
.cta-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-content p { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 30px; }
.cta-deco { position: relative; width: 160px; height: 160px; flex-shrink: 0; }
.pin-pulse { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; background: var(--teal); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 0 0 0 rgba(94,234,212,0.5); animation: pinpulse 2.2s ease-out infinite; }
@keyframes pinpulse { 0% { box-shadow: 0 0 0 0 rgba(94,234,212,0.5);} 70% { box-shadow: 0 0 0 60px rgba(94,234,212,0);} 100% { box-shadow: 0 0 0 0 rgba(94,234,212,0);} }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: 64px; margin-top: 40px; background: rgba(0,0,0,0.2); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { color: var(--text-mute); margin-top: 12px; font-size: 0.95rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-nav h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-mute); margin-bottom: 16px; font-family: "Outfit", sans-serif; font-weight: 600; }
.footer-nav a { display: block; color: var(--text-dim); font-size: 0.95rem; padding: 5px 0; }
.footer-nav a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 24px 0; border-top: 1px solid var(--border); color: var(--text-mute); font-size: 0.88rem; }
.footer-legal-links { display: flex; gap: 10px; align-items: center; }
.footer-legal-links a:hover { color: var(--teal); }

/* ---------- Legal pages ---------- */
.legal { padding: 140px 0 90px; }
.legal .container { max-width: 820px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 0.95rem; margin-bottom: 32px; }
.legal-back:hover { color: var(--teal); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.legal .updated { color: var(--text-mute); font-size: 0.9rem; margin-bottom: 48px; }
.legal h2 { font-size: 1.4rem; margin: 44px 0 14px; padding-top: 8px; }
.legal h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--text); }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 18px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--text); }
.legal strong { color: var(--text); font-weight: 600; }
.legal .placeholder { background: rgba(168,85,247,0.12); border: 1px dashed rgba(168,85,247,0.5); border-radius: 4px; padding: 1px 7px; color: #d8b4fe; font-style: normal; }
.legal hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open { display: flex; position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(11,16,32,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 12px 24px 24px; margin-left: 0; }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .values-grid { grid-template-columns: 1fr; gap: 36px; }
  .values-grid .section-head { position: static; }
  .cta-panel { flex-direction: column; text-align: center; padding: 48px 28px; }
  .cta-deco { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { gap: 36px; }
}

@media (max-width: 520px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .stat-num { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .pin-pulse, .scroll-hint span { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
