/* ===== RESET & VARIABLES ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #c0c0c0;
    --secondary: #888;
    --accent: #e8530e;
    --accent-glow: rgba(232, 83, 14, 0.5);
    --dark: #080808;
    --darker: #040404;
    --surface: rgba(255,255,255,0.03);
    --border: rgba(255,255,255,0.06);
    --text: #e0e0e0;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--dark);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

img { max-width: 100%; height: auto; display: block; }

/* ===== NAVBAR ===== */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 18px 50px;
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.85), transparent);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}
nav.scrolled {
    background: rgba(8,8,8,0.97);
    box-shadow: 0 1px 30px rgba(0,0,0,0.6);
    padding: 14px 50px;
}
.logo { font-size: 26px; font-weight: 900; letter-spacing: 8px; color: #fff; text-transform: uppercase; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
    color: var(--secondary); text-decoration: none; font-size: 12px;
    letter-spacing: 3px; text-transform: uppercase; transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--accent); transition: width 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: transparent; border: 1px solid var(--accent);
    color: var(--accent); padding: 10px 26px; font-size: 11px;
    letter-spacing: 3px; text-transform: uppercase; cursor: pointer;
    font-family: var(--font); transition: all 0.3s;
}
.nav-cta:hover { background: var(--accent); color: #fff; box-shadow: 0 0 25px var(--accent-glow); }

/* ===== HERO ===== */
.hero {
    height: 100vh; position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(232,83,14,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,83,14,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
    0% { transform: perspective(600px) rotateX(35deg) translateY(0); }
    100% { transform: perspective(600px) rotateX(35deg) translateY(60px); }
}
.hero-glow {
    position: absolute; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(232,83,14,0.12), transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    animation: heroGlow 5s ease-in-out infinite;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
}
.hero-content {
    position: relative; z-index: 10; text-align: center;
    margin-top: -22vh;
}
.hero-badge {
    display: inline-block; border: 1px solid rgba(232,83,14,0.5);
    color: var(--accent); font-size: 10px; letter-spacing: 5px;
    padding: 8px 22px; margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}
.hero-title {
    font-size: clamp(52px, 10vw, 120px); font-weight: 900;
    line-height: 0.9; letter-spacing: -3px; text-transform: uppercase;
    animation: fadeInUp 0.8s ease 0.15s both;
}
.model-text {
    background: linear-gradient(135deg, #fff, #777, #fff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.carrera-text { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.year-text {
    display: block; font-size: clamp(12px, 1.8vw, 18px);
    font-weight: 300; letter-spacing: 12px; color: var(--secondary); margin-top: 14px;
}
.hero-subtitle {
    font-size: 13px; letter-spacing: 4px; color: var(--secondary);
    margin-top: 18px; text-transform: uppercase;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-car {
    position: absolute; width: 80%; max-width: 880px;
    bottom: 3%; left: 50%; transform: translateX(-50%);
    animation: carFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.7)) drop-shadow(0 5px 20px rgba(232,83,14,0.15));
}
@keyframes carFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}
.hero-car img { width: 100%; }
.scroll-indicator {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--secondary); font-size: 9px; letter-spacing: 3px;
    animation: scrollBounce 2s infinite;
}
.scroll-line { width: 1px; height: 45px; background: linear-gradient(to bottom, var(--accent), transparent); }
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-25px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }

/* ===== STATS BAR ===== */
.stats-bar {
    background: rgba(232,83,14,0.04);
    border-top: 1px solid rgba(232,83,14,0.15);
    border-bottom: 1px solid rgba(232,83,14,0.15);
    padding: 28px 50px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 50%;
    transform: translateY(-50%); width: 1px; height: 36px;
    background: rgba(232,83,14,0.15);
}
.stat-value { font-size: 38px; font-weight: 900; color: #fff; line-height: 1; }
.stat-value span { color: var(--accent); font-size: 20px; }
.stat-label { font-size: 9px; letter-spacing: 3px; color: var(--secondary); text-transform: uppercase; margin-top: 6px; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 70px; }
.section-tag {
    display: inline-block; font-size: 10px; letter-spacing: 5px;
    color: var(--accent); text-transform: uppercase; margin-bottom: 16px;
    position: relative;
}
.section-tag::before, .section-tag::after {
    content: ''; position: absolute; top: 50%;
    width: 35px; height: 1px; background: var(--accent);
}
.section-tag::before { right: 100%; margin-right: 12px; }
.section-tag::after { left: 100%; margin-left: 12px; }
.section-title {
    font-size: clamp(32px, 5vw, 56px); font-weight: 900; text-transform: uppercase;
    background: linear-gradient(135deg, #fff, #555);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-desc { color: var(--secondary); font-size: 14px; margin-top: 12px; letter-spacing: 1px; }

/* ===== 360 ROTATION SECTION ===== */
.rotate-section {
    padding: 100px 50px 60px; position: relative; overflow: hidden;
    min-height: 100vh;
}
.rotate-container {
    max-width: 900px; margin: 0 auto; position: relative;
}
.rotate-stage {
    position: relative; width: 100%; aspect-ratio: 16/9;
    display: flex; align-items: center; justify-content: center;
}
.rotate-img {
    position: absolute; width: 100%; height: 100%;
    object-fit: contain; opacity: 0;
    transition: opacity 0.5s ease;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6));
}
.rotate-img.active { opacity: 1; }
.rotate-floor {
    width: 80%; height: 2px; margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(232,83,14,0.3), transparent);
    box-shadow: 0 0 40px 10px rgba(232,83,14,0.05);
}
.rotate-indicator {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; margin-top: 24px;
}
.rotate-dots { display: flex; gap: 8px; }
.rotate-dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 1px solid rgba(232,83,14,0.3); background: transparent;
    transition: all 0.3s; cursor: pointer;
}
.rotate-dot.active { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.rotate-angle { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 2px; font-variant-numeric: tabular-nums; }
.rotate-progress-track {
    width: 100%; max-width: 600px; height: 3px; margin: 30px auto 0;
    background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden;
}
.rotate-progress-bar {
    height: 100%; width: 16.67%;
    background: linear-gradient(90deg, var(--accent), #ff8c42);
    border-radius: 2px; transition: width 0.4s ease;
}

/* ===== SPECS SECTION ===== */
.specs-section { padding: 100px 50px; position: relative; }
.specs-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 50px; align-items: center; max-width: 1200px; margin: 0 auto;
}
.specs-visual { position: relative; }
.specs-car-img {
    width: 100%; filter: drop-shadow(0 15px 40px rgba(0,0,0,0.5));
    transition: transform 0.6s ease;
}
.specs-visual:hover .specs-car-img { transform: scale(1.03); }
.specs-glow {
    position: absolute; inset: -30px;
    background: radial-gradient(circle, rgba(232,83,14,0.1), transparent 65%);
    z-index: -1; animation: heroGlow 4s ease-in-out infinite;
}
.specs-info { display: flex; flex-direction: column; gap: 24px; }
.specs-title-big { font-size: 42px; font-weight: 900; line-height: 1; color: #fff; }
.specs-title-big span { color: var(--accent); }
.specs-desc { color: var(--secondary); font-size: 14px; line-height: 1.8; }
.spec-rows { display: flex; flex-direction: column; gap: 10px; }
.spec-row {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 18px; background: var(--surface);
    border: 1px solid var(--border); border-left: 3px solid var(--accent);
    transition: all 0.3s;
}
.spec-row:hover {
    background: rgba(232,83,14,0.06); border-color: rgba(232,83,14,0.3);
    transform: translateX(4px);
}
.spec-icon { font-size: 20px; width: 32px; text-align: center; flex-shrink: 0; }
.spec-info-col { flex: 1; }
.spec-name { font-size: 10px; letter-spacing: 2px; color: var(--secondary); text-transform: uppercase; }
.spec-val { font-size: 16px; font-weight: 700; color: #fff; margin-top: 2px; }
.spec-bar { width: 80px; height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.spec-bar-fill { height: 100%; width: var(--fill); background: linear-gradient(90deg, var(--accent), #ff8c42); border-radius: 2px; }

/* ===== FEATURES ===== */
.features-section { padding: 100px 50px; }
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 1200px; margin: 0 auto;
}
.feature-card {
    padding: 36px 28px; background: var(--surface);
    border: 1px solid var(--border); position: relative;
    overflow: hidden; transition: all 0.4s;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
    background: rgba(232,83,14,0.04); border-color: rgba(232,83,14,0.25);
    transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.feature-num {
    position: absolute; top: 16px; right: 16px;
    font-size: 52px; font-weight: 900; color: rgba(255,255,255,0.025); line-height: 1;
}
.feature-icon { font-size: 34px; margin-bottom: 16px; }
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; }
.feature-desc { color: var(--secondary); font-size: 13px; line-height: 1.7; }

/* ===== PERFORMANCE ===== */
.perf-section {
    padding: 100px 50px;
    background: linear-gradient(180deg, transparent, rgba(232,83,14,0.02), transparent);
}
.perf-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 50px; max-width: 1100px; margin: 60px auto 0; align-items: center;
}
.perf-left { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.speed-showcase { text-align: center; }
.speed-label { font-size: 11px; letter-spacing: 4px; color: var(--secondary); margin-bottom: 6px; }
.speed-display { display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.speed-num {
    font-size: 90px; font-weight: 900; line-height: 0.85;
    background: linear-gradient(180deg, #fff, #555);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.speed-unit { font-size: 18px; color: var(--secondary); letter-spacing: 3px; margin-bottom: 10px; }
.perf-car-wrap { position: relative; width: 100%; }
.perf-car-img { width: 100%; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); }
.speed-lines {
    position: absolute; left: -10px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 8px;
}
.speed-line {
    height: 2px; background: linear-gradient(90deg, var(--accent), transparent);
    animation: speedLineAnim 1.5s ease-in-out infinite;
}
.speed-line:nth-child(1) { width: 60px; animation-delay: 0s; }
.speed-line:nth-child(2) { width: 90px; animation-delay: 0.2s; }
.speed-line:nth-child(3) { width: 120px; animation-delay: 0.4s; }
.speed-line:nth-child(4) { width: 80px; animation-delay: 0.6s; }
.speed-line:nth-child(5) { width: 50px; animation-delay: 0.8s; }
@keyframes speedLineAnim {
    0% { opacity: 0; transform: translateX(-20px); }
    50% { opacity: 0.7; }
    100% { opacity: 0; transform: translateX(20px); }
}
.perf-right { display: flex; flex-direction: column; gap: 20px; }
.perf-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.perf-stat {
    padding: 22px; background: var(--surface);
    border: 1px solid var(--border); text-align: center;
    transition: all 0.3s;
}
.perf-stat:hover { border-color: rgba(232,83,14,0.3); background: rgba(232,83,14,0.04); }
.perf-stat-num { font-size: 28px; font-weight: 900; color: var(--accent); }
.perf-stat-num span { font-size: 15px; }
.perf-stat-label { font-size: 9px; letter-spacing: 2px; color: var(--secondary); text-transform: uppercase; margin-top: 4px; }
.perf-mini-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.mini-stat {
    padding: 14px 8px; text-align: center;
    border: 1px solid rgba(232,83,14,0.15); background: rgba(232,83,14,0.03);
}
.mini-val { font-size: 20px; font-weight: 900; color: var(--accent); }
.mini-label { font-size: 8px; letter-spacing: 1px; color: var(--secondary); margin-top: 2px; }

/* ===== CTA ===== */
.cta-section {
    padding: 110px 50px; text-align: center;
    position: relative; overflow: hidden;
}
.cta-glow {
    position: absolute; width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(232,83,14,0.1), transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
    font-size: clamp(38px, 7vw, 76px); font-weight: 900;
    text-transform: uppercase; margin: 18px 0; line-height: 1;
}
.cta-title span { color: var(--accent); }
.cta-subtitle { color: var(--secondary); font-size: 14px; letter-spacing: 3px; margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; }
.btn-primary {
    padding: 16px 44px; background: var(--accent); color: #fff;
    border: none; font-size: 12px; letter-spacing: 4px;
    text-transform: uppercase; cursor: pointer; font-weight: 700;
    font-family: var(--font); transition: all 0.3s;
}
.btn-primary:hover { background: #ff6a1e; box-shadow: 0 0 35px var(--accent-glow); transform: translateY(-2px); }
.btn-secondary {
    padding: 16px 44px; background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,0.25); font-size: 12px;
    letter-spacing: 4px; text-transform: uppercase; cursor: pointer;
    font-family: var(--font); transition: all 0.3s;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.04); }
.cta-price { margin-top: 40px; font-size: 12px; color: var(--secondary); letter-spacing: 2px; }
.cta-price strong { color: var(--accent); font-size: 22px; }

/* ===== FOOTER ===== */
footer {
    padding: 36px 50px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.footer-logo { font-size: 20px; font-weight: 900; letter-spacing: 8px; }
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: 11px; color: var(--secondary); letter-spacing: 2px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    color: var(--secondary); text-decoration: none;
    font-size: 10px; letter-spacing: 2px; transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    nav { padding: 16px 24px; }
    nav.scrolled { padding: 12px 24px; }
    .nav-links { display: none; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 24px; }
    .specs-grid, .perf-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    footer { flex-direction: column; gap: 16px; text-align: center; }
    .rotate-section, .specs-section, .features-section,
    .perf-section, .cta-section { padding: 70px 24px; }
    .hero-car { width: 95%; bottom: 8%; }
}
@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero-title { letter-spacing: -1px; }
}
