/* AutoWrench's own look (plan E5): white / light background, dark gray text, one strong color - orange. */
:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --orange-soft: #fff4ec;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --radius: 14px;
    --head-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; }
a { color: var(--orange-dark); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 720px; }
.text-center { text-align: center; }

.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 0;
    border-radius: 10px;
    padding: .8rem 1.4rem;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }

/* ---------- header (stays visible while scrolling) ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); gap: 1rem; }
.header-actions { display: flex; align-items: center; gap: 1rem; }

.brand { font-size: 1.4rem; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.brand span { color: var(--orange); }

.lang-switch { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .9rem; }
.lang-switch button { background: none; border: 0; padding: .2rem; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.lang-switch button.active { color: var(--orange-dark); }

/* On phones the header button says "Free demo" (B1). */
.label-short { display: none; }
@media (max-width: 640px) {
    .label-long { display: none; }
    .label-short { display: inline; }
    .header-row, .header-actions { gap: .6rem; }
    .brand { font-size: 1.2rem; }
    .lang-switch { gap: .2rem; }
    .btn-sm { padding: .45rem .75rem; }
}

.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-light { background: #fff; color: var(--orange-dark); }
.btn-light:hover { background: var(--orange-soft); color: var(--orange-dark); transform: translateY(-1px); }

.section-title { text-align: center; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 2.5rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

/* ---------- B2 hero ---------- */
.hero { padding: 64px 0 80px; background: linear-gradient(180deg, var(--orange-soft), #fff 85%); }
.hero-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; margin: 1rem 0; }
.hero .lead { font-size: 1.15rem; color: #374151; max-width: 34rem; margin-bottom: 1.75rem; }
.hero-note { margin: 1rem 0 0; color: var(--muted); font-size: .95rem; }
.hero-note i { color: var(--orange); }
.pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: #fff; color: var(--orange-dark); border: 1px solid #fed7aa;
    border-radius: 999px; padding: .3rem .85rem; font-size: .9rem; font-weight: 600;
}
@media (max-width: 860px) {
    .hero-row { grid-template-columns: 1fr; text-align: center; }
    .hero .lead { margin-left: auto; margin-right: auto; }
}

/* A phone frame around a screenshot (the image is cut at the bottom, like a real screen). */
.hero-visual { display: flex; justify-content: center; }
.phone {
    width: 260px; border-radius: 38px; background: #111827; padding: 10px;
    box-shadow: 0 30px 60px rgba(249, 115, 22, .25), 0 10px 25px rgba(0, 0, 0, .15);
}
/* The screenshots are taken at 390 x 780, so the screen is 1:2 too. */
.phone-screen { aspect-ratio: 1 / 2; overflow: hidden; border-radius: 28px; background: #fff; }
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 860px) { .phone { width: 220px; } }

/* ---------- B6 screenshots ---------- */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 2rem; max-width: 900px; margin: 0 auto; }
.shot { margin: 0; display: flex; flex-direction: column; align-items: center; }
.shot figcaption { margin-top: 1.25rem; font-weight: 700; font-size: 1.1rem; text-align: center; }
.shot-wide { grid-column: 1 / -1; }
.phone-sm { width: 240px; box-shadow: 0 20px 40px rgba(0, 0, 0, .15); }
.browser { width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .12); background: #fff; }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: #f3f4f6; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.browser img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) {
    .shots { grid-template-columns: 1fr; }
    .phone-sm { width: 220px; }
}

/* ---------- B3 problem ---------- */
.point { text-align: center; padding: 0 1rem; }
.point i { font-size: 2.2rem; color: var(--orange); display: block; margin-bottom: .75rem; }
.point p { font-size: 1.05rem; }

/* ---------- B4 what you get ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .06); transform: translateY(-2px); }
.card h3 { font-size: 1.2rem; }
.card p { color: #4b5563; margin: 0; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem; }

/* ---------- B5 how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: none; }
.steps li { text-align: center; padding: 0 .5rem; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: #4b5563; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 1.3rem; display: inline-grid; place-items: center; margin-bottom: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- B7 price ---------- */
.offer { text-align: center; color: #fff; border-radius: 20px; padding: 3rem 1.5rem; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.offer-big { display: block; font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
.offer-text { font-size: 1.2rem; margin: .5rem 0 .25rem; }
.offer-small { opacity: .85; margin-bottom: 1.75rem; }

/* ---------- B8 FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .75rem; }
.faq-item summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 1.25rem 1rem; margin: 0; color: #4b5563; }

/* ---------- B9 the demo form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 18px; padding: 2.5rem 2rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .06); }
.form-card .section-title { margin-bottom: .75rem; }
.form-intro { text-align: center; color: var(--muted); margin-bottom: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 2rem 1.25rem; } }

.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]) {
    width: 100%; font: inherit; padding: .75rem .9rem; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; color: var(--text);
}
.field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249, 115, 22, .2); }
.field-error { display: block; min-height: 1.2rem; color: #dc2626; font-size: .875rem; margin-top: .25rem; }
.field.invalid input:not([type="checkbox"]) { border-color: #dc2626; }

.consent { margin: 1rem 0 .5rem; }
.field .check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--orange); flex-shrink: 0; }

/* The spam trap: off screen, not display:none (some bots skip hidden fields). */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 10px; padding: .75rem 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.spinner { width: 1.1rem; height: 1.1rem; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.spinner[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.thanks { text-align: center; padding: 1rem 0; outline: none; }
.thanks i { font-size: 3.5rem; color: #16a34a; }
.thanks h2 { margin-top: 1rem; }
.thanks p { color: #4b5563; max-width: 30rem; margin: 0 auto; }

/* ---------- F1 privacy page ---------- */
.privacy h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; }
.privacy h2 { font-size: 1.2rem; margin-top: 2rem; margin-bottom: .5rem; }
.privacy-intro { font-size: 1.1rem; color: #374151; }
.privacy-updated { color: var(--muted); font-size: .9rem; margin-top: 2rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 32px 0; font-size: .95rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--orange-dark); }
.footer-copy { margin: 0; color: var(--muted); }
