:root {
  --bg: #0B0F19;
  --bg2: #111827;
  --surface: #151D2F;
  --surface-hover: #1A243A;
  --border: #1E293B;
  --border-hover: #374151;
  
  /* PQ.hosting inspired vibrant accents */
  --accent: #FF6B00;       /* Bright Orange */
  --accent2: #FF9A00;      /* Lighter Orange */
  --accent-blue: #00A3FF;  /* Tech Blue */
  --accent-purple: #8B5CF6;/* Deep Purple */
  
  --text: #F8FAFC;
  --text-muted: #9CA3AF;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

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

/* PARTICLES */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float linear infinite;
  opacity: 0.2;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.2; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-100px) scale(1.2); opacity: 0; }
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 25, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

/* HERO */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  background: 
    radial-gradient(ellipse 70% 50% at 50% 10%, rgba(0, 163, 255, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 163, 255, 0.1);
  border: 1px solid rgba(0, 163, 255, 0.25);
  color: #60A5FA;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: #FFF;
  animation: fadeUp 0.8s 0.1s ease both;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.6;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.3s ease both;
  margin-bottom: 64px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.5);
}
.btn-large { padding: 18px 48px; font-size: 1.1rem; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E2E8F0;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.4s ease both;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border);
  padding: 24px 48px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.stat { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.stat-lbl { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.stat-div { width: 1px; height: 40px; background: var(--border); }

/* SECTIONS */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #C4B5FD;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #FFF;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 56px;
  max-width: 650px;
  line-height: 1.6;
}

/* CARD */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: #FFF; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 163, 255, 0.1);
  border: 1px solid rgba(0, 163, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent-blue);
}

/* PRICING */
.pricing-section {
  background: #0D1321;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 48px;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--bg2);
}
.pricing-popular {
  border-color: var(--accent) !important;
  background: linear-gradient(180deg, rgba(255, 107, 0, 0.05) 0%, var(--bg2) 100%) !important;
  transform: scale(1.02);
}
.pricing-popular:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.15);
}
.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.plan-label { font-size: 1.1rem; font-weight: 700; color: #E2E8F0; margin-bottom: 16px; display: flex; align-items: center; gap: 8px;}
.plan-price { font-size: 3.5rem; font-weight: 800; letter-spacing: -2px; line-height: 1; color: #FFF; }
.plan-price span { font-size: 1rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.plan-period { color: var(--text-muted); font-size: 0.9rem; margin: 8px 0 32px; font-weight: 500; }
.plan-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.plan-features li { 
  font-size: 0.95rem; 
  color: #CBD5E1; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}
.check-icon {
  color: var(--accent);
  font-weight: bold;
}
.btn-plan {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: #FFF;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-plan:hover { background: var(--surface-hover); border-color: var(--border-hover); }
.btn-plan-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}
.btn-plan-primary:hover { opacity: 0.9; box-shadow: 0 6px 24px rgba(255, 107, 0, 0.4); border-color: transparent;}
.payment-methods {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pay-badge {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
}

/* HOW TO */
.steps-grid {
  display: flex;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.step-item {
  flex: 1;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  position: relative;
  text-align: left;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 163, 255, 0.1);
  color: #60A5FA;
  border: 1px solid rgba(0, 163, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 24px;
}
.step-item h3 { font-weight: 800; margin-bottom: 12px; font-size: 1.25rem; }
.step-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.step-arrow { display: none; } /* Removed arrows for card style */

.download-links { text-align: left; }
.download-links h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 24px; color: #FFF; }
.download-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.download-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: #E2E8F0;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.download-btn:hover { background: var(--surface-hover); border-color: var(--border-hover); transform: translateY(-2px); }

/* SUPPORT / TICKETS */
.support-card {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
}
.support-card .btn-primary { margin-top: 24px; }
.support-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
  text-align: left;
}
.support-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.support-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 163, 255, 0.15);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.support-step p { margin: 0; color: var(--text-muted); font-size: 1rem; }
.support-step strong { color: var(--text); }

/* FAQ */
.faq-section {
  background: #0D1321;
}
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 850px; }
.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-q {
  padding: 24px 32px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color 0.2s, background 0.2s;
  color: #E2E8F0;
}
.faq-q:hover { background: var(--surface); }
.faq-arrow {
  color: var(--accent);
  transition: transform 0.3s;
  font-weight: block;
}
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 32px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-a.open { max-height: 400px; padding: 0 32px 24px; }

/* CTA */
.cta-section { padding: 80px 0 120px; }
.cta-card {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 24px;
  padding: 80px 48px;
  text-align: center;
}
.cta-card h2 { font-size: 3rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; color: #FFF;}
.cta-card p { color: #CBD5E1; font-size: 1.1rem; margin-bottom: 40px; max-width: 600px; margin-inline: auto; }

/* SUBSCRIPTION PAGE */
.sub-page { padding-top: 140px; }
.sub-card { max-width: 960px; margin: 0 auto; }
.sub-row { display: flex; gap: 12px; flex-wrap: wrap; }
.sub-input {
  flex: 1;
  min-width: 260px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.95rem;
}
.sub-copy { padding: 14px 22px; }
.sub-qr { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.sub-qr-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.sub-qr-title { font-weight: 700; margin-bottom: 12px; }
.sub-qr img { width: 180px; height: 180px; object-fit: contain; }
.sub-hints { display: flex; flex-direction: column; gap: 12px; color: var(--text-muted); }
.sub-hint { background: var(--surface); border: 1px solid var(--border); padding: 12px 14px; border-radius: 10px; }
.sub-links {
  margin-top: 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.sub-links-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sub-links-title { font-weight: 700; }
.sub-links-list { display: flex; flex-direction: column; gap: 12px; }
.sub-link-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  flex-wrap: wrap;
}
.sub-link-label { font-weight: 600; min-width: 110px; }
.sub-link-value { flex: 1; overflow-wrap: anywhere; }
.sub-link-copy {
  background: var(--surface-hover);
  border: 1px solid var(--border-hover);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  cursor: pointer;
}
.sub-status {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text-muted);
}
.sub-error { border-color: #ef4444; color: #fecaca; }
.sub-refresh { padding: 10px 16px; }
.sub-empty { color: var(--text-muted); padding-top: 8px; }
.hidden { display: none !important; }

/* FOOTER */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: #FFF; }
.footer-copy { color: var(--text-muted); font-size: 0.9rem; }

/* CODE */
code {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85em;
  font-family: 'Courier New', Courier, monospace;
  color: var(--accent-blue);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: 24px; padding: 24px; width: 100%; align-items: center;}
  .stat { align-items: center; text-align: center; }
  .stat-div { width: 100%; height: 1px; }
  .cta-card { padding: 48px 24px; }
  .cta-card h2 { font-size: 2.2rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .sub-qr { flex-direction: column; align-items: stretch; }
}
