@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --primary-black: #000000;
    --pure-white: #ffffff;
    --hover-gray: #e2e2e2;
    --chip-gray: #efefef;
    --body-gray: #4b4b4b;
    --muted-gray: #afafaf;
    --shadow-light: rgba(0, 0, 0, 0.12);

    /* Using Inter as the closest geometric sans-serif fallback to UberMove */
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--pure-white);
    color: var(--primary-black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Typography hierarchy per DESIGN.md */
h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.23;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

p {
    font-size: 16px;
    color: var(--body-gray);
    font-weight: 400;
}

.micro-text {
    font-size: 12px;
    color: var(--muted-gray);
    font-weight: 400;
}

/* Navigation */
.navbar {
    background-color: var(--pure-white);
    padding: 24px 32px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
}

/* Hero Section */
.hero {
    display: flex;
    max-width: 1136px;
    margin: 0 auto;
    padding: 64px 32px;
    gap: 48px;
    align-items: center;
}

.hero-content {
    flex: 1;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.4;
}

.cta-container {
    margin-bottom: 32px;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 999px;
    /* Uber full pill shape */
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.primary-btn {
    background-color: var(--primary-black);
    color: var(--pure-white);
    border: none;
}

.primary-btn:hover {
    opacity: 0.85;
    /* Minimal effect on solid black */
}

/* Secondary CTA / Filter look */
.secondary-btn {
    background-color: var(--chip-gray);
    color: var(--primary-black);
}

.secondary-btn:hover {
    background-color: var(--hover-gray);
}

/* Footer Button */
.footer-btn {
    background-color: var(--pure-white) !important;
    color: var(--primary-black) !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 999px !important;
}
.footer-btn:hover {
    background-color: var(--hover-gray) !important;
}

/* QR Code Section */
.qr-code-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
}

.qr-placeholder {
    width: 80px;
    height: 80px;
    background-color: var(--pure-white);
    border: 1px solid var(--hover-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--chip-gray);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light) 0px 8px 24px 0px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

/* Features */
.features-wrapper {
    max-width: 1136px;
    margin: 96px auto;
    padding: 0 32px;
}

.section-title {
    font-size: 36px;
    letter-spacing: -1px;
    margin-bottom: 48px;
}

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

.feature-card {
    background-color: var(--pure-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--chip-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-black);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--body-gray);
    line-height: 1.5;
}


/* Download Section */
.download-section {
    max-width: 1136px;
    margin: 96px auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.download-content {
    flex: 1;
}

.download-title {
    font-size: 48px;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.download-subtitle {
    font-size: 18px;
    color: var(--body-gray);
    margin-bottom: 48px;
    line-height: 1.5;
}

.qr-code-box {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 16px;
    background: var(--pure-white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.qr-code-box:hover {
    transform: translateY(-4px);
}

.download-section .qr-placeholder {
    width: 100px;
    height: 100px;
    border: 2px dashed #e0e0e0;
    padding: 6px;
    border-radius: 8px;
    background-color: #fcfcfc;
}

.download-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 32px;
}

.tilted-box {
    width: 320px;
    height: 320px;
    transform: rotate(15deg);
    animation: floatBox 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-box {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35%; /* Extremely curved UI squircle */
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.4));
}

@keyframes floatBox {
    0% { transform: rotate(15deg) translateY(0px); }
    50% { transform: rotate(15deg) translateY(-20px); }
    100% { transform: rotate(15deg) translateY(0px); }
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--pure-white);
    padding: 64px 32px 32px;
    margin-top: 96px;
}

.footer-content {
    max-width: 1136px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    max-width: 1136px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

.footer-bottom p {
    color: var(--muted-gray);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1119px) {
    /* Tablet and below */
    .hero {
        flex-direction: column;
        padding: 48px 24px;
    }

    h1 {
        font-size: 36px;
    }

    .hero-image {
        width: 100%;
    }

    .download-section {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }
    
    .download-visual {
        justify-content: center;
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    /* Mobile */
    .hero {
        padding: 32px 16px;
        gap: 24px;
    }

    .hero-title {
        font-size: 36px;
    }
    
    .features-wrapper {
        margin: 64px auto;
        padding: 0 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 16px;
    }

    .testimonial-card {
        width: 85vw;
        padding: 32px;
    }
    
    .quote-text {
        font-size: 18px;
    }
    
    .download-section {
        margin: 64px auto;
        padding: 0 16px;
    }
    
    .download-title {
        font-size: 36px;
    }
    
    .tilted-box {
        width: 240px;
        height: 240px;
        border-radius: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start !important;
    }
}