/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-navy: #0a0e27;
    --electric-blue: #00d4ff;
    --light-blue: #4facfe;
    --dark-blue: #1a1f3a;
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #7a8a9a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--dark-blue) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--electric-blue);
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--electric-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-car-silhouette {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    opacity: 0.1;
    z-index: -1;
}

.car-silhouette {
    width: 600px;
    height: auto;
    filter: brightness(0.8) contrast(1.2);
    animation: floatCar 8s ease-in-out infinite;
}

@keyframes floatCar {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-45%) rotate(1deg); }
}

.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, var(--glass-border) 49%, var(--glass-border) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--glass-border) 49%, var(--glass-border) 51%, transparent 52%);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: techFloat 20s ease-in-out infinite;
}

@keyframes techFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    justify-content: left;
    align-items: center;
}

@media(max-width: 768px) {
    .hero-cta {
        justify-content: center;
    }
}

.cta-button {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--light-blue) 100%);
    color: var(--text-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.cta-button i {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.cta-button a {
    color: var(--text-primary);
    list-style: none;
    text-decoration: none;
}

/* QR Section (Centered & Enhanced) */
.qr-section-centered {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 
        0 25px 50px rgba(0, 212, 255, 0.15),
        0 0 0 1px rgba(0, 212, 255, 0.1);
    animation: float 6s ease-in-out infinite;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.qr-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    color: var(--electric-blue);
}

.qr-header i {
    font-size: 2rem;
}

.qr-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.qr-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.qr-code-container {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--light-blue) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 15px 35px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.qr-code-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.qr-code-container:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 20px 45px rgba(0, 212, 255, 0.4),
        inset 0 0 25px rgba(255, 255, 255, 0.2);
}

.qr-code-container i {
    font-size: 6rem;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.qr-code-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-text p {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.qr-text span {
    font-size: 1rem;
    color: var(--text-secondary);
    opacity: 0.9;
}

.qr-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.qr-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
}

.qr-feature i {
    font-size: 1.5rem;
    color: var(--electric-blue);
    background: rgba(0, 212, 255, 0.1);
    padding: 0.8rem;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.qr-feature span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
}

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

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: var(--electric-blue);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.step-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.qr-section h3, .social-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.qr-placeholder {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 200px;
    transition: all 0.3s ease;
}

.qr-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
}

.qr-placeholder i {
    font-size: 3rem;
}

.qr-placeholder span {
    color: var(--text-secondary);
    font-weight: 500;
}

.qr-vin-example {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.qr-vin-example:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-blue);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--electric-blue);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.footer-bottom i {
    color: var(--electric-blue);
    margin: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 8rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-car-silhouette {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .qr-section-centered {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .qr-code-container {
        width: 150px;
        height: 150px;
    }
    
    .qr-code-container i {
        font-size: 4rem;
    }
    
    .qr-header h3 {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}