:root {
    --red: #e82127;
    --red-dark: #c41a1f;
    --red-glow: rgba(232, 33, 39, 0.25);
    --dark: #171a20;
    --dark-soft: #1e2128;
    --gray: #5c5e62;
    --gray-light: #8e8e93;
    --light: #f7f7f8;
    --white: #ffffff;
    --border: #e8e8ed;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --radius: 20px;
    --radius-sm: 12px;
    --header-h: 64px;
    --banner-h: 36px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.text-red { color: var(--red); }

/* ── Demo banner (KEEP AS-IS) ── */
.demo-banner {
    background: #ff6b00;
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ── Header ── */
.site-header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--banner-h);
    z-index: 999;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
}
.tesla-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.main-nav a:not(.btn) { color: var(--gray); transition: color 0.2s; }
.main-nav a:not(.btn):hover { color: var(--dark); }
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--dark);
    padding: 4px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px var(--red-glow);
    white-space: nowrap;
}
.btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--red-glow);
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; box-shadow: 0 2px 8px var(--red-glow); }
.btn-outline {
    background: var(--white);
    border: 2px solid var(--border);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
    background: var(--light);
    border-color: var(--gray-light);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}
.btn-block { width: 100%; }

/* ── Trust bar ── */
.trust-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    padding: 11px 0;
    font-size: 12px;
    font-weight: 500;
}
.trust-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

/* ── Hero ── */
.hero {
    padding: 72px 0 80px;
    background: linear-gradient(160deg, #fafafa 0%, #fff 50%, #fff5f5 100%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}
.hero-badge-live {
    background: #fff0f0;
    color: var(--red);
    border: 1px solid #ffd6d6;
}
.hero-badge-joined {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
.hero h1 {
    font-size: clamp(36px, 5.5vw, 56px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.hero p {
    color: var(--gray);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-tags {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray-light);
    font-weight: 500;
}
.hero-visual { position: relative; }
.hero-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--dark);
    aspect-ratio: 4/3;
}
.hero-card .car-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: var(--white);
    text-align: center;
}
.hero-card-title { display: block; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.hero-card-sub { font-size: 14px; opacity: 0.85; }

/* ── Sections ── */
.section { padding: 88px 0; }
.section-alt { background: var(--light); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.section-header p { color: var(--gray); font-size: 17px; line-height: 1.7; }
.section-label {
    display: inline-block;
    background: #fff0f0;
    color: var(--red);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ── Small car cards ── */
.car-grid-sm {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.car-card-sm {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.25s, box-shadow 0.25s;
}
.car-card-sm:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.car-card-sm-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--light);
}
.car-card-sm-img .car-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.car-card-sm:hover .car-photo { transform: scale(1.05); }
.car-card-sm-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.car-card-sm-body { padding: 20px; }
.car-card-sm-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.car-card-sm-body .type { color: var(--gray); font-size: 14px; }
.car-card-sm-body .specs { font-size: 13px; color: var(--gray-light); margin-top: 6px; }
.car-card-sm-body .free-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 14px;
}

/* ── Video section ── */
.video-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.video-thumb {
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%;
    background: #000;
}
.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.play-btn {
    width: 68px;
    height: 68px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    padding-left: 4px;
    box-shadow: 0 8px 24px var(--red-glow);
    transition: transform 0.2s;
    cursor: pointer;
}
.play-btn:hover { transform: scale(1.08); }
.video-meta { padding: 18px 22px; }
.video-channel { display: flex; align-items: center; gap: 12px; }
.channel-avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    background: #000;
    flex-shrink: 0;
}
.video-card-title {
    font-size: 18px;
    font-weight: 700;
    padding: 20px 22px 4px;
}
.video-card-sub {
    font-size: 13px;
    color: var(--gray);
    padding: 0 22px 12px;
    line-height: 1.5;
}
.video-comments-label {
    font-size: 13px;
    color: var(--gray);
    padding: 12px 22px 0;
}
.channel-name { font-weight: 700; font-size: 14px; }
.channel-subs { font-size: 12px; color: var(--gray-light); }
.video-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.video-actions button {
    background: var(--light);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.video-actions button:hover { background: var(--border); }

.comments { padding: 0 22px 22px; }
.comment {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.comment:last-child { border-bottom: none; }
.comment-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--red), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.comment-author { font-weight: 600; font-size: 13px; }
.comment-text { font-size: 14px; margin-top: 4px; line-height: 1.6; color: var(--dark-soft); }
.comment-likes { font-size: 12px; color: var(--gray-light); margin-top: 8px; font-weight: 500; }

/* ── CEO section ── */
.ceo-section { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ceo-card, .tweet-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.ceo-profile { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ceo-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}
.ceo-text { font-size: 15px; line-height: 1.75; color: var(--dark-soft); }
.tweet-stats { display: flex; gap: 20px; margin-top: 18px; font-size: 13px; color: var(--gray-light); font-weight: 500; }

/* ── Testimonials ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.testimonial-avatar {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--red), #ff5252);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}
.testimonial-quote {
    font-size: 15px;
    font-style: italic;
    line-height: 1.75;
    color: var(--dark-soft);
}
.testimonial-received {
    margin-top: 16px;
    font-size: 13px;
    color: #2e7d32;
    font-weight: 600;
    background: #e8f5e9;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
}

/* ── Steps ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.step-num {
    width: 52px;
    height: 52px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin: 0 auto 18px;
    box-shadow: 0 4px 16px var(--red-glow);
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ── Social ── */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.social-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.social-icon { font-size: 36px; margin-bottom: 14px; }
.social-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }

/* ── Event / countdown ── */
.event-header { text-align: center; margin-bottom: 48px; }
.countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
}
.countdown-label { font-size: 14px; color: var(--gray); font-weight: 500; }
.countdown-blocks { display: flex; align-items: center; gap: 8px; }
.countdown-item {
    background: var(--dark);
    color: var(--white);
    padding: 18px 22px;
    border-radius: 14px;
    text-align: center;
    min-width: 76px;
    box-shadow: var(--shadow);
}
.countdown-item .num { font-size: 36px; font-weight: 800; display: block; line-height: 1; letter-spacing: -0.02em; }
.countdown-item .label { font-size: 10px; text-transform: uppercase; opacity: 0.6; letter-spacing: 0.08em; margin-top: 4px; display: block; }
.countdown-sep { font-size: 28px; font-weight: 700; color: var(--gray-light); padding-bottom: 16px; }
.participant-count { font-size: 15px; color: var(--gray); font-weight: 500; }

/* ── Large car cards ── */
.car-grid-lg {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.car-card-lg {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.25s, box-shadow 0.25s;
}
.car-card-lg:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.car-card-top {
    padding: 28px 28px 24px;
    position: relative;
    color: var(--white);
}
.car-card-top.theme-navy { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.car-card-top.theme-blue { background: linear-gradient(135deg, #0f3460 0%, #16213e 100%); }
.car-card-top.theme-slate { background: linear-gradient(135deg, #2d3436 0%, #1a1a2e 100%); }
.car-card-top.theme-charcoal { background: linear-gradient(135deg, #1e2128 0%, #2d2d2d 100%); }
.car-card-top.theme-steel { background: linear-gradient(135deg, #3d3d3d 0%, #1a1a1a 100%); }
.car-card-top.theme-crimson { background: linear-gradient(135deg, #4a0e0e 0%, #1a1a2e 100%); }
.car-card-top.theme-teal { background: linear-gradient(135deg, #1a3a4a 0%, #0f3460 100%); }
.car-card-top.theme-indigo { background: linear-gradient(135deg, #1e3a5f 0%, #16213e 100%); }
.car-card-top.theme-black { background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%); }

.car-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #ffd54f;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}
.car-card-top .type {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.7;
    margin-bottom: 6px;
    font-weight: 600;
}
.car-card-top h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.car-card-top .year { opacity: 0.7; font-size: 14px; margin-top: 4px; }

.car-card-img {
    background: var(--light);
    padding: 0;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.car-card-img .car-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s;
}
.car-card-lg:hover .car-card-img .car-photo { transform: scale(1.04); }

.car-card-body { padding: 24px 28px 28px; }
.car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}
.spec-item {
    background: var(--light);
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.spec-item .label { font-size: 11px; color: var(--gray-light); margin-bottom: 4px; font-weight: 500; }
.spec-item .value { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }

.fee-box {
    background: linear-gradient(135deg, #fff5f5, #fff0f0);
    border: 1px solid #ffcdd2;
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}
.fee-box .fee-label { font-size: 13px; color: var(--gray); font-weight: 500; }
.fee-box .fee-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--red);
    line-height: 1.1;
    margin: 4px 0;
    letter-spacing: -0.02em;
}
.fee-box .fee-note { font-size: 12px; color: var(--gray-light); }

.car-photo { display: block; }

/* ── Live feed ── */
.live-feed { max-width: 760px; margin: 0 auto; }
.live-feed-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 15px;
}
.live-dot {
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}
.feed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: box-shadow 0.2s;
}
.feed-item:hover { box-shadow: var(--shadow); }
.feed-name { font-weight: 600; font-size: 14px; }
.feed-status { font-size: 13px; color: var(--gray-light); margin-top: 2px; }
.feed-fee { font-weight: 800; color: var(--red); font-size: 16px; }
.feed-time { font-size: 12px; color: var(--gray-light); margin-top: 2px; }

/* ── Forms ── */
.form-page {
    min-height: calc(100vh - 200px);
    padding: 48px 0 80px;
    background: var(--light);
}
.form-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 44px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.form-card h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.form-card .subtitle { color: var(--gray); margin-bottom: 36px; font-size: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(232,33,39,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-section-title {
    font-size: 15px;
    font-weight: 700;
    margin: 28px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--dark);
}

/* ── Payment ── */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 28px;
}
.payment-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 22px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.payment-card:hover { transform: translateY(-2px); }
.payment-card:hover,
.payment-card.selected {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(232,33,39,0.08);
}
.payment-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.payment-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }
.payment-details {
    display: none;
    margin-top: 28px;
    padding: 24px;
    background: var(--light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.payment-details.active { display: block; }
.order-summary {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.order-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--gray);
}
.summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 10px;
    padding-top: 18px;
    font-weight: 800;
    font-size: 20px;
    color: var(--dark);
}
.summary-row.total .amount { color: var(--red); }

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 500;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

/* ── Admin (unchanged structure) ── */
.admin-page { min-height: 100vh; background: #0f1117; color: #e4e4e7; }
.admin-login { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.admin-login-card {
    background: #1a1d27; border-radius: var(--radius); padding: 48px;
    width: 100%; max-width: 420px; text-align: center; border: 1px solid #2a2d3a;
}
.admin-login-logo {
    height: 72px;
    width: auto;
    margin: 0 auto 24px;
    display: block;
    object-fit: contain;
}
.admin-login-card h1 { font-size: 24px; margin-bottom: 8px; }
.admin-login-card p { color: #9ca3af; margin-bottom: 32px; font-size: 14px; }
.admin-login-card input {
    width: 100%; padding: 14px 16px; background: #0f1117;
    border: 1px solid #2a2d3a; border-radius: 10px; color: #fff; font-size: 15px; margin-bottom: 16px;
}
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px; background: #1a1d27; border-right: 1px solid #2a2d3a;
    padding: 24px; flex-shrink: 0;
}
.admin-sidebar h2 { font-size: 18px; margin-bottom: 32px; color: var(--red); }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar a {
    padding: 12px 16px; border-radius: 8px; font-size: 14px;
    color: #9ca3af; transition: background 0.2s;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: #2a2d3a; color: #fff; }
.admin-content { flex: 1; padding: 32px; overflow: auto; }
.admin-content h1 { font-size: 28px; margin-bottom: 24px; }
.admin-card {
    background: #1a1d27; border: 1px solid #2a2d3a;
    border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
}
.admin-card h3 { font-size: 16px; margin-bottom: 16px; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { background: #1a1d27; border: 1px solid #2a2d3a; border-radius: 12px; padding: 20px; }
.stat-card .stat-num { font-size: 32px; font-weight: 800; color: var(--red); }
.stat-card .stat-label { font-size: 13px; color: #9ca3af; margin-top: 4px; }
.toggle-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0; border-bottom: 1px solid #2a2d3a;
}
.toggle-row:last-child { border-bottom: none; }
.toggle { position: relative; width: 48px; height: 26px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; inset: 0; background: #2a2d3a;
    border-radius: 999px; cursor: pointer; transition: background 0.2s;
}
.toggle-slider::before {
    content: ''; position: absolute; width: 20px; height: 20px;
    left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s;
}
.toggle input:checked + .toggle-slider { background: var(--red); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td {
    padding: 12px 16px; text-align: left; border-bottom: 1px solid #2a2d3a;
}
.admin-table th { color: #9ca3af; font-weight: 500; font-size: 12px; text-transform: uppercase; }
.admin-form input, .admin-form textarea {
    width: 100%; padding: 10px 14px; background: #0f1117;
    border: 1px solid #2a2d3a; border-radius: 8px; color: #fff; font-size: 14px; margin-top: 6px;
}
.admin-form .form-group { margin-bottom: 16px; }
.admin-form label { font-size: 13px; color: #9ca3af; }
.btn-admin {
    background: var(--red); color: #fff; border: none;
    padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-admin:hover { background: var(--red-dark); }
.btn-admin-outline {
    background: transparent; border: 1px solid #2a2d3a;
    color: #9ca3af; padding: 10px 20px; border-radius: 8px; font-size: 14px; cursor: pointer;
}

/* ── Footer ── */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.55);
    padding: 56px 0 28px;
    margin-top: 0;
}
.footer-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}
.footer-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}
.footer-nav {
    display: flex; justify-content: center; gap: 28px;
    margin-bottom: 28px; flex-wrap: wrap; font-size: 14px; font-weight: 500;
}
.footer-nav a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }
.footer-badges {
    display: flex; justify-content: center; gap: 24px;
    flex-wrap: wrap; font-size: 13px; margin-bottom: 28px;
    color: rgba(255,255,255,0.45);
}
.footer-text {
    text-align: center; font-size: 13px; max-width: 640px;
    margin: 0 auto 16px; line-height: 1.7;
}
.footer-copy { text-align: center; font-size: 12px; opacity: 0.4; }

/* Live toast popups */
.live-toast-container {
    position: fixed;
    top: 100px;
    left: 24px;
    z-index: 998;
    max-width: 320px;
    width: calc(100% - 48px);
    pointer-events: none;
}
.live-toast {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
    padding: 16px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-40px) scale(0.92);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.live-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.live-toast.hide {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}
.live-toast-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.live-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), #ff5252);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.live-toast-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
}
.live-toast-country {
    font-size: 12px;
    color: var(--gray-light);
    margin-left: 6px;
}
.live-toast-text {
    font-size: 12px;
    color: var(--gray);
    margin-top: 4px;
    line-height: 1.5;
}
.live-toast-car {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff0f0;
    color: var(--red);
    font-weight: 700;
    font-size: 11px;
}
.live-toast-status {
    font-size: 13px;
    font-weight: 700;
    color: #2e7d32;
    margin-top: 6px;
}
.live-toast-progress {
    margin-top: 10px;
    height: 4px;
    background: var(--light);
    border-radius: 999px;
    overflow: hidden;
}
.live-toast-progress-bar {
    height: 100%;
    background: var(--red);
    border-radius: 999px;
    width: 100%;
    animation: toast-progress 4s linear forwards;
}
@keyframes toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .car-grid-sm { grid-template-columns: repeat(2, 1fr); }
    .car-grid-lg { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-grid, .video-section, .ceo-section { grid-template-columns: 1fr; }
    .hero { padding: 48px 0 56px; }
    .hero-visual { order: -1; }
    .hero-card { aspect-ratio: 16/9; max-height: 320px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .social-grid { grid-template-columns: 1fr; }
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 16px;
    }
    .main-nav.open { display: flex; }
    .menu-toggle { display: block; }
    .site-header { position: sticky; top: var(--banner-h); }
}

@media (max-width: 600px) {
    .live-toast-container {
        top: auto;
        bottom: 20px;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
    }
    .car-grid-sm, .testimonials-grid, .steps-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 28px 22px; }
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .countdown-item { min-width: 64px; padding: 14px 16px; }
    .countdown-item .num { font-size: 28px; }
}
