/* ═══════════════════════════════════════════════════════════
   ARAWNI — Shared Marketing Site Styles
   arawni.com | AI Business Operating Systems
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --black:   #000000;
  --bg:      #03030a;
  --surface: #080814;
  --blue:    #0088ff;
  --cyan:    #00d4ff;
  --purple:  #7c5cfc;
  --neon:    #00ffff;
  --text:    #f0f0f8;
  --muted:   #6070a0;
  --glass-bg:     rgba(5, 12, 30, 0.65);
  --glass-border: rgba(0, 180, 255, 0.18);
  --glass-glow:   rgba(0, 136, 255, 0.08);
  --noise-opacity: 0.045;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── PARTICLE CANVAS ─────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── CONTENT LAYER ───────────────────────────────────────── */
.site-wrap { position: relative; z-index: 1; }

/* ── GLASS CARD ──────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow:
    0 0 60px var(--glass-glow),
    0 20px 60px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 0 60px rgba(0,100,255,0.04);
  position: relative;
  overflow: hidden;
}

/* Noise texture overlay */
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--noise-opacity);
  pointer-events: none;
  z-index: 0;
}

.glass > * { position: relative; z-index: 1; }

/* ── CHROME LOGO ─────────────────────────────────────────── */
.logo-chrome {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(
    175deg,
    #c8dff8 0%,
    #ffffff 18%,
    #a0c4e8 32%,
    #e8f4ff 48%,
    #7098c0 62%,
    #b8d4f0 78%,
    #ddeeff 92%,
    #8ab0d0 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 0 30px rgba(0, 160, 255, 0.8))
    drop-shadow(0 0 80px rgba(0, 210, 255, 0.4))
    drop-shadow(0 8px 24px rgba(0, 0, 0, 0.9));
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 64px;
  background: rgba(3, 8, 20, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 160, 255, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 0 40px rgba(0, 100, 255, 0.08);
}

.nav-brand {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #00d4ff, #7c5cfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
}

.nav-links a {
  color: rgba(240,240,255,0.65);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--cyan);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 8px;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s !important;
  white-space: nowrap;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #0066ff, #7c5cfc);
  color: #fff;
  box-shadow: 0 0 30px rgba(0,102,255,0.4), 0 8px 20px rgba(0,0,0,0.3);
}
.btn-primary:hover { box-shadow: 0 0 50px rgba(0,102,255,0.6), 0 12px 30px rgba(0,0,0,0.4); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(0,180,255,0.35);
  box-shadow: 0 0 20px rgba(0,180,255,0.08);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0,212,255,0.25);
  color: var(--cyan);
}

/* ── SECTION LAYOUT ──────────────────────────────────────── */
.section {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);
  max-width: 1280px;
  margin: 0 auto;
}

.section-full {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);
}

.section-label {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.section-title span { color: var(--blue); }

.section-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── NEON DIVIDER ────────────────────────────────────────── */
.neon-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
  box-shadow: 0 0 12px var(--cyan);
  margin: 24px 0;
}

/* ── STAT CARDS ──────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0, 160, 255, 0.1);
  border: 1px solid rgba(0, 160, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.stat-item {
  background: rgba(5, 12, 30, 0.7);
  padding: 24px 20px;
  text-align: center;
}

.stat-value {
  font-family: 'Orbitron', monospace;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 136, 255, 0.6);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* ── GRID CARDS ──────────────────────────────────────────── */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.feature-card {
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 80px rgba(0, 136, 255, 0.15),
    0 30px 60px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0,200,255,0.5));
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.card-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── FORM STYLES ─────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(0, 20, 50, 0.5);
  border: 1px solid rgba(0, 160, 255, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.form-control::placeholder { color: rgba(96,112,160,0.6); }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: rgba(3, 5, 15, 0.95);
  border-top: 1px solid rgba(0, 160, 255, 0.1);
  padding: 40px clamp(20px, 5vw, 80px);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-brand {
  font-family: 'Orbitron', monospace;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #00d4ff, #7c5cfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 32px);
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--cyan); }

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0,180,255,0.2);
  background: rgba(0,80,160,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s;
}

.social-icon:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(0,212,255,0.3);
}

.footer-copy {
  font-size: 12px;
  color: rgba(96,112,160,0.5);
}

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 80px) clamp(40px, 5vw, 60px);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(3,8,20,0.98); padding: 20px; border-bottom: 1px solid rgba(0,160,255,0.15); gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes glowPulse {
  0%,100% { text-shadow: 0 0 30px rgba(0,200,255,0.6); }
  50%      { text-shadow: 0 0 60px rgba(0,200,255,0.9), 0 0 100px rgba(0,136,255,0.4); }
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.fade-up { animation: fadeUp 0.8s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.25s; }
.fade-up-3 { animation-delay: 0.4s; }
.fade-up-4 { animation-delay: 0.55s; }

/* ── NEON BADGE ──────────────────────────────────────────── */
.neon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(0,212,255,0.35);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,180,255,0.08);
  box-shadow: 0 0 20px rgba(0,180,255,0.1);
  margin-bottom: 20px;
}

.neon-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: glowPulse 2s ease infinite;
}

/* ── HOLOGRAPHIC RING VISUALIZATION ──────────────────────── */
.holo-viz {
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
}

.holo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  animation: rotateSlow linear infinite;
}

.holo-ring-1 {
  border-color: rgba(0,212,255,0.4);
  animation-duration: 8s;
  box-shadow: 0 0 20px rgba(0,212,255,0.2), inset 0 0 20px rgba(0,212,255,0.1);
}

.holo-ring-2 {
  inset: 20px;
  border-color: rgba(124,92,252,0.5);
  animation-duration: 12s;
  animation-direction: reverse;
}

.holo-ring-3 {
  inset: 50px;
  border-color: rgba(0,136,255,0.6);
  animation-duration: 6s;
  border-style: dashed;
}

.holo-core {
  position: absolute;
  inset: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.15), rgba(124,92,252,0.08), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  animation: glowPulse 3s ease infinite;
}

.holo-data {
  position: absolute;
  font-family: 'Orbitron', monospace;
  font-size: 9px;
  color: rgba(0,212,255,0.6);
  letter-spacing: 0.05em;
  animation: glowPulse 2s ease infinite;
}

.holo-data-1 { top: 30px; right: -20px; }
.holo-data-2 { bottom: 40px; left: -30px; }
.holo-data-3 { top: 50%; left: -40px; transform: translateY(-50%); }

/* ── TOAST NOTIFICATION ──────────────────────────────────── */
.site-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  border: 1px solid rgba(0,212,255,0.3);
  backdrop-filter: blur(20px);
}

.site-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-toast.success {
  background: rgba(0,30,50,0.95);
  color: #00d4ff;
  box-shadow: 0 0 40px rgba(0,180,255,0.3);
}

.site-toast.error {
  background: rgba(30,5,10,0.95);
  color: #ff4757;
  border-color: rgba(255,71,87,0.3);
}

/* ── SKIP-TO-MAIN ACCESSIBILITY LINK ─────────────────────────────────────── */
.skip-to-main {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent, #4f6ef7);
  color: #fff;
  padding: 0.5rem 1.25rem;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 0.5rem 0;
  transition: top 0.15s ease;
}
.skip-to-main:focus {
  top: 0;
  outline: 3px solid var(--accent2, #00d4ff);
  outline-offset: 2px;
}
