:root {
  --bg: #050508;
  --bg2: #08080f;
  --card: rgba(255,255,255,0.03);
  --card-hover: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.1);
  --text: #f0f0f5;
  --text2: #8888a0;
  --text3: #555568;
  --red: #e74c3c;
  --red-dark: #c0392b;
  --red-glow: rgba(231,76,60,0.12);
  --radius: 16px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

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

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

/* ====== NAV ====== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 24px; transition: all 0.3s;
}

#navbar.scrolled {
  background: rgba(5,5,8,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}

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

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

.logo-icon { width: 28px; height: 28px; }

.logo-text {
  font-size: 20px; font-weight: 800; letter-spacing: 3px; color: var(--text);
}

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

.nav-links a {
  color: var(--text2); text-decoration: none;
  font-size: 13px; font-weight: 500; transition: color 0.2s; position: relative;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--red); transition: width 0.3s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

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

.nav-cta {
  background: var(--red); color: #fff; text-decoration: none;
  padding: 10px 24px; border-radius: 8px;
  font-size: 13px; font-weight: 600; transition: all 0.25s;
}

.nav-cta:hover {
  background: var(--red-dark);
  box-shadow: 0 4px 20px var(--red-glow);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 4px;
}

.mobile-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text2); border-radius: 2px; transition: all 0.3s;
}

/* ====== HERO ====== */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 80px; overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(100px);
}

.glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(231,76,60,0.1), transparent);
  top: -100px; right: -100px;
}

.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(231,76,60,0.06), transparent);
  bottom: -80px; left: -80px;
}

.hero-content {
  position: relative; z-index: 2; text-align: center; max-width: 750px;
}

.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  color: var(--red); background: rgba(231,76,60,0.06);
  border: 1px solid rgba(231,76,60,0.12); margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800; line-height: 1.08; letter-spacing: -2px; margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text2); max-width: 600px; margin: 0 auto 40px; line-height: 1.7;
}

.hero-sub strong { color: var(--text); }

.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all 0.25s; cursor: pointer; border: none; font-family: inherit;
}

.btn-lg { padding: 16px 36px; font-size: 15px; }

.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 4px 24px var(--red-glow);
}

.btn-primary:hover {
  background: #ff5645;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(231,76,60,0.25);
}

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

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

/* ====== SECTIONS ====== */
section { padding: 100px 24px; position: relative; }

.section-header {
  text-align: center; max-width: 600px; margin: 0 auto 60px;
}

.section-tag {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); background: rgba(231,76,60,0.05);
  border: 1px solid rgba(231,76,60,0.1); margin-bottom: 20px;
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px;
}

.section-header p {
  font-size: 15px; color: var(--text2); line-height: 1.7;
}

/* ====== FEATURES ====== */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1050px; margin: 0 auto;
}

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

.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0; transition: opacity 0.3s;
}

.feature-card:hover::before { opacity: 1; }

.feature-card:hover {
  background: var(--card-hover);
  border-color: rgba(231,76,60,0.12);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(231,76,60,0.06);
  border: 1px solid rgba(231,76,60,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--red);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 12px; }

.feature-card p { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* ====== DEVICES ====== */
.device-showcase {
  display: flex; justify-content: center; gap: 60px;
  max-width: 900px; margin: 0 auto 40px;
}

.device-col { flex: 1; max-width: 380px; }

.device-col h3 {
  font-size: 22px; font-weight: 700; margin-bottom: 20px;
  color: var(--red); letter-spacing: -0.5px;
}

.device-list {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
}

.device-list li {
  padding: 10px 16px; font-size: 13px; color: var(--text2);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; transition: all 0.2s;
}

.device-list li:hover {
  background: var(--card-hover); border-color: rgba(231,76,60,0.1);
  color: var(--text); transform: translateX(4px);
}

.device-divider {
  width: 1px; background: linear-gradient(180deg, transparent, var(--red), transparent);
  opacity: 0.3;
}

.ios-badge {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; max-width: 500px; margin: 0 auto;
  padding: 14px 24px; border-radius: var(--radius);
  background: rgba(231,76,60,0.04);
  border: 1px solid rgba(231,76,60,0.1);
  font-size: 14px; font-weight: 500; color: var(--text);
}

.badge-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(231,76,60,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); flex-shrink: 0;
}

.badge-icon svg { width: 18px; height: 18px; }

/* ====== PRICING ====== */
.pricing-tabs {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 32px;
}

.pricing-tab {
  padding: 10px 32px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text2); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}

.pricing-tab:hover {
  background: var(--card-hover); color: var(--text);
}

.pricing-tab.active {
  background: rgba(231,76,60,0.1);
  border-color: rgba(231,76,60,0.2);
  color: var(--red);
}

.pricing-table {
  display: none; max-width: 700px; margin: 0 auto;
}

.pricing-table.active { display: block; }

.pricing-header {
  display: flex; padding: 12px 16px;
  background: rgba(231,76,60,0.04);
  border: 1px solid rgba(231,76,60,0.1);
  border-radius: 10px 10px 0 0;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text3);
}

.pricing-row {
  display: flex; align-items: center;
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: none;
  font-size: 13px; transition: all 0.15s;
}

.pricing-row:last-child {
  border-radius: 0 0 10px 10px;
}

.pricing-row:hover {
  background: var(--card-hover);
  border-color: rgba(231,76,60,0.08);
}

.pricing-col.device { flex: 1; color: var(--text); }
.pricing-col.standard { width: 100px; text-align: center; color: var(--text2); }
.pricing-col.nosignal { width: 100px; text-align: center; color: var(--red); font-weight: 600; }

/* ====== HOW IT WORKS ====== */
.steps-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; max-width: 900px; margin: 0 auto;
}

.step-card {
  flex: 1; max-width: 260px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
  text-align: center; position: relative; transition: all 0.3s;
}

.step-card:hover {
  background: var(--card-hover);
  border-color: rgba(231,76,60,0.12);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.step-num {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.step-img {
  width: 48px; height: 48px; margin: 8px auto 20px;
  object-fit: contain;
}

.step-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text2); line-height: 1.7; }

.step-arrow { color: var(--text3); flex-shrink: 0; }
.step-arrow svg { width: 24px; height: 24px; display: block; }

/* ====== DOWNLOAD ====== */
.download-card {
  max-width: 650px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px; display: flex; align-items: center; gap: 28px;
}

.download-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(231,76,60,0.06);
  border: 1px solid rgba(231,76,60,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); flex-shrink: 0;
}

.download-icon svg { width: 28px; height: 28px; }

.download-info { flex: 1; min-width: 0; }

.download-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }

.dl-badge {
  font-size: 10px; font-weight: 600; padding: 2px 10px;
  border-radius: 20px; background: rgba(231,76,60,0.1);
  color: var(--red); vertical-align: middle; margin-left: 6px;
}

.download-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text3); margin-bottom: 10px; flex-wrap: wrap;
}

.download-info p { font-size: 13px; color: var(--text2); line-height: 1.6; }

.download-btn { flex-shrink: 0; }
.download-btn svg { width: 18px; height: 18px; }

.requirements {
  display: flex; justify-content: center; gap: 32px;
  max-width: 700px; margin: 40px auto 0; flex-wrap: wrap;
}

.req-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text2);
}

.req-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--glass); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); flex-shrink: 0;
}

.req-icon svg { width: 16px; height: 16px; }

/* ====== FAQ ====== */
.faq-list {
  max-width: 650px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 8px;
}

.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all 0.3s;
}

.faq-item:hover { border-color: rgba(255,255,255,0.08); }

.faq-question {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; padding: 24px;
  background: none; border: none; color: var(--text);
  font-size: 14px; font-weight: 500; cursor: pointer;
  text-align: left; gap: 16px; font-family: inherit;
}

.faq-arrow {
  width: 18px; height: 18px; flex-shrink: 0;
  transition: transform 0.3s; color: var(--text3);
}

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

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 24px 24px; font-size: 13px;
  color: var(--text2); line-height: 1.8;
}

/* ====== CTA ====== */
#cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(192,57,43,0.06), rgba(231,76,60,0.02));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-glow {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,76,60,0.06), transparent);
  top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(60px);
}

.cta-content {
  position: relative; text-align: center; max-width: 500px; margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700; letter-spacing: -1px; margin-bottom: 16px;
}

.cta-content p {
  color: var(--text2); font-size: 15px; margin-bottom: 32px; line-height: 1.7;
}

/* ====== FOOTER ====== */
#footer { padding: 80px 24px 0; }

.footer-inner {
  max-width: 1050px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
}

.footer-brand p {
  font-size: 13px; color: var(--text3);
  margin-top: 16px; line-height: 1.7; max-width: 300px;
}

.footer-col h4 {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text3); margin-bottom: 20px;
}

.footer-col a {
  display: block; color: var(--text2); text-decoration: none;
  font-size: 13px; margin-bottom: 12px; transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0; text-align: center;
}

.footer-bottom span { font-size: 12px; color: var(--text3); }

/* ====== REVEAL ====== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .step-card { max-width: 100%; width: 100%; max-width: 360px; }
  .device-showcase { flex-direction: column; align-items: center; gap: 30px; }
  .device-divider { width: 100px; height: 1px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(5,5,8,0.95); backdrop-filter: blur(20px);
    flex-direction: column; padding: 16px 24px; gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: flex; }
  .hero-title { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .step-card { max-width: 100%; }
  .download-card { flex-direction: column; text-align: center; }
  .download-meta { justify-content: center; }
  .download-btn { width: 100%; justify-content: center; }
  .pricing-header, .pricing-row { font-size: 12px; padding: 8px 12px; }
  .pricing-col.standard, .pricing-col.nosignal { width: 70px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  section { padding: 60px 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .requirements { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .pricing-header, .pricing-row { font-size: 11px; padding: 6px 10px; flex-wrap: wrap; }
  .pricing-col.standard, .pricing-col.nosignal { width: 60px; }
}
