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

:root {
  --bg: #1a1a2e;
  --surface: #16213e;
  --surface2: #0f3460;
  --accent: #53d769;
  --accent-dim: #3a9c4a;
  --text: #e0e0e0;
  --text-dim: #888;
  --border: #2a2a4a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

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

/* ---- Navigation ---- */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

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

nav .nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

nav .nav-logo span {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
}

nav .nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

nav .nav-links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

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

nav .nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: #111;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  transition: background 0.15s;
}

nav .nav-cta:hover {
  background: var(--accent-dim);
  color: #fff;
}

/* ---- Sections ---- */

section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-dim);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ---- Hero ---- */

.hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-dim);
  margin-bottom: 28px;
}

.thank-you-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.15;
}

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

.hero .tagline {
  font-size: 20px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.hero .hero-detail {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  color: #111;
  font-size: 18px;
  font-weight: 700;
  border-radius: 10px;
  transition: background 0.15s, transform 0.1s;
}

.hero-cta:hover {
  background: var(--accent-dim);
  color: #fff;
  transform: translateY(-1px);
}

/* UPDATED: Shipping note below hero CTA */
.hero-shipping {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* ---- Features grid ---- */

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---- Full-width section variant ---- */

.section-full {
  max-width: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* ---- How it works ---- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: var(--surface2);
  border: 2px solid var(--accent-dim);
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 280px;
  margin: 0 auto;
}

/* UPDATED: Expanded detail text for step 1 */
.step-detail {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 340px;
  margin: 10px auto 0;
  line-height: 1.7;
  padding: 12px 16px;
  background: rgba(83, 215, 105, 0.06);
  border: 1px solid rgba(83, 215, 105, 0.15);
  border-radius: 8px;
  text-align: left;
}

/* ---- Knowledge Base section ---- */

.kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.kb-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.kb-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.kb-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.kb-item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.kb-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 32px;
  font-style: italic;
}

/* ---- Pricing ---- */

.pricing-cards {
  max-width: 440px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pricing-card .platform {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.pricing-card .price {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.pricing-card .price-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-card li {
  font-size: 14px;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.pricing-card li::before {
  content: "\2713  ";
  color: var(--accent);
  font-weight: 700;
}

.pricing-card li:last-child { border-bottom: none; }

.btn-buy {
  display: inline-block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #111;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  text-align: center;
  transition: background 0.15s;
}

.btn-buy:hover {
  background: var(--accent-dim);
  color: #fff;
}

/* UPDATED: Fulfillment note (simplified) */
.fulfillment-note {
  max-width: 440px;
  margin: 36px auto 0;
  padding: 14px 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
}

.fulfillment-note p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.fulfillment-note strong {
  color: var(--text);
  font-weight: 600;
}

/* ---- FAQ ---- */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---- Contact Form ---- */

.contact-form {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(83, 215, 105, 0.15);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group select option {
  background: var(--surface);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: inline-block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #111;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
  margin-top: 4px;
}

.btn-submit:hover {
  background: var(--accent-dim);
  color: #fff;
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-result {
  text-align: center;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 4px;
}

.form-result.success {
  background: rgba(83, 215, 105, 0.12);
  border: 1px solid rgba(83, 215, 105, 0.3);
  color: var(--accent);
}

.form-result.error {
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff6b6b;
}

/* ---- Footer ---- */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

footer a { color: var(--text-dim); }
footer a:hover { color: var(--accent); }

footer .footer-links {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

/* ---- Platform selector ---- */

.platform-select {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  justify-content: center;
}

.platform-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
  transition: border-color 0.15s, color 0.15s;
}

.platform-option:has(input:checked) {
  border-color: var(--accent);
  color: var(--accent);
}

.platform-option input {
  accent-color: var(--accent);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  nav { padding: 12px 16px; gap: 10px; }
  nav .nav-links { gap: 16px; }
  nav .nav-links a:not(.nav-cta) { display: none; }

  .hero {
    padding: 60px 18px 50px;
  }

  .hero-avatar {
    width: 100px;
    height: 100px;
  }

  .hero h1 { font-size: 32px; }
  .hero .tagline { font-size: 17px; }
  .hero .hero-detail { font-size: 15px; }

  .hero-cta {
    padding: 14px 32px;
    font-size: 16px;
    width: 100%;
  }

  section { padding: 48px 18px; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 14px; margin-bottom: 32px; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card { padding: 22px 18px; }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .kb-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kb-item { padding: 22px 18px; }

  .pricing-card { padding: 28px 20px; }
  .pricing-card .price { font-size: 36px; }

  .step-detail { max-width: 100%; }

  .fulfillment-note { max-width: 100%; }

  .faq-item h3 { font-size: 16px; }
  .faq-item p { font-size: 14px; }

  .contact-form { gap: 16px; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 11px 14px; font-size: 14px; }
}
