/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --success: #10b981;
    --warning: #f59e0b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);

    /* Neutrals */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-btn {
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 102, 241, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 102, 241, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(102, 102, 241, 0.1);
    border: 1px solid rgba(102, 102, 241, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Referral Card */
.referral-card {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(236, 72, 153, 0.2);
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 8px 32px rgba(236, 72, 153, 0.2);
    }

    100% {
        box-shadow: 0 8px 40px rgba(236, 72, 153, 0.4);
    }
}

.referral-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.offer-icon {
    font-size: 28px;
}

.offer-text {
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.referral-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.code-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.code-text {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    flex: 1;
    letter-spacing: 1px;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 102, 241, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

.offer-amount {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(102, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 102, 241, 0.4);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

/* Stats */
.stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Phone Mockup */
.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.phone-mockup {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    width: 320px;
    height: 650px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 0 auto;
    animation: phoneFloat 6s infinite ease-in-out;
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0px) rotateY(-5deg);
    }

    50% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

.phone-notch {
    width: 150px;
    height: 30px;
    background: #1e293b;
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    padding: 40px 20px 20px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 18px;
}

.user-icon {
    font-size: 24px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: var(--text-secondary);
}

.car-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.car-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 16px;
    align-items: center;
}

.car-image {
    font-size: 40px;
}

.car-info {
    flex: 1;
}

.car-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.car-price {
    color: var(--primary);
    font-weight: 700;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    animation: cardFloat 4s infinite ease-in-out;
}

.card-1 {
    top: 10%;
    right: -40px;
}

.card-2 {
    bottom: 15%;
    left: -40px;
    animation-delay: -2s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Features Section */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Download Section */
.download {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.download-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-steps {
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step-text {
    padding-top: 8px;
    line-height: 1.6;
}

.step-text strong {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
}

/* QR Section */
.qr-section {
    display: flex;
    justify-content: center;
}

.qr-card {
    background: white;
    padding: 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.qr-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
}

.qr-icon {
    font-size: 28px;
}

.qr-code {
    background: white;
    padding: 20px;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 16px;
}

.qr-code img {
    display: block;
    width: 200px;
    height: 200px;
}

.qr-instruction {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Support Section */
.support {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.support-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    text-align: center;
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.support-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 24px;
}

.support-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.support-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.support-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.support-link svg {
    transition: transform 0.3s ease;
}

.support-link:hover svg {
    transform: translate(2px, -2px);
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 48px;
    border-radius: 24px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-md);
}

.faq-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.faq-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(102, 102, 241, 0.05);
    transform: translateX(4px);
}

.faq-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.faq-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.faq-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-content strong {
    color: var(--primary);
}

/* Support Hours */
.support-hours {
    background: linear-gradient(135deg, rgba(102, 102, 241, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 102, 241, 0.2);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
}

.hours-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(102, 102, 241, 0.3);
}

.hours-badge svg {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hours-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.hours-text strong {
    color: var(--primary);
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 968px) {
    :root {
        --section-padding: 80px;
    }

    .hero-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-title {
        font-size: 56px;
    }

    .section-title {
        font-size: 40px;
    }

    .download-title {
        font-size: 40px;
    }

    .phone-mockup {
        max-width: 320px;
        margin: 0 auto;
    }

    .floating-card {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .faq-section {
        padding: 32px 24px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .nav-links {
        gap: 16px;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .download-title {
        font-size: 32px;
    }

    .code-box {
        flex-direction: column;
        text-align: center;
    }

    .code-text {
        font-size: 16px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}