/**
 * AuraMail Design System & Theme CSS
 * Inspired by MotionSites "auramail" aesthetic & React Bits component patterns
 * Project: Home Grocery Public Website (https://homegrocery.online)
 * Author: Santosh Koli
 * 
 * Features:
 * - Deep obsidian navy backdrop with iridescent purple & cyan glowing mesh
 * - Glassmorphic card surfaces (backdrop-filter: blur(16px))
 * - React Bits ShimmerButton & BlurText entrance keyframes
 * - 3D isometric app mockup presentation
 * - 100% accessible, WCAG AA contrast compliant, prefers-reduced-motion respected
 */

:root {
  /* Color Tokens */
  --bg-space: #070b14;
  --bg-deep: #0b1120;
  --bg-surface: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-active: rgba(255, 255, 255, 0.08);

  /* Border Tokens */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.35);
  --border-cyan-glow: rgba(6, 182, 212, 0.4);

  /* Text Tokens */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Accent & Iridescent Glow Tokens */
  --accent-blue: #3b82f6;
  --accent-blue-deep: #1d4ed8;
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #67e8f9;
  --accent-purple: #8b5cf6;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.28);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.3);
  --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.25);

  /* Layout */
  --max-w-content: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s 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 & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-space);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Cosmic Aura Mesh */
.aura-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aura-glow-primary {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 650px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.12) 40%, rgba(139, 92, 246, 0.05) 65%, transparent 75%);
  filter: blur(70px);
  will-change: transform;
}

.aura-glow-secondary {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, rgba(59, 130, 246, 0.06) 50%, transparent 70%);
  filter: blur(85px);
}

.aura-glow-tertiary {
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(37, 99, 235, 0.05) 55%, transparent 75%);
  filter: blur(80px);
}

/* Subtle Micro Grid Texture */
.aura-grid-texture {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Sticky Glass Navbar */
.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-icon-wrapper {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.brand-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.93rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

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

/* Language Switcher Pill */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-badge {
  background: var(--accent-blue);
  color: var(--text-white);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Announcement Top Bar (AuraMail Deep Navy & Electric Cyan Theme) */
.announcement-bar {
  position: relative;
  width: 100%;
  z-index: 90;
  overflow: hidden;
  background: linear-gradient(90deg, #070e1e 0%, #0d1f3c 50%, #070e1e 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.15);
  display: flex;
  align-items: center;
  height: 38px;
}

.announcement-badge-fixed {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 100%;
  background: rgba(11, 22, 44, 0.98);
  border-right: 1px solid rgba(56, 189, 248, 0.25);
  z-index: 10;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #e0f2fe;
  letter-spacing: 0.04em;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.35);
}

.announcement-badge-fixed .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

.announcement-track-wrapper {
  position: relative;
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.announcement-fade-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 24px;
  background: linear-gradient(to right, rgba(11, 22, 44, 0.98), transparent);
  z-index: 2;
  pointer-events: none;
}

.announcement-fade-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 32px;
  background: linear-gradient(to left, rgba(11, 22, 44, 0.98), transparent);
  z-index: 2;
  pointer-events: none;
}

.announcement-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: announcementMarquee 26s linear infinite;
  will-change: transform;
}

.announcement-bar:hover .announcement-marquee-track,
.announcement-bar:active .announcement-marquee-track,
.announcement-track-wrapper:hover .announcement-marquee-track {
  animation-play-state: paused;
}

@keyframes announcementMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  font-size: 0.84rem;
  color: #f8fafc;
}

.marquee-item a {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 6px;
}

.marquee-pill {
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.marquee-star {
  color: rgba(56, 189, 248, 0.75);
  font-size: 0.85rem;
  margin: 0 10px;
  user-select: none;
}

/* React Bits Inspired Shimmer Button */
.shimmer-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  color: var(--text-white);
  background: linear-gradient(135deg, #1d4ed8, #2563eb, #06b6d4);
  background-size: 200% 200%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
  font-family: inherit;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.28) 48%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.28) 52%,
    transparent 80%
  );
  transform: rotate(25deg) translateY(-100%);
  animation: shimmerSweep 4s infinite linear;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { transform: rotate(25deg) translateY(-100%); }
  25% { transform: rotate(25deg) translateY(100%); }
  100% { transform: rotate(25deg) translateY(100%); }
}

.shimmer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.shimmer-btn:active {
  transform: translateY(0);
}

/* Secondary Ghost Glass Button */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
  font-family: inherit;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 70px 0 60px 0;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--accent-cyan-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Hero Title */
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-white);
  max-width: 950px;
  margin: 0 auto 24px auto;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Hamburger 3-Bar Button */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 40px;
  transition: var(--transition-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1010;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
}

.mobile-menu-btn .bar-line {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background 0.2s ease;
  pointer-events: none; /* CRITICAL: prevents span from intercepting button click */
}

/* 3-Bar Hamburger to 'X' Cross Animation when Open */
.mobile-menu-btn.active .bar-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: #38bdf8;
}
.mobile-menu-btn.active .bar-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn.active .bar-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: #38bdf8;
}

/* Mobile Bottom 3-Bar Floating Navigation Dock (Vivo & Mobile Perspective) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  background: #0d1527;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 10px;
  z-index: 999;
  align-items: center;
  gap: 6px;
}

.mobile-bottom-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.mobile-bottom-bar a:hover,
.mobile-bottom-bar a:active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

.mobile-bottom-bar a.active-cta {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: var(--text-white);
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.4);
}

.gradient-text-aura {
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 65%, #67e8f9 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-meta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.84rem;
  margin-bottom: 48px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-item svg {
  color: var(--accent-cyan);
}

/* AuraMail Signature: 3D Central Isometric Device & App Mockup */
.mockup-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  perspective: 1200px;
}

.mockup-device-frame {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.75),
    0 0 50px -10px rgba(59, 130, 246, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-slow);
}

.mockup-inner-screen {
  background: #090e1a;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
  text-align: left;
  overflow: hidden;
}

.mockup-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.mockup-app-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-app-title h4,
.mockup-app-title .mockup-title-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
}

.mockup-badge-offline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Mockup Budget Meter */
.mockup-budget-card {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.35), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.budget-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.budget-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.budget-values {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-white);
}

.budget-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.budget-bar-fill {
  width: 69%;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #10b981);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.budget-subtext {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Mockup Grocery Item Rows */
.mockup-item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mockup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mockup-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.item-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.2);
  border: 1.5px solid var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.75rem;
}

.item-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
}

.item-qty {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-left: 6px;
}

.item-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-cyan-light);
}

/* Mockup Action Footer */
.mockup-actions {
  display: flex;
  gap: 10px;
}

.mockup-action-pill {
  flex: 1;
  text-align: center;
  padding: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Statistics Counter Grid */
.stats-section {
  padding: 40px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-blue);
}

.stat-number {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 4px;
  background: linear-gradient(135deg, #ffffff 40%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Bento Grid Features Section */
.features-section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.15);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-cyan);
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  line-height: 1.35;
}

.bento-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Visual Micro Widget in Bento Card */
.bento-preview-widget {
  margin-top: 24px;
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}

/* 3-Step Workflow Section */
.workflow-section {
  padding: 90px 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.4) 50%, transparent);
  position: relative;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

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

/* Download Gateway Section */
.download-section {
  padding: 90px 0;
  position: relative;
}

.download-hub-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.7), var(--shadow-glow-blue);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
}

.download-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.release-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.channel-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.version-pill {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.download-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
}

.download-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* SHA-256 Box with Copy */
.sha-box {
  background: rgba(7, 11, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

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

.sha-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sha-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
  font-family: inherit;
}

.sha-copy-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-white);
}

.sha-hash-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--accent-cyan-light);
  word-break: break-all;
  line-height: 1.4;
  user-select: all;
}

/* Download QR Card */
.download-qr-card {
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr-box {
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-md);
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.qr-box svg, .qr-box img {
  width: 100%;
  height: 100%;
}

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

/* FAQ Accordion Section */
.faq-section {
  padding: 90px 0;
  position: relative;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  transition: transform var(--transition-fast);
  shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* Unified Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 11, 20, 0.95);
  padding: 60px 0 36px 0;
  position: relative;
  z-index: 10;
}

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

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768px) {
  .toast-container {
    bottom: 84px;
    left: 16px;
    right: 16px;
  }
}

/* Download Access Lock Banner */
.dl-lock-banner {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(127, 29, 29, 0.38);
  border: 1px solid rgba(248, 113, 113, 0.48);
  color: #fecaca;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.dl-lock-banner-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(248, 113, 113, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fca5a5;
  flex-shrink: 0;
}

.dl-lock-banner-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fda4af;
  margin-bottom: 3px;
}

.dl-lock-banner-reason {
  font-size: 0.8rem;
  color: #f8fafc;
  line-height: 1.45;
}

.download-locked-btn {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.45);
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(7, 11, 20, 0.98);
  border-bottom: 1px solid rgba(56, 189, 248, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px 28px 24px;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

@media (min-width: 901px) {
  .mobile-drawer {
    display: none !important;
  }
}

@keyframes drawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-drawer.open {
  display: flex !important;
  animation: drawerSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-drawer a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
}

.mobile-drawer a:hover,
.mobile-drawer a:active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}

/* Responsive Breakpoints (360px, 390px, 430px, 768px, 1024px, 1366px, 1920px) */
@media (max-width: 1024px) {
  .download-hub-card {
    grid-template-columns: 1fr;
  }
  .download-qr-card {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }
  .bento-col-8, .bento-col-4 {
    grid-column: span 12;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  /* Hardware Acceleration & Fast Touch for Vivo and Android Phones */
  * {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Disable heavy multi-layer blur filters on mobile GPUs (prevents scroll lag) */
  .aura-glow-primary,
  .aura-glow-secondary,
  .aura-glow-tertiary {
    display: none !important;
  }
  
  /* Smooth, GPU-friendly single radial gradient for mobile */
  body {
    background: radial-gradient(circle at 50% 0%, #101c38 0%, #070b14 65%) !important;
    padding-bottom: 72px; /* clearance for mobile bottom 3-bar dock */
  }

  /* Replace GPU-taxing backdrop blur with solid high-performance dark backgrounds */
  .site-nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #0d1527 !important;
  }

  .bento-card,
  .stat-card,
  .step-card,
  .faq-item,
  .download-hub-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #0d1527 !important;
    transform: translateZ(0);
    contain: content;
  }

  /* Show floating mobile 3-bar dock */
  .mobile-bottom-bar {
    display: flex;
  }

  .nav-links, .nav-actions .shimmer-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-section {
    padding: 36px 0 24px 0;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .shimmer-btn,
  .hero-cta-group .btn-glass {
    width: 100%;
  }
  .bento-col-6 {
    grid-column: span 12;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .download-hub-card {
    padding: 28px 20px;
  }
}

@media (max-width: 430px) {
  .container {
    padding: 0 16px;
  }
  .mockup-inner-screen {
    padding: 16px 12px;
  }
  .stat-card {
    padding: 18px 12px;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .bento-card {
    padding: 22px 18px;
  }
}

/* Prefers-reduced-motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .shimmer-btn::after {
    display: none;
  }
  .hero-pill-dot {
    animation: none;
  }
  .hero-title {
    animation: none;
  }
}

/* ======================================================== */
/* CRYPTOGRAPHIC DOWNLOAD & INTEGRITY VAULT MODAL STYLES    */
/* ======================================================== */
.dl-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(3, 7, 18, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: dlFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dl-modal-card {
  background: linear-gradient(180deg, #0b1528 0%, #060c18 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 50px rgba(6, 182, 212, 0.2);
  border-radius: 24px;
  max-width: 580px;
  width: 100%;
  max-height: 94vh;
  overflow-y: auto;
  position: relative;
  color: #ffffff;
  animation: dlScaleIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.dl-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.5);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.dl-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dl-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 12px #06b6d4;
  animation: pulseGlow 1.8s infinite;
  flex-shrink: 0;
}

.dl-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.dl-modal-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  display: block;
  margin-top: 2px;
}

.dl-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 25;
  pointer-events: auto;
}

.dl-close-btn svg {
  pointer-events: none;
}

.dl-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  transform: scale(1.05);
}

.dl-meta-pill-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 24px 14px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 14px;
}

.dl-meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.dl-meta-label {
  color: #94a3b8;
}

.dl-meta-val {
  color: #e2e8f0;
  font-weight: 600;
  font-family: monospace;
}

.dl-pill-cyan {
  color: #38bdf8 !important;
  background: rgba(6, 182, 212, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.dl-pipeline-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 24px 18px;
  padding: 0 4px;
}

.dl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.dl-step-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  transition: all 0.25s ease;
}

.dl-step.active .dl-step-indicator {
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.2);
  color: #38bdf8;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.5);
}

.dl-step.completed .dl-step-indicator {
  border-color: #10b981;
  background: #10b981;
  color: #ffffff;
}

.dl-step .dl-step-check {
  display: none;
}

.dl-step.completed .dl-step-check {
  display: block;
}

.dl-step.completed .dl-step-num {
  display: none;
}

.dl-step-text {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.dl-step.active .dl-step-text {
  color: #38bdf8;
}

.dl-step.completed .dl-step-text {
  color: #10b981;
}

.dl-step-line {
  flex: 1;
  height: 2px;
  background: #1e293b;
  margin: -14px 6px 0;
  transition: background 0.3s ease;
}

.dl-step-line.completed {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.dl-progress-container {
  margin: 0 24px 16px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.dl-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.dl-status-label {
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-progress-percent {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.dl-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.dl-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #06b6d4, #2563eb, #38bdf8);
  border-radius: 8px;
  transition: width 0.15s ease-out;
  position: relative;
}

.dl-progress-glow {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  background: #ffffff;
  filter: blur(3px);
  opacity: 0.8;
}

.dl-progress-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.74rem;
  color: #94a3b8;
  font-family: monospace;
}

.dl-checksum-card {
  margin: 0 24px 16px;
  padding: 14px 16px;
  background: rgba(7, 14, 28, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dl-cs-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.74rem;
}

.dl-cs-label {
  color: #94a3b8;
  font-weight: 600;
}

.dl-cs-hash {
  word-break: break-all;
  font-size: 0.72rem;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dl-cs-hash.text-cyan {
  color: #38bdf8;
  border-color: rgba(6, 182, 212, 0.35);
}

.dl-verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 8px;
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 700;
}

.dl-install-guide {
  margin: 0 24px 16px;
  padding: 14px 16px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: dlFadeIn 0.3s ease;
}

.dl-guide-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.dl-guide-content h4 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: #fde047;
  font-weight: 700;
}

.dl-guide-content ol {
  margin: 0;
  padding-left: 18px;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.dl-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.5);
  position: sticky;
  bottom: 0;
  backdrop-filter: blur(8px);
}

.dl-btn-cancel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 25;
  pointer-events: auto;
}

.dl-btn-cancel:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

@keyframes dlFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dlScaleIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 640px) {
  .dl-modal-card {
    border-radius: 20px;
  }
  .dl-modal-header,
  .dl-meta-pill-box,
  .dl-pipeline-steps,
  .dl-progress-container,
  .dl-checksum-card,
  .dl-install-guide,
  .dl-modal-actions {
    margin-left: 14px;
    margin-right: 14px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .dl-meta-pill-box {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .dl-step-text {
    font-size: 0.64rem;
  }
}

/* ======================================================== */
/* OFFICIAL MOBILE APP 3D MOCKUP SHOWCASE (Pure Mobile App) */
/* ======================================================== */
.mockup-wrapper {
  position: relative;
  max-width: 420px;
  margin: 36px auto 0;
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 380px;
  max-width: 92vw;
  background: #030712;
  border: 4px solid #334155;
  border-radius: 46px;
  padding: 14px 10px 18px;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(6, 182, 212, 0.25),
    inset 0 0 10px rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateX(3deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.phone-frame:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-4px);
  box-shadow: 
    0 35px 90px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(6, 182, 212, 0.35);
}

.phone-speaker-notch {
  width: 90px;
  height: 14px;
  background: #090e17;
  border-radius: 10px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-camera {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.phone-speaker {
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: #334155;
}

.phone-screen {
  background: #090e1a;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 16px;
  overflow: hidden;
  text-align: left;
}

.phone-home-indicator {
  width: 110px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  margin: 12px auto 0;
}

/* ======================================================== */
/* COMPLETE WEBSITE RESPONSIVE PERSPECTIVE MATRIX           */
/* (Desktop PC, Laptop Widescreen, Tablet & Mobile Phone)   */
/* ======================================================== */

/* 1. Desktop PC Perspective (Large Screens: 1440px and above) */
@media (min-width: 1440px) {
  .container {
    max-width: 1240px;
  }
  .hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: 1.18rem;
    max-width: 780px;
  }
  .bento-grid {
    gap: 24px;
  }
  .stat-card {
    padding: 32px 28px;
  }
}

/* 2. Laptop Perspective (1024px to 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .container {
    max-width: 1060px;
    padding: 0 24px;
  }
  .hero-title {
    font-size: 2.85rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .phone-frame {
    width: 360px;
  }
}

/* 3. Tablet & Medium Screen Perspective (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 20px;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .bento-col-8,
  .bento-col-4 {
    grid-column: span 6;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 4. Mobile Phone Perspective (Under 768px, specifically Vivo/Android) */
@media (max-width: 767px) {
  body {
    overflow-x: hidden;
    padding-bottom: 74px; /* Dock clearance */
  }
  .container {
    padding: 0 16px;
  }
  .hero-section {
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: 2.05rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group .shimmer-btn,
  .hero-cta-group .btn-glass {
    width: 100%;
    justify-content: center;
  }
  .hero-meta-badges {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .phone-frame {
    width: 100%;
    max-width: 350px;
    border-radius: 38px;
    padding: 10px 8px 14px;
    transform: none; /* Flat rendering on mobile for 60fps */
  }
  .phone-frame:hover {
    transform: none;
  }
  .phone-screen {
    border-radius: 28px;
    padding: 16px 12px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 18px 12px;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .bento-col-8,
  .bento-col-4,
  .bento-col-12 {
    grid-column: span 12;
  }
}

/* 5. Ultra-Compact Mobile Perspective (Under 400px, e.g. Vivo Y/V series) */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 16px 12px;
  }
  .mockup-item-list {
    gap: 8px;
  }
  .mockup-item {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
}
