:root {
    --color-bg: #09090b;
    --color-bg-panel: rgba(24, 24, 27, 0.7);
    --color-bg-panel-hover: rgba(39, 39, 42, 0.8);
    --color-border: rgba(255, 255, 255, 0.1);
    
    --color-text: #f4f4f5;
    --color-text-muted: #a1a1aa;
    
    --color-primary: #0ea5e9; /* Light blue */
    --color-green: #10b981; /* Electric green */
    --color-purple: #8b5cf6;
    --color-orange: #f59e0b;

    --font-sans: 'Inter', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
}

html, body {
    overflow-x: hidden;
}

body {
    position: relative;
}

/* Background gradient blobs */
body::before {
    content: '';
    position: absolute;
    top: -10vw;
    right: -10vw;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, rgba(9,9,11,0) 70%);
    z-index: -1;
}

body::after {
    content: '';
    position: absolute;
    bottom: -10vw;
    left: -10vw;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, rgba(9,9,11,0) 70%);
    z-index: -1;
}

/* Password Protection Overlay */
.password-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--color-bg);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    transition: opacity 0.3s ease;
}

body.locked {
    overflow: hidden;
}

body.locked > *:not(#passwordOverlay) {
    display: none !important;
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

p {
    line-height: 1.6;
    color: var(--color-text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

.text-center { text-align: center; }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #0284c7);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-large {
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

.brand-icon {
    color: var(--color-green);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-login {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
    transition: color 0.2s;
    padding: 0.5rem;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

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

.language-switcher select {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    cursor: pointer;
}

.language-switcher select option {
    background: var(--color-bg);
}

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

@media (min-width: 900px) {
    .hero {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

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

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-green);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(1.8rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 900px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.glass-mockup {
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 1rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    max-width: 450px;
    width: 100%;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.glass-mockup img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.floating-badge {
    position: absolute;
    background: rgba(9, 9, 11, 0.9);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.feature-icon-svg {
    width: 18px; height: 18px;
}

.badge-1 {
    top: 20%;
    right: -10%;
    color: var(--color-green);
    animation-delay: 0s;
}

.badge-2 {
    bottom: 15%;
    left: -10%;
    color: var(--color-primary);
    animation-delay: 2s;
}

.glow-bg {
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--color-primary);
    filter: blur(100px);
    opacity: 0.15;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Attributes / UI panels */
.glass-panel {
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 2.5rem;
}

/* Features Section */
.features-section {
    padding: 5rem 5%;
}

.section-title {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--color-bg-panel-hover);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.icon-blue { color: var(--color-primary); }
.icon-green { color: var(--color-green); }
.icon-purple { color: var(--color-purple); }
.icon-orange { color: var(--color-orange); }

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

/* CTA Section */
.cta-section {
    padding: 5rem 5% 8rem;
    display: flex;
    justify-content: center;
}

.cta-box {
    max-width: 800px;
    width: 100%;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.signup-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.signup-form input {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
    outline: none;
    transition: border-color 0.2s;
}

.signup-form input:focus {
    border-color: var(--color-primary);
}

/* Footer */
footer {
    border-top: 1px solid var(--color-border);
    padding: 2rem 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

@media (max-width: 850px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    .logo {
        font-size: 1.1rem;
    }
    .logo svg {
        width: 20px;
        height: 20px;
    }
    .nav-right {
        gap: 0.75rem;
    }
    .btn-primary {
        padding: 0.5rem 0.9rem;
        font-size: 0.95rem;
    }
    .language-switcher select {
        padding: 0.3rem 0.5rem;
        font-size: 0.9rem;
    }
    .hero {
        padding-top: 7rem;
        gap: 2rem;
    }
    .glass-panel {
        padding: 1.5rem;
    }
    .section-title h2, .cta-box h2 {
        font-size: 2rem;
    }
    .glass-mockup, .glass-mockup:hover {
        transform: none;
        max-width: 100%;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .badge-1, .badge-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions a {
        width: 100%;
        text-align: center;
    }
    .nav-right .btn-primary {
        display: none;
    }
    .signup-form input, .signup-form button {
        width: 100%;
        max-width: none;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .features-section {
        padding: 4rem 5%;
    }
    .cta-section {
        padding: 4rem 5% 6rem;
    }
}
