:root {
    --bg-main: #0f0f17;
    --bg-dark: #161622;
    --bg-card: #1c1c2b;
    --accent-primary: #89B4FA;
    --accent-secondary: #A6E3A1;
    --accent-peach: #FAB387;
    --text-main: #CDD6F4;
    --text-muted: #A6ADC8;
    --text-dim: #6C7086;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-light: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(137, 180, 250, 0.1);
    padding: 15px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 20px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-download-nav {
    background: var(--accent-primary);
    color: var(--bg-main);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-download-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(137, 180, 250, 0.4);
}

/* NEW STYLES: User Dropdown Menu in Navbar */
.user-menu-container {
    position: relative;
    display: inline-block;
}

.btn-user-dropdown {
    background: rgba(137, 180, 250, 0.15);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-user-dropdown:hover {
    background: rgba(137, 180, 250, 0.25);
    box-shadow: 0 4px 15px rgba(137, 180, 250, 0.2);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background-color: var(--bg-card);
    min-width: 160px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1100;
    overflow: hidden;
    animation: fadeInDropdown 0.2s ease-out;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: rgba(137, 180, 250, 0.1);
    color: var(--accent-primary);
}

.dropdown-content.show {
    display: block;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: radial-gradient(circle at 50% -20%, #2a2a40 0%, var(--bg-main) 60%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(137, 180, 250, 0.1);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-main {
    background: var(--accent-primary);
    color: var(--bg-main);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.btn-main:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(137, 180, 250, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

.hero-metrics {
    display: flex;
    gap: 30px;
}

.metric {
    font-size: 14px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.metric span {
    color: var(--text-main);
    font-weight: 700;
}

/* Hero Visual (The Mockup) */
.hero-visual {
    position: relative;
}

.app-mockup {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
}

.mockup-window {
    background: var(--bg-main);
    border-radius: 8px;
    overflow: hidden;
}

.window-top {
    background: #2a2a3a;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.mockup-body {
    display: grid;
    grid-template-columns: 150px 1fr;
    height: 300px;
}

.mockup-sidebar { background: #161622; border-right: 1px solid #313244; }
.mockup-main { padding: 20px; background: #1e1e2e; position: relative; }

.code-line { height: 8px; background: #313244; width: 80%; margin-bottom: 8px; border-radius: 4px; }
.code-line.short { width: 40%; }
.code-line.medium { width: 60%; }

.ai-bubble {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #1E3A5F;
    color: var(--accent-primary);
    padding: 10px 15px;
    border-radius: 12px 12px 0 12px;
    font-size: 12px;
    border: 1px solid var(--accent-primary);
    max-width: 200px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: #222235;
    border-color: var(--accent-primary);
}

.feature-icon {
    color: var(--accent-primary);
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

/* How it Works */
.how-it-works {
    padding: 100px 20px;
    background: var(--bg-dark);
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--bg-main);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.step-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-primary);
    opacity: 0.3;
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-muted);
}

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

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

.product-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card.highlighted {
    border: 2px solid var(--accent-primary);
    background: linear-gradient(145deg, var(--bg-card), #25253a);
}

.product-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
    background: var(--accent-primary);
    color: var(--bg-main);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.status-soon {
    color: var(--text-dim);
    font-style: italic;
    font-size: 14px;
}

.btn-small {
    background: var(--accent-primary);
    color: var(--bg-main);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
}

/* Contact */
.contact {
    padding: 100px 20px;
    background: var(--bg-dark);
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-main);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.contact-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 14px;
    color: var(--text-main);
    font-family: inherit;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* CTA */
.cta {
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(0deg, var(--bg-main) 0%, #1a1a2e 100%);
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cta p {
    color: var(--text-muted);
    font-size: 20px;
    margin-bottom: 40px;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 20px;
}

/* Footer */
.main-footer {
    padding: 60px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: var(--bg-dark);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-metrics {
        justify-content: center;
    }
    .hero-visual {
        transform: scale(0.8);
        margin-top: 40px;
    }
    .app-mockup {
        transform: none;
    }
    .nav-links {
        display: none;
    }
}