/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --brand:        #E88A00;
  --brand-light:  #F59E0B;
  --brand-glow:   rgba(232, 138, 0, 0.35);
  --dark:         #0A0B0E;
  --dark-2:       #111827;
  --dark-3:       #1F2937;
  --dark-card:    #161B25;
  --border:       rgba(232, 138, 0, 0.18);
  --text:         #F9FAFB;
  --muted:        #9CA3AF;
  --subtle:       #4B5563;
  --white:        #FFFFFF;
  --green:        #10B981;
  --radius:       16px;
  --radius-lg:    24px;
  --transition:   0.25s ease;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 900; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

.brand-text  { color: var(--brand); }
.muted-text  { color: var(--muted); }
.center      { text-align: center; }

/* ── Layout ────────────────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ── Navbar ────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.navbar .inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.nav-logo-text span { color: var(--brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover { color: var(--text); background: var(--dark-3); }
.nav-links a.active { color: var(--brand); }

.nav-cta {
  background: var(--brand) !important;
  color: var(--dark) !important;
  font-weight: 900 !important;
  padding: 8px 18px !important;
  border-radius: 12px !important;
}

.nav-cta:hover { background: var(--brand-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 55%, rgba(232, 138, 0, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 40%, rgba(245, 158, 11, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 138, 0, 0.12);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 { margin-bottom: 20px; }

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--dark);
  font-weight: 900;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 24px var(--brand-glow);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--brand-glow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--subtle);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-logo-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

.hero-logo-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ── Section Header ────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 14px auto 0;
  line-height: 1.7;
}

/* ── Features ──────────────────────────────────────────────────────────── */
.features { background: var(--dark-2); }

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

.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: rgba(232, 138, 0, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(232, 138, 0, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p  { color: var(--muted); font-size: 0.93rem; line-height: 1.7; }

/* ── How It Works ──────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  pointer-events: none;
}

.step {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--brand);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px var(--brand-glow);
  position: relative;
  z-index: 1;
}

.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p  { color: var(--muted); font-size: 0.87rem; line-height: 1.6; }

/* ── Why WheelBazaar ───────────────────────────────────────────────────── */
.why { background: var(--dark-2); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.why-content h2 { margin-bottom: 20px; }
.why-content > p { color: var(--muted); margin-bottom: 32px; line-height: 1.75; }

.why-list { display: flex; flex-direction: column; gap: 20px; }

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.why-check {
  width: 32px;
  height: 32px;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--green);
}

.why-item h4 { font-size: 0.97rem; margin-bottom: 3px; }
.why-item p  { color: var(--muted); font-size: 0.87rem; line-height: 1.6; }

.why-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: border-color var(--transition);
}

.stat-card:hover { border-color: rgba(232, 138, 0, 0.5); }

.stat-icon {
  width: 48px; height: 48px;
  background: rgba(232, 138, 0, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-card .value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}

.stat-card .label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 3px;
}

/* ── Download ──────────────────────────────────────────────────────────── */
.download {
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(232, 138, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.download-inner {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
}

.download-inner h2 { margin-bottom: 16px; }
.download-inner p  { color: var(--muted); max-width: 480px; margin: 0 auto 40px; line-height: 1.7; }

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  cursor: pointer;
}

.store-btn:hover {
  border-color: var(--brand);
  background: rgba(232, 138, 0, 0.08);
  transform: translateY(-2px);
}

.store-btn .store-icon { font-size: 1.8rem; line-height: 1; }
.store-btn .store-label { font-size: 0.7rem; color: var(--muted); font-weight: 600; }
.store-btn .store-name  { font-size: 1rem; font-weight: 800; line-height: 1.2; }

/* ── Contact Section ───────────────────────────────────────────────────── */
.contact { background: var(--dark-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { color: var(--muted); line-height: 1.75; margin-bottom: 32px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(232, 138, 0, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item .label { font-size: 0.78rem; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.contact-item .value { font-size: 0.97rem; font-weight: 700; color: var(--text); margin-top: 2px; }
.contact-item a.value { color: var(--brand); }
.contact-item a.value:hover { text-decoration: underline; }

.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.contact-form h3 { margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--muted); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.5px; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--subtle);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--brand); }

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

.form-submit {
  width: 100%;
  background: var(--brand);
  color: var(--dark);
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 0.97rem;
  font-weight: 900;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  font-family: var(--font);
}

.form-submit:hover { background: var(--brand-light); transform: translateY(-1px); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 14px 0 20px;
  max-width: 300px;
}

.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 30px; }
.footer-logo-text { font-size: 1.1rem; font-weight: 900; }
.footer-logo-text span { color: var(--brand); }

.footer-heading { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 18px; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; font-weight: 600; transition: color var(--transition); }
.footer-links a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: var(--subtle); font-size: 0.85rem; }
.footer-bottom a { color: var(--muted); font-size: 0.85rem; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--brand); }

/* ── Legal Pages ───────────────────────────────────────────────────────── */
.legal-hero {
  padding: 140px 24px 80px;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.legal-hero .eyebrow { color: var(--brand); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 12px; }
.legal-hero p { color: var(--muted); margin-top: 14px; }

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 14px;
  color: var(--brand);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-content ul li {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 6px;
  font-size: 0.97rem;
}

.legal-content strong { color: var(--text); }

.legal-contact-box {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
  text-align: center;
}

.legal-contact-box p { color: var(--muted); margin-bottom: 8px; }
.legal-contact-box a { color: var(--brand); font-weight: 700; }

/* ── Toast ─────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast .toast-icon { font-size: 1.1rem; }

/* ── Animations ────────────────────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.05); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid    { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-links { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--dark-2); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .hero-grid    { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero p       { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .hero-visual  { order: -1; }
  .hero-logo-wrap { max-width: 320px; margin: 0 auto; }

  .features-grid { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .download-inner { padding: 40px 24px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
}
