/* Nexora Studio - Dark Theme with Razorpay Checkout */
:root {
  --bg: #000000;
  --bg-card: rgba(255,255,255,0.04);
  --bg-glass: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --border-hover: #6B46C1;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --text-dim: rgba(255,255,255,0.35);
  --purple: #6B46C1;
  --purple-bright: #9F7AEA;
  --purple-glow: rgba(107,70,193,0.25);
  --green: #34D399;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(24px, 5vw);
  background: transparent;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(107,70,193,0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(52,211,153,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 32px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}
.hero p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-trust {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-dim);
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-bright) 100%);
  color: #fff;
}
.btn-primary:hover {
  box-shadow: 0 0 30px var(--purple-glow);
  transform: translateY(-2px);
}
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--purple); background: rgba(107,70,193,0.08); }

.btn-group { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* Section */
.section { padding: clamp(80px, 10vw, 140px) max(24px, 5vw); }
.section-title {
  text-align: center;
  margin-bottom: 64px;
}
.section-title .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 16px;
}
.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  margin-bottom: 12px;
}
.section-title h2 .gradient {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}
.section-title p { color: var(--text-muted); max-width: 480px; margin: 0 auto; }
.content { max-width: 1200px; margin: 0 auto; }

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.product-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex; flex-direction: column;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,70,193,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover {
  border-color: rgba(107,70,193,0.3);
  box-shadow: 0 0 32px rgba(107,70,193,0.1);
  transform: translateY(-4px);
}
.product-card:hover::before { opacity: 1; }

.badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}
.badge-green { background: rgba(52,211,153,0.12); color: var(--green); }
.badge-purple { background: rgba(107,70,193,0.15); color: var(--purple-bright); }

.product-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(107,70,193,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--purple-bright);
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-card .desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}
.product-card .features {
  list-style: none;
  margin-bottom: 24px;
}
.product-card .features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.product-card .features li svg {
  width: 14px; height: 14px;
  color: var(--green);
  flex-shrink: 0;
}

.price-row {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 16px;
}
.price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-original {
  font-size: 15px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.btn-full { width: 100%; }

/* Payment Status */
.payment-status {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  animation: fadeIn 0.3s ease;
}
.status-success {
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.15);
  color: var(--green);
}
.status-error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.15);
  color: #ef4444;
}
.status-success strong, .status-error strong { display: block; margin-bottom: 2px; }
.status-success small, .status-error small { color: var(--text-dim); font-size: 11px; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Trust Section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  max-width: 800px;
  margin: 0 auto 80px;
  text-align: center;
}
.trust-item .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.trust-item .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.trust-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.trust-card svg {
  width: 32px; height: 32px;
  color: var(--green);
  margin: 0 auto 12px;
}
.trust-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.trust-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Free Section */
.free-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.free-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-bright), var(--green));
}
.free-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-bright) 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: #fff;
  animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(107,70,193,0.3); }
  50% { box-shadow: 0 0 40px rgba(107,70,193,0.5); }
}

.email-form {
  display: flex; flex-wrap: wrap; gap: 10px;
  max-width: 440px;
  margin: 28px auto 0;
}
.email-form input {
  flex: 1; min-width: 200px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.email-form input:focus { border-color: var(--purple); }
.email-form input::placeholder { color: var(--text-dim); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px max(24px, 5vw);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex; flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.footer-brand .logo-box {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-bright) 100%);
  display: flex; align-items: center; justify-content: center;
}
.footer-brand .logo-box svg { width: 14px; height: 14px; color: #fff; }
.footer p { color: var(--text-dim); font-size: 13px; }
.footer a {
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.footer a:hover { color: var(--purple-bright); }

/* Spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* ─── Urgency Banner ─── */
.urgency-banner {
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  z-index: 99;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
  color: #1a1200;
  font-family: var(--font-body);
  font-size: 14px;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform: translateY(0);
  opacity: 1;
}
.urgency-banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.urgency-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px max(24px, 5vw);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}
.urgency-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  font-weight: 500;
  line-height: 1.5;
}
.urgency-icon {
  font-size: 16px;
}
.urgency-code {
  background: rgba(0,0,0,0.15);
  padding: 2px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.urgency-timer {
  background: rgba(0,0,0,0.2);
  padding: 3px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  margin-left: 4px;
  white-space: nowrap;
}
.urgency-close {
  position: absolute;
  right: max(16px, 3vw);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.15);
  border: none;
  color: #1a1200;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.urgency-close:hover {
  background: rgba(0,0,0,0.3);
  color: #000;
}

/* Shift hero down when banner is visible */
.hero {
  padding-top: 120px;
}

/* ─── Product Preview Accordion ─── */
.product-preview {
  margin: 16px 0 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.preview-toggle {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--purple-bright);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  transition: color 0.2s;
}
.preview-toggle:hover {
  color: var(--purple);
}
.preview-toggle svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.preview-toggle.open svg {
  transform: rotate(180deg);
}
.preview-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
}
.preview-content.open {
  max-height: 500px;
  opacity: 1;
  padding-top: 14px;
}
.preview-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.preview-list li {
  background: rgba(107,70,193,0.06);
  border: 1px solid rgba(107,70,193,0.12);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.preview-list li .preview-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-bright);
  margin-bottom: 4px;
}

/* ─── FAQ Section ─── */
#faq {
  padding-bottom: clamp(40px, 6vw, 80px);
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item:hover {
  border-color: rgba(107,70,193,0.2);
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover {
  color: var(--purple-bright);
}
.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-dim);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--purple-bright);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
}
.faq-answer p {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}
.faq-answer a {
  color: var(--purple-bright);
  text-decoration: none;
}
.faq-answer a:hover {
  text-decoration: underline;
}

/* ─── Trust Badges Row ─── */
.trust-badges-section {
  padding-top: 0;
  padding-bottom: clamp(40px, 6vw, 80px);
}
.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 14px;
  white-space: nowrap;
}
.trust-badge-icon {
  font-size: 18px;
  line-height: 1;
}
.trust-badge-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* ─── Sticky Buy Bar ─── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 14px max(24px, 5vw);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-bar.visible {
  transform: translateY(0);
}
.sticky-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-bar-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .hero { padding-top: 140px; }
  .products-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .free-card { padding: 32px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }

  .urgency-inner {
    padding: 10px 48px 10px 16px;
    font-size: 12px;
  }
  .urgency-timer {
    margin-left: 0;
    margin-top: 2px;
    width: 100%;
    text-align: center;
  }
  .urgency-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .trust-badges-row {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }
  .trust-badge-divider {
    width: 40px;
    height: 1px;
  }

  .sticky-bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .sticky-bar-text { font-size: 14px; }
  .btn-sm { width: 100%; }

  .faq-question { font-size: 14px; padding: 16px 18px; }
  .faq-answer p { padding: 0 18px 16px; }
}
