/* ===================================================
   SMS-LAH — Global Stylesheet
   Design System: Purple-Indigo gradient, Dark navy accents
   =================================================== */

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

/* ─── CSS Variables ─────────────────────────────── */
:root {
  --primary: #7C3AED;
  --primary-light: #8B5CF6;
  --primary-dark: #6D28D9;
  --accent: #06B6D4;
  --accent-light: #22D3EE;
  --secondary: #EC4899;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  --bg-900: #0A0A1A;
  --bg-800: #0F0F2A;
  --bg-700: #13132E;
  --bg-600: #1A1A3E;
  --bg-500: #1E1E4A;
  --surface: #16163A;
  --surface-light: #1C1C42;

  --text-100: #FFFFFF;
  --text-200: #F0EEFF;
  --text-300: #C4B5FD;
  --text-400: #A78BFA;
  --text-muted: #6B7280;
  --text-body: #D1D5DB;

  --border: rgba(124, 58, 237, 0.2);
  --border-light: rgba(255, 255, 255, 0.08);
  --glow: 0 0 60px rgba(124, 58, 237, 0.25);

  --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #4F46E5 50%, #0EA5E9 100%);
  --gradient-hero: linear-gradient(135deg, #0A0A1A 0%, #1A0A3E 50%, #0A1A3E 100%);
  --gradient-card: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(79,70,229,0.05) 100%);
  --gradient-text: linear-gradient(135deg, #C4B5FD 0%, #818CF8 50%, #38BDF8 100%);
  --gradient-cta: linear-gradient(135deg, #7C3AED 0%, #6366F1 100%);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.4);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,58,237,0.15);

  --nav-height: 72px;
  --section-padding: 100px 0;
  --container-max: 1200px;
  --container-pad: 0 24px;
}

/* ─── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-900);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Typography ────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-100);
  line-height: 1.2;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { color: var(--text-body); }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout ────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}
.section { padding: var(--section-padding); }
.section-sm { padding: 60px 0; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--text-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.section-badge .dot {
  width: 6px; height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header p {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1.1rem;
  color: var(--text-body);
}

/* ─── Navigation ────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-light);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}
.nav-logo {
  display: flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-100);
}
.nav-logo .logo-icon {
  margin-right: 10px;
  width: 38px; height: 38px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
}
.nav-logo span { color: var(--primary-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--text-100);
  background: rgba(255,255,255,0.06);
}
.nav-links a.active { color: var(--primary-light); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-body);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: rgba(10,10,26,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  padding: 32px 24px;
  gap: 8px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all 0.2s;
  border: 1px solid transparent;
}
.nav-mobile a:hover {
  background: var(--surface);
  color: var(--text-100);
  border-color: var(--border);
}
.nav-mobile .nav-mobile-divider {
  height: 1px;
  background: var(--border-light);
  margin: 8px 0;
}
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s;
  background: rgba(255,255,255,0.1);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gradient-cta);
  color: white;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-100);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid var(--primary-light);
}
.btn-outline:hover {
  background: rgba(124,58,237,0.1);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-body);
  padding: 10px 20px;
}
.btn-ghost:hover { color: var(--text-100); }

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(6,182,212,0.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6,182,212,0.5);
}

/* ─── Cards ─────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.5), transparent);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.4);
  box-shadow: var(--shadow-card);
}

.card-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(124,58,237,0.06);
  filter: blur(40px);
  pointer-events: none;
  transition: 0.5s;
}

/* ─── Feature Icon ──────────────────────────────── */
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
}
.feature-icon.purple { background: rgba(124,58,237,0.2); }
.feature-icon.cyan { background: rgba(6,182,212,0.2); }
.feature-icon.pink { background: rgba(236,72,153,0.2); }
.feature-icon.green { background: rgba(16,185,129,0.2); }
.feature-icon.amber { background: rgba(245,158,11,0.2); }
.feature-icon.blue { background: rgba(59,130,246,0.2); }

/* ─── Badges & Tags ─────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}
.tag-success { background: rgba(16,185,129,0.15); color: #34D399; border: 1px solid rgba(16,185,129,0.2); }
.tag-primary { background: rgba(124,58,237,0.15); color: var(--primary-light); border: 1px solid rgba(124,58,237,0.2); }
.tag-accent { background: rgba(6,182,212,0.15); color: var(--accent-light); border: 1px solid rgba(6,182,212,0.2); }

/* ─── Stats ─────────────────────────────────────── */
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ─── Grid Systems ──────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── Divider ───────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ─── Footer ────────────────────────────────────── */
.footer {
  background: var(--bg-800);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-brand .socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.social-btn:hover {
  background: rgba(124,58,237,0.2);
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text-300); }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--text-300); }

/* ─── Animations ────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(124,58,237,0.3); }
  50% { box-shadow: 0 0 60px rgba(124,58,237,0.6); }
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes count-up {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-glow { animation: glow-pulse 3s ease-in-out infinite; }
.animate-fade-up { animation: fade-up 0.6s ease forwards; }

/* Intersection Observer classes */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

/* ─── Scrollbar ─────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-900); }
::-webkit-scrollbar-thumb {
  background: rgba(124,58,237,0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,0.6); }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-padding: 80px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --section-padding: 64px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}
@media (max-width: 480px) {
  :root { --section-padding: 48px 0; --container-pad: 0 16px; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .stat-number { font-size: 2.2rem; }
}
