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

:root {
    --bg-dark: #00040a;
    --text-white: #ffffff;
    --text-gray: #9aa0a6;
    --brand-blue: #1a73e8;
    --brand-blue-hover: #1765cc;
    --brand-light-blue: #8ab4f8;
    --card-bg: #0b111a;
    --border-color: rgba(255, 255, 255, 0.08);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Glow */
.glow-bg {
    position: absolute;
    top: -30vh;
    left: 20%;
    width: 60vw;
    height: 80vh;
    background: radial-gradient(circle at center, rgba(26, 115, 232, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
nav {
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 4, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    box-sizing: border-box;
    /* Prevent padding from blowing up width */
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary {
    background: var(--brand-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-blue-hover);
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.4);
}

/* Hero Section */
.hero-split {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 5% 4rem;
    /* Reduced top padding */
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media(min-width: 1024px) {
    .hero-split {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hero-text {
        flex: 1.1;
        padding-right: 3rem;
    }

    .hero-visual {
        flex: 0.9;
        position: relative;
        width: 100%;
    }
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem 0.4rem 0.4rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-white);
    margin-top: 0;
    margin-bottom: 2rem;
}

.badge-label {
    background: rgba(138, 180, 248, 0.15);
    color: var(--brand-light-blue);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.badge-pill .arrow {
    margin-left: auto;
    color: var(--text-gray);
}

.hero-text h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-top: 0;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: var(--text-white);
}

.hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 600px;
}

/* Demo Visual Wrapper */
.demo-wrapper {
    position: relative;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    padding: 1px;
    box-shadow: 0 0 50px rgba(26, 115, 232, 0.15);
    width: 100%;
}

.demo-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1A73E8, transparent, #8AB4F8);
    z-index: -1;
    opacity: 0.4;
    filter: blur(12px);
}

/* Email Form */
.email-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.75rem;
}

.email-input {
    flex: 1;
    min-width: 120px;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

.email-input:focus {
    border-color: var(--brand-light-blue);
    background: rgba(255, 255, 255, 0.1);
}

.email-input::placeholder {
    color: var(--text-gray);
}

.hero-gif {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

/* Features Constraints */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 5%;
}

.feature-row {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 8rem;
    align-items: center;
}

@media(min-width: 900px) {
    .feature-row {
        flex-direction: row;
    }

    .feature-row.reverse {
        flex-direction: row-reverse;
    }

    .f-text {
        flex: 1;
        padding-right: 4rem;
    }

    .feature-row.reverse .f-text {
        padding-right: 0;
        padding-left: 4rem;
    }

    .f-visual {
        flex: 1.1;
        position: relative;
        width: 100%;
    }
}

.f-text h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.f-text p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.styled-list {
    list-style: none;
    margin-top: 1.5rem;
}

.styled-list li {
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: 1.25rem;
    padding-left: 28px;
    position: relative;
}

.styled-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--brand-light-blue);
    font-size: 1rem;
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
    color: var(--brand-light-blue);
}

/* Perfect Sizing Image Box to prevent rectangular squishing */
.image-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    /* Dynamic padding buffer */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    min-height: 350px;
}

.image-box img {
    max-width: 100%;
    /* No hard height limits that distort the image */
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom CTA */
.bottom-cta {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 115, 232, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    padding: 8rem 5%;
    text-align: center;
}

.bottom-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.bottom-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.bottom-cta p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 5%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* About Specifics */
.about-hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 5% 6rem;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
    line-height: 1.1;
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 4rem 0 1.5rem;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

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

    .hero-split {
        padding-top: 4rem;
    }

    .feature-row {
        gap: 2rem;
    }

    .footer-content {
        justify-content: center;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }
}

/* Download Section */
.download-section {
    padding-top: 2rem;
    padding-bottom: 8rem;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    width: 100%;
}

.download-card.primary {
    border-color: rgba(138, 180, 248, 0.3);
    background: linear-gradient(180deg, rgba(26, 115, 232, 0.05) 0%, var(--card-bg) 100%);
}

.download-card.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26, 115, 232, 0.15);
}

.os-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-card h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-white);
}

.download-card p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
}

.system-req {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 1rem;
    text-align: center;
    width: 100%;
    opacity: 0.7;
}