/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0D1010;
  --surface:  #15120A;
  --input:    #181210;
  --accent:   #C4581A;
  --teal:     #2A6B7C;
  --text:     #E8E0D8;
  --sub:      #8899AA;
  --dim:      #667788;
  --success:  #4CAF50;
  --error:    #F44336;
  --radius:   6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid rgba(42,107,124,0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
}

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

.nav-logo img { height: 36px; width: auto; }

.nav-logo span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--sub);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: var(--text) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: #d9631e; opacity: 1 !important; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(196,88,26,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 35% 28% at 80% 85%, rgba(42,107,124,0.09) 0%, transparent 55%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid rgba(42,107,124,0.5);
  border-radius: 99px;
  padding: 5px 18px;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--accent); }

.hero > p {
  max-width: 540px;
  color: var(--sub);
  font-size: 17px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-badge {
  background: var(--surface);
  border: 1px solid rgba(42,107,124,0.3);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--sub);
  letter-spacing: 0.06em;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--accent);
  color: var(--text);
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover { background: #d9631e; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--teal);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.1s;
}

.btn-secondary:hover { border-color: var(--text); transform: translateY(-1px); }

/* ===== STATS STRIP ===== */
.stats {
  background: var(--surface);
  border-top: 1px solid rgba(42,107,124,0.25);
  border-bottom: 1px solid rgba(42,107,124,0.25);
  display: flex;
  justify-content: center;
  gap: 56px;
  padding: 32px 40px;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-num { font-size: 34px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 11px; color: var(--sub); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* ===== SECTION SHARED ===== */
section { padding: 90px 40px; max-width: 1100px; margin: 0 auto; }

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-title span { color: var(--accent); }

.section-sub {
  color: var(--sub);
  font-size: 15px;
  max-width: 500px;
  margin-bottom: 52px;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(42,107,124,0.18);
  border-radius: 10px;
  padding: 26px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover { border-color: var(--teal); transform: translateY(-3px); }

.feature-icon {
  width: 42px;
  height: 42px;
  background: rgba(196,88,26,0.1);
  border: 1px solid rgba(196,88,26,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.feature-card p  { font-size: 13px; color: var(--sub); line-height: 1.65; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--surface);
  border-top: 1px solid rgba(42,107,124,0.2);
  border-bottom: 1px solid rgba(42,107,124,0.2);
  max-width: 100%;
  padding: 80px 40px;
}

.testimonials-section .section-tag,
.testimonials-section .section-title { max-width: 1100px; margin-left: auto; margin-right: auto; display: block; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.testimonial-card {
  background: var(--input);
  border: 1px solid rgba(42,107,124,0.2);
  border-radius: 10px;
  padding: 26px;
}

.testimonial-stars { color: var(--accent); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }

.testimonial-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-name  { font-size: 14px; font-weight: 700; }
.testimonial-role  { font-size: 12px; color: var(--sub); }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  align-items: end;
  margin-bottom: 48px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(42,107,124,0.22);
  border-radius: 10px;
  padding: 26px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}

.pricing-card:hover { border-color: var(--teal); transform: translateY(-3px); }

.pricing-card.featured {
  border-color: var(--accent);
  transform: scale(1.04);
  background: #1C1008;
}

.pricing-card.featured:hover { transform: scale(1.04) translateY(-3px); }

.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.pricing-duration {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price .per { font-size: 14px; font-weight: 400; color: var(--sub); }

.pricing-desc {
  font-size: 12px;
  color: var(--dim);
  margin: 10px 0 18px;
  min-height: 34px;
}

.pricing-btn {
  width: 100%;
  background: var(--input);
  color: var(--text);
  border: 1px solid rgba(42,107,124,0.35);
  border-radius: var(--radius);
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.pricing-btn:hover { background: var(--teal); border-color: var(--teal); }

.pricing-card.featured .pricing-btn {
  background: var(--accent);
  border-color: var(--accent);
}

.pricing-card.featured .pricing-btn:hover { background: #d9631e; }

.pricing-features {
  list-style: none;
  margin-top: 18px;
  text-align: left;
}

.pricing-features li {
  font-size: 12px;
  color: var(--sub);
  padding: 5px 0;
  border-bottom: 1px solid rgba(42,107,124,0.1);
  display: flex;
  align-items: center;
  gap: 7px;
}

.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ===== COMPARE TABLE ===== */
.compare-wrap {
  margin-top: 24px;
}

.compare-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--sub);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(42,107,124,0.22);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 540px;
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(42,107,124,0.12);
}

.compare-table th:first-child,
.compare-table td:first-child { text-align: left; color: var(--sub); }

.compare-table thead th {
  background: var(--surface);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.compare-table tbody tr:nth-child(odd)  { background: var(--surface); }
.compare-table tbody tr:nth-child(even) { background: var(--input); }

.col-featured {
  background: rgba(196,88,26,0.08) !important;
  color: var(--accent) !important;
  font-weight: 700;
}

.compare-table thead .col-featured { background: rgba(196,88,26,0.18) !important; }

/* ===== HOW IT WORKS ===== */
.steps { display: flex; flex-direction: column; max-width: 680px; }

.step {
  display: flex;
  gap: 22px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: -20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), transparent);
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}

.step-body { padding-bottom: 40px; }
.step-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-body p  { font-size: 13px; color: var(--sub); line-height: 1.65; }

/* ===== PURCHASE FORM ===== */
.purchase-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.purchase-form {
  background: var(--surface);
  border: 1px solid rgba(42,107,124,0.28);
  border-radius: 12px;
  padding: 32px;
}

.purchase-form h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--accent);
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  background: var(--input);
  border: 1px solid rgba(42,107,124,0.28);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group select option { background: var(--input); }

.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--text);
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover   { background: #d9631e; }
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.btn-icon { font-size: 16px; }

.stripe-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--dim);
  text-align: center;
  line-height: 1.6;
}

/* ===== ORDER SUMMARY ===== */
.order-summary {
  background: var(--surface);
  border: 1px solid rgba(42,107,124,0.28);
  border-radius: 12px;
  padding: 32px;
}

.order-summary h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.order-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(42,107,124,0.1);
  font-size: 14px;
}

.order-line:last-of-type { border-bottom: none; }
.order-line span:first-child { color: var(--sub); }

.total-line {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(42,107,124,0.28) !important;
  border-bottom: none !important;
}

.order-total { font-size: 20px; font-weight: 800; color: var(--accent); }

.trust-badges {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--input);
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 11px;
  color: var(--sub);
}

.stripe-brand {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--dim);
}

.stripe-logo {
  font-weight: 700;
  color: var(--teal);
  font-size: 13px;
}

.legal-note {
  margin-top: 18px;
  font-size: 11px;
  color: var(--dim);
  line-height: 1.65;
}

/* ===== FAQ ===== */
.faq-list { max-width: 720px; }

.faq-item {
  border: 1px solid rgba(42,107,124,0.18);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  padding: 17px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  font-family: inherit;
}

.faq-q:hover { background: var(--input); }
.faq-q .arrow { color: var(--accent); font-size: 18px; transition: transform 0.25s; flex-shrink: 0; }
.faq-q.open .arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  background: var(--input);
  transition: max-height 0.3s ease;
}

.faq-a.open { max-height: 220px; }
.faq-a p { padding: 16px 20px; font-size: 13px; color: var(--sub); line-height: 1.7; }

/* ===== PAGE OVERLAYS (success / cancel) ===== */
.page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,16,16,0.88);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.overlay-box {
  background: var(--surface);
  border: 1px solid rgba(42,107,124,0.4);
  border-radius: 14px;
  padding: 48px 40px;
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.overlay-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px;
  font-weight: 700;
}

.success-icon { background: rgba(76,175,80,0.15); color: var(--success); border: 2px solid var(--success); }
.cancel-icon  { background: rgba(244,67,54,0.15); color: var(--error);   border: 2px solid var(--error); }

.overlay-box h2 { font-size: 22px; margin-bottom: 12px; }
.overlay-box p  { color: var(--sub); font-size: 14px; }

/* ===== FOOTER ===== */
footer {
  background: var(--surface);
  border-top: 1px solid rgba(42,107,124,0.25);
  padding: 52px 40px 28px;
}

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

.footer-brand img { height: 38px; margin-bottom: 14px; display: block; }

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

.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.footer-badge-pill {
  background: var(--input);
  border: 1px solid rgba(42,107,124,0.25);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 0.06em;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a  { font-size: 13px; color: var(--sub); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(42,107,124,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p { font-size: 12px; color: var(--dim); }
.footer-stripe-note { color: var(--teal) !important; }

/* ===== TOAST ===== */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 13px;
  color: var(--text);
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  max-width: 300px;
}

#toast.show   { opacity: 1; transform: translateY(0); }
#toast.success { border-color: var(--success); }
#toast.error   { border-color: var(--error); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .purchase-wrap { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: repeat(3, 1fr); }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(42,107,124,0.3);
    padding: 8px 0;
  }

  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 24px; }
  .nav-cta { margin: 8px 16px; display: block; text-align: center; border-radius: var(--radius); }
  .nav-mobile-toggle { display: block; }

  .hero     { padding: 60px 24px 40px; }
  section   { padding: 60px 24px; }
  .stats    { gap: 28px; padding: 26px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-section { padding: 60px 24px; }
}

@media (max-width: 520px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .stats { gap: 20px; }
}
