/* --- Google Fonts & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-black: #0a0c0f;
    --card-bg: #11141a;
    --accent-orange: #ff9f43;
    --accent-neon: #00d2d3;
    --text-white: #f5f6fa;
    --text-gray: #a4b0be;
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
}

/* --- Running Demo Marquee --- */
.demo-marquee {
    background: linear-gradient(90deg, #d35400, #e67e22);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(10, 12, 15, 0.8);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 35px;
    /* Space for marquee */
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.nav-links {
    position: relative;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    margin: 0 20px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-white);
}
.nav-coming-soon {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    min-width: 112px;
    padding: 5px 14px;
    background: #e53935;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 5px 14px rgba(229, 57, 53, 0.3);
    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
    pointer-events: none;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--accent-orange);
    color: #000;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 159, 67, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-gray);
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--text-white);
    color: #000;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 180px 8% 100px 8%;
    min-height: 100vh;
    gap: 40px;
}

.hero-content {
    max-width: 550px;
}

.tagline {
    color: var(--accent-orange);
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 15px 0;
    line-height: 1.1;
    font-weight: 700;
}

.hero p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* 3D Visual Styling */
.hero-image-container {
    perspective: 1000px;
}

.card-3d {
    position: relative;
    transform: rotateY(-15deg) rotateX(10deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.card-3d:hover {
    transform: rotateY(-5deg) rotateX(5deg);
}

.main-img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 40px rgba(0, 210, 211, 0.2);
    pointer-events: none;
    border-radius: 12px;
}

/* --- General Sections --- */
.section {
    padding: 80px 8%;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.center {
    text-align: center;
}

/* --- 3D Hover Grid Cards --- */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.category-card {
    position: relative;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.category-card img,
.wide-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 12, 15, 0.95), rgba(10, 12, 15, 0.3));
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-overlay h3,
.wide-card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card-overlay p,
.wide-card-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-link {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* 3D Depth Hover Effect */
.card-3d-hover {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--glass-border);
}

.card-3d-hover:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 212, 211, 0.15);
}

.card-3d-hover:hover img {
    transform: scale(1.05);
}

/* Wide EV Card */
.wide-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
}

.wide-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* --- Suite Section --- */
.section-mini-tag {
    display: block;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.75rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

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

.suite-card {
    background: #141820;
    padding: 30px 20px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: background 0.3s;
}

.suite-card:hover {
    background: #1a1f29;
}

.icon-box {
    color: var(--accent-orange);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.suite-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.suite-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* --- Tech Supremacy Section --- */
.tech-supremacy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.tech-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.stat-bar {
    margin-bottom: 25px;
}

.stat-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.bar-bg {
    background: #202430;
    height: 4px;
    border-radius: 2px;
    width: 100%;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-neon));
    border-radius: 2px;
}

.tech-circle-container {
    display: flex;
    justify-content: center;
}

.glow-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.glow-circle::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 210, 211, 0.2);
    animation: rotate 20s linear infinite;
}

.year-text {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* --- Future of Velocity (Glassmorphism) --- */
.glassmorphism {
    background: rgba(20, 24, 32, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.future-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    padding: 50px;
    border-radius: 16px;
    align-items: center;
}

.coming-soon {
    background: rgba(255, 159, 67, 0.15);
    color: var(--accent-orange);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.future-text h3 {
    font-size: 2rem;
    margin: 15px 0;
}

.future-text p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.notify-form {
    display: flex;
    gap: 10px;
    max-width: 450px;
}

.notify-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 12px;
    color: #fff;
    border-radius: 4px;
}

.future-icon {
    display: flex;
    justify-content: center;
}

.animated-vortex {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
}

/* --- Footer --- */
footer {
    background: #07090c;
    padding: 60px 8% 30px 8%;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-divider {
    border: 0;
    border-top: 1px solid var(--glass-border);
    margin: 30px 0;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* --- DYNAMIC DEMO MODAL POPUP --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    padding: 40px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.modal-box h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.modal-box p {
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 25px;
}

/* --- RESPONSIVE DESIGN (MOBILE FRIENDLY) --- */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .grid-container,
    .wide-card,
    .future-card {
        grid-template-columns: 1fr;
    }

    .wide-card {
        height: auto;
    }

    .wide-card-img {
        height: 200px;
    }

    .suite-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-supremacy {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Hide heavy links on tiny screens */
    .suite-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .future-card {
        padding: 30px;
    }

    .notify-form {
        flex-direction: column;
    }
}