:root {
    --primary: #ff5e3a;
    --primary-dark: #cc2b09;
    --accent: #ffd13b;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-main: #334155;
    --text-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.shadow-lg {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 100;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.navbar.scrolled h1, .navbar.scrolled .nav-links a {
    color: white;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.app-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.logo h1 {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 500;
    color: white;
}
.nav-links a:hover {
    color: var(--accent);
}
.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    transition: transform 0.2s;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 94, 58, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.05); /* Slight scale to allow for parallax if wanted */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: -1;
}
.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}
.hero-icon {
    width: 120px;
    border-radius: 28px;
    margin-bottom: 30px;
    border: 3px solid rgba(255,255,255,0.2);
}
.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #cbd5e1;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.store-button {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 12px 25px;
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
}
.store-button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.4);
}
.store-button.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.store-button i {
    font-size: 30px;
}
.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.store-text .small {
    font-size: 0.7rem;
    font-weight: 300;
    text-transform: uppercase;
}
.store-text .big {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Split Section */
.split-section {
    padding: 120px 0;
    background: var(--light);
}
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}
.features-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--dark);
}
.section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}
.feature-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateX(10px);
}
.feature-icon {
    font-size: 2.5rem;
    background: var(--light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}
.feature-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark);
}
.feature-info p {
    color: var(--text-muted);
    line-height: 1.5;
}

/* iPhone Mockup */
.mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.iphone-frame {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 19.5 / 9;
    background: black;
    border-radius: 40px;
    border: 10px solid #1e293b;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 2;
}
.notch {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 25px;
    height: 120px;
    background: #1e293b;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}
.gameplay-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Elements */
.floating-apple {
    position: absolute;
    top: -80px;
    left: 15%;
    font-size: 3.5rem;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2));
    z-index: 3;
}
.floating-bell {
    position: absolute;
    bottom: -90px;
    right: 15%;
    font-size: 4rem;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2));
    z-index: 3;
}
.floating {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--dark);
    color: white !important;
}
.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.cta-section .section-desc {
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 40px auto;
}
.text-center {
    text-align: center;
}
.primary-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 94, 58, 0.4);
    transition: all 0.3s;
}
.primary-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Netlify Form Styles */
.notify-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 550px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.glass-input {
    flex: 1;
    min-width: 250px;
    padding: 15px 25px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
}
.glass-input:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.6);
}
.glass-input::placeholder {
    color: #cbd5e1;
}

/* Footer */
footer {
    background: #0b1120;
    color: white;
    padding: 60px 0 30px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    font-size: 0.9rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-links h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.footer-links a {
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-links a:hover {
    color: white;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 {
    transition-delay: 0.2s;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .section-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
