*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --accent: #FF7250;
    --accent-hover: #E8623F;
    --accent-glow: rgba(255, 114, 80, 0.18);
    --accent-soft: rgba(255, 114, 80, 0.06);
    --accent-comp: #50DDFF;
    --accent-comp-soft: rgba(80, 221, 255, 0.08);
    --bg-primary: #FFFFFF;
    --bg-secondary: #F3F5F7;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.92);
    --text-primary: #121212;
    --text-secondary: #414141;
    --text-muted: #717171;
    --border-subtle: #DCE1E7;
    --border-accent: rgba(255, 114, 80, 0.15);
    --cream: #EDF0F3;
    --success: #0CC36B;
    --success-bg: #E5F7E8;
    --warning: #FFCA50;
    --warning-text: #E6940A;
    --warning-bg: #FFF8E1;
    --danger: #E3392C;
    --danger-bg: #FFEBE9;
    --info: #50DDFF;
    --info-bg: #E8F8FF;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 100px;
    --font-heading: Chakra Petch, sans-serif;
    --font-body: Inter, sans-serif;
    --transition: all 0.4s cubic-bezier(0.44, 0, 0.56, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme=light]) {
        --bg-primary: #0F1117;
        --bg-secondary: #1A1D26;
        --bg-card: #1E2130;
        --bg-glass: rgba(15, 17, 23, 0.92);
        --text-primary: #E8EAED;
        --text-secondary: #B0B3BA;
        --text-muted: #7A7D85;
        --border-subtle: #2A2D38;
        --border-accent: rgba(255, 114, 80, 0.2);
        --cream: #1A1D26;
        --accent-glow: rgba(255, 114, 80, 0.25);
        --accent-soft: rgba(255, 114, 80, 0.1);
        --success-bg: rgba(12, 195, 107, 0.12);
        --warning-bg: rgba(255, 202, 80, 0.12);
        --danger-bg: rgba(227, 57, 44, 0.12);
        --info-bg: rgba(80, 221, 255, 0.12);
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.3);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.2);
        --shadow-lg: 0 12px 32px rgba(0,0,0,0.35), 0 4px 8px rgba(0,0,0,0.25);
    }
}
[data-theme=dark] {
    --bg-primary: #0F1117;
    --bg-secondary: #1A1D26;
    --bg-card: #1E2130;
    --bg-glass: rgba(15, 17, 23, 0.92);
    --text-primary: #E8EAED;
    --text-secondary: #B0B3BA;
    --text-muted: #7A7D85;
    --border-subtle: #2A2D38;
    --border-accent: rgba(255, 114, 80, 0.2);
    --cream: #1A1D26;
    --accent-glow: rgba(255, 114, 80, 0.25);
    --accent-soft: rgba(255, 114, 80, 0.1);
    --success-bg: rgba(12, 195, 107, 0.12);
    --warning-bg: rgba(255, 202, 80, 0.12);
    --danger-bg: rgba(227, 57, 44, 0.12);
    --info-bg: rgba(80, 221, 255, 0.12);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.2);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.35), 0 4px 8px rgba(0,0,0,0.25);
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
.glass-icon {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}
.glass-icon__backdrop {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    transform: rotate(15deg);
    background-color: var(--accent);
}
.glass-icon__front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
}
.glass-icon--orange .glass-icon__backdrop {
    background-color: #FF7250;
}
.glass-icon--orange .glass-icon__front {
    color: #FF7250;
}
.glass-icon--navy .glass-icon__backdrop {
    background-color: #2b8cee;
}
.glass-icon--navy .glass-icon__front {
    color: #2b8cee;
}
.glass-icon--gold .glass-icon__backdrop {
    background-color: #D4A76A;
}
.glass-icon--gold .glass-icon__front {
    color: #D4A76A;
}
.glass-icon--success .glass-icon__backdrop {
    background-color: #0CC36B;
}
.glass-icon--success .glass-icon__front {
    color: #0CC36B;
}
.glass-icon--warning .glass-icon__backdrop {
    background-color: #F59E0B;
}
.glass-icon--warning .glass-icon__front {
    color: #F59E0B;
}
.glass-icon--danger .glass-icon__backdrop {
    background-color: #E3392C;
}
.glass-icon--danger .glass-icon__front {
    color: #E3392C;
}
.glass-icon--purple .glass-icon__backdrop {
    background-color: #a162f7;
}
.glass-icon--purple .glass-icon__front {
    color: #a162f7;
}
.glass-icon--info .glass-icon__backdrop {
    background-color: #3DBEE0;
}
.glass-icon--info .glass-icon__front {
    color: #3DBEE0;
}
.glass-icon--xs {
    width: 24px;
    height: 24px;
}
.glass-icon--xs .glass-icon__backdrop {
    width: 19px;
    height: 19px;
    border-radius: 5px;
}
.glass-icon--xs .glass-icon__front {
    width: 19px;
    height: 19px;
    border-radius: 5px;
    font-size: 10px;
}
.glass-icon--sm {
    width: 40px;
    height: 40px;
}
.glass-icon--sm .glass-icon__backdrop,
.glass-icon--sm .glass-icon__front {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 16px;
}
.glass-icon--lg {
    width: 60px;
    height: 60px;
}
.glass-icon--lg .glass-icon__backdrop,
.glass-icon--lg .glass-icon__front {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 24px;
}

[data-theme=dark] .glass-icon__front {
    background: rgba(30, 33, 48, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
}

body {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-label::before {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.navbar.scrolled .navbar-inner {
    padding-top: 12px;
    padding-bottom: 12px;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    max-width: 1400px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-glow);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 2px 10px var(--accent-glow);
    transition: var(--transition);
}
.nav-cta:active {
    transform: scale(0.96);
}

.nav-balance {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.nav-balance:hover {
    border-color: var(--accent);
}

.nav-balance-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.nav-balance-amount {
    color: var(--accent);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-burger {
    display: none;
    /* Hit-area >=44x44 while icon stays 28x20: border-box padding shrinks content
       box to 28x20, negative margin keeps surrounding layout unchanged. */
    width: 44px;
    height: 44px;
    padding: 12px 8px;
    margin: -12px -8px;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}
.nav-burger:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Scoped to `.nav-actions` so it overrides the equal-specificity
   `.dark-toggle` rule in cabinet.css (loaded later) without touching it,
   and leaves the cabinet/lk page toggle (.nav-right) untouched. */
.nav-actions .dark-toggle {
    /* Hit-area >=44x44; visible circle stays 36x36. The button is a transparent
       44x44 tap target; the 36x36 visible circle (bg + border) lives on ::before.
       Negative margin (incl. original margin-left:8px -> 4px) keeps layout. */
    position: relative;
    width: 44px;
    height: 44px;
    margin: -4px 4px -4px -4px;
    border: none;
    background: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}
.nav-actions .dark-toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    transition: border-color 0.3s ease;
}
.nav-actions .dark-toggle > i {
    position: relative;
}
.nav-actions .dark-toggle:hover {
    color: var(--accent);
}
.nav-actions .dark-toggle:hover::before {
    border-color: var(--accent);
}

.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FFF5F2 0%, var(--bg-primary) 100%);
}
.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 114, 80, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.hero h1 {
    font-size: 56px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    line-height: 1.1;
}
.hero h1 span {
    color: var(--accent);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    position: relative;
    z-index: 2;
    padding-top: 20px;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 0 36px;
    line-height: 1.6;
}

.hero-phone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-frame {
    width: 270px;
    height: 550px;
    background: #1A1A2E;
    border-radius: 44px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 30px 60px rgba(26, 26, 46, 0.2);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 28px;
    background: #1A1A2E;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 34px;
    overflow: hidden;
    position: relative;
}

.ph-app {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ph-status {
    height: 36px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5px;
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.ph-topbar {
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.ph-topbar-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ph-topbar-dot {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

.ph-topbar-name {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ph-topbar-badge {
    font-size: 8px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: linear-gradient(135deg, #0CC36B, #0AAE5E);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 6px rgba(12, 195, 107, 0.3);
}

.ph-scroll-area {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ph-scroll-track {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: phScroll 20s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes phScroll {
    0%, 10% {
        transform: translateY(0);
    }
    15%, 25% {
        transform: translateY(-220px);
    }
    30%, 40% {
        transform: translateY(-440px);
    }
    45%, 55% {
        transform: translateY(-660px);
    }
    60%, 70% {
        transform: translateY(-880px);
    }
    75%, 82% {
        transform: translateY(-440px);
    }
    87%, 95% {
        transform: translateY(-220px);
    }
    100% {
        transform: translateY(0);
    }
}
.ph-mini-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px;
    flex-shrink: 0;
}

.ph-mini-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

.ph-mini-alert-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.ph-mini-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

.ph-mini-chart {
    background: var(--bg-secondary);
    border-radius: 10px;
    height: 80px;
    position: relative;
    overflow: hidden;
    padding: 8px;
}
.ph-mini-chart svg {
    width: 100%;
    height: 100%;
}
.ph-mini-chart path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: phDraw 2s ease forwards 1s;
}

@keyframes phDraw {
    to {
        stroke-dashoffset: 0;
    }
}
.ph-mini-rollback {
    position: absolute;
    bottom: 28px;
    left: 35%;
    background: #FFF8E1;
    border: 1px solid #F0D060;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 7px;
    font-weight: 700;
    color: #B8860B;
    opacity: 0;
    animation: phFade 0.4s ease forwards 2.5s;
}

@keyframes phFade {
    to {
        opacity: 1;
    }
}
.ph-mini-chart-labels {
    position: absolute;
    bottom: 4px;
    left: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 7px;
    color: var(--text-muted);
}

.ph-mini-damage-area {
    background: linear-gradient(180deg, #F3F5F7 0%, #E8EAED 100%);
    border-radius: 10px;
    height: 70px;
    position: relative;
    margin-bottom: 8px;
    overflow: visible;
}
.ph-mini-damage-area img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    border-radius: 10px;
    filter: grayscale(100%) brightness(1.1) contrast(0.9);
    opacity: 0.55;
}

.ph-mini-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FFD700;
    border: 1.5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
    animation: phPulse 2s ease-in-out infinite;
    z-index: 5;
    transform: translate(-50%, -50%);
}
.ph-mini-dot:nth-child(2) .ph-mini-tooltip {
    animation-delay: 0.4s;
}

@keyframes phPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}
.ph-mini-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 5px 8px;
    min-width: 90px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0;
    animation: phTooltipFlash 16s ease-in-out infinite;
    pointer-events: none;
}
.ph-mini-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #fff;
}

@keyframes phTooltipFlash {
    0%, 39% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateX(-50%) translateY(-2px);
    }
    52% {
        opacity: 1;
        transform: translateX(-50%) translateY(-2px);
    }
    53%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
}
.ph-mini-tooltip-title {
    font-family: var(--font-heading);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
}

.ph-mini-tooltip-desc {
    font-size: 6px;
    color: var(--text-muted);
}

.ph-mini-cost {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ph-mini-tag {
    display: inline-block;
    font-size: 8px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.ph-mini-tl {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 14px;
    position: relative;
}
.ph-mini-tl::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 1.5px;
    background: var(--border-subtle);
}

.ph-mini-tl-item {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    position: relative;
}

.ph-mini-tl-dot {
    position: absolute;
    left: -14px;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    z-index: 2;
}

.ph-tl-ok {
    background: #0CC36B;
}

.ph-tl-warn {
    background: #FFD700;
}

.ph-tl-grey {
    background: var(--text-muted);
}

.ph-mini-tl-date {
    font-size: 8px;
    color: var(--text-muted);
    min-width: 42px;
}

.ph-mini-tl-event {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 9px;
    font-weight: 600;
    color: var(--text-primary);
}

.ph-mini-tl-sub {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 8px;
}

.ph-mini-checks {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ph-mini-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 9px;
}

.ph-mini-check-val {
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 600;
}

.ph-c-ok {
    color: #0CC36B;
}

.ph-c-warn {
    color: var(--accent);
}

.ph-c-bad {
    color: #E3392C;
}

.ph-check-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ph-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.ph-check-ok {
    background: rgba(12, 195, 107, 0.1);
    color: #0CC36B;
    border-color: rgba(12, 195, 107, 0.15);
}

.ph-check-warn {
    background: rgba(255, 114, 80, 0.1);
    color: var(--accent);
    border-color: rgba(255, 114, 80, 0.15);
}

.ph-mini-finance {
    background: #FFFDE7;
    border: 1.5px dashed #F0D060;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.ph-mini-finance-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 600;
}

.ph-mini-legal-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ph-mini-legal {
    background: var(--bg-secondary);
    border-radius: 7px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ph-mini-legal-icon {
    font-size: 12px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bg-secondary);
    color: var(--accent);
    border: 1px solid var(--border-subtle);
}

.ph-mini-legal-name {
    font-size: 9px;
    font-weight: 600;
    flex: 1;
}

.ph-mini-legal-status {
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-left: auto;
    letter-spacing: 0.02em;
}

.phone-caption {
    text-align: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phone-caption-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: phPulse 2s ease-in-out infinite;
}

.phone-caption-text {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ph-car-img {
    width: 100%;
    height: 90px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #E8EAED 100%);
    border-radius: 10px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    animation: phReveal 0.5s ease forwards 4.8s;
    position: relative;
}
.ph-car-img img {
    width: 85%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.ph-car-img-placeholder {
    font-size: 40px;
    color: var(--text-muted);
    opacity: 0.3;
}

.ph-score-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ph-score-ring {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: conic-gradient(#0CC36B 0deg, #0CC36B 313deg, #E8EAED 313deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ph-score-ring-inner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.ph-score-title {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.ph-score-sub {
    font-size: 8px;
    color: var(--text-muted);
}

.ph-kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.ph-kpi-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 8px 10px;
}

.ph-kpi-label {
    font-size: 7px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 2px;
}

.ph-kpi-icon {
    font-size: 9px;
}

.ph-kpi-value {
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.ph-kpi-unit {
    font-size: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

.ph-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ph-chip-ok {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 8px;
    font-weight: 600;
    color: #0CC36B;
}
.ph-chip-ok i {
    font-size: 9px;
}

.ph-chart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 8px;
    color: var(--text-muted);
}

.ph-damage-badge {
    font-size: 8px;
    font-weight: 600;
    color: #E3392C;
}
.ph-damage-badge i {
    font-size: 9px;
}

.ph-damage-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.ph-damage-cost {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    margin: 0;
}

.search-box {
    max-width: 660px;
    margin: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%),
        var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 22px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.04),
        0 6px 16px rgba(16, 24, 40, 0.06),
        0 18px 40px rgba(16, 24, 40, 0.07);
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-box:hover {
    border-color: rgba(255, 114, 80, 0.28);
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.05),
        0 8px 20px rgba(16, 24, 40, 0.08),
        0 24px 54px rgba(255, 114, 80, 0.1);
}
.search-box::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 114, 80, 0.1) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}
.search-box > * {
    position: relative;
    z-index: 1;
}

.search-tabs {
    display: flex;
    gap: 2px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-sm);
    padding: 3px;
    margin-bottom: 16px;
}

.search-tab {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
}
.search-tab.active {
    background: rgba(255, 114, 80, 0.12);
    color: var(--accent);
    box-shadow: inset 0 0 0 1px rgba(255, 114, 80, 0.2);
}
.search-tab:hover:not(.active) {
    color: var(--text-secondary);
}

.plate-country-row {
    display: none;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
}
.plate-country-row.visible {
    display: flex;
}

.plate-country-select {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    width: 200px;
    font-family: var(--font-body);
}

.plate-country-label {
    font-size: 11px;
    color: var(--text-muted);
}

.search-input-row {
    display: flex;
    gap: 10px;
    position: relative;
}

/* leading search icon — CSS-only (SVG mask) so no extra markup is required;
   an optional <span class="search-input-icon"> in the markup is also styled */
.search-input-row::before,
.search-input-icon {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--text-muted);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
    z-index: 2;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* if the markup already has the span, hide the pseudo to avoid a double icon */
.search-input-row:has(.search-input-icon)::before {
    display: none;
}
/* the span itself carries its own <i> glyph, so blank the mask for it */
.search-input-icon {
    -webkit-mask: none;
    mask: none;
    background-color: transparent;
    color: var(--text-muted);
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.search-input-row:focus-within::before {
    background-color: var(--accent);
}
.search-input-row:focus-within .search-input-icon {
    color: var(--accent);
}

.search-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 2px 10px var(--accent-glow);
    transition: var(--transition);
    white-space: nowrap;
}
.search-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}
.search-btn:active {
    transform: translateY(0) scale(0.98);
}

.search-circle-btn {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF8463 0%, var(--accent) 48%, var(--accent-hover) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    cursor: pointer;
    z-index: 2;
    box-shadow:
        0 4px 12px rgba(255, 114, 80, 0.34),
        0 1px 3px rgba(255, 114, 80, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.search-circle-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.search-circle-btn:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow:
        0 8px 22px rgba(255, 114, 80, 0.45),
        0 2px 6px rgba(255, 114, 80, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.search-circle-btn:hover::after {
    opacity: 1;
}
.search-circle-btn:active {
    transform: translateY(-50%) scale(0.96);
}
.search-circle-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px var(--accent-glow),
        0 8px 22px rgba(255, 114, 80, 0.42);
}

.search-hint {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: baseline;
    gap: 8px;
}
/* every direct child (chip / link, with or without a check icon) keeps its text
   on the same baseline; equal vertical padding + baseline alignment guarantee
   the text bottoms line up across all chips, the icon is centered to its text */
.search-hint > * {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
    padding: 7px 13px;
    border-radius: var(--radius-pill);
    background: rgba(16, 24, 40, 0.04);
    border: 1px solid transparent;
    transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-hint > * .search-hint-check,
.search-hint > * > i {
    align-self: center;
}
/* wrap only on narrow screens so the hint never overflows on mobile;
   desktop keeps the original single tidy row */
@media (max-width: 600px) {
    .search-hint {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}

.search-hint-check {
    color: var(--success);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}
.search-hint-link {
    color: var(--accent);
    text-decoration: none;
    background: var(--accent-soft) !important;
    border-color: rgba(255, 114, 80, 0.22) !important;
    cursor: pointer;
}
.search-hint-link > i {
    font-size: 14px;
}
.search-hint-link:hover {
    background: rgba(255, 114, 80, 0.12) !important;
    border-color: rgba(255, 114, 80, 0.4) !important;
}

.hero-trust-row {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-trust-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-trust-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.3;
}

.hero-trust-divider {
    width: 1px;
    height: 36px;
    background: var(--border-subtle);
}

.benefits-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}
.benefits-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.benefits-header {
    text-align: center;
    margin-bottom: 48px;
}
.benefits-header h2 {
    font-size: 42px;
    text-transform: uppercase;
}
.benefits-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 12px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(225deg, rgba(255, 114, 80, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}
.benefit-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.benefit-card:hover::before {
    opacity: 1;
}
.benefit-card h4 {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.benefit-icon {
    margin: 0 auto 20px;
}

.how-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.how-header {
    text-align: center;
    margin-bottom: 56px;
}
.how-header h2 {
    font-size: 36px;
    text-transform: uppercase;
}
.how-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 12px;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}
.steps-row::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 16%;
    right: 16%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent);
    opacity: 0.2;
}

.step-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
}
.step-item h4 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.step-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto;
}

.step-number-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
}
.step-number-wrap .step-glass-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    z-index: 3;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

.step-icon-below {
    display: none;
}

.report-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}
.report-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.report-header {
    text-align: center;
    margin-bottom: 48px;
}
.report-header h2 {
    font-size: 42px;
    text-transform: uppercase;
}
.report-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.report-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.report-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.report-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(225deg, rgba(255, 114, 80, 0.06) 0%, transparent 40%, rgba(0, 0, 0, 0.03) 100%);
    pointer-events: none;
}

.report-card-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.report-car-placeholder {
    width: 88px;
    height: 62px;
    background: rgba(255, 114, 80, 0.06);
    border: 1px dashed var(--border-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
    font-weight: 600;
}

.report-car-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.report-car-vin {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
    letter-spacing: 0.05em;
}

.report-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    position: relative;
}

.report-data-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.report-data-label {
    font-family: var(--font-heading);
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.report-data-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
}

.data-ok {
    color: var(--success);
}

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

.data-bad {
    color: var(--danger);
}

.data-neutral {
    color: var(--text-primary);
}

.report-upgrade-btn {
    margin-top: 24px;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    width: 100%;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 2px 10px var(--accent-glow);
    transition: var(--transition);
}

.report-features {
    padding: 8px 0;
    position: relative;
}
.report-features h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.feature-check {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}
.feature-check.included {
    background: var(--success-bg);
    border: 1px solid rgba(12, 195, 107, 0.2);
    color: var(--success);
    font-size: 12px;
}
.feature-check.locked {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 12px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}
.feature-text.locked-text {
    color: var(--text-muted);
    opacity: 0.5;
}

.features-divider {
    border: none;
    border-top: 1px dashed var(--border-subtle);
    margin: 20px 0;
}

.features-sub-title {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 16px;
}

.full-report-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.full-report-header {
    text-align: center;
    margin-bottom: 48px;
}
.full-report-header h2 {
    font-size: 36px;
    text-transform: uppercase;
}
.full-report-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 12px;
}

.full-report-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fr-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.fr-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 114, 80, 0.05) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
}
.fr-card:hover {
    border-color: var(--border-accent);
}
.fr-card:hover::before {
    opacity: 1;
}

.fr-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 114, 80, 0.08);
    border: 1px solid rgba(255, 114, 80, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    color: var(--accent);
}

.fr-card-content {
    flex: 1;
}

.fr-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.fr-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.showcase-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}

.showcase-header {
    text-align: center;
    margin-bottom: 56px;
}
.showcase-header h2 {
    font-size: 42px;
    text-transform: uppercase;
}
.showcase-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 12px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.showcase-card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.showcase-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}
.showcase-alert.alert-warn {
    background: #FFF8E1;
    color: #B8860B;
}
.showcase-alert.alert-danger {
    background: #FFEBE9;
    color: #E3392C;
}
.showcase-alert.alert-ok {
    background: #E5F7E8;
    color: #0CC36B;
}
.showcase-alert.alert-info {
    background: #EDF0F3;
    color: var(--text-secondary);
}

.showcase-alert-icon {
    flex-shrink: 0;
}

.showcase-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

.mileage-chart {
    background: var(--bg-secondary);
    border-radius: 14px;
    padding: 20px;
    position: relative;
    height: 160px;
    overflow: hidden;
}

.mileage-y-axis {
    position: absolute;
    right: 16px;
    top: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 9px;
    color: var(--text-muted);
}

.mileage-line {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 50px;
    height: 80px;
}
.mileage-line svg {
    width: 100%;
    height: 100%;
}
.mileage-line path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 2s ease forwards 0.5s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}
.mileage-rollback {
    position: absolute;
    bottom: 55px;
    left: 42%;
    background: #FFF8E1;
    border: 1px solid #F0D060;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 700;
    color: #B8860B;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    animation: fadeIn 0.4s ease forwards 2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.mileage-tooltip {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    opacity: 0;
    animation: fadeIn 0.4s ease forwards 2.2s;
}
.mileage-tooltip strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--text-primary);
}

.mileage-x-axis {
    position: absolute;
    bottom: 12px;
    left: 20px;
    right: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 9px;
    color: var(--text-muted);
}

.mileage-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.mileage-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.mileage-info-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.damage-car-wrap {
    background: linear-gradient(180deg, #F3F5F7 0%, #E8EAED 100%);
    border-radius: 14px;
    margin-bottom: 16px;
    position: relative;
    height: 180px;
    overflow: visible;
}
.damage-car-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    border-radius: 14px;
    filter: grayscale(100%) brightness(1.1) contrast(0.9);
    opacity: 0.6;
}

.damage-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #FFD700;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    animation: pulseDot 2s ease-in-out infinite;
    cursor: pointer;
    z-index: 5;
    transform: translate(-50%, -50%);
}
.damage-dot:hover {
    animation: none;
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.4);
    z-index: 20;
}
.damage-dot:hover .damage-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}
.damage-dot .damage-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 180px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
    z-index: 20;
}
.damage-dot .damage-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 215, 0, 0.1);
    }
}
.damage-tooltip-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.damage-tooltip-desc {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 6px;
}

.damage-tooltip-cost {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}

.damage-tooltip-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    margin-top: 4px;
}

.damage-detail {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
}

.damage-detail-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.damage-detail-value {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.damage-detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.timeline-count {
    font-size: 12px;
    color: var(--text-muted);
}

.tl-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 20px;
}
.tl-list::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-subtle);
}

.tl-item {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    position: relative;
}

.tl-dot {
    position: absolute;
    left: -20px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 2;
}
.tl-dot-ok {
    background: #0CC36B;
    box-shadow: 0 0 0 3px rgba(12, 195, 107, 0.15);
}
.tl-dot-warn {
    background: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}
.tl-dot-neutral {
    background: var(--text-muted);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.tl-left {
    min-width: 80px;
}

.tl-date {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
}

.tl-flag {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.tl-content {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.tl-event {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
}

.tl-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.finance-block {
    background: #FFFDE7;
    border: 2px dashed #F0D060;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}

.finance-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.finance-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.finance-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
}

.finance-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
}

.finance-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    margin-left: 38px;
}

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

.legal-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.legal-card-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.legal-card-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.legal-card-status {
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 6px;
}

.trust-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}
.trust-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.trust-header {
    text-align: center;
    margin-bottom: 48px;
}
.trust-header h2 {
    font-size: 36px;
    text-transform: uppercase;
}

.trust-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(225deg, rgba(255, 114, 80, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.stat-icon {
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}
.testimonial-stars i {
    color: #FFCA50;
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 12px;
    align-items: center;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-badge {
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-top: 4px;
}

.faq-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}
.faq-header h2 {
    font-size: 36px;
    text-transform: uppercase;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: var(--transition);
}
.faq-item:hover {
    border-color: var(--border-accent);
}
.faq-item.open {
    border-color: var(--border-accent);
}
.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 24px 18px;
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    gap: 16px;
}

.faq-q-text {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.faq-chevron {
    width: 28px;
    height: 28px;
    background: rgba(255, 114, 80, 0.08);
    border: 1px solid rgba(255, 114, 80, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--accent);
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.faq-answer-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-section {
    padding: 72px 0;
    background: var(--bg-primary);
    position: relative;
}

.pricing-header {
    text-align: center;
    margin-bottom: 56px;
}
.pricing-header h2 {
    font-size: 42px;
    text-transform: uppercase;
}
.pricing-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 12px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1160px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    border-radius: 20px;
    padding: 28px 22px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 8px 32px rgba(255, 114, 80, 0.08);
    transform: translateY(-4px);
}
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
}
.pricing-badge.blue {
    background: linear-gradient(135deg, #3DBEE0, #50DDFF);
}

.pricing-icon {
    margin-bottom: 20px;
}

.pricing-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 24px;
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
}
.pricing-amount.free {
    color: var(--success);
}

.pricing-currency {
    font-size: 16px;
    color: var(--text-muted);
}

.pricing-per {
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex: 1;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-feature-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.pf-yes {
    background: var(--success-bg);
    color: var(--success);
}

.pf-no {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

.pricing-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}
.pricing-btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}
.pricing-btn-primary:hover {
    background: var(--accent-hover);
}
.pricing-btn-primary:active {
    transform: scale(0.97);
}
.pricing-btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.pricing-btn-outline:hover {
    background: var(--accent-soft);
}

.pricing-note {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
}

.pricing-save-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--success-bg);
    color: var(--success);
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
}

.pricing-sub-info {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.5;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.final-cta {
    padding: 64px 0;
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 114, 80, 0.1) 0%, transparent 60%);
    pointer-events: none;
}
.final-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.final-cta h2 {
    font-size: 34px;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
}
.final-cta h2 span {
    color: var(--accent);
}

.final-cta-sub {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
}

.final-cta-input-row {
    display: flex;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
    position: relative;
}

.final-cta-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
}

.footer {
    padding: 56px 0 28px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-link {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-decoration: none;
    transition: var(--transition);
}
.footer-link:hover {
    color: var(--accent);
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
}
.footer-social-icon:hover {
    border-color: var(--border-accent);
    background: rgba(255, 114, 80, 0.06);
    color: var(--accent);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 16px;
}

input.search-input-field {
    flex: 1;
    width: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%),
        rgba(16, 24, 40, 0.035);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 18px 60px 18px 52px;
    font-family: var(--font-body);
    font-size: 15.5px;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-overflow: ellipsis;
    transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}
input.search-input-field::placeholder {
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0.85;
}
input.search-input-field:hover {
    border-color: rgba(255, 114, 80, 0.32);
}
input.search-input-field:focus {
    border-color: var(--accent);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%),
        rgba(255, 114, 80, 0.04);
    box-shadow:
        0 0 0 4px var(--accent-glow),
        0 6px 18px rgba(255, 114, 80, 0.14);
}

input.final-cta-input {
    flex: 1 1 180px;
    min-width: 0;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}
input.final-cta-input::placeholder {
    color: var(--text-muted);
}
input.final-cta-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

button.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
}
button.faq-question:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: var(--radius-md);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 24px;
}
.mobile-menu.open {
    display: flex;
}

.mobile-menu-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-primary);
    transition: var(--transition);
}
.mobile-menu-close:hover {
    background: var(--bg-secondary);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu-link {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 0;
    transition: var(--transition);
}
.mobile-menu-link:hover {
    color: var(--accent);
}

.mobile-menu-cta {
    margin-top: 24px;
    padding: 16px 32px;
    max-width: calc(100% - 8px);
    width: auto;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.mobile-menu-cta:hover {
    background: var(--accent-hover);
}

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 90;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}
.stagger-children.visible > *:nth-child(1) {
    transition-delay: 0.05s;
}
.stagger-children.visible > *:nth-child(2) {
    transition-delay: 0.1s;
}
.stagger-children.visible > *:nth-child(3) {
    transition-delay: 0.15s;
}
.stagger-children.visible > *:nth-child(4) {
    transition-delay: 0.2s;
}
.stagger-children.visible > *:nth-child(5) {
    transition-delay: 0.25s;
}
.stagger-children.visible > *:nth-child(6) {
    transition-delay: 0.3s;
}

/* Robustness: never hide content if JS/IntersectionObserver is unavailable
   or the user prefers reduced motion. Content must always be visible. */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-scale,
    .stagger-children > * {
        opacity: 1 !important;
        transform: none !important;
    }
}
.no-js .reveal,
.no-js .reveal-left,
.no-js .reveal-scale,
.no-js .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 42px;
    }
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-phone {
        display: none;
    }
    .hero-content {
        align-items: center;
    }
    .hero-trust-row {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    section,
    .hero,
    .benefits,
    .steps,
    .report-section,
    .full-report,
    .showcase,
    .trust,
    .testimonials,
    .pricing,
    .legal,
    .faq,
    .final-cta {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .full-report-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .report-layout {
        grid-template-columns: 1fr;
    }
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-cta {
        display: none;
    }
    .nav-burger {
        display: flex;
    }
    .container,
    .container-wide {
        padding: 0 20px;
    }
    .hero h1 {
        font-size: 36px;
    }
    h2,
    .section-title,
    .benefits h2,
    .steps h2,
    .report-section h2,
    .full-report h2,
    .showcase h2,
    .trust h2,
    .testimonials h2,
    .pricing h2,
    .legal h2,
    .faq h2,
    .final-cta h2 {
        font-size: 28px;
    }
    .stat-number {
        font-size: 36px;
    }
    section,
    .hero,
    .benefits,
    .steps,
    .report-section,
    .full-report,
    .showcase,
    .trust,
    .testimonials,
    .pricing,
    .legal,
    .faq,
    .final-cta {
        padding-top: 56px;
        padding-bottom: 56px;
    }
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-phone {
        display: none;
    }
    .hero-content {
        align-items: center;
    }
    .hero-trust-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .hero-trust-row .hero-trust-divider {
        display: none;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .benefits-grid,
    .steps-row,
    .full-report-grid,
    .trust-stats-row,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .report-layout,
    .showcase-grid,
    .pricing-grid,
    .legal-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        max-width: 100%;
        grid-template-columns: 1fr 1fr;
    }
    .faq-list {
        max-width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .step-connector {
        display: none;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    h2,
    .section-title,
    .benefits h2,
    .steps h2,
    .report-section h2,
    .full-report h2,
    .showcase h2,
    .trust h2,
    .testimonials h2,
    .pricing h2,
    .legal h2,
    .faq h2,
    .final-cta h2 {
        font-size: 24px;
    }
    .stat-number {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .container,
    .container-wide {
        padding: 0 16px;
    }
    section,
    .hero,
    .benefits,
    .steps,
    .report-section,
    .full-report,
    .showcase,
    .trust,
    .testimonials,
    .pricing,
    .legal,
    .faq,
    .final-cta {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .section-label {
        font-size: 11px;
    }
    .hero-trust-item {
        font-size: 13px;
    }
    .benefit-card {
        padding: 24px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card {
        padding: 28px 20px;
    }
    .testimonial-card {
        padding: 24px;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .final-cta-input-row .search-btn {
        width: 100%;
        justify-content: center;
    }
    .navbar-inner {
        padding: 0 16px;
    }
}
[data-theme=dark] .hero {
    background: linear-gradient(180deg, #141620 0%, var(--bg-primary) 100%);
}
[data-theme=dark] .hero::before {
    background: radial-gradient(circle, rgba(255, 114, 80, 0.06) 0%, transparent 70%);
}
[data-theme=dark] .phone-frame {
    background: #0A0B10;
}
[data-theme=dark] .phone-screen {
    background: var(--bg-card);
}
[data-theme=dark] .ph-mini-card {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}
[data-theme=dark] .ph-mini-damage-area {
    background: linear-gradient(180deg, #1A1D26, #252836);
}
[data-theme=dark] .ph-mini-tooltip {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}
[data-theme=dark] .ph-mini-tooltip::after {
    border-top-color: var(--bg-card);
}
[data-theme=dark] .ph-score-ring-inner {
    background: var(--bg-card);
}
[data-theme=dark] .search-box {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 60%),
        var(--bg-card);
    border-color: rgba(255, 114, 80, 0.2);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 8px 22px rgba(0, 0, 0, 0.34),
        0 22px 48px rgba(0, 0, 0, 0.4);
}
[data-theme=dark] .search-box:hover {
    border-color: rgba(255, 114, 80, 0.34);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 10px 26px rgba(0, 0, 0, 0.4),
        0 26px 56px rgba(255, 114, 80, 0.14);
}
[data-theme=dark] .search-box::before {
    background: radial-gradient(circle, rgba(255, 114, 80, 0.16) 0%, transparent 68%);
}
[data-theme=dark] .search-tab.active {
    background: rgba(255, 114, 80, 0.15);
}
[data-theme=dark] input.search-input-field {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%),
        rgba(255, 255, 255, 0.045);
    color: var(--text-primary);
    border-color: var(--border-subtle);
}
[data-theme=dark] input.search-input-field:hover {
    border-color: rgba(255, 114, 80, 0.4);
}
[data-theme=dark] input.search-input-field:focus {
    border-color: var(--accent);
    background:
        linear-gradient(180deg, rgba(255, 114, 80, 0.06) 0%, rgba(255, 255, 255, 0) 100%),
        rgba(255, 114, 80, 0.06);
    box-shadow:
        0 0 0 4px var(--accent-glow),
        0 6px 18px rgba(255, 114, 80, 0.2);
}
[data-theme=dark] input.final-cta-input {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--border-subtle);
}
[data-theme=dark] .search-input-field::placeholder,
[data-theme=dark] .final-cta-input::placeholder {
    color: var(--text-muted);
}
[data-theme=dark] .search-hint > * {
    background: rgba(255, 255, 255, 0.05);
}
[data-theme=dark] .search-hint-link {
    background: rgba(255, 114, 80, 0.14) !important;
    border-color: rgba(255, 114, 80, 0.3) !important;
}
[data-theme=dark] .search-hint-link:hover {
    background: rgba(255, 114, 80, 0.22) !important;
}
[data-theme=dark] .navbar {
    background: var(--bg-glass);
    border-bottom-color: var(--border-subtle);
}
[data-theme=dark] .nav-cta {
    box-shadow: 0 2px 12px rgba(255, 114, 80, 0.3);
}
[data-theme=dark] .mobile-menu {
    background: var(--bg-primary);
}
[data-theme=dark] .showcase-card {
    background: var(--bg-card);
}
[data-theme=dark] .showcase-alert.alert-warn {
    background: rgba(255, 202, 80, 0.1);
}
[data-theme=dark] .showcase-alert.alert-danger {
    background: rgba(227, 57, 44, 0.1);
}
[data-theme=dark] .showcase-alert.alert-ok {
    background: rgba(12, 195, 107, 0.1);
}
[data-theme=dark] .showcase-alert.alert-info {
    background: var(--bg-secondary);
}
[data-theme=dark] .pricing-card {
    background: var(--bg-card);
}
[data-theme=dark] .pricing-badge {
    box-shadow: 0 2px 8px rgba(255, 114, 80, 0.3);
}
[data-theme=dark] .faq-item {
    background: var(--bg-secondary);
}
[data-theme=dark] .report-card {
    background: var(--bg-card);
}
[data-theme=dark] .report-card-header {
    background: var(--bg-card);
}
[data-theme=dark] .report-car-placeholder {
    background: rgba(255, 114, 80, 0.1);
}
[data-theme=dark] .benefit-card,
[data-theme=dark] .stat-card,
[data-theme=dark] .testimonial-card {
    background: var(--bg-card);
}
[data-theme=dark] .stat-card::before {
    background: linear-gradient(225deg, rgba(255, 114, 80, 0.08) 0%, transparent 50%);
}
[data-theme=dark] .benefit-card::before {
    background: linear-gradient(225deg, rgba(255, 114, 80, 0.06) 0%, transparent 50%);
}
[data-theme=dark] .score-ring-inner {
    background: var(--bg-card);
}
[data-theme=dark] .legal-card {
    background: var(--bg-secondary);
}
[data-theme=dark] .legal-card-icon {
    background: var(--bg-card);
}
[data-theme=dark] .fr-card {
    background: var(--bg-secondary);
}
[data-theme=dark] .mileage-chart {
    background: var(--bg-secondary);
}
[data-theme=dark] .finance-block {
    background: rgba(255, 253, 231, 0.06);
    border-color: rgba(240, 208, 96, 0.2);
}
[data-theme=dark] .tl-content {
    background: var(--bg-secondary);
}
[data-theme=dark] .step-number-wrap {
    background: var(--bg-secondary);
}
[data-theme=dark] .testimonial-avatar {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-subtle);
}
[data-theme=dark] .damage-car-wrap {
    background: linear-gradient(180deg, #1A1D26 0%, #252836 100%);
}
[data-theme=dark] .damage-car-wrap img {
    opacity: 0.4;
}
[data-theme=dark] .damage-tooltip,
[data-theme=dark] .mileage-tooltip {
    background: var(--bg-card);
    border-color: var(--border-subtle);
}
[data-theme=dark] .damage-tooltip::after {
    border-top-color: var(--bg-card);
}
[data-theme=dark] .footer-social-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-subtle);
}
[data-theme=dark] .back-to-top {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
[data-theme=dark] .feature-check.included {
    background: rgba(12, 195, 107, 0.15);
    border-color: rgba(12, 195, 107, 0.25);
}
[data-theme=dark] .feature-check.locked {
    background: var(--bg-secondary);
    border-color: var(--border-subtle);
}
[data-theme=dark] .gallery-nav,
[data-theme=dark] .rp-gallery-nav {
    background: rgba(30, 33, 48, 0.9);
    color: var(--text-primary);
}
[data-theme=dark] img {
    filter: brightness(0.9);
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.modal-overlay.show .modal-box {
    transform: scale(1);
}
.modal-overlay .modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay .modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--danger-bg);
    color: var(--danger);
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.modal-overlay .modal-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.modal-overlay .modal-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.modal-overlay .modal-actions {
    display: flex;
    gap: 12px;
}
.modal-overlay .modal-btn {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.modal-overlay .modal-btn.cancel {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}
.modal-overlay .modal-btn.cancel:hover {
    background: var(--border-subtle);
}
.modal-overlay .modal-btn.confirm {
    background: var(--danger);
    color: #fff;
}
.modal-overlay .modal-btn.confirm:hover {
    background: #c92e22;
}
.modal-overlay .modal-btn.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 10px var(--accent-glow);
}
.modal-overlay .modal-btn.primary:hover {
    background: var(--accent-hover);
}
.modal-overlay .modal-icon.warning {
    background: var(--warning-bg);
    color: var(--warning-text);
}
.modal-overlay .modal-icon.info {
    background: var(--info-bg);
    color: var(--info);
}
.modal-overlay .modal-icon.success {
    background: var(--success-bg);
    color: var(--success);
}
.modal-overlay .modal-icon.accent {
    background: var(--accent-soft);
    color: var(--accent);
}
.modal-overlay .modal-box {
    transform: scale(0.92) translateY(12px);
}
.modal-overlay.show .modal-box {
    transform: scale(1) translateY(0);
}
.modal-field {
    margin-bottom: 16px;
}

.modal-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.modal-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.modal-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    text-align: left;
}

.modal-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
}

.modal-check input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.modal-check-hint {
    font-size: 12px;
    color: var(--text-muted);
}
.modal-field.error .modal-input {
    border-color: #e05555 !important;
    box-shadow: 0 0 0 3px rgba(224, 85, 85, 0.15) !important;
}

.modal-email-error {
    color: var(--danger);
    font-size: 12px;
    padding: 4px 14px 0;
    text-align: left;
}
