/* ==========================================================================
   Type2Earn Premium Stylesheet
   Design Language: Obsidian Dark, Glassmorphism, Neon Highlights & Micro-animations
   ========================================================================== */

/* Design Tokens & Variables */
:root {
  --font-display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colors */
  --bg-primary: #0a0314;
  --bg-secondary: #120624;
  --bg-card: rgba(32, 12, 63, 0.45);
  --bg-card-hover: rgba(45, 18, 88, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Neon Accents */
  --color-cyan: #bd83ff;
  --color-blue: #7b2cbf;
  --color-purple: #5a189a;
  --color-pink: #ff70a6;
  --color-green: #10b981;
  --color-red: #ef4444;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #bd83ff 0%, #7b2cbf 100%);
  --grad-purple: linear-gradient(135deg, #7b2cbf 0%, #ff70a6 100%);
  --grad-border: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  --grad-text: linear-gradient(135deg, #bd83ff 0%, #e0aaff 40%, #ff70a6 100%);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Styling */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Glowing Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--color-purple);
  top: -100px;
  right: -100px;
  animation: orbFloat 20s infinite alternate;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--color-cyan);
  top: 600px;
  left: -200px;
  animation: orbFloat 25s infinite alternate-reverse;
}
.orb-3 {
  width: 600px;
  height: 600px;
  background: var(--color-pink);
  bottom: 200px;
  right: -200px;
  animation: orbFloat 30s infinite alternate;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.1); }
  100% { transform: translate(-30px, -50px) scale(0.9); }
}

/* Typography Utilities */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

p {
  line-height: 1.6;
  color: var(--text-secondary);
}

.text-center { text-align: center; }
.text-green { color: var(--color-green); }
.text-cyan { color: var(--color-cyan); }
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--grad-primary);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.45);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
}

.icon-small {
  width: 16px;
  height: 16px;
}
.icon-right {
  margin-left: 4px;
}

/* Play Store Badge CTA specific */
.play-store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 10px 24px;
  color: #fff;
  transition: var(--transition-normal);
  text-align: left;
}
.play-store-badge:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
  transform: translateY(-3px);
}
.play-store-svg {
  color: var(--color-cyan);
}
.btn-text-wrapper {
  display: flex;
  flex-direction: column;
}
.btn-subtext {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-weight: 500;
}
.btn-maintext {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Sticky Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 8, 12, 0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.logo-text span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-dot {
  animation: pulseCyan 2s infinite alternate;
}
@keyframes pulseCyan {
  0% { r: 6px; fill-opacity: 0.6; }
  100% { r: 9px; fill-opacity: 1; filter: drop-shadow(0 0 4px var(--color-cyan)); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.nav-links a:hover {
  color: var(--text-primary);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

/* Mobile Sidebar Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 200;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: var(--transition-normal);
}
.mobile-menu.active {
  right: 0;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-link:hover {
  color: var(--text-primary);
}
.mobile-cta {
  margin-top: 20px;
  width: 100%;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-card);
  border: 1px solid transparent;
  border-image: var(--grad-border) 1;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Hero Section */
.hero-section {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}
.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-cyan);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-cyan);
  border-radius: 50%;
  animation: pulseGlow 1.5s infinite alternate;
}
@keyframes pulseGlow {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 1; }
}

.hero-title {
  font-size: 4rem;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 580px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-color);
}

/* Phone Mockup Styling */
.hero-visual {
  display: flex;
  justify-content: center;
}
.phone-mockup-wrapper {
  position: relative;
}
.phone-frame {
  width: 290px;
  height: 590px;
  border-radius: 40px;
  background: #11131c;
  border: 10px solid #1c1f2e;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.15);
  position: relative;
  overflow: hidden;
  padding: 10px;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #090a0f;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-speaker {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: #272c3d;
}
.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  border-radius: 4px;
  background: #3c445c;
}

/* Mockup App UI inside screen */
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mockup-logo-area {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}
.mockup-dot {
  width: 8px;
  height: 8px;
  background: var(--color-purple);
  border-radius: 50%;
}
.mockup-balance {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 4px 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-cyan);
}
.mockup-wallet-icon {
  width: 12px;
  height: 12px;
}

.mockup-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mockup-task-title {
  font-size: 0.75rem;
  text-align: center;
  color: var(--text-secondary);
}
.mockup-captcha-box {
  background: #11131c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.mockup-captcha-display {
  width: 160px;
  height: 50px;
}
.mockup-refresh-btn {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
}
.mockup-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup-input-group input {
  background: #161822;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
}
.mockup-submit-btn {
  background: var(--grad-primary);
  color: #000;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8rem;
}

.mockup-success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 15, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mockup-success-overlay.active {
  opacity: 1;
}
.success-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--color-green);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-amount {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-green);
}

.mockup-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-bottom: 10px;
}
.m-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}
.m-stat-val {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}
.m-stat-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Floating Decorative Cards */
.floating-card {
  position: absolute;
  background: rgba(26, 31, 48, 0.7);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(14px);
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.float-card-1 {
  top: 120px;
  left: -60px;
  animation: floatUpDown 6s infinite ease-in-out;
}
.float-card-2 {
  bottom: 80px;
  right: -50px;
  animation: floatUpDown 8s infinite ease-in-out alternate;
}
.f-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.f-card-icon.purple { background: rgba(127, 0, 255, 0.15); color: var(--color-pink); }
.f-card-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--color-green); }
.f-card-icon svg { width: 14px; height: 14px; }
.f-card-info { display: flex; flex-direction: column; }
.f-card-title { font-size: 0.75rem; font-weight: 700; color: #fff; }
.f-card-desc { font-size: 0.65rem; color: var(--text-secondary); }

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

/* Sections Common */
section {
  padding: 100px 0;
}
.section-header {
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-size: 1.05rem;
}

/* Live Demo and Calculator Section Grid */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* Captcha Simulator CSS */
.simulator-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(127,0,255,0.12);
  color: var(--color-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg { width: 18px; height: 18px; }
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--color-green);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulseGlow 1s infinite alternate;
}
.card-description {
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.sim-wrapper {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.sim-captcha-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #11131a;
  border: 1px dashed rgba(255,255,255,0.12);
  padding: 12px 20px;
  border-radius: 8px;
}
.sim-captcha-display {
  height: 60px;
  width: 100%;
  max-width: 220px;
  overflow: hidden;
}
.refresh-btn {
  background: transparent;
  border: none;
  cursor: pointer;
}

.sim-input-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 16px;
}
.input-wrapper {
  position: relative;
}
.text-input {
  width: 100%;
  height: 48px;
  background: #11131a;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0 40px 0 16px;
  color: #fff;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: var(--transition-fast);
}
.text-input:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  outline: none;
}
.input-indicator {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.sim-stats-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
  margin-top: 8px;
}
.sim-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sim-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.sim-stat-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Shake Animation for incorrect captcha */
.shake {
  animation: shakeInput 0.4s ease-in-out;
  border-color: var(--color-red) !important;
}
@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Success Glow Animation */
.success-glow {
  border-color: var(--color-green) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25) !important;
}

/* Earnings Calculator CSS */
.calculator-card {
  display: flex;
  flex-direction: column;
}
.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 32px;
}
.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slider-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}
.slider-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 2px 10px;
  border-radius: 6px;
}
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  transition: transform 0.1s ease;
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.slider-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calc-results {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
}
.result-box {
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.main-result {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
  margin-bottom: 16px;
}
.result-lbl {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.main-result .result-val {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-display);
}
.results-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.results-sub-grid .result-box {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  align-items: center;
}
.results-sub-grid .result-val {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
}
.calc-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}
.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon-wrapper svg { width: 22px; height: 22px; }
.feature-icon-wrapper.cyan { background: rgba(0, 242, 254, 0.1); color: var(--color-cyan); }
.feature-icon-wrapper.purple { background: rgba(127, 0, 255, 0.1); color: var(--color-pink); }
.feature-icon-wrapper.green { background: rgba(16, 185, 129, 0.1); color: var(--color-green); }
.feature-icon-wrapper.red { background: rgba(239, 68, 68, 0.1); color: var(--color-red); }

.feature-card h4 {
  font-size: 1.25rem;
}
.feature-card p {
  font-size: 0.9rem;
}

/* Timeline (How it Works) */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
  position: relative;
}
.steps-timeline::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}
.step-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2;
}
.step-number-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}
.step-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-secondary);
}
.step-item:hover .step-number-box {
  border-color: var(--color-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
  transform: scale(1.05);
}
.step-item:hover .step-number {
  color: var(--color-cyan);
}
.step-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-content h4 {
  font-size: 1.2rem;
}
.step-content p {
  font-size: 0.9rem;
}
.step-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--color-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}
.step-link:hover {
  gap: 8px;
}

/* Statistics simulation banner */
.stats-banner-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stats-banner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat-banner-lbl {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.stat-banner-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stars {
  display: flex;
  gap: 4px;
  color: var(--text-muted);
}
.stars svg { width: 16px; height: 16px; }
.stars svg.fill {
  color: #fbbf24;
  fill: #fbbf24;
}
.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  flex: 1;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.user-avatar-text {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}
.user-avatar-text.purple { background: var(--grad-purple); color: #fff; }
.user-avatar-text.cyan { background: var(--grad-primary); }
.user-avatar-text.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: #fff; }
.user-details {
  display: flex;
  flex-direction: column;
}
.user-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}
.user-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ (Accordion) CSS using modern layout transitions */
.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-normal);
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.faq-trigger {
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
}
.faq-icon {
  transition: transform var(--transition-normal);
}
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-content-inner {
  overflow: hidden;
}
.faq-content-inner p {
  padding: 0 24px 24px;
  font-size: 0.95rem;
}
/* Active accordion state */
.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-cyan);
}

/* Footer Call to Action Banner */
.footer-cta-section {
  padding-bottom: 60px;
}
.cta-card {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.cta-subtitle {
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.app-package-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer Details */
.footer {
  background: #040508;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 0;
}
.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-desc {
  font-size: 0.9rem;
  max-width: 440px;
}
.footer-links-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col h5 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}
.footer-col a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
}
.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.copyright, .disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.disclaimer {
  max-width: 450px;
  text-align: right;
}

/* Micro-animations */
.animate-bounce-y {
  animation: bounceY 1.5s infinite;
}
@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Mobile Fixed CTA Bar Default (Hidden) */
.mobile-fixed-cta {
  display: none;
}

/* ==========================================================================
   Responsiveness & Mobile Adjustments
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-timeline::before {
    display: none;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-banner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 78px;
  }
  .glass-card {
    padding: 20px;
  }
  .mobile-fixed-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    background: rgba(7, 8, 12, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    z-index: 999;
  }
  .fixed-cta-btn {
    width: 100%;
  }
  section {
    padding: 60px 0;
  }
  .nav-links, .nav-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-stats {
    justify-content: center;
    flex-direction: column;
    gap: 16px;
  }
  .hero-stat-divider {
    display: none;
  }
  .floating-card {
    display: none;
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
  .sim-input-row {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
  .disclaimer {
    text-align: center;
  }
  .stats-banner-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-timeline {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .main-result .result-val {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .main-result .result-val {
    font-size: 2.0rem;
  }
}

/* ==========================================================================
   CSS Scroll-driven Reveals (Progressive Enhancement)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes revealIn {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .scroll-reveal {
      animation: revealIn 1s ease backwards;
      animation-timeline: view();
      animation-range: entry 5% cover 30%;
    }
  }
}

/* Fallback class for browsers without scroll-driven support, toggled by JS */
.scroll-reveal-fallback {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-reveal-fallback.active {
  opacity: 1;
  transform: translateY(0);
}
