/* VeoSync Download Page — Premium Dark UI */
:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-2: #1a1a28;
  --border: rgba(99, 102, 241, 0.15);
  --border-hover: rgba(99, 102, 241, 0.35);
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --accent: #8b5cf6;
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
  --glow: rgba(99, 102, 241, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Ambient glows */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  pointer-events: none;
  z-index: 0;
}
.glow-2 {
  top: auto;
  bottom: -200px;
  left: auto;
  right: -100px;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.version-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  text-align: center;
  padding: 80px 40px 60px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}
h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 48px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* Download Cards */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease 0.3s both;
}
.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.download-card:hover, .download-card.recommended {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 60px var(--glow);
}
.download-card:hover::before, .download-card.recommended::before {
  opacity: 1;
}
.download-card.recommended::after {
  content: '✦ Recomendado';
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--gradient);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 36px;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
}
.os-icon {
  color: var(--primary-light);
  margin-bottom: 16px;
}
.download-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.os-version {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.file-info {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.file-size, .file-type {
  font-size: 12px;
  color: var(--text-dim);
  padding: 4px 10px;
  background: var(--surface-2);
  border-radius: 6px;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  justify-content: center;
  font-family: inherit;
}
.download-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px var(--glow);
}
.download-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
.install-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.5;
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Sections */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
  z-index: 1;
}
.section h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.feature-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Requirements */
.req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.req-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
}
.req-card h4 {
  font-size: 18px;
  margin-bottom: 16px;
}
.req-card ul {
  list-style: none;
}
.req-card li {
  font-size: 14px;
  color: var(--text-dim);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.req-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 600;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.step-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  text-align: left;
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover, .faq-item[open] {
  border-color: var(--border-hover);
}
.faq-item summary {
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}
.faq-item summary:hover {
  background: var(--surface);
}
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--primary-light);
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 24px 18px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  position: relative;
  z-index: 1;
}
.footer-sub {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .header { padding: 12px 20px; }
  .nav-links { display: none; }
  .hero { padding: 50px 20px 40px; }
  .download-grid { grid-template-columns: 1fr; max-width: 380px; }
  .features-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 50px 20px; }
}
