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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00aaff;
  --primary-dark: #0088cc;
  --secondary: #ff3366;
  --dark: #0a0a0f;
  --darker: #050508;
  --light: #f0f5ff;
  --gray: #2a2a3a;
  --gray-light: #3a3a4a;
  --success: #00cc88;
  --warning: #ffaa00;
  --danger: #ff3366;
  
  --gradient-primary: linear-gradient(135deg, #00aaff, #3366ff);
  --gradient-secondary: linear-gradient(135deg, #ff3366, #ff6600);
  --gradient-dark: linear-gradient(135deg, #0a0a0f, #1a1a2a);
  
  --shadow-lg: 0 20px 60px rgba(0, 170, 255, 0.15);
  --shadow-xl: 0 25px 80px rgba(0, 170, 255, 0.25);
  --shadow-inner: inset 0 2px 10px rgba(0, 0, 0, 0.5);
  
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--darker);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 170, 255, 0.1);
}

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

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

.nav-logo {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px var(--primary));
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav-link:hover::after {
  width: 100%;
}

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

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light);
  transition: var(--transition);
}

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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0, 170, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 51, 102, 0.1) 0%, transparent 50%);
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(5, 5, 8, 0.9) 0%, rgba(10, 10, 15, 0.7) 100%);
}

.hero-content {
  text-align: center;
  padding: 120px 20px 80px;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 170, 255, 0.1);
  border: 1px solid var(--primary);
  border-radius: 50px;
  margin-bottom: 40px;
}

.badge-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-logo-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 40px;
}

.hero-logo {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 30px var(--primary));
  animation: float 6s ease-in-out infinite;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.3;
  filter: blur(40px);
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.title-line {
  display: block;
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #a0a0c0;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.highlight-text {
  color: var(--primary);
  font-weight: 600;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: #a0a0c0;
  font-size: 0.9rem;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}

.download-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.download-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.download-btn-primary:hover::before {
  left: 100%;
}

.download-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-icon {
  font-size: 1.2rem;
}

.btn-subtext {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 4px;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

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

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  font-size: 0.9rem;
}

.badge-icon {
  color: var(--primary);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #a0a0c0;
  font-size: 0.9rem;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  margin: 0 auto 10px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 10px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { top: 10px; opacity: 1; }
  100% { top: 30px; opacity: 0; }
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 100px 0;
  background: var(--dark);
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.title-prefix,
.title-suffix {
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.5;
}

.section-subtitle {
  color: #a0a0c0;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  margin-bottom: 24px;
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(0, 170, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: white;
}

.feature-description {
  color: #a0a0c0;
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  color: #a0a0c0;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ===== SCREENSHOTS SECTION ===== */
.screenshots {
  padding: 100px 0;
  background: var(--darker);
}

.screenshot-container {
  max-width: 1000px;
  margin: 0 auto;
}

.screenshot-main {
  margin-bottom: 40px;
}

.browser-frame {
  background: var(--dark);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browser-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-controls {
  display: flex;
  gap: 8px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 20px;
  color: #a0a0c0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

.screenshot-image {
  height: 500px;
  background: linear-gradient(45deg, rgba(0, 170, 255, 0.1), rgba(255, 51, 102, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.screenshot-thumbnails {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumbnail {
  width: 200px;
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.thumbnail.active::before {
  opacity: 0.3;
}

.thumbnail:hover::before {
  opacity: 0.2;
}

.thumbnail-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  font-size: 0.9rem;
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
  padding: 100px 0;
  background: var(--dark);
}

.download-card {
  background: var(--gradient-dark);
  border-radius: var(--border-radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 170, 255, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.download-content {
  position: relative;
  z-index: 1;
}

.download-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.download-subtitle {
  color: #a0a0c0;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.download-info {
  margin: 40px 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-text strong {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.info-text span {
  color: #a0a0c0;
  font-size: 0.9rem;
}

.download-actions {
  margin-top: 40px;
}

.download-btn-large {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  padding: 25px 40px;
  border-radius: var(--border-radius-lg);
  margin-bottom: 30px;
  transition: var(--transition);
}

.download-btn-large:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.btn-icon-large {
  font-size: 2rem;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.btn-text strong {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.btn-text span {
  opacity: 0.8;
  font-size: 0.9rem;
}

.version-info {
  color: #a0a0c0;
}

.version-info p {
  margin-bottom: 8px;
}

.system-requirements {
  font-size: 0.9rem;
  opacity: 0.7;
}

.download-stats {
  position: relative;
  z-index: 1;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

.stat-circle {
  text-align: center;
}

.circle-progress {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) var(--percent, 0%), transparent 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  position: relative;
}

.circle-progress::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--dark);
  border-radius: 50%;
}

.percent {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: #a0a0c0;
  font-size: 0.9rem;
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: 100px 0;
  background: var(--darker);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-toggle {
  color: var(--primary);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 500px;
}

.faq-answer p {
  color: #a0a0c0;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(5, 5, 8, 0.95);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 10px var(--primary));
}

.brand-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.brand-info p {
  color: #a0a0c0;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.link-group h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: white;
}

.link-group a {
  display: block;
  color: #a0a0c0;
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition);
  font-size: 0.95rem;
}

.link-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0a0c0;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 8px;
}

.footer-note {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .download-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-menu-btn {
    display: flex;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .screenshot-thumbnails {
    flex-direction: column;
    align-items: center;
  }
  
  .thumbnail {
    width: 100%;
    max-width: 300px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .download-card {
    padding: 30px;
  }
  
  .download-title {
    font-size: 2rem;
  }
}

/* ===== SCREENSHOT STYLES ===== */
.screenshot-display {
  height: 500px;
  background: #050508;
  position: relative;
  overflow: hidden;
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: #050508;
}

.screenshot-img.active {
  opacity: 1;
}

.thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--border-radius);
}

.thumbnail.active .thumbnail-img {
  border: 2px solid var(--primary);
}

.screenshot-description {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--primary);
}

.screenshot-description h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: white;
}

.screenshot-description p {
  color: #a0a0c0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.stat-detail {
  font-size: 0.8rem;
  color: #a0a0c0;
  margin-top: 5px;
}

.version-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 170, 255, 0.1);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.9rem;
  margin-right: 10px;
}

.footer-tagline {
  color: #a0a0c0;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Screenshot navigation */
.screenshot-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.nav-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.nav-dot:hover {
  background: var(--primary);
}