/* --- BASE STYLES --- */
body, html {
    margin: 0;
    padding: 0;
    background-color: #050505; /* Pitch Black */
    color: #f3f4f6;
    font-family: 'Inter', -apple-system, sans-serif;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY & GRADIENTS --- */
.gradient-text {
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-alt {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- NAVIGATION --- */
.intro-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0; width: 100%;
    box-sizing: border-box;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-blue { color: #3b82f6; }

.nav-btn, .btn-primary {
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
    cursor: pointer;
    border: none;
}
.nav-btn:hover, .btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }

.btn-primary.large {
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 30px;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* --- SCROLLING MARQUEE --- */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: rgba(17, 24, 39, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
    margin-bottom: 80px;
    white-space: nowrap;
    position: relative;
}

/* Fades the edges of the scrolling text */
.marquee-container::before, .marquee-container::after {
    content: "";
    position: absolute;
    top: 0; width: 100px; height: 100%;
    z-index: 2;
}
.marquee-container::before { left: 0; background: linear-gradient(to right, #050505, transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, #050505, transparent); }

.marquee-content {
    display: inline-flex;
    animation: scroll-marquee 40s linear infinite;
    gap: 50px;
    padding-left: 50px;
    font-size: 1.1rem;
}

.marquee-content span { color: #9ca3af; font-weight: 600; }
.marquee-content .ticker { color: #f3f4f6; margin-right: 5px; }

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- GLASSMORPHISM PANELS --- */
.glass-panel {
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.glass-panel:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
}

/* --- THE CSS PHONE MOCKUP --- */
.phone-mockup {
    width: 300px;
    height: 620px;
    border-radius: 45px;
    border: 8px solid rgba(255, 255, 255, 0.05);
    background: #000;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transition: transform 0.5s ease;
}

.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 35px; /* Fits inside the bezel */
}

/* Glowing Phone Variations */
.neon-glow { box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.2); }
.neon-glow-purple { box-shadow: 0 20px 50px -10px rgba(168, 85, 247, 0.3), 0 0 0 1px rgba(168, 85, 247, 0.2); }
.neon-glow-green { box-shadow: 0 20px 50px -10px rgba(16, 185, 129, 0.3), 0 0 0 1px rgba(16, 185, 129, 0.2); }

/* Mockup Tilts for visual flair */
.left-tilt { transform: perspective(1000px) rotateY(12deg) rotateX(4deg); }
.right-tilt { transform: perspective(1000px) rotateY(-12deg) rotateX(4deg); }

.left-tilt:hover, .right-tilt:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px); }

/* --- FEATURE SPLITS (Scrollytelling) --- */
.feature-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1150px;
    margin: 120px auto;
    padding: 0 5%;
    gap: 60px;
}

.feature-split.reverse { flex-direction: row-reverse; }

.feature-text { flex: 1; }
.feature-text h2 { font-size: 3rem; margin-bottom: 24px; letter-spacing: -1px; line-height: 1.1;}
.feature-text p { font-size: 1.15rem; color: #9ca3af; line-height: 1.7; margin-bottom: 20px; }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    color: #d1d5db;
    line-height: 1.7;
    font-size: 1.1rem;
}
.feature-list li { margin-bottom: 12px; padding-left: 20px; position: relative; }
.feature-list li::before {
    content: "→"; position: absolute; left: 0; color: #3b82f6; font-weight: bold;
}

.feature-visual { flex: 1; display: flex; justify-content: center; }

/* --- WHAT'S NEW TEASER SECTION --- */
.whats-new-teaser {
    text-align: center;
    max-width: 800px;
    margin: 120px auto;
    padding: 60px 5%;
    background: rgba(17, 24, 39, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
}

.whats-new-teaser h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.whats-new-teaser p {
    font-size: 1.2rem;
    color: #9ca3af;
    margin-bottom: 30px;
}

.update-btn {
    background: #10b981; /* Green CTA for the update */
    padding: 14px 36px;
    font-size: 1.1rem;
}
.update-btn:hover {
    background: #059669;
}

/* --- WHAT'S NEW HEADER (The actual page) --- */
.whats-new-header {
    text-align: center;
    padding-top: 140px;
    margin-bottom: 50px;
}

.whats-new-header .subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
}

.whats-new-header h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 10px 0 20px 0;
}

.back-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #d1d5db;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 30px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.release-badge {
    background: rgba(37, 99, 235, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

/* --- PRIVACY SECTION --- */
.privacy-section {
    text-align: center;
    max-width: 800px;
    margin: 150px auto 100px auto;
    padding: 0 5%;
}

.shield-icon svg {
    color: #10b981; /* Glowing Green */
    margin-bottom: 24px;
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.6));
}

.privacy-section h2 { font-size: 3rem; margin-bottom: 30px; letter-spacing: -1px;}
.privacy-section p { font-size: 1.2rem; color: #9ca3af; line-height: 1.8; }

/* --- FINAL CTA --- */
.cta-section {
    text-align: center;
    padding: 50px 5%;
    margin-bottom: 80px;
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 40px; }

/* --- LEGAL FOOTER --- */
.legal-footer {
    background-color: #000;
    border-top: 1px solid #1f2937;
    padding: 40px 5%;
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}
.legal-footer p { margin: 0 0 10px 0; }

/* --- ANIMATIONS (The Apple Fade-Up) --- */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- MOBILE RESPONSIVENESS --- */
@media screen and (max-width: 900px) {
    .hero h1, .whats-new-header h1 { font-size: 3.5rem; }
    .feature-split, .feature-split.reverse { flex-direction: column; text-align: center; margin: 100px auto; gap: 50px;}
    .feature-text h2 { font-size: 2.5rem; }
    .feature-list li { text-align: left; }
    .privacy-section h2 { font-size: 2.2rem; }
    .left-tilt, .right-tilt { transform: none !important; } /* Disable tilts on mobile */
    .phone-mockup { width: 280px; height: 580px; margin-top: 0; }
    .glass-panel { padding: 30px 20px; }
}