:root {
    --bg-dark: #0B0B0F;
    --primary: #E91E63;
    --secondary: #4A00E0;
    --gold: #D4AF37;
    --text-main: #FFFFFF;
    --text-muted: #BDBDBD;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Cinzel', serif;
}

/* Cosmic Background Animations */
.stars, .twinkling, .clouds {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: #000 url('https://www.transparenttextures.com/patterns/stardust.png') repeat top center;
}

.twinkling {
    background: transparent url('https://www.transparenttextures.com/patterns/twinkle-twinkle.png') repeat top center;
    animation: move-twink-back 200s linear infinite;
    opacity: 0.5;
}

@keyframes move-twink-back {
    from {background-position: 0 0;}
    to {background-position: -10000px 5000px;}
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.glass-dark {
    background: rgba(11, 11, 15, 0.8);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(233, 30, 99, 0.3);
    border-bottom: 1px solid rgba(233, 30, 99, 0.3);
}

/* Navigation */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 50px;
    background: rgba(11, 11, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .moon { font-size: 1.5rem; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--primary); }

/* Buttons */
.btn-neon {
    display: inline-block;
    padding: 10px 25px;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 800;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.3);
}

.btn-neon:hover {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.8);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

.btn-huge {
    display: inline-block;
    background: linear-gradient(45deg, var(--gold), #ff8c00);
    color: #000;
    padding: 20px 50px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s;
}

.btn-huge:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 50px;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, var(--gold), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Phone Mockup */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    border-radius: 40px;
    background: #000;
    border: 8px solid #2a2a35;
    box-shadow: 0 30px 60px rgba(74, 0, 224, 0.4), inset 0 0 20px rgba(255,255,255,0.1);
    position: relative;
    padding: 15px;
    animation: float 6s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A0B2E, #E91E63);
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-visual {
    text-align: center;
    color: white;
}

.magic-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loading-bar {
    width: 80%;
    height: 6px;
    background: rgba(255,255,255,0.2);
    margin: 20px auto;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; height: 100%; width: 50%;
    background: var(--gold);
    animation: load 2s infinite ease-in-out;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes load {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* Features */
.features {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--gold);
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(74, 0, 224, 0.3);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    text-align: center;
    margin: 50px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item span {
    color: var(--gold);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Download Banner */
.download-banner {
    text-align: center;
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.download-banner h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, var(--gold), #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download-banner p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: rgba(0,0,0,0.5);
    color: #666;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .stats { flex-direction: column; gap: 30px; }
}
