/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #1a1a2e;
    --accent: #e63946;
    --accent-hover: #c1121f;
    --light: #f8f9fa;
    --gray: #6c757d;
    --border: #e9ecef;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    background: var(--white);
    line-height: 1.6;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    color: var(--white);
    text-decoration: none;
}
.logo-icon { font-size: 1.6rem; }
.logo-text strong { color: var(--accent); }
.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}
.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}
.hero-tag {
    display: inline-block;
    background: rgba(230, 57, 70, 0.2);
    color: var(--accent);
    border: 1px solid rgba(230, 57, 70, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-content h1 span { color: var(--accent); }
.hero-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}
.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}
.stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}
.stat span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--light); }
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
}
.section-sub {
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: 12px;
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.95rem; }

/* ===== VEHICLES ===== */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.vehicle-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}
.vehicle-card:hover { transform: translateY(-4px); }
.vehicle-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}
.vehicle-info { padding: 24px; }
.vehicle-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.badge-used { background: #2d6a4f; }
.vehicle-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.vehicle-info p { color: var(--gray); font-size: 0.9rem; margin-bottom: 16px; }
.vehicle-price { font-size: 1rem; color: var(--gray); margin-bottom: 16px; }
.vehicle-price strong { font-size: 1.3rem; color: var(--primary); }
.center-action { text-align: center; }
.center-action .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}
.center-action .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-text .section-tag { display: block; }
.about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 20px;
}
.about-text p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 1rem;
}
.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.about-badges span {
    background: var(--light);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.about-image { display: flex; justify-content: center; }
.about-img-placeholder {
    width: 100%;
    max-width: 420px;
    height: 360px;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.testimonial {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.stars { color: #f4a261; font-size: 1.1rem; margin-bottom: 16px; }
.testimonial p { color: var(--gray); font-style: italic; margin-bottom: 24px; }
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.avatar {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--gray); }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { display: block; font-weight: 700; margin-bottom: 4px; }
.contact-item p { color: var(--gray); font-size: 0.95rem; }
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.social-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.social-links a:hover { color: var(--accent); }

/* ===== TYPEBOT ===== */
.typebot-container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.typebot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.5rem;
}
.typebot-header > div { flex: 1; }
.typebot-header strong { display: block; font-size: 1rem; }
.typebot-header p { font-size: 0.8rem; opacity: 0.7; margin: 0; }
.online-dot {
    width: 10px;
    height: 10px;
    background: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3); }
    50% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.1); }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 32px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer .logo { font-size: 1.2rem; }
.footer p { font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-img-placeholder { height: 240px; font-size: 5rem; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px; left: 0; right: 0;
        background: var(--primary);
        padding: 24px;
        gap: 20px;
    }
    .hero-stats { gap: 24px; }
    .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }
    .section { padding: 64px 0; }
}
