@font-face {
    font-family: 'Welio Manrope';
    src: url('./manrope-regular.ttf') format('truetype');
    font-weight: 400 600;
    font-display: swap;
}
@font-face {
    font-family: 'Welio Manrope';
    src: url('./manrope-extrabold.ttf') format('truetype');
    font-weight: 700 900;
    font-display: swap;
}

:root, .dealer-page {
    --flow-primary: #e60012;
    --flow-primary-dark: #c7000f;
    --flow-action: #e60012;
    --flow-ink: #0f172a;
    --flow-muted: #64748b;
    --flow-line: #e2e8f0;
    --flow-paper: #f8fafc;
    --flow-surface: #ffffff;
    --flow-track: #e2e8f0;
    --flow-thumb: #cbd5e1;
    --flow-error: #ef4444;
    --flow-error-bg: #fff5f5;
}

* {
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

body.dealer-page {
    margin: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    color: var(--flow-ink);
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, rgba(230, 0, 18, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(37, 99, 235, 0.03) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(230, 0, 18, 0.025) 0px, transparent 50%);
    font-family: 'Welio Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-color: var(--flow-thumb) var(--flow-track);
    scrollbar-width: thin;
}

body.dealer-page * {
    scrollbar-color: var(--flow-thumb) var(--flow-track);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--flow-track);
}
::-webkit-scrollbar-thumb {
    background: var(--flow-thumb);
    border-radius: 999px;
}

::selection {
    background: #111111;
    color: #ffffff;
}

[hidden] {
    display: none !important;
}

button, input, select {
    font: inherit;
}

button, a, select, input[type=checkbox] {
    -webkit-tap-highlight-color: transparent;
}

button, select, a {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

a {
    color: inherit;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

h1:focus {
    outline: none;
}

/* Page Header */
.page-header {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 16px 14px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.brand-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.header-label {
    display: inline-block;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.store-link {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.store-link:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.store-link span {
    font-size: 13px;
    color: #e60012;
}

/* Dealer Page Layout Container */
.dealer-container {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
}

/* Banner Slider Container */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #0f172a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    margin: 4px 0 16px;
}

.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    aspect-ratio: 2134 / 1083;
    overflow: hidden;
    background: #f1f5f9;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Slider Prev / Next Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    transition: opacity 0.25s ease, transform 0.2s ease, background-color 0.2s ease;
    z-index: 10;
    opacity: 0;
}

.banner-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn-prev {
    left: 12px;
}

.slider-btn-next {
    right: 12px;
}

.slider-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.96);
}

/* Slider Dots Indicator */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    padding: 0;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.25s ease;
    cursor: pointer;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.slider-dot.active {
    width: 22px;
    background: #ffffff;
}

/* Text Ticker Carousel (Under Banner Slider) */
.text-ticker {
    position: relative;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    margin: 0 0 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.text-ticker:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.text-ticker-track {
    display: flex;
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.text-ticker-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 38px 11px 16px;
    box-sizing: border-box;
}

.text-ticker-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex: 0 0 36px;
    transition: transform 0.2s ease;
}

.text-ticker:hover .text-ticker-icon {
    transform: scale(1.05);
}

.text-ticker-headline {
    flex: 1;
    min-width: 0;
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* 1. Kırmızı Tema (Forma Özel Fiyatlar) */
.text-ticker-red .text-ticker-icon {
    background: #fff8f6;
    border: 1px solid #fee2e2;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.08);
}

.text-ticker-red .text-ticker-badge {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fee2e2;
}

/* 2. Mavi Tema (Hızlı ve Aynı Gün Kargo) */
.text-ticker-blue .text-ticker-icon {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.text-ticker-blue .text-ticker-badge {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

/* 3. Zümrüt Yeşili Tema (Teknik Servis ve Garanti) */
.text-ticker-green .text-ticker-icon {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.08);
}

.text-ticker-green .text-ticker-badge {
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
}

/* Ticker Vertical Dots */
.text-ticker-dots {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.text-ticker-dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.text-ticker-dot.active {
    height: 14px;
    background: #0f172a;
}

/* Main Form Card */
main {
    max-width: 580px;
    width: 100%;
    margin: 0 auto 36px;
    padding: 34px 30px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
    border: 1px solid #e2e8f0;
}

.flow-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #64748b;
}

#step-count {
    color: #0f172a;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: -0.01em;
}

#save-status {
    text-align: right;
    font-size: 12px;
    font-weight: 500;
    color: #16a34a;
}

/* Progress bar (Matches .progress-bar-bg and .progress-bar-fill) */
progress {
    display: block;
    width: 100%;
    height: 7px;
    margin: 0 0 24px;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    background: #f1f5f9;
}

progress::-webkit-progress-bar {
    background: #f1f5f9;
    border-radius: 999px;
}

progress::-webkit-progress-value {
    background: linear-gradient(90deg, #e60012 0%, #ff3b30 100%);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(230, 0, 18, 0.35);
    transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

progress::-moz-progress-bar {
    background: linear-gradient(90deg, #e60012 0%, #ff3b30 100%);
    border-radius: 999px;
}

/* Eyebrow & Headings */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecdd3;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    margin: 0 0 14px;
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.06);
    line-height: 1.4;
}

#question .eyebrow::before {
    display: none;
}

h1 {
    font-size: 23px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.help {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 22px;
    min-height: 20px;
}

#answer {
    min-height: 130px;
}

#question {
    animation: fadeIn 0.25s ease-in-out;
}

/* Choices (Evet / Hayır) */
.choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

.choice {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 130px;
    text-align: center;
    padding: 24px 16px;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.choice-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    margin-bottom: 12px;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.choice:first-child .choice-icon {
    background: #eff6ff;
    border-color: #dbeafe;
    color: #2563eb;
}

.choice:last-child .choice-icon {
    background: #f5f3ff;
    border-color: #ede9fe;
    color: #7c3aed;
}

.choice-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.75;
}

.choice:hover {
    border-color: #94a3b8;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.choice:first-child:hover .choice-icon {
    transform: scale(1.06);
    background: #dbeafe;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.choice:last-child:hover .choice-icon {
    transform: scale(1.06);
    background: #ede9fe;
    border-color: #ddd6fe;
    color: #6d28d9;
}

.choice[aria-pressed="true"] {
    border-color: #0f172a;
    background: #ffffff;
    box-shadow: 0 0 0 1.5px #0f172a, 0 8px 24px rgba(15, 23, 42, 0.08);
}

.choice[aria-pressed="true"] .choice-icon {
    background: #f1f5f9;
    border-color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

/* 3D Icons Global Styling */
.ticker-3d-img,
.perk-3d-img,
.contact-3d-img,
.choice-3d-img,
.channel-3d-img {
    display: block;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.ticker-3d-img {
    width: 24px;
    height: 24px;
}

.perk-3d-img {
    width: 26px;
    height: 26px;
}

.contact-3d-img {
    width: 20px;
    height: 20px;
}

.choice-3d-img {
    width: 32px;
    height: 32px;
}

.channel-3d-img {
    width: 24px;
    height: 24px;
}

.choice-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.choice-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 4px;
}

.choice-description {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.4;
}

.choice-arrow {
    display: none;
}

.choice:active {
    transform: translateY(0);
}

/* Channels List (matches .channel-options and .channel-card) */
.channel-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.channel-option {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 12px 18px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
}

.channel-icon {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    transition: all 0.2s ease;
}

.channel-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
}

.channel-option:nth-child(1) .channel-icon {
    background: #eff6ff;
    border-color: #dbeafe;
    color: #2563eb;
}

.channel-option:nth-child(2) .channel-icon {
    background: #fff7ed;
    border-color: #ffedd5;
    color: #ea580c;
}

.channel-option:nth-child(3) .channel-icon {
    background: #fdf2f8;
    border-color: #fce7f3;
    color: #db2777;
}

.channel-option:nth-child(4) .channel-icon {
    background: #f0fdf4;
    border-color: #dcfce7;
    color: #16a34a;
}

.channel-option:nth-child(5) .channel-icon {
    background: #f5f3ff;
    border-color: #ede9fe;
    color: #7c3aed;
}

.channel-title {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.channel-option input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.channel-option input::before {
    content: '';
    width: 9px;
    height: 5px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateY(-1px) rotate(-45deg) scale(0);
    transition: transform 0.15s ease;
}

.channel-option input:checked {
    border-color: #e60012;
    background: #e60012;
}

.channel-option input:checked::before {
    transform: translateY(-1px) rotate(-45deg) scale(1);
}

.channel-option:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.channel-option:has(input:checked) {
    background: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 0 0 1px #0f172a, 0 4px 14px rgba(15, 23, 42, 0.06);
}

.channel-option:has(input:checked) .channel-icon {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

/* Form Fields */
.input-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.field {
    width: 100%;
    padding: 13px 16px;
    min-height: 50px;
    font-size: 15px;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 11px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.field::placeholder {
    color: #94a3b8;
}

.field:hover {
    border-color: #94a3b8;
}

.field:focus {
    border-color: #e60012;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.14);
}

select.field {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e60012' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.field[aria-invalid=true] {
    border-color: #ef4444;
    background-color: #fff5f5;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.field-error {
    min-height: 22px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    margin: 6px 0 0;
}

/* Province + district on one screen */
.location-fields {
    display: grid;
    gap: 14px;
}

.field:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

/* Actions & Buttons */
.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1.5px solid #f1f5f9;
}

[data-step=has_store] .actions {
    display: none;
}

[data-step=has_store] .field-error:empty {
    min-height: 0;
    margin: 0;
}

.forward-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
}

.primary-button {
    height: 48px;
    border-radius: 11px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: #e60012;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    min-width: 140px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(230, 0, 18, 0.2);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.primary-button:hover:not(:disabled) {
    background: #cc0010;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(230, 0, 18, 0.28);
}

.primary-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(230, 0, 18, 0.2);
}

.back-button {
    height: 48px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background-color: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    transition: all 0.2s ease;
}

.back-button:hover:not(:disabled) {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.back-button:disabled {
    visibility: hidden;
}

.text-button {
    background: transparent;
    border: none;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    padding: 0 12px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.text-button:hover {
    color: #000000;
}

/* Notices & Alerts */
#notice, #connection-error {
    font-size: 13px;
    border-radius: 8px;
    padding: 12px 14px;
    margin: -10px 0 20px;
}

#notice {
    background: #f0f7ff;
    border: 1px solid #cce5ff;
    color: #004085;
}

#connection-error {
    border: 1px solid #f5c6cb;
    color: #721c24;
    background: #f8d7da;
}

#retry {
    margin-bottom: 20px;
}

/* Success Step (matches .success-box, .success-badge, .ref-container) */
#success {
    text-align: left;
    padding: 6px 0 16px;
}

#success p:not(.eyebrow) {
    font-size: 13.5px;
    color: #666666;
    line-height: 1.5;
    margin: 0 0 16px;
}

.success-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    margin-bottom: 14px;
}

.reference {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 24px;
}

.reference strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #e60012;
    margin-top: 4px;
    letter-spacing: 0.04em;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.success-actions .primary-button {
    width: 100%;
}

#new-application {
    color: #64748b;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px 16px;
    text-decoration: underline;
    transition: color 0.2s ease;
    display: inline-block;
}

#new-application:hover {
    color: #e60012;
}

#success .success-lead {
    font-size: 15px;
    color: #334155;
}

/* Review Step (matches .review-table, .review-row, .btn-edit) */
.review {
    border-top: 1.5px solid #e2e8f0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
}

.review-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
    gap: 8px;
}

.review dt {
    color: #64748b;
    flex: 1.2;
    font-weight: 500;
}

.review dd {
    font-weight: 600;
    color: #0f172a;
    flex: 2;
    margin: 0;
    word-break: break-word;
}

.review button {
    background: none;
    border: none;
    color: #e60012;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.review button:hover {
    color: #b91c1c;
    background: #fef2f2;
}

/* Dealer Perks (3-Grid Below Form) */
.phone-promises {
    list-style: none;
    margin: 10px 0 18px;
    padding: 0;
    display: grid;
    gap: 6px;
}

.phone-promises li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    line-height: 1.45;
    color: #334155;
}

.phone-promises li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    color: #15803d;
    font-weight: 800;
    text-align: center;
}

.phone-promises li:first-child {
    color: var(--flow-ink);
    font-weight: 700;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1.5px solid #f1f5f9;
}

.whatsapp-option[hidden] {
    display: none;
}

.whatsapp-lead {
    font-size: 13px;
    color: var(--flow-muted);
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1.5px solid #15803d;
    border-radius: 11px;
    color: #166534;
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.whatsapp-button:hover {
    background: #f0fdf4;
}

.whatsapp-button:focus-visible {
    outline: 2px solid #15803d;
    outline-offset: 2px;
}

.dealer-trust {
    margin: 16px 0 12px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.trust-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--flow-ink);
}

.trust-lead {
    margin: 2px 0 0;
    font-size: 14px;
    color: var(--flow-muted);
}

.trust-count {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--flow-muted);
}

.trust-count strong {
    color: var(--flow-primary);
}

.trust-products {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.trust-products li {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--flow-paper);
    border: 1px solid var(--flow-line);
    border-radius: 11px;
}

.trust-products li:last-child {
    grid-column: 1 / -1;
}

.trust-products img {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.trust-product-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.trust-product-copy strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--flow-ink);
}

.trust-product-copy span {
    font-size: 12px;
    color: var(--flow-muted);
}

.trust-points {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.trust-points li {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.trust-points li::before {
    content: "✓ ";
    color: #15803d;
    font-weight: 800;
}

.dealer-perks {
    margin: 0 0 20px;
}

.perks-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.perk-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
}

.perk-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.perk-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    flex: 0 0 38px;
    margin-top: 2px;
}

.perk-card:nth-child(1) .perk-icon {
    background: #fffbeb;
    border-color: #fef3c7;
    color: #d97706;
}

.perk-card:nth-child(2) .perk-icon {
    background: #eff6ff;
    border-color: #dbeafe;
    color: #2563eb;
}

.perk-card:nth-child(3) .perk-icon {
    background: #f0fdf4;
    border-color: #dcfce7;
    color: #16a34a;
}

.perk-content {
    flex: 1;
    min-width: 0;
}

.perk-title {
    margin: 0 0 3px;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.perk-desc {
    margin: 0;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
}

/* About Button Action */
.dealer-about-action {
    display: flex;
    margin: 0 0 20px;
}

.about-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: #ffffff;
    border: 1.5px solid #0f172a;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-button:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}

.about-button svg {
    color: #e60012;
    transition: transform 0.2s ease, color 0.2s ease;
}

.about-button:hover svg {
    color: #ffffff;
    transform: translate(2px, -2px);
}

/* Contact Section */
.dealer-contact {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 20px;
    margin: 0 0 30px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.contact-heading {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-heading::before {
    content: '';
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: #e60012;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    flex: 0 0 34px;
    margin-top: 2px;
}

.contact-item:nth-child(1) .contact-icon {
    background: #eff6ff;
    border-color: #dbeafe;
    color: #2563eb;
}

.contact-item:nth-child(2) .contact-icon {
    background: #fff1f2;
    border-color: #ffe4e6;
    color: #e11d48;
}

.contact-item:nth-child(3) .contact-icon {
    background: #f0fdf4;
    border-color: #dcfce7;
    color: #16a34a;
}

.contact-item:nth-child(4) .contact-icon {
    background: #f5f3ff;
    border-color: #ede9fe;
    color: #7c3aed;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.contact-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value, .contact-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    font-style: normal;
    text-decoration: none;
    line-height: 1.4;
}

.contact-link:hover {
    color: #e60012;
    text-decoration: underline;
}

.contact-sub {
    font-size: 12px;
    color: #64748b;
}

/* Page Footer */
.page-footer {
    width: 100%;
    background: #ffffff;
    border-top: 1.5px solid #e2e8f0;
    margin-top: auto;
}

.footer-inner {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    padding: 24px 16px 36px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #e60012;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11.5px;
    color: #94a3b8;
    flex-wrap: wrap;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness (matches .bayi-card @media) */
@media (max-width: 600px) {
    .banner-slider {
        border-radius: 12px;
        margin: 2px 0 12px;
    }

    .slider-btn {
        display: none;
    }

    .slider-dots {
        bottom: 7px;
        padding: 4px 8px;
        gap: 5px;
    }

    .slider-dot {
        width: 6px;
        height: 6px;
    }

    .slider-dot.active {
        width: 16px;
    }

    .page-header {
        padding: 16px 12px 8px;
    }

    .wordmark {
        font-size: 22px;
    }

    .header-label {
        display: none;
    }

    main {
        margin: 6px auto 24px;
        padding: 24px 18px;
        border-radius: 16px;
        width: 100%;
    }

    .eyebrow {
        font-size: 11px;
        padding: 4px 10px;
        letter-spacing: 0.02em;
    }

    .field, select.field, input.field {
        font-size: 16px;
    }

    .choices {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .choice {
        min-height: 80px;
        padding: 18px 14px;
        flex-direction: row;
        gap: 14px;
        justify-content: flex-start;
        text-align: left;
    }

    .choice-icon {
        margin-bottom: 0;
        flex: 0 0 40px;
        height: 40px;
    }

    .choice-copy {
        align-items: flex-start;
        text-align: left;
    }

    .choice-title {
        font-size: 18px;
    }

    [data-step=phone] h1 {
        font-size: 21px;
    }

    .help {
        margin-bottom: 16px;
    }

    #answer {
        min-height: 0;
    }

    .actions {
        margin-top: 16px;
    }

    .channel-list {
        gap: 8px;
        margin-bottom: 8px;
    }

    .channel-option {
        min-height: 50px;
        padding: 8px 14px;
    }

    .review-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .review button {
        align-self: flex-end;
    }

    .actions {
        gap: 8px;
    }

    .primary-button {
        min-width: 110px;
        padding: 0 16px;
        font-size: 13.5px;
    }

    .back-button {
        padding: 0 14px;
        font-size: 13px;
    }

    .text-ticker {
        margin-bottom: 12px;
    }

    .text-ticker-card {
        padding: 10px 28px 10px 12px;
        gap: 10px;
    }

    .text-ticker-icon {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        border-radius: 8px;
    }

    .text-ticker-icon svg {
        width: 17px;
        height: 17px;
    }

    .text-ticker-headline {
        font-size: 13px;
        font-weight: 800;
    }

    .text-ticker-dots {
        right: 10px;
    }

    .perk-card {
        padding: 14px 16px;
    }

    .dealer-about, .dealer-contact {
        padding: 18px 16px;
    }

    .footer-inner {
        padding: 20px 16px 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

@media (max-width: 350px) {
    main {
        padding: 22px 14px;
        width: calc(100% - 16px);
    }

    h1 {
        font-size: 20px;
    }

    .primary-button {
        min-width: 95px;
        padding: 0 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
