/* Parking Addis website. Premium dark-purple look, shared by every page. */
:root {
  --purple: #6A3BF0;
  --purple-deep: #5B2BD6;
  --violet: #8B6CF0;
  --night: #170B3B;
  --night-2: #22104F;
  --night-card: #2E1A66;
  --lilac: #F3EEFF;
  --lilac-text: #CBBDF7;
  --gold: #F2C66D;
  --ink: #13111C;
  --muted: #615C70;
  --line: #E8E4F2;
  --surface: #F8F6FD;
  --paid: #1E7B4F;
  --paid-bg: #E7F6EE;
  --warn-bg: #FFF3E8;
  --warn-ink: #8A3D06;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(23, 11, 59, .06), 0 12px 32px rgba(23, 11, 59, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "SF Pro Display", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Ethiopic", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(23, 11, 59, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.2px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 14px rgba(106, 59, 240, .55); }
.top nav { margin-left: auto; display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.top nav a { color: var(--lilac-text); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: color .2s, background .2s; }
.top nav a:hover, .top nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.top nav a.cta { background: #fff; color: var(--night); margin-left: 6px; }
.top nav a.cta:hover { background: var(--lilac); }
@media (max-width: 640px) { .top nav a:not(.cta) { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(139, 108, 240, .45), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(106, 59, 240, .35), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  padding: 72px 0 96px;
}
.hero::after { /* fine grid for depth */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 48px 0 72px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px; color: var(--lilac-text); margin-bottom: 22px;
}
.pill b { background: var(--gold); color: var(--night); border-radius: 999px; padding: 2px 10px; font-size: 12px; letter-spacing: .4px; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 66px); line-height: 1.02; margin: 0 0 20px; letter-spacing: -1.8px; font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #fff 0%, #CDBEFF 45%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { color: var(--lilac-text); font-size: 19px; max-width: 540px; margin: 0 0 32px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--night); font-weight: 700; text-decoration: none;
  padding: 15px 24px; border-radius: 14px; font-size: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(0, 0, 0, .3); }
.btn.ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }
.btn.dark { background: var(--night); color: #fff; }
.trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.trust div { font-size: 14px; color: var(--lilac-text); }
.trust b { display: block; color: #fff; font-size: 24px; letter-spacing: -.5px; }

/* phone mockup */
.device {
  position: relative; width: 300px; max-width: 100%; margin: 0 auto;
  border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #3a3450, #0d0b14);
  box-shadow: 0 50px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transform: rotate(-3deg);
}
.device::before { /* glow */
  content: ""; position: absolute; inset: -60px; z-index: -1;
  background: radial-gradient(closest-side, rgba(139, 108, 240, .55), transparent);
}
.screen { border-radius: 36px; overflow: hidden; background: #F4F2FA; color: var(--ink); font-size: 13px; }
.screen .bar { background: var(--purple-deep); color: #fff; padding: 22px 16px 16px; border-radius: 0 0 22px 22px; }
.screen .bar .who { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.screen .bar .who img { width: 26px; height: 26px; border-radius: 7px; }
.screen .bar .who small { display: block; color: var(--lilac-text); font-weight: 500; font-size: 11px; }
.screen .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.screen .stats div { background: rgba(255, 255, 255, .12); border-radius: 10px; padding: 8px; font-size: 10px; color: var(--lilac-text); }
.screen .stats b { display: block; color: #fff; font-size: 17px; }
.screen .scan { margin: 12px; background: var(--purple-deep); color: #fff; text-align: center; font-weight: 700; padding: 12px; border-radius: 12px; }
.screen .car { margin: 0 12px 8px; background: #fff; border-radius: 12px; padding: 10px; display: flex; align-items: center; justify-content: space-between; gap: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.screen .car small { display: block; color: var(--muted); font-size: 10px; }
.screen .car b { font-size: 14px; }
.screen .end { height: 18px; }
.screen .plate { font-size: 12px; }

/* ---------------------------------------------------------------- plates */
.plate {
  display: inline-flex; align-items: stretch;
  border: 2px solid currentColor; border-radius: 6px; overflow: hidden;
  font-weight: 800; letter-spacing: 1px; background: #fff; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.plate .badge { background: currentColor; padding: 1px 7px; display: flex; align-items: center; }
.plate .badge span { color: #fff; }
.plate .main { padding: 1px 9px; }
.plate.big { font-size: 28px; border-width: 3px; border-radius: 10px; }
.plate.big .badge { padding: 4px 12px; }
.plate.big .main { padding: 4px 14px; }
.plate.on-yellow { background: #FFD43B; }
.plate.on-yellow .badge span { color: #FFD43B; }
.plate.on-blue { background: #A9D6F5; }
.plate.on-green { background: #B8E6B0; }
.ink-1 { color: #C62828; } .ink-2 { color: #1F4FB4; } .ink-3 { color: #1E7B3C; }
.ink-4 { color: #15171A; } .ink-5 { color: #E06A00; } .ink-new { color: #15171A; }
.ink-un { color: #3A9AD9; } .ink-au { color: #43A047; } .ink-police { color: #15171A; } .ink-other { color: #455A64; }
.plate.on-amber { background: #FFD43B; }
.plate.on-amber .badge { background: #FFD43B; }
.plate.on-amber .badge span { color: #15171A; }
.plate.badge-yellow .badge { background: #FFD43B; }
.plate.badge-yellow .badge span { color: #15171A; }
.plate.badge-flag .badge { background: #078930; }
/* New defence-force plate: diagonal split, green on top, red below,
   golden characters. */
.plate.df-new {
  background: linear-gradient(to bottom left, #078930 0 50%, #C62828 50% 100%);
  color: #F2C14E; border-color: #5A4A12;
}
.plate.df-new .badge { background: transparent; }
.plate.df-new .badge span { color: #F2C14E; }
/* New ETH plates: coloured characters on a white base, ETH included. */
.plate.badge-plain .badge { background: #fff; border-right: 2px solid currentColor; }
.plate.badge-plain .badge span { color: currentColor; }

/* ---------------------------------------------------------------- sections */
section { padding: 96px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }
.head { max-width: 680px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: clamp(30px, 4vw, 44px); margin: 12px 0 14px; letter-spacing: -1px; line-height: 1.1; }
.lead { color: var(--muted); font-size: 18px; margin: 0; }
.alt { background: var(--surface); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: #fff; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(23,11,59,.06), 0 22px 44px rgba(23,11,59,.12); }
.card h3 { margin: 18px 0 8px; font-size: 19px; letter-spacing: -.2px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--purple), #9C7BFF); color: #fff;
  box-shadow: 0 10px 22px rgba(106, 59, 240, .35);
}
.icon svg { width: 26px; height: 26px; }

/* how it works */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }
.flow .card { counter-increment: s; padding-top: 70px; }
.flow .card::before {
  content: "0" counter(s); position: absolute; top: 22px; left: 26px;
  font-size: 30px; font-weight: 800; letter-spacing: -1px;
  background: linear-gradient(90deg, var(--purple), #B49CFF); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* plate gallery */
.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.plates .tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.plates .tile { flex-wrap: wrap; }
.plates .tile .plate { flex: none; }
.plates .tile span.what { color: var(--muted); font-size: 14px; text-align: right; flex: 1 1 120px; }

/* price */
.pricing { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: 40px; color: #fff;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(242, 198, 109, .22), transparent 60%),
    linear-gradient(160deg, var(--night-2), var(--night));
  box-shadow: 0 30px 60px rgba(23, 11, 59, .35);
}
.price-card .tag { display: inline-block; background: var(--gold); color: var(--night); font-weight: 800; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price-card .amount { font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: -3px; margin: 22px 0 6px; font-variant-numeric: tabular-nums; }
.price-card .amount small { font-size: 22px; letter-spacing: 0; color: var(--lilac-text); font-weight: 600; }
.price-card p { color: var(--lilac-text); margin: 0 0 24px; }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: rgba(242, 198, 109, .18); color: var(--gold); margin-top: 2px; }
.periods { border-radius: 28px; border: 1px solid var(--line); background: #fff; padding: 32px; box-shadow: var(--shadow); }
.periods h3 { margin: 0 0 6px; font-size: 20px; }
.periods table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: 12px; }
.periods td { padding: 15px 0; border-bottom: 1px solid var(--line); }
.periods tr:last-child td { border-bottom: 0; }
.periods td:last-child { text-align: right; font-weight: 800; }
.periods td small { display: block; color: var(--muted); font-size: 13px; }

/* steps list (renew, delete account) */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 70px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(145deg, var(--purple), #9C7BFF); color: #fff; display: grid; place-items: center; font-weight: 800;
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--purple); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* closing band */
.band {
  border-radius: 32px; padding: 56px; color: #fff; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(500px 260px at 15% 0%, rgba(139, 108, 240, .6), transparent 60%),
    radial-gradient(500px 260px at 90% 100%, rgba(242, 198, 109, .25), transparent 60%),
    linear-gradient(160deg, var(--night-2), var(--night));
}
.band h2 { margin-top: 0; }
.band p { color: var(--lilac-text); max-width: 560px; margin: 0 auto 28px; }
.band .actions { justify-content: center; }
@media (max-width: 640px) { .band { padding: 36px 22px; } }

/* ---------------------------------------------------------------- inner pages */
.page-hero { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: #fff; padding: 56px 0 64px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 10px 0 8px; letter-spacing: -1.2px; line-height: 1.1; }
.page-hero p { color: var(--lilac-text); margin: 0; }
.page-hero .eyebrow { color: var(--gold); }
.page { padding: 48px 0 80px; }
.page h1 { font-size: 34px; margin: 0 0 8px; letter-spacing: -.8px; }
.page h2 { font-size: 23px; margin: 40px 0 10px; letter-spacing: -.3px; }
.page .meta { color: var(--muted); margin: 0 0 24px; }
.prose { max-width: 760px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 18px 0; }
.box.warn { background: var(--warn-bg); border-color: #F6D9BF; color: var(--warn-ink); }
.todo { background: #FFF3BF; padding: 0 5px; border-radius: 5px; }

/* ---------------------------------------------------------------- receipt */
.receipt { max-width: 460px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(23, 11, 59, .18); border: 1px solid var(--line); }
.receipt .head { background: linear-gradient(160deg, var(--night-2), var(--night)); color: #fff; padding: 26px 24px; display: flex; gap: 14px; align-items: center; }
.receipt .tick { width: 48px; height: 48px; border-radius: 50%; background: #3DDC97; color: #0F3B26; display: grid; place-items: center; font-size: 26px; font-weight: 800; flex: none; box-shadow: 0 0 0 6px rgba(61, 220, 151, .18); }
.receipt .head b { display: block; font-size: 24px; letter-spacing: -.4px; }
.receipt .head span { color: var(--lilac-text); font-size: 14px; }
.receipt .body { padding: 26px 24px 24px; }
.receipt .plate-wrap { text-align: center; margin: 4px 0 8px; }
.receipt .plate-wrap .plate { display: inline-flex; }
.receipt .cat { text-align: center; font-weight: 700; margin-bottom: 20px; font-size: 15px; }
.receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; margin: 0; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.receipt .total { border-top: 2px dashed var(--line); margin-top: 20px; padding-top: 18px; display: flex; justify-content: space-between; align-items: baseline; font-size: 24px; font-weight: 800; }
.receipt-wrap { background: radial-gradient(700px 360px at 50% 0%, var(--lilac), #fff 70%); }

/* ---------------------------------------------------------------- footer */
footer { background: var(--night); color: var(--lilac-text); padding: 48px 0 36px; font-size: 14px; }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
footer .brand { font-size: 16px; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
