/* ============================================================
   NOKOS.MY.ID — Main Design System
   Premium dark-mode · Aurora Violet · Glassmorphism
   Inspired by nokos.co.id
   ============================================================ */

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

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand Colors — Aurora Violet / Cyan */
  --primary: #10B981;
  --primary-light: #34D399;
  --primary-dark: #047857;
  --primary-glow: rgba(16, 185, 129, 0.40);
  --accent: #22D3EE;
  --accent-light: #22D3EE;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --danger-light: #F87171;

  /* Background Layers - Aurora Midnight */
  --bg-base: #040812;
  --bg-surface: #070c18;
  --bg-card: #0a101d;
  --bg-card-hover: #111329;
  --bg-glass: rgba(10, 16, 29, 0.7);
  --bg-input: #080d19;
  --bg-navbar: rgba(4, 8, 18, 0.75);
  --bg-navbar-scrolled: rgba(4, 8, 18, 0.97);

  /* Borders */
  --border: rgba(16, 185, 129, 0.20);
  --border-light: rgba(255, 255, 255, 0.06);
  --border-input: rgba(16, 185, 129, 0.32);
  --border-focus: rgba(16, 185, 129, 0.65);

  /* Text */
  --text-primary: #F0F4FF;
  --text-secondary: #94a3b8;
  --text-muted: #4a5568;
  --text-accent: #6EE7B7;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #10B981 0%, #047857 100%);
  --gradient-hero: linear-gradient(180deg, #02060e 0%, #030b18 100%);
  --gradient-card: linear-gradient(145deg, rgba(16, 185, 129, 0.07) 0%, rgba(6, 78, 59, 0.04) 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.18) 0%, transparent 70%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.22);
  --shadow-glow-accent: 0 0 30px rgba(6, 182, 212, 0.2);

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadow for cards */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* ============================================================
   BACKGROUND EFFECTS
   ============================================================ */
.bg-gradient-blob {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-gradient-blob::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -8%;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  animation: blobFloat 14s ease-in-out infinite alternate;
}

.bg-gradient-blob::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(13, 95, 163, 0.1) 0%, transparent 65%);
  border-radius: 50%;
  animation: blobFloat 18s ease-in-out infinite alternate-reverse;
}

/* Mesh + grid overlay utility classes */
.mesh-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(124, 92, 252, 0.18) 0px, transparent 45%),
    radial-gradient(circle at 88% 28%, rgba(96, 165, 250, 0.10) 0px, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(13, 95, 163, 0.20) 0px, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(96, 165, 250, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(96, 165, 250, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

@keyframes blobFloat {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(25px, -18px) scale(1.08);
  }
}

/* Floating animation for cards/badges */
@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.float-anim {
  animation: floatY 6s ease-in-out infinite;
}

.float-anim-delay {
  animation: floatY 7s ease-in-out infinite -3s;
}

/* Marquee */
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-track {
  animation: marqueeScroll 38s linear infinite;
}

.marquee-fast {
  animation: marqueeScroll 22s linear infinite reverse;
}

.marquee-mask {
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Pulse dot */
@keyframes pulseGlow {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(96, 165, 250, .7);
  }

  50% {
    opacity: .7;
    box-shadow: 0 0 0 8px rgba(96, 165, 250, 0);
  }
}

.pulse-dot {
  animation: pulseGlow 2s infinite;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Transparent at top — works on dark hero for both themes */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--bg-navbar-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-light);
}

html.theme-light .navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(0, 0, 0, 0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #7C5CFC 0%, #4F46E5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(124, 92, 252, 0.4);
}

/* Logo text */
.nav-logo-text {
  background: linear-gradient(135deg, #f0f4ff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

/* Nav links */
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(124, 92, 252, 0.08);
}

/* When scrolled: same adapting logic */
.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--text-primary);
  background: rgba(124, 92, 252, 0.08);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

.theme-toggle-btn {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-input) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  padding: 0 !important;
}

.theme-toggle-btn:hover {
  color: var(--primary-light);
  border-color: rgba(124, 92, 252, 0.4) !important;
  box-shadow: 0 0 16px rgba(124, 92, 252, 0.2);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: var(--transition);
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.07);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #7C5CFC 0%, #6366F1 60%, #4F46E5 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(124, 92, 252, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(124, 92, 252, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.btn-outline:hover {
  border-color: rgba(124, 92, 252, 0.5) !important;
  color: var(--primary-light);
  background: rgba(124, 92, 252, 0.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(124, 92, 252, 0.3);
}

html.theme-light .btn-ghost {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-secondary);
}

html.theme-light .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
}

.btn-danger {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: white;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
  border-radius: var(--radius-xl);
}

.btn-icon {
  padding: 10px;
  border-radius: var(--radius-sm);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-loading {
  pointer-events: none;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 252, 0.4), transparent);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(124, 92, 252, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card-glass {
  background: linear-gradient(145deg, rgba(124, 92, 252, 0.06) 0%, rgba(13, 59, 94, 0.04) 100%);
  border: 1px solid rgba(96, 165, 250, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.card-glass:hover {
  border-color: rgba(96, 165, 250, 0.3);
  background: linear-gradient(145deg, rgba(124, 92, 252, 0.1) 0%, rgba(13, 59, 94, 0.07) 100%);
  transform: translateY(-2px);
}

/* Stat tile shimmer */
.stat-tile {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(124, 92, 252, 0.05) 0%, transparent 100%);
  border: 1px solid rgba(96, 165, 250, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.stat-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.08), transparent);
  transition: left .8s ease;
}

.stat-tile:hover::before {
  left: 100%;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(124, 92, 252, 0.6);
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.12);
}

html.theme-light .form-input,
html.theme-light .form-select,
html.theme-light .form-textarea {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
}

html.theme-light .form-input:focus,
html.theme-light .form-select:focus {
  border-color: rgba(124, 92, 252, 0.5);
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.08);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2360a5fa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

html.theme-light .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231d8eed' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 32px 64px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(124, 92, 252, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #93c5fd;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-title .gradient {
  background: linear-gradient(135deg, #A78BFA 0%, #7C5CFC 50%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-stat .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-phone-card {
  background: linear-gradient(145deg, rgba(124, 92, 252, 0.08) 0%, rgba(13, 17, 23, 0.9) 100%);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(20px);
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(124, 92, 252, 0.06);
}

.float-card {
  position: absolute;
  background: rgba(2, 6, 14, 0.85);
  border: 1px solid rgba(96, 165, 250, 0.2);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.float-card-1 {
  top: -20px;
  right: -20px;
  animation: floatY 5s ease-in-out infinite;
}

.float-card-2 {
  bottom: -16px;
  left: -16px;
  animation: floatY 7s ease-in-out infinite -2s;
}

.phone-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.phone-flag {
  font-size: 2rem;
}

.phone-service {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-service small {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.phone-price {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #A78BFA;
}

.phone-number-display {
  background: var(--bg-input);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 16px;
}

.otp-display {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.03));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  margin-bottom: 16px;
}

.otp-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #34D399;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.otp-code {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #34D399;
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
  padding: 96px 32px;
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(124, 92, 252, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #93c5fd;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-title .gradient {
  background: linear-gradient(135deg, #A78BFA 0%, #7C5CFC 50%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   MARQUEE / SERVICE CHIPS
   ============================================================ */
.svc-chip {
  background: rgba(96, 165, 250, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.svc-chip span {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   FEATURES GRID (Bento)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: linear-gradient(145deg, rgba(124, 92, 252, 0.05) 0%, transparent 100%);
  border: 1px solid rgba(96, 165, 250, 0.1);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 252, 0.5), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(96, 165, 250, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.15), rgba(13, 95, 163, 0.1));
  border: 1px solid rgba(124, 92, 252, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 56px;
  right: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 252, 0.3), rgba(124, 92, 252, 0.3), transparent);
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C5CFC, #4F46E5);
  color: white;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(124, 92, 252, 0.4);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   CODE BLOCKS
   ============================================================ */
.code-wrap {
  background: #02060e;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 14px 0;
  border: 1px solid rgba(96, 165, 250, 0.12);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(96, 165, 250, 0.08);
}

.code-lang {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.code-copy {
  cursor: pointer;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: none;
  border: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
}

.code-copy:hover {
  color: #A78BFA;
  background: rgba(124, 92, 252, 0.08);
}

.code-body {
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-x: auto;
  color: #94a3b8;
  white-space: pre;
}

.code-body .kw {
  color: #93c5fd;
}

.code-body .str {
  color: #86efac;
}

.code-body .key {
  color: #A78BFA;
}

.code-body .num {
  color: #fbbf24;
}

.code-body .com {
  color: #475569;
  font-style: italic;
}

.code-body .func {
  color: #a5b4fc;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 14, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: var(--radius-xl);
  padding: 28px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(124, 92, 252, 0.05);
  animation: modalSlideIn 0.2s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(16px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastSlide 0.3s ease;
  pointer-events: all;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

.toast-success {
  border-left: 3px solid #10B981;
}

.toast-error {
  border-left: 3px solid #EF4444;
}

.toast-info {
  border-left: 3px solid #7C5CFC;
}

@keyframes toastSlide {
  from {
    transform: translateX(20px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid rgba(96, 165, 250, 0.08);
  padding: 64px 32px 32px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #A78BFA;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.hidden {
  display: none !important;
}

.w-full {
  width: 100%;
}

.gradient {
  background: linear-gradient(135deg, #A78BFA 0%, #7C5CFC 50%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  filter: grayscale(1);
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 0.85rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-blue {
  background: rgba(124, 92, 252, 0.12);
  color: #A78BFA;
}

.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: #34D399;
}

.badge-red {
  background: rgba(239, 68, 68, 0.1);
  color: #F87171;
}

.badge-yellow {
  background: rgba(245, 158, 11, 0.1);
  color: #FCD34D;
}

.badge-gray {
  background: rgba(100, 116, 139, 0.1);
  color: #94a3b8;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-btn {
  padding: 6px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover {
  background: rgba(124, 92, 252, 0.1);
  border-color: rgba(124, 92, 252, 0.3);
  color: #A78BFA;
}

.page-btn.active {
  background: rgba(124, 92, 252, 0.15);
  border-color: rgba(124, 92, 252, 0.4);
  color: #A78BFA;
}

/* Animate in */
.animate-fade-in {
  animation: fadeIn 0.5s ease both;
}

.stagger-1 {
  animation-delay: 0.05s;
}

.stagger-2 {
  animation-delay: 0.15s;
}

.stagger-3 {
  animation-delay: 0.25s;
}

.stagger-4 {
  animation-delay: 0.35s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Payment */
.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.payment-method-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  background: var(--bg-input);
}

.payment-method-option:hover {
  border-color: rgba(124, 92, 252, 0.3);
  color: var(--text-primary);
}

.payment-method-option.selected {
  border-color: rgba(124, 92, 252, 0.5);
  background: rgba(124, 92, 252, 0.08);
  color: #A78BFA;
}

.payment-method-option span {
  font-size: 1.2rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 64px 20px;
  }

  .hero {
    padding: 80px 20px 48px;
  }

  .footer {
    padding: 48px 20px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BENTO WIDE ACCENT CARD
   ============================================================ */
.bento-card-wide-accent {
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.08) 0%, rgba(13, 59, 94, 0.05) 100%);
}

html.theme-light .bento-card-wide-accent {
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.06) 0%, rgba(13, 95, 163, 0.04) 100%);
  border-color: rgba(124, 92, 252, 0.12) !important;
}

/* ============================================================
   LIGHT MODE — GLOBAL OVERRIDES
   ============================================================ */

/* Navbar light mode */
html.theme-light .navbar {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

html.theme-light .navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(124, 92, 252, 0.12);
}

html.theme-light .nav-logo-text {
  background: linear-gradient(135deg, #0F172A 0%, #6366F1 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Card light mode */
html.theme-light .card {
  border-color: rgba(0, 0, 0, 0.08);
}

html.theme-light .card:hover {
  border-color: rgba(124, 92, 252, 0.2);
}

/* Code blocks — ALWAYS dark regardless of theme */
.code-wrap {
  background: #0d1117 !important;
}

html.theme-light .code-wrap {
  background: #0d1117 !important;
  border-color: rgba(96, 165, 250, 0.12) !important;
}

html.theme-light .code-header {
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom-color: rgba(96, 165, 250, 0.08) !important;
}

html.theme-light .code-body {
  color: #94a3b8 !important;
}

html.theme-light .code-lang {
  color: rgba(148, 163, 184, 0.6) !important;
}

/* Navbar outline button — light mode scrolled */
html.theme-light .navbar.scrolled .btn-outline {
  color: #0F172A;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

html.theme-light .navbar.scrolled .btn-outline:hover {
  color: #6366F1;
}

html.theme-light .code-copy {
  color: rgba(148, 163, 184, 0.6) !important;
}

html.theme-light .code-copy:hover {
  color: #A78BFA !important;
  background: rgba(124, 92, 252, 0.08) !important;
}

/* Gradient text light override — keep blue */
html.theme-light .gradient {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section tag — light mode */
html.theme-light .section-tag {
  color: #6366F1;
  background: rgba(124, 92, 252, 0.07);
  border-color: rgba(124, 92, 252, 0.2);
}

/* Section title/desc light mode */
html.theme-light .section-title {
  color: #0F172A;
}

html.theme-light .section-desc {
  color: #475569;
}

/* Feature cards light mode */
html.theme-light .feature-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

html.theme-light .feature-card:hover {
  border-color: rgba(124, 92, 252, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

html.theme-light .feature-icon {
  background: rgba(124, 92, 252, 0.08);
  border-color: rgba(124, 92, 252, 0.15);
}

html.theme-light .feature-title {
  color: #0F172A;
}

html.theme-light .feature-desc {
  color: #475569;
}

/* Svc chip light mode */
html.theme-light .svc-chip {
  background: rgba(124, 92, 252, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

html.theme-light .svc-chip span:last-child {
  color: #334155;
}

/* Steps light mode */
html.theme-light .step-title {
  color: #0F172A;
}

html.theme-light .step-desc {
  color: #475569;
}

/* Footer light mode */
html.theme-light .footer {
  border-top-color: rgba(0, 0, 0, 0.07);
}

html.theme-light .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.07);
}

html.theme-light .footer-copy {
  color: #94a3b8;
}

html.theme-light .footer-links a {
  color: #475569;
}

html.theme-light .footer-links a:hover {
  color: #6366F1;
}

html.theme-light .footer-col-title {
  color: #94a3b8;
}

html.theme-light .footer-brand p {
  color: #475569;
}

/* Badge light mode */
html.theme-light .badge-blue {
  background: rgba(124, 92, 252, 0.1);
  color: #6366F1;
}

html.theme-light .badge-green {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

html.theme-light .badge-red {
  background: rgba(220, 38, 38, 0.08);
  color: #DC2626;
}

html.theme-light .badge-yellow {
  background: rgba(217, 119, 6, 0.08);
  color: #D97706;
}

html.theme-light .badge-gray {
  background: rgba(100, 116, 139, 0.08);
  color: #64748B;
}

/* Toast light mode */
html.theme-light .toast {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0F172A;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Modal light mode */
html.theme-light .modal {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

html.theme-light .modal-footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html.theme-light .modal-close:hover {
  background: rgba(220, 38, 38, 0.08);
  color: #DC2626;
}

/* Form inputs light mode (global) */
html.theme-light .form-input,
html.theme-light .form-select,
html.theme-light .form-textarea {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0F172A;
}

html.theme-light .form-input::placeholder {
  color: #94a3b8;
}

html.theme-light .form-hint {
  color: #64748B;
}

html.theme-light .form-label {
  color: #475569;
}

/* Pagination light mode */
html.theme-light .page-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #475569;
}

html.theme-light .page-btn:hover {
  background: rgba(124, 92, 252, 0.06);
  border-color: rgba(124, 92, 252, 0.25);
  color: #6366F1;
}

html.theme-light .page-btn.active {
  background: rgba(124, 92, 252, 0.1);
  border-color: rgba(124, 92, 252, 0.3);
  color: #6366F1;
}