﻿:root {
  --primary-green: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.4);
  --accent-mint: #34d399;
  --accent-cyan: #06b6d4;
  --studio-bg: #cdd2d6;
  
  --card-bg: rgba(10, 15, 26, 0.88);
  --card-border: rgba(255, 255, 255, 0.14);
  --card-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  
  --text-pure: #ffffff;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-tech: 'Space Grotesk', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  font-family: var(--font-main);
  background-color: var(--studio-bg);
  color: var(--text-pure);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--studio-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: #090e17;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  max-width: 440px;
  width: 90%;
  padding: 2.5rem 2rem;
  background: rgba(18, 24, 38, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

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

.badge-text {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-mint);
}

.loader-title {
  font-family: var(--font-tech);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: #fff;
}

.loader-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px var(--primary-green);
  transition: width 0.1s ease-out;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Fixed Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.875rem 2rem;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.logo-mark {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-circle {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.logo-text {
  font-family: var(--font-tech);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.pro-tag {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #000;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 5px;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  background: var(--primary-green);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary-green);
}

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

.btn-primary-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-primary-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.55);
}

/* Sticky Viewport & Video Canvas */
.sticky-viewport {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--studio-bg);
}

#videoCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

.vignette-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 50%, rgba(10, 15, 26, 0.25) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Scroll Content Overlay Track */
.scroll-track {
  position: relative;
  z-index: 10;
  width: 100%;
  pointer-events: none;
}

.story-section {
  min-height: 120vh;
  display: flex;
  align-items: center;
  padding: 5rem 6vw;
  position: relative;
}

/* Premium High-Contrast Glass Card */
.glass-card {
  pointer-events: auto;
  background: var(--card-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 2.25rem 2.5rem;
  color: #fff;
  position: relative;
  z-index: 11;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.left-card {
  max-width: 500px;
  margin-right: auto;
}

.right-card {
  max-width: 500px;
  margin-left: auto;
}

.center-card {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.full-card {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* Badge Pill */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-mint);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  width: fit-content;
}

.center-card .pill-badge {
  margin-left: auto;
  margin-right: auto;
}

/* Typography */
.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-heading {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-body {
  font-size: 0.98rem;
  color: var(--text-sub);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.max-w-md {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 0.5rem;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
  display: block;
  font-family: var(--font-tech);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-unit {
  font-size: 0.85rem;
  color: var(--accent-mint);
}

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

/* Scroll Mouse Indicator */
.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.mouse-icon {
  width: 20px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.mouse-wheel {
  width: 3px;
  height: 5px;
  background: var(--primary-green);
  border-radius: 2px;
  animation: mouseScroll 1.8s infinite;
}

/* Feature Checklist */
.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-checklist li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.8rem;
}

.check-info strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 2px;
}

.check-info span {
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mini-feature {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-icon {
  font-size: 1.25rem;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}

.mini-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #fff;
}

.mini-feature p {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.45;
}

/* Component Pill Bar */
.component-pill-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.comp-chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-sub);
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.comp-chip i {
  color: var(--primary-green);
}

/* Highlights Card */
.spec-highlights {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hl-value {
  font-family: var(--font-tech);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-mint);
}

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

/* Specs Comparison & Order Box */
.specs-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 2.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.comparison-table .highlight-col {
  background: rgba(16, 185, 129, 0.1);
  color: #fff;
  font-weight: 600;
}

.comparison-table .highlight-col i {
  color: var(--primary-green);
  margin-right: 6px;
}

.comparison-table td i.fa-circle-xmark {
  color: #ef4444;
  margin-right: 6px;
}

.comparison-table td i.fa-triangle-exclamation {
  color: #f59e0b;
  margin-right: 6px;
}

/* Order Box */
.order-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.order-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #fff;
}

.order-info p {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.pricing-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.current-price {
  font-family: var(--font-tech);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.original-price {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.save-badge {
  background: rgba(16, 185, 129, 0.25);
  color: var(--accent-mint);
  border: 1px solid rgba(16, 185, 129, 0.5);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.order-action {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.btn-buy-now {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

.btn-buy-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.65);
}

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

/* Toast Notification */
.toast-notification {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  z-index: 10000;
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid #10b981;
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-notification i {
  color: #10b981;
  font-size: 1rem;
}

/* Keyframe Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes mouseScroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

/* Mobile & Tablet Responsive Layout */
@media (max-width: 1024px) {
  .story-section { padding: 4rem 4vw; min-height: 110vh; }
  .left-card, .right-card { max-width: 440px; }
  .nav-links { display: none; }
}

/* Dedicated Mobile Portrait Optimization */
@media (max-width: 768px) {
  .navbar { padding: 0.65rem 1rem; }
  .logo-text { font-size: 1.05rem; }
  .btn-primary-nav { padding: 6px 14px; font-size: 0.8rem; }
  
  /* Mobile Story Section: Card positioned as compact bottom dock so product stays 100% visible */
  .story-section { 
    padding: 0 0.85rem 1.25rem 0.85rem; 
    min-height: 100vh; 
    display: flex;
    justify-content: center; 
    align-items: flex-end; /* Pin to bottom */
  }

  /* Compact glass card sheet */
  .left-card, .right-card, .center-card, .full-card { 
    max-width: 100%; 
    width: 100%; 
    margin: 0 auto; 
    padding: 1.15rem 1.15rem; 
    border-radius: var(--radius-md);
    background: rgba(10, 15, 26, 0.9);
  }

  .pill-badge {
    margin-bottom: 0.65rem;
    padding: 4px 10px;
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .section-heading {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .section-body {
    font-size: 0.825rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }

  .stats-row { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 0.35rem; 
    margin-bottom: 0.85rem;
  }

  .stat-box { 
    padding: 0.5rem 0.25rem; 
  }

  .stat-number { 
    font-size: 1.15rem; 
    margin-bottom: 2px;
  }

  .stat-unit { font-size: 0.75rem; }
  .stat-label { font-size: 0.65rem; }

  .scroll-indicator { display: none; }

  .feature-checklist { gap: 0.6rem; }
  .feature-checklist li { gap: 0.6rem; }
  .check-icon { width: 22px; height: 22px; font-size: 0.7rem; }
  .check-info strong { font-size: 0.85rem; }
  .check-info span { font-size: 0.75rem; }

  .cards-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .mini-feature { padding: 0.85rem; }
  .mini-icon { font-size: 1rem; margin-bottom: 0.4rem; }
  .mini-feature h4 { font-size: 0.85rem; }
  .mini-feature p { font-size: 0.75rem; }

  .component-pill-bar { gap: 0.4rem; margin-top: 0.6rem; }
  .comp-chip { font-size: 0.7rem; padding: 4px 10px; }

  .spec-highlights { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; padding: 0.75rem; }
  .hl-value { font-size: 1rem; }
  .hl-label { font-size: 0.65rem; }

  .specs-header { margin-bottom: 1rem; }
  .table-responsive { margin-bottom: 1.25rem; }
  .comparison-table th, .comparison-table td { padding: 0.6rem 0.4rem; font-size: 0.75rem; }

  .order-box { 
    flex-direction: column; 
    align-items: flex-start; 
    padding: 1.15rem; 
    gap: 1rem;
  }
  .order-info h3 { font-size: 1.2rem; }
  .current-price { font-size: 1.5rem; }
  .original-price { font-size: 0.95rem; }
  .btn-buy-now { width: 100%; justify-content: center; padding: 0.75rem 1.5rem; font-size: 0.9rem; }
}
