/* ============================================================
   AutoParts Pro — Landing Page Styles
   ============================================================ */

:root {
  --brand-dark:    #0d1b2a;
  --brand-navy:    #1b2a3b;
  --brand-orange:  #e65100;
  --brand-gold:    #ffa726;
  --brand-light:   #f4f6f9;
  --text-muted:    #8a9bae;
}

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

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--brand-dark);
  color: #e0e6ed;
  overflow-x: hidden;
}

/* ---- NAVBAR ---- */
.site-nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(13,27,42,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.9rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.site-nav .brand {
  font-size: 1.4rem; font-weight: 700; color: #fff; text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.site-nav .brand i { color: var(--brand-orange); }
.site-nav .nav-links { display: flex; gap: 1.5rem; align-items: center; }
.site-nav .nav-links a { color: #aec; text-decoration: none; font-size: 0.9rem; transition: color .2s; }
.site-nav .nav-links a:hover { color: #fff; }
.btn-nav-login {
  background: transparent; border: 1.5px solid var(--brand-orange);
  color: var(--brand-orange) !important; border-radius: 6px;
  padding: 0.4rem 1.1rem; font-size: 0.88rem; font-weight: 600;
  transition: all .2s;
}
.btn-nav-login:hover { background: var(--brand-orange); color: #fff !important; }
.btn-nav-register {
  background: var(--brand-orange); color: #fff !important;
  border: none; border-radius: 6px; padding: 0.4rem 1.2rem;
  font-size: 0.88rem; font-weight: 600; transition: background .2s;
}
.btn-nav-register:hover { background: #bf360c; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2a3b 50%, #0d1b2a 100%);
  display: flex; align-items: center; padding-top: 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(230,81,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: rgba(230,81,0,0.15);
  color: var(--brand-gold); border: 1px solid rgba(230,81,0,0.3);
  border-radius: 100px; padding: 0.3rem 1rem; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 1.2rem;
}
.hero h1 .highlight { color: var(--brand-orange); }
.hero p.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 520px; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--brand-orange); color: #fff; border: none;
  border-radius: 8px; padding: 0.9rem 2rem; font-size: 1rem; font-weight: 600;
  text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-hero-primary:hover { background: #bf360c; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230,81,0,0.35); }
.btn-hero-secondary {
  background: rgba(255,255,255,0.08); color: #e0e6ed; border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 0.9rem 2rem; font-size: 1rem; font-weight: 500;
  text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Stats row */
.stats-row { margin-top: 3rem; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat-item .stat-number { font-size: 2rem; font-weight: 800; color: var(--brand-orange); }
.stat-item .stat-label  { font-size: 0.8rem; color: var(--text-muted); }

/* Login card on hero */
.login-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: 16px; padding: 2rem;
}
.login-card h4 { color: #fff; margin-bottom: 1.5rem; font-weight: 700; }
.login-card .form-control {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; border-radius: 8px; padding: 0.7rem 1rem;
}
.login-card .form-control::placeholder { color: #8a9bae; }
.login-card .form-control:focus { background: rgba(255,255,255,0.12); border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(230,81,0,0.2); color: #fff; }
.login-card .form-label { color: #aec; font-size: 0.85rem; }

/* ---- FEATURES ---- */
.section-features {
  background: #111f2e; padding: 6rem 0;
}
.section-title { font-size: 2.2rem; font-weight: 800; color: #fff; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 500px; }
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 1.8rem;
  transition: all .3s; height: 100%;
}
.feature-card:hover { border-color: var(--brand-orange); transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: rgba(230,81,0,0.15); color: var(--brand-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.feature-card h5 { color: #fff; font-weight: 700; margin-bottom: 0.6rem; }
.feature-card p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ---- PRICING ---- */
.section-pricing { background: var(--brand-dark); padding: 6rem 0; }
.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 2.2rem; height: 100%;
  transition: all .3s; position: relative;
}
.pricing-card.featured {
  border-color: var(--brand-orange);
  background: rgba(230,81,0,0.06);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand-orange); color: #fff;
  padding: 0.2rem 1rem; border-radius: 100px; font-size: 0.75rem; font-weight: 700;
  white-space: nowrap;
}
.pricing-name  { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1; }
.pricing-price sup { font-size: 1.2rem; top: -1rem; position: relative; color: var(--brand-gold); }
.pricing-period { color: var(--text-muted); font-size: 0.85rem; }
.pricing-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.pricing-features li { padding: 0.4rem 0; color: #ccc; font-size: 0.9rem; }
.pricing-features li i { color: var(--brand-orange); margin-right: 0.5rem; }
.btn-pricing {
  width: 100%; padding: 0.75rem; border-radius: 8px; font-weight: 600;
  text-decoration: none; text-align: center; display: block; font-size: 0.95rem;
  transition: all .2s;
}
.btn-pricing-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.2); color: #fff; }
.btn-pricing-outline:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.btn-pricing-filled { background: var(--brand-orange); color: #fff; border: none; }
.btn-pricing-filled:hover { background: #bf360c; color: #fff; }

/* ---- HOW IT WORKS ---- */
.section-how { background: #111f2e; padding: 6rem 0; }
.step-item { text-align: center; }
.step-number {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(230,81,0,0.15); border: 2px solid var(--brand-orange);
  color: var(--brand-orange); font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.step-item h5 { color: #fff; font-weight: 700; }
.step-item p  { color: var(--text-muted); font-size: 0.9rem; }

/* ---- FOOTER ---- */
.site-footer {
  background: #080e16; padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { font-size: 1.2rem; font-weight: 700; color: #fff; }
.footer-brand i { color: var(--brand-orange); }
.site-footer p  { color: var(--text-muted); font-size: 0.85rem; }
.site-footer hr { border-color: rgba(255,255,255,0.08); }

/* ---- ALERTS ---- */
.alert-floating {
  position: fixed; top: 80px; right: 20px; z-index: 9999;
  min-width: 280px; max-width: 380px;
}
