/* ==========================================================
   VeloFlux Pro - Official Modern Landing Page Stylesheet
   Design Language: Cyberpunk Dark Glassmorphism / Neon Futurism
   Typography: Outfit (Headings) + Inter (Body)
   ========================================================== */

:root {
  --bg-dark: #070A12;
  --bg-secondary: #0D1322;
  --bg-card: rgba(16, 23, 42, 0.75);
  --bg-card-hover: rgba(23, 34, 62, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --cyan: #00F5D4;
  --cyan-light: #7BFFE9;
  --cyan-glow: rgba(0, 245, 212, 0.35);
  
  --purple: #7B2CBF;
  --purple-light: #9D4EDD;
  --purple-glow: rgba(123, 44, 191, 0.35);
  
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 245, 212, 0.4);
  --border-purple: rgba(157, 78, 221, 0.4);
  
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(0, 245, 212, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(123, 44, 191, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(0, 245, 212, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Typography */
h1, h2, h3, h4, .brand-title {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan-light) 0%, var(--cyan) 40%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 10, 18, 0.8);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-normal);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.brand-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(0, 245, 212, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 245, 212, 0.3);
  margin-left: 6px;
}

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

.nav-item {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-item:hover {
  color: var(--cyan-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-actions .btn {
  padding: 10px 18px;
  font-size: 13px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #00BFA5 100%);
  color: #050B14;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 245, 212, 0.5);
  background: linear-gradient(135deg, var(--cyan-light) 0%, var(--cyan) 100%);
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--purple-glow);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(157, 78, 221, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  background: var(--bg-card-hover);
  color: var(--cyan-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

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

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-light);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.15);
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.12;
}

.hero-desc {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
}

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

.os-selector-note {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.os-selector-note a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* App Showcase Mockup */
.mockup-container {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(0, 245, 212, 0.12) 0%, rgba(123, 44, 191, 0.12) 50%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.app-window {
  position: relative;
  z-index: 1;
  background: rgba(14, 20, 36, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 245, 212, 0.15);
  overflow: hidden;
  text-align: left;
}

.window-header {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: rgba(10, 14, 26, 0.6);
  border-bottom: 1px solid var(--border);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-title {
  margin-left: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 480px;
}

.mockup-sidebar {
  background: rgba(8, 12, 22, 0.7);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 100%;
  text-align: left;
}

.mockup-nav-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.mockup-nav-btn.active {
  color: var(--cyan);
  background: rgba(0, 245, 212, 0.1);
  border-color: rgba(0, 245, 212, 0.25);
  font-weight: 600;
}

.mockup-content {
  padding: 24px 30px;
  background: rgba(14, 20, 36, 0.4);
}

.mockup-view {
  display: none;
}
.mockup-view.active {
  display: block;
}

/* Mockup Internal Elements */
.demo-url-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.demo-url-text {
  font-family: monospace;
  font-size: 13px;
  color: var(--cyan-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-media-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.demo-thumb {
  width: 130px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1E293B, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.demo-meta h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 6px;
}

.demo-meta p {
  font-size: 12px;
  color: var(--text-muted);
}

.demo-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 8px;
  background: rgba(0, 245, 212, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 245, 212, 0.3);
}

.demo-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
}

.demo-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple-light));
  border-radius: 4px;
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* Stats Ribbon */
.stats-ribbon {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(13, 19, 34, 0.5);
  margin-top: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--cyan);
  margin-bottom: 4px;
  font-weight: 800;
}

.stat-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Features Grid */
.features-section {
  padding: 100px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 245, 212, 0.15);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--cyan);
}

.feature-icon-purple {
  background: rgba(123, 44, 191, 0.15);
  border-color: rgba(157, 78, 221, 0.3);
  color: var(--purple-light);
}

.feature-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

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

/* Comparison Table */
.comparison-section {
  padding: 80px 0;
}

.table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.comp-table th, .comp-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.comp-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.comp-table tr:last-child td {
  border-bottom: none;
}

.highlight-col {
  background: rgba(0, 245, 212, 0.04);
  font-weight: 600;
  color: #fff;
}

.highlight-col-header {
  background: rgba(0, 245, 212, 0.08) !important;
  color: var(--cyan) !important;
}

.check { color: var(--success); font-weight: bold; }
.cross { color: var(--error); font-weight: bold; }

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
  border-color: var(--purple-light);
  background: linear-gradient(180deg, rgba(28, 20, 52, 0.8) 0%, rgba(16, 23, 42, 0.9) 100%);
  box-shadow: 0 0 35px rgba(123, 44, 191, 0.25);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--purple-light), var(--cyan));
  color: #050B14;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.plan-name {
  font-size: 22px;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 38px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.plan-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-secondary);
}

.plan-amount {
  font-size: 46px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  line-height: 1;
}

.plan-period {
  font-size: 14px;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: "✓";
  color: var(--cyan);
  font-weight: bold;
}

.pricing-guarantee {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* FAQ Accordion */
.faq-section {
  padding: 80px 0;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-arrow {
  transition: transform var(--transition-normal);
  color: var(--cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.active {
  border-color: var(--border-focus);
}

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

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

/* Final CTA */
.final-cta {
  padding: 80px 0 100px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(16, 23, 42, 0.9) 0%, rgba(30, 20, 58, 0.9) 100%);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 0 50px rgba(123, 44, 191, 0.2);
}

.cta-box h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

.cta-box p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--text-secondary);
  font-size: 17px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(5, 8, 16, 0.9);
  padding: 60px 0 30px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-brand p {
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: var(--cyan-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Legal Pages Styling */
.legal-container {
  max-width: 800px;
  margin: 60px auto 100px;
  padding: 0 24px;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.legal-content h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: #fff;
}

.legal-content p, .legal-content li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-links {
    gap: 16px;
  }
  .nav-item {
    font-size: 14px;
  }
  .nav-btn-free {
    display: none; /* Keep header clean on intermediate/fold screens */
  }
}

@media (max-width: 992px) {
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .mockup-nav-btn {
    white-space: nowrap;
  }
  .nav-actions .btn-secondary, .nav-btn-free {
    display: none !important;
  }
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header {
    background: rgba(7, 10, 18, 0.95);
  }
  .nav-wrap {
    height: 62px;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
  }
  .brand-name {
    font-size: 18px;
  }
  .nav-actions .btn-primary {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 10px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .legal-content {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .brand-badge {
    display: none;
  }
  .brand-name {
    font-size: 18px;
  }
  .nav-actions .btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}
