/* ===================== Theme tokens (from Iraq Auto app) ===================== */
:root {
  --primary: #1A1F25;        /* lightPrimary - dark navy */
  --secondary: #0466C8;      /* lightSecondary - blue */
  --accent: #EB4E3D;         /* brand red (logo / lightError) */
  --success: #198754;        /* lightSuccess */
  --heading: #1E293B;        /* lightHeadingText */
  --body: #475569;           /* lightBodyText */
  --bg: #F8FAFC;             /* lightScaffoldBackground */
  --bg-alt: #f3f5f6;         /* lightBackground */
  --card: #FFFFFF;           /* lightCardBackground */
  --border: #EEF0F3;         /* lightTextFieldBorder */
  --border-strong: #B6B8BA;  /* lightBorder */
  --white: #FFFFFF;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(26, 31, 37, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 31, 37, 0.16);
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Albert Sans', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--heading); line-height: 1.2; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}
.eyebrow.light { color: #9ec5ff; }

.accent { color: var(--accent); }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: #0f1318; }

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--primary); background: #fff; }

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand img { height: 34px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--heading);
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover { color: var(--secondary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===================== Hero ===================== */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(4, 102, 200, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.lead { font-size: 18px; max-width: 560px; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}
.stat span { font-size: 14px; color: var(--body); }

/* Plate visuals */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}
.plate {
  width: 320px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
}
.plate-top {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed var(--border-strong);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.plate-flag {
  width: 28px; height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ce1126 33%, #ffffff 33% 66%, #000000 66%);
  border: 1px solid var(--border-strong);
}
.plate-country {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--heading);
}
.plate-number {
  display: flex;
  align-items: baseline;
  gap: 12px;
  justify-content: center;
  padding: 6px 0;
}
.plate-letter {
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
}
.plate-digits {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
}
.plate-city {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  margin-top: 4px;
}
.plate-vip {
  position: absolute;
  bottom: -10px;
  right: -8px;
  width: 220px;
  transform: rotate(6deg);
  border-color: var(--accent);
}
.plate-vip .plate-country { color: var(--accent); }
.plate-vip .plate-digits { color: var(--accent); font-size: 36px; }

/* ===================== Sections ===================== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.section-head p { font-size: 17px; }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 26px;
  border-radius: 14px;
  background: var(--bg-alt);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 15px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step-num {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  background: var(--secondary);
  border-radius: 50%;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }

/* Download */
.download {
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(4, 102, 200, 0.35), transparent 60%),
    var(--primary);
}
.download-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.download h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.download p { color: #cbd5e1; font-size: 17px; margin-bottom: 32px; }

.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--primary);
  padding: 12px 22px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-badge-icon { font-size: 24px; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-badge-text small { font-size: 11px; color: var(--body); }
.store-badge-text strong { font-size: 18px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.contact-icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-size: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
}
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-card p { font-size: 17px; font-weight: 600; color: var(--secondary); }

/* ===================== Footer ===================== */
.site-footer { background: var(--primary); color: #cbd5e1; padding-top: 56px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-brand img { height: 32px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 360px; font-size: 15px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { font-size: 15px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 14px;
}
.footer-bottom .container { text-align: center; }

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 260px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .plate { width: 280px; }
  .plate-vip { width: 190px; right: 0; }
}
