/* --- Core Setup & Modern Variables --- */
:root {
    --primary: #e63946; 
    --primary-glow: rgba(230, 57, 70, 0.4);
    --bg-dark: #07090f; /* Pitch dark edge */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', -apple-system, sans-serif; 
    line-height: 1.6; 
    color: var(--text-main); 
    background: var(--bg-dark);
    overflow-x: hidden;
}

/* --- Ambient Background Glows --- */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate;
}
.orb-1 { width: 500px; height: 500px; background: #e63946; top: -100px; left: -150px; }
.orb-2 { width: 400px; height: 400px; background: #4f46e5; top: 40%; right: -100px; animation-delay: -5s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.2); }
}

/* --- Navigation --- */
nav { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 1.2rem 8%; 
    background: rgba(7, 9, 15, 0.7);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    position: fixed; width: 100%; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo { font-size: 1.6rem; font-weight: 900; color: white; letter-spacing: -1px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: white; }
.nav-btn { background: rgba(255,255,255,0.1); padding: 0.5rem 1.2rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); }
.nav-btn:hover { background: white; color: black !important; }

/* --- Hero Section --- */
header { 
    display: flex; flex-direction: column; justify-content: center; align-items: center; 
    text-align: center; padding: 12rem 5% 6rem; min-height: 90vh;
}
.badge { 
    background: rgba(230, 57, 70, 0.1); color: var(--primary); 
    padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.9rem; 
    font-weight: 700; border: 1px solid var(--primary-glow); 
    display: inline-block; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px;
}
.hero-text h1 { font-size: 4.5rem; margin-bottom: 1.5rem; line-height: 1.1; font-weight: 800; max-width: 900px; }
.highlight { color: transparent; -webkit-text-stroke: 1px white; background: linear-gradient(90deg, #e63946, #ff758c); -webkit-background-clip: text; }
.hero-text p { font-size: 1.25rem; margin: 0 auto 3rem; color: var(--text-muted); max-width: 600px; }

.hero-buttons { display: flex; gap: 1rem; justify-content: center; }
.cta-btn, .secondary-btn { 
    padding: 1.2rem 2.5rem; border-radius: 12px; text-decoration: none; font-weight: 700; transition: all 0.3s;
}
.cta-btn { background: var(--primary); color: white; box-shadow: 0 10px 30px var(--primary-glow); }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px var(--primary-glow); }
.secondary-btn { background: rgba(255,255,255,0.05); color: white; border: 1px solid rgba(255,255,255,0.1); }
.secondary-btn:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* --- Infinite Marquee --- */
.marquee-wrapper { 
    background: var(--primary); padding: 1.5rem 0; overflow: hidden; 
    transform: rotate(-2deg) scale(1.05); box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
    margin: 4rem 0; z-index: 10; position: relative;
}
.marquee-content { 
    display: flex; gap: 3rem; white-space: nowrap; font-size: 1.5rem; font-weight: 800; color: white; 
    animation: scroll 20s linear infinite; text-transform: uppercase; letter-spacing: 2px;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 3D Phone Showcase --- */
.showcase { padding: 8rem 5%; text-align: center; }
.screenshot-wrapper {
    display: flex; justify-content: center; align-items: center;
    perspective: 2500px; height: 700px; position: relative;
    width: 100%; max-width: 1200px; margin: 4rem auto 0;
}
.phone-mockup { 
    position: absolute; width: 280px; background: #000; 
    border: 8px solid #1e293b; border-radius: 40px; overflow: hidden; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}
.phone-mockup img { width: 100%; display: block; }
.mockup-1 { transform: translateX(-350px) rotateY(25deg) scale(0.85); z-index: 5; opacity: 0.6; }
.mockup-2 { transform: translateX(0) translateZ(100px); z-index: 15; }
.mockup-3 { transform: translateX(350px) rotateY(-25deg) scale(0.85); z-index: 5; opacity: 0.6; }
.phone-mockup:hover {
    z-index: 30 !important; opacity: 1; border-color: var(--primary);
    transform: scale(1.1) translateY(-20px) rotateY(0deg) !important;
    box-shadow: 0 40px 100px var(--primary-glow);
}

/* --- Social Footer --- */
footer { 
    background: #04060a; padding: 6rem 8% 3rem; border-top: 1px solid rgba(255,255,255,0.05); 
}
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4rem; flex-wrap: wrap; gap: 2rem; }
.footer-brand h2 { font-size: 2rem; color: white; margin-bottom: 0.5rem; }
.footer-brand p { color: var(--text-muted); }

/* --- Social Footer --- */
.social-links { 
    display: flex; 
    gap: 1rem; 
}

.social-icon { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.05); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    color: white; 
    font-size: 1.2rem;
    text-decoration: none; 
    transition: 0.3s; 
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover { 
    background: var(--primary); 
    border-color: var(--primary); 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}