:root {
    --bg-color: #0f172a; /* deep slate blue */
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #a3e635; /* vibrant lime */
    --accent-hover: #bef264;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Blobs for depth/glassmorphism */
.blob {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    border-radius: 50%;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(163,230,53,0.3) 0%, rgba(30,58,138,0) 70%);
}

.blob-2 {
    bottom: 20%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, rgba(30,58,138,0) 70%);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    color: var(--text-primary) !important;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Utility Glass Class */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gradient-text {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

/* Download Card */
.download-card {
    padding: 2rem;
    animation: float 6s ease-in-out infinite;
}

.download-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.download-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

input[type="email"]:focus {
    border-color: var(--accent);
}

.primary-btn {
    background: var(--accent);
    color: #020617; /* Slate 950 */
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s, transform 0.1s;
}

.primary-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.primary-btn:active {
    transform: translateY(1px);
}

.primary-btn.success-state {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.form-hint {
    font-size: 0.75rem !important;
    margin: 0 !important;
    transition: color 0.3s;
}

/* Hero Image Mockup */
.hero-image {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

.menubar-mock {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: inline-block;
    align-self: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.menubar-mock .icon {
    color: var(--accent);
    font-weight: bold;
}

.dropdown-mock {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 250px;
    align-self: flex-end;
}

.drop-item {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0.5rem 0;
}

/* Features grid */
.features {
    max-width: 1200px;
    margin: 4rem auto 8rem;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(163, 230, 53, 0.4); /* Glow border on hover */
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--glass-border);
}

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

/* Responsiveness */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .subtitle {
        margin: 0 auto 3rem;
    }
    
    .download-card {
        margin: 0 auto;
        max-width: 500px;
    }
    
    .hero-image {
        transform: none;
        align-items: center;
    }
    
    .menubar-mock, .dropdown-mock {
        align-self: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
    }
}
