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

/* ==========================================
   DESIGN TOKENS (CSS Custom Properties)
   ========================================== */
:root {
  --color-primary: #ec0928;
  --color-primary-rgb: 236, 9, 40;
  --color-primary-glow: rgba(236, 9, 40, 0.15);
  --color-secondary: #0066ff;
  --color-secondary-rgb: 0, 102, 255;
  --color-secondary-glow: rgba(0, 102, 255, 0.2);
  --color-tertiary: #8a2be2;
  --color-tertiary-rgb: 138, 43, 226;
  --color-tertiary-glow: rgba(138, 43, 226, 0.25);

  --color-bg-deep: #07090e;
  --color-bg-card: rgba(15, 19, 28, 0.45);
  --color-bg-card-hover: rgba(20, 26, 39, 0.65);
  --color-bg-glass: rgba(15, 19, 28, 0.75);

  --color-text-primary: #ffffff;
  --color-text-secondary: #98a2b3;
  --color-text-muted: #5c6470;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(236, 9, 40, 0.4);

  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--color-bg-deep);
  color: var(--color-text-secondary);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(236, 9, 40, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(138, 43, 226, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.02) 0%, transparent 50%);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
  z-index: -3;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.14;
  transition: var(--transition-smooth);
  will-change: transform;
}

.bg-glow-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 80%);
}

.bg-glow-2 {
  top: 40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 80%);
}

.bg-glow-3 {
  bottom: -10%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--color-tertiary) 0%, transparent 80%);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* ==========================================
   LAYOUT CONTAINERS
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary), #ff5d75);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--color-primary-glow);
}

.logo-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link.active::after, .nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-primary);
  box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
  background-color: #ff1c3c;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(236, 9, 40, 0.3);
}

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

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  position: absolute;
  left: 0;
  transition: var(--transition-smooth);
}

.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 18px; }

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  padding-top: 140px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  background-color: rgba(236, 9, 40, 0.1);
  border: 1px solid rgba(236, 9, 40, 0.2);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: pulse-border 2s infinite;
}

.badge-new .pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
  animation: pulse-dot 1.5s infinite;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 60%, #a2a8b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-primary), #ff637e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-download-area {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
}

.download-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #000;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 24px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.download-badge:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.download-badge svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.download-badge-text {
  display: flex;
  flex-direction: column;
}

.download-badge-text .subtitle {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.download-badge-text .title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-top: -2px;
}


/* ==========================================
   CSS IPHONE MOCKUP
   ========================================== */
.iphone-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.iphone-mockup {
  position: relative;
  width: 290px;
  height: 590px;
  background-color: #000;
  border-radius: 40px;
  box-shadow: 
    0px 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 0 12px #1c1d21,
    0 0 0 13px #3d3e42;
  overflow: hidden;
  border: 4px solid #000;
}

/* Dynamic Island */
.iphone-island {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 85px;
  height: 22px;
  background-color: #000;
  border-radius: 20px;
  z-index: 100;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.1);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background-color: #090c10;
  padding: 48px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 12px;
  overflow: hidden;
}

/* Screen components for iPhone Mockup */
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-logo {
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-logo span {
  color: var(--color-primary);
}

.mock-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-tertiary));
}

.mock-search-bar {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-search-bar svg {
  width: 12px;
  height: 12px;
  fill: var(--color-text-muted);
}

.mock-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-card-header {
  display: flex;
  justify-content: space-between;
  color: var(--color-text-secondary);
  font-size: 10px;
}

.mock-card-value {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.mock-sparkline {
  height: 40px;
  width: 100%;
}

.mock-sparkline path {
  stroke: var(--color-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: hidden;
}

.mock-list-title {
  color: var(--color-text-secondary);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.mock-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  animation: fade-slide-up 0.5s ease;
}

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

.mock-item-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background-color: rgba(236, 9, 40, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.mock-item-info {
  display: flex;
  flex-direction: column;
}

.mock-item-title {
  color: #fff;
  font-weight: 600;
}

.mock-item-time {
  font-size: 9px;
  color: var(--color-text-muted);
}

.mock-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.mock-item-val {
  font-weight: 600;
  color: #fff;
}

.mock-item-status {
  font-size: 9px;
  color: #10b981; /* Green success */
}

/* Ambient glow behind mockup */
.iphone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 620px;
  background: radial-gradient(circle, rgba(236, 9, 40, 0.12) 0%, transparent 60%);
  z-index: -1;
  filter: blur(20px);
}

/* ==========================================
   LIVE DASHBOARD / STATS SECTION
   ========================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-5px);
  background-color: var(--color-bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.stat-card-red:hover {
  box-shadow: 0 10px 30px rgba(236, 9, 40, 0.08);
  border-color: rgba(236, 9, 40, 0.3);
}
.stat-card-red:hover::before {
  background-color: var(--color-primary);
}

.stat-card-blue:hover {
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.3);
}
.stat-card-blue:hover::before {
  background-color: var(--color-secondary);
}

.stat-card-purple:hover {
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.08);
  border-color: rgba(138, 43, 226, 0.3);
}
.stat-card-purple:hover::before {
  background-color: var(--color-tertiary);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  color: var(--color-text-secondary);
}

.stat-card-red .stat-icon { color: var(--color-primary); background-color: rgba(236, 9, 40, 0.06); }
.stat-card-blue .stat-icon { color: var(--color-secondary); background-color: rgba(0, 102, 255, 0.06); }
.stat-card-purple .stat-icon { color: var(--color-tertiary); background-color: rgba(138, 43, 226, 0.06); }

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.stat-footer {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-trend-up {
  color: #10b981;
  font-weight: 600;
}

.stat-trend-down {
  color: var(--color-primary);
  font-weight: 600;
}

.sparkline-svg {
  width: 100px;
  height: 30px;
}

.sparkline-svg path {
  stroke: var(--color-primary);
  stroke-width: 1.5;
  fill: none;
}

/* ==========================================
   FEATURES GRID SECTION
   ========================================== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-tag {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.5px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  background-color: var(--color-bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.feature-card:nth-child(1) .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(236, 9, 40, 0.1) 0%, rgba(236, 9, 40, 0.02) 100%);
  border: 1px solid rgba(236, 9, 40, 0.2);
  color: var(--color-primary);
}

.feature-card:nth-child(2) .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 102, 255, 0.02) 100%);
  border: 1px solid rgba(0, 102, 255, 0.2);
  color: var(--color-secondary);
}

.feature-card:nth-child(3) .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(138, 43, 226, 0.02) 100%);
  border: 1px solid rgba(138, 43, 226, 0.2);
  color: var(--color-tertiary);
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
}

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

/* ==========================================
   APP PREVIEW CAROUSEL SECTION
   ========================================== */
.preview-showcase {
  background-color: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.carousel-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.carousel-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.carousel-tab-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.carousel-tab {
  background: none;
  border: none;
  text-align: left;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.carousel-tab h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

.carousel-tab p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.carousel-tab.active {
  background-color: var(--color-bg-card);
  border-color: var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.carousel-tab.active h4 {
  color: var(--color-text-primary);
}

.carousel-tab.active p {
  opacity: 1;
  max-height: 80px;
  margin-top: 4px;
}

.carousel-tab-red.active {
  border-left: 3px solid var(--color-primary);
  box-shadow: 0 4px 20px rgba(236, 9, 40, 0.03);
}

.carousel-tab-blue.active {
  border-left: 3px solid var(--color-secondary);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.03);
}

.carousel-tab-purple.active {
  border-left: 3px solid var(--color-tertiary);
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.03);
}

.carousel-view {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 580px;
}

.carousel-slides {
  position: relative;
  width: 270px;
  height: 550px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

/* Custom screen UI elements for slide previews */
.mock-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mock-detail-label {
  color: var(--color-text-muted);
  font-size: 10px;
}

.mock-detail-value {
  color: #fff;
  font-weight: 500;
  font-size: 10px;
  text-align: right;
  max-width: 120px;
  word-break: break-all;
}

.mock-alert-box {
  background-color: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.mock-alert-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  margin-top: 4px;
}

.mock-alert-text {
  font-size: 9px;
  color: #fff;
  line-height: 1.3;
}

.mock-pie-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.mock-pie {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: conic-gradient(
    var(--color-primary) 0% 65%,
    var(--color-secondary) 65% 85%,
    var(--color-tertiary) 85% 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.mock-pie::after {
  content: '';
  position: absolute;
  width: 58px;
  height: 58px;
  background-color: #090c10;
  border-radius: 50%;
}

.mock-pie-label {
  position: absolute;
  z-index: 5;
  font-weight: 700;
  color: #fff;
  font-size: 11px;
}

/* ==========================================
   DOWNLOAD / CTA SECTION
   ========================================== */
.download-section {
  padding: 120px 0;
  overflow: hidden;
}

.download-box {
  background: linear-gradient(135deg, rgba(16, 20, 31, 0.6) 0%, rgba(8, 10, 15, 0.4) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.download-box::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 9, 40, 0.06) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.download-box-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  z-index: 1;
}

.download-box-title {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}

.download-box-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.download-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.download-stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 10px;
}

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

.download-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.download-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: #04060a;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 30px;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse-border {
  0% { border-color: rgba(236, 9, 40, 0.2); }
  50% { border-color: rgba(236, 9, 40, 0.6); }
  100% { border-color: rgba(236, 9, 40, 0.2); }
}

@keyframes scan-line {
  0% { top: 0%; }
  50% { top: calc(100% - 3px); }
  100% { top: 0%; }
}

@keyframes fade-slide-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .badge-new {
    align-self: center;
  }
  
  .hero-download-area {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .carousel-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .carousel-info {
    order: 2;
  }
  
  .carousel-view {
    order: 1;
    height: 460px;
    align-items: flex-start;
  }
  
  .carousel-slides {
    width: 290px;
    height: 590px;
    transform: scale(0.75);
    transform-origin: top center;
  }
  
  .download-box {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
    text-align: center;
  }
  
  .download-badges {
    justify-content: center;
  }
  
  .download-stats-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: rgba(7, 9, 14, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s;
    pointer-events: none;
  }
  
  .nav.nav-mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  .nav-mobile-open .nav-link {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-link:nth-child(1) { transition-delay: 0.1s; }
  .nav-link:nth-child(2) { transition-delay: 0.15s; }
  .nav-link:nth-child(3) { transition-delay: 0.2s; }
  .nav-link:nth-child(4) { transition-delay: 0.25s; }
  
  .header-cta .btn-secondary {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-download-area {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  
  .download-badge {
    justify-content: center;
  }
}
