/* GAM Vehicle Editor - Official Website Styles
   gam-editor.com
   ============================================= */

:root {
  --bg:        #0d0f10;
  --bg-card:   #151718;
  --bg-nav:    #111314;
  --accent:    #27bd51;
  --accent-h:  #1fa040;
  --text:      #e8eaeb;
  --text-muted:#8a9099;
  --border:    #252829;
  --radius:    10px;
  --font:      'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

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

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color .2s;
}

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s;
}

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

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 100px 40px 80px;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(39,189,81,.12);
  color: var(--accent);
  border: 1px solid rgba(39,189,81,.25);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: .5px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
  display: inline-block;
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .2s, transform .1s;
  display: inline-block;
}

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

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Screenshot ── */
.screenshot-wrap {
  max-width: 960px;
  margin: 0 auto 80px;
  padding: 0 40px;
  border-radius: var(--radius);
  overflow: hidden;
}

.screenshot-wrap img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── Section ── */
section { padding: 80px 40px; }

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

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -.3px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 48px;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s;
}

.feature-card:hover { border-color: rgba(39,189,81,.35); }

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

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ── Games Supported ── */
.games-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.game-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-badge.active { color: var(--text); border-color: rgba(39,189,81,.3); }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 820px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 40px rgba(39,189,81,.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
}

.pricing-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.pricing-price {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1;
}

.pricing-price sup { font-size: 1.2rem; vertical-align: super; }
.pricing-price sub { font-size: 1rem; color: var(--text-muted); font-weight: 400; }

.pricing-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.pricing-features li.disabled { color: var(--text-muted); }
.pricing-features li.disabled::before { content: '–'; color: var(--text-muted); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Legal pages ── */
.legal-wrap {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 40px 80px;
}

.legal-wrap h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-wrap h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 36px 0 12px;
}

.legal-wrap p, .legal-wrap li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-wrap ul { padding-left: 20px; }
.legal-wrap a { color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 60px 20px 50px; }
  section { padding: 60px 20px; }
  .screenshot-wrap { padding: 0 20px; }
  footer { padding: 30px 20px; flex-direction: column; align-items: flex-start; }
  .legal-wrap { padding: 0 20px 60px; }
}
