/* --- 1. Variables & Reset --- */
:root {
    --bg-dark: #0a0a0a;
    --text-white: #ffffff;
    --accent-primary: #3db2ff;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-speed: 0.7s;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 20px;
}

/* --- 2. Layout (Responsive) --- */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap; 
    align-items: center;
    justify-content: space-between;
    gap: 60px; /* Increased gap slightly */
}

/* --- 3. Left Section: Dual-Image Slider --- */
.app-preview {
    flex: 0 0 55%; 
    max-width: 600px; 
    position: relative;
}

.slider-frame {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: rgba(255,255,255,0.02);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform var(--transition-speed) cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-group {
    flex: 0 0 100%; 
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
}

.slide-group img {
    width: calc(50% - 8px); 
    height: auto; 
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}


/* --- 4. Right Section: Text Content (UPDATED) --- */
.content {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* New Brand Tag Style */
.brand-tag {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Optional: Add the star icon if desired later */
.brand-tag::before {
    content: "✦";
    color: var(--accent-primary);
}

.headline, .sub-headline {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
}

.headline { 
    margin-bottom: 0.5rem; /* Reduced margin */
}

.sub-headline { 
    color: #94a3b8; /* Muted blue-gray */
}

/* New Description Paragraph Style */
.description {
    font-size: 1.125rem; /* ~18px */
    line-height: 1.6;
    color: #cccccc; /* Lighter gray text for readability */
    margin-top: 2rem;
    margin-bottom: 2.5rem; /* Space before button */
    max-width: 480px; /* Ensure optimum reading width */
}


/* --- 5. App Store Button --- */
.cta-container {
    /* Spacing handled by .description margin-bottom */
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 10px 22px;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease;
    gap: 12px;
}

.app-store-btn:hover {
    transform: translateY(-3px);
    background-color: #252525;
    border-color: var(--accent-primary);
    box-shadow: 0 5px 15px rgba(61, 178, 255, 0.2);
}

.apple-logo { font-size: 28px; }

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.btn-text .small { font-size: 0.75rem; color: #ccc; }
.btn-text .large { font-size: 1.1rem; font-weight: 600; }


/* --- 6. Mobile Optimization --- */
@media (max-width: 1024px) {
    .container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }
    .app-preview, .content {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .content {
        align-items: center; /* Center text on mobile */
    }
    .headline, .sub-headline {
        font-size: 3rem;
    }
    .brand-tag {
        justify-content: center;
    }
}