:root {
    --primary-color: #FF6B00;
    --primary-hover: #E65A00;
    --text-color: #1A1A1A;
    --text-muted: #4A4A4A;
    --bg-color: #FAFAFA;
    --white: #FFFFFF;
    --max-width: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    padding: 2rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -1.5px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

.app-store-badge {
    height: 50px;
    transition: transform 0.2s;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

/* Hero */
.hero {
    padding: 2rem 0 6rem;
}

.hero .container.hero-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

/* On desktop, hide the image inside hero-content since it's in its own column */
.hero-content .hero-image {
    display: none;
}

.hero-column-image {
    flex: 1;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: -2px;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.hero p {
    font-size: 1.5rem;
    max-width: 500px;
}

/* Features */
.features {
    padding: 6rem 0;
    background-color: var(--white);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 6rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-image {
    flex: 1;
}

.feature-row h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-screenshot {
    width: 100%;
    max-width: 350px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.feature-row img {
    width: 100%;
    max-width: 300px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: block;
    margin: 0 auto;
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #EEE;
}

footer p {
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        padding: 0 10vw;
    }

    header {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.75rem;
        gap: 12px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .hero {
        padding: 1rem 0 4rem;
    }

    .hero .container.hero-flex {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Toggle image visibility for mobile */
    .hero-content .hero-image {
        display: block;
        order: 2;
        margin-bottom: 2rem;
    }

    .hero-column-image {
        display: none;
    }

    /* Change order for mobile hero elements */
    .hero-content h1 { order: 1; margin-bottom: 4rem; font-size: 2.5rem; }
    .hero-content .hero-badge-container { order: 3; margin-bottom: 1.5rem; }
    .hero-content p { order: 4; margin-bottom: 0; font-size: 1.25rem; }

    .feature-row {
        flex-direction: column !important;
        text-align: center;
        gap: 2.5rem;
        padding: 4rem 0;
        margin-bottom: 0;
    }

    .features {
        padding: 0;
    }

    .cta {
        padding: 4rem 0 !important;
    }
}
