:root {
    --primary: #7C3AED;
    --secondary: #C084FC;
    --dark: #0F172A;
    --light: #F8FAFC;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Blobs */
.blob-1, .blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 10s ease-in-out infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.4;
}

.blob-2 {
    bottom: 10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
    opacity: 0.3;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

/* Glassmorphism Classes */
.glass-nav, .glass-card, .glass-footer {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Nav */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.glass-nav h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.hero h2 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #3B82F6, #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: #94A3B8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.app-store-btn img {
    height: 50px;
    transition: transform 0.3s;
}

.app-store-btn:hover img {
    transform: scale(1.05);
}

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

.mockup {
    width: 300px;
    border-radius: 30px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.15);
    transform: rotate(-5deg);
    transition: transform 0.5s;
}

.mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.red { background: #FF5F56; }
.yellow { background: #FFBD2E; }
.green { background: #27C93F; }

.mockup-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.mockup-content p {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-bottom: 1.5rem;
}

.avatars {
    display: flex;
    margin-bottom: 2rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }

.join-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.join-btn:hover {
    background: #6D28D9;
}

/* Features */
.features {
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
    transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #94A3B8;
    line-height: 1.6;
}

/* Footer */
.glass-footer {
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.footer-col p, .footer-col a {
    color: #94A3B8;
    text-decoration: none;
    margin-bottom: 0.8rem;
    display: block;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.support-email {
    font-weight: 600;
    color: var(--primary) !important;
}

.copyright {
    text-align: center;
    color: #64748B;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 3rem;
    border-radius: 20px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: #94A3B8;
}

.close-modal:hover {
    color: white;
}

.policy-text {
    margin-top: 2rem;
    color: #CBD5E1;
}

.policy-text h3 {
    color: white;
    margin: 1.5rem 0 1rem;
}

.policy-text p, .policy-text ul {
    margin-bottom: 1rem;
    line-height: 1.6;
}
.policy-text ul {
    padding-left: 2rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero h2 { font-size: 3rem; }
    
    .hero-image {
        margin-top: 4rem;
    }
    
    .nav-links {
        display: none;
    }
}
