/* AutoKadr website: the panel's colours (navy, coral, soft grey cards). Works RTL and LTR. */
:root {
  --navy: #23284e; --navy-2: #2f3566; --coral: #e8604c; --coral-2: #d24f3c;
  --bg: #eef0f9; --card: #ffffff; --ink: #1f2244; --muted: #646a8c; --line: #dfe2f0;
  --radius: 20px; --shadow: 0 8px 24px rgba(35, 40, 78, .08);
  --u: #6c7cff; --c: #e8604c; --s: #19a974; --l: #f2a33a; --o: #8a63d2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 "IBM Plex Sans Arabic", "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif; }
html[lang="en"] body { font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.lead { font-size: 19px; color: var(--muted); max-width: 46ch; }
section { padding: 56px 0; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(238, 240, 249, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; font-family: "IBM Plex Sans", sans-serif; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--coral); color: #fff; font-size: 13px; letter-spacing: .5px; }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 14px; }
.lang { text-decoration: none; color: var(--muted); font-weight: 500; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 14px; border: 0; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-2); }
.btn-soft { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }

/* hero */
.hero { background: var(--navy); color: #fff; padding: 72px 0 84px; border-end-start-radius: 48px; }
.hero .lead, .hero .muted { color: #c7cbe6; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.hero-media img { border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); width: min(380px, 100%); margin-inline: auto; }

/* cards and grids */
.card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 18px; }
.three { grid-template-columns: repeat(3, 1fr); }
.pillars { grid-template-columns: repeat(5, 1fr); }
.plans { grid-template-columns: repeat(4, 1fr); align-items: start; }
.tools { grid-template-columns: repeat(3, 1fr); }
.pain p { margin: 0; font-size: 17px; font-weight: 500; }
.pillar { border-top: 5px solid var(--u); }
.pillar-cut { border-top-color: var(--c); } .pillar-sound { border-top-color: var(--s); } .pillar-look { border-top-color: var(--l); } .pillar-organize { border-top-color: var(--o); }
.pillar ul { margin: 0; padding-inline-start: 18px; color: var(--ink); font-size: 15px; }
.more { font-weight: 600; color: var(--coral); text-decoration: none; display: inline-block; margin-top: 18px; }
.proof { padding: 40px 0; }
.proof .wrap { background: #fff; border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow); }
.proof p { margin: 0; font-size: 18px; color: var(--muted); max-width: 70ch; }
.placeholder { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #e4e7f4 0 12px, #eceff8 12px 24px); border: 2px dashed #c9cde3; border-radius: 16px; color: var(--muted); text-align: center; padding: 16px; font-weight: 500; }
.tool .placeholder { margin-bottom: 16px; font-size: 13px; }
.plan-tag { display: inline-block; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--bg); font-size: 13px; color: var(--navy); font-weight: 600; }
.page-head { padding: 56px 0 8px; }
.pillar-block { padding: 28px 0; }
.pillar-block h2 .muted { font-size: 17px; font-weight: 500; }

/* pricing */
.plans { align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan-for { color: var(--muted); font-size: 14px; margin: 0 0 8px; min-height: 2.8em; }
.plan-hot { outline: 2px solid var(--coral); }
.plan .badge { position: absolute; top: -12px; inset-inline-start: 18px; background: var(--coral); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.price b { font-size: 36px; line-height: 1.1; }
.price span { color: var(--muted); }
.price-sub { color: var(--muted); font-size: 13px; margin: 0 0 12px; min-height: 1.6em; }
.btn-block { width: 100%; margin-bottom: 14px; }
.plan-inherits { font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.checks li { position: relative; padding-inline-start: 22px; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--s); font-weight: 700; }
.checks li.muted::before { content: "+"; color: var(--muted); }
.badge-line { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--coral-2); font-weight: 600; box-shadow: var(--shadow); }
.table-wrap { padding: 0; overflow-x: auto; margin-bottom: 14px; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.compare caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.compare th, .compare td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { position: sticky; top: 0; background: #fff; font-size: 16px; }
.compare th[scope="row"] { text-align: start; font-weight: 500; }
.compare tr.group th { text-align: start; background: var(--bg); font-weight: 700; color: var(--navy); }
.compare td:nth-child(4), .compare thead th:nth-child(4) { background: #fff6f4; }
.compare .yes { color: var(--s); font-weight: 700; font-size: 17px; }
.compare .no { color: #b9bdd3; }

/* final call */
.final .wrap { background: var(--navy); color: #fff; border-radius: 32px; padding: 48px; text-align: center; }
.final p { color: #c7cbe6; }

/* forms, faq, changelog, about */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form input, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfbfe; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--coral); border-color: transparent; }
.hp { position: absolute; inset-inline-start: -9999px; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.ok { color: #19864f; } .form-msg.bad { color: var(--coral-2); }
.qa { margin-bottom: 12px; }
.qa summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.qa p { margin: 12px 0 0; color: var(--muted); }
.log { display: grid; gap: 14px; }
.log-item h3 { margin: 0; }
.about .placeholder { margin-bottom: 24px; }
.about p, .prose p { font-size: 18px; }

/* footer */
.foot { padding: 40px 0 24px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a { text-decoration: none; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .three, .tools, .foot-row { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .top-row { justify-content: space-between; }
}
@media (max-width: 560px) {
  .pillars, .plans { grid-template-columns: 1fr; }
  .final .wrap { padding: 32px 20px; }
  section { padding: 40px 0; }
}
