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

:root {
    --text-primary: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.57);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: #000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 1440px;
}

/* ===== HERO SECTION ===== */
.hero {
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 1440px;
    margin: 0 auto;
}

.hero-text {
    margin-left: 50px;
    padding-left: 10%;
    animation: fadeInUp 0.8s ease-out;
}

/* Logo */
.logo {
    align-items: center;
    margin-bottom: 35px;
}

.logo-icon-img {
    width: auto;
    height: 111px;
}

/* Hero Title */
.hero-title {
    margin-bottom: 16px;
    line-height: 1;
}

.hero-title-swap {
    display: block;
    width: 373px;
    height: auto;
    margin-bottom: 20px;
}

.hero-title-reality {
    font-size: 100px;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1;
    margin-bottom: 40px;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
    width: 571px;
    line-height: 1.5;
}

.hero-separator {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    width: 571px;
    margin: 46px 0;
}

/* Store Badges */
.cta-buttons {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.store-badge {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.store-badge:hover {
    transform: translateY(-2px) scale(1.03);
}

.store-badge-logo {
    width: 204px;
    height: auto;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
    margin-left: 11px;
}

.phone-screen {
    width: auto;
    height: 100vh;
    display: block;
    margin-left: 50px;
}

/* ===== FEATURES HEADLINE ===== */
.features-headline {
    text-align: center;
    margin: 100px auto 60px;
    padding: 0 230px;
}

.features-headline h2 {
    font-size: 70px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    font-style: italic;
    font-family: 'Poppins';
}

/* ===== FEATURE CARDS ===== */
.features {
    padding: 0 20px 120px;
    width: 1440px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    padding: 0 10%;
}

.feature-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.21);
    border-radius: 50px;
    padding: 55px 40px 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    border-color: #CFFE58;
    box-shadow: inset 0 0 0 1px #CFFE58;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 60px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-title {
    font-size: 50px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: #fff;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.feature-desc {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-muted);
}

/* ===== MARQUEE BANNER ===== */
.marquee-section {
    padding: 80px 0;
    overflow: hidden;
}

.marquee-banner {
    background: linear-gradient(to right, #f2ff60, #cdff57);
    border: 0.62px solid rgba(255, 255, 255, 0.2);
    padding: 40px 0;
    transform: rotate(-2.63deg);
    width: 120%;
    margin-left: -10%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.marquee-text {
    font-size: 100px;
    font-weight: 800;
    font-style: italic;
    color: #000;
    line-height: 1;
    flex-shrink: 0;
}

.marquee-dot {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: transparent;
    border: 5px solid #000;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 120px 20px 160px;
    width: 1440px;
    margin: 0 auto;
}

.cta-title {
    font-size: 100px;
    font-weight: 800;
    font-style: italic;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 60px;
}

.cta-button-wrapper {
    display: inline-grid;
    place-items: center;
}

.cta-button,
.cta-store-badges {
    grid-area: 1 / 1;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, #f2ff60, #cdff57);
    border: 0.62px solid rgba(255, 255, 255, 0.2);
    border-radius: 23px;
    padding: 24px 29px;
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cta-store-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cta-button-wrapper:hover .cta-button {
    opacity: 0;
    pointer-events: none;
}

.cta-button-wrapper:hover .cta-store-badges {
    opacity: 1;
    pointer-events: auto;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 768px) {
    body {
        min-width: auto;
        overflow-x: hidden;
    }
    .phone-screen {
        width: 100%;
        height: auto;
        margin-left: 0;
        aspect-ratio: 1206 / 2034;
    }
    .hero-inner {
        width: 100%;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
        margin-top: 30px;
    }
    .hero-text {
        padding-left: 0;
        margin-left: 0;
    }
    .logo {
        justify-content: center;
        margin-bottom: 25px;
    }
    .hero-separator {
        display: none;
    }
    .hero-title-swap {
        width: 92px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-title-reality {
        font-size: 30px;
        margin-bottom: 14px;
    }
    .hero-subtitle {
        font-size: 14px;
        color: #FFFFFF99;
        width: auto;
        margin-bottom: 27px;
        margin-left: 31px;
        margin-right: 31px;
        padding: 0 31px;
    }
    .logo-icon-img {
        height: 46px;
    }
    .store-badge-logo {
        width: 127px;
        height: 46px;
    }
    .cta-buttons {
        justify-content: center;
        margin-bottom: 0;
    }
    .features-headline {
        margin-top: 10px;
        margin-bottom: 43px;
        padding: 0 31px;
    }
    .features-headline h2 {
        font-size: 24px;
    }
    .features {
        width: auto;
        padding: 0;
    }
    .features-grid {
        display: flex;
        overflow-x: auto;
        gap: 37px;
        padding: 0 40px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .features-grid::-webkit-scrollbar {
        display: none;
    }
    .feature-card {
        flex: 0 0 189px;
        min-height: auto;
        border-radius: 24px;
        padding: 30px 22px 38px;
    }
    .feature-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 32px;
    }
    .feature-title {
        font-size: 26px;
        margin-bottom: 16px;
    }
    .feature-desc {
        font-size: 13px;
    }
    .marquee-section {
        padding: 50px 0;
    }
    .marquee-banner {
        padding: 20px 0;
    }
    .marquee-track {
        gap: 10px;
    }
    .marquee-text {
        font-size: 27px;
    }
    .marquee-dot {
        width: 18px;
        height: 18px;
        border: 1.3px solid #000;
    }
    .cta-section {
        width: auto;
        padding: 20px 0 0;
    }
    .cta-title {
        font-size: 24px;
    }
    .cta-button-wrapper {
        padding-bottom: 100px;
    }
    .cta-button {
        font-size: 12px;
        padding: 12px 13px;
        border-radius: 9px;
    }
    .cta-button-wrapper.active .cta-button {
        opacity: 0;
        pointer-events: none;
    }
    .cta-button-wrapper.active .cta-store-badges {
        opacity: 1;
        pointer-events: auto;
    }
    .hero-image {
        margin-left: 0px;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
