:root {
    --bg-color: #0b0f19;
    --bg-secondary: #111827;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

h1, h2, h3, h4, .brand, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Typography */
h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 1.1rem; }

/* Components */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
}

/* Layout */
.section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    white-space: nowrap;
    z-index: 1002;
}

.logo i { color: var(--accent-blue); }

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    z-index: 1002;
}

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

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

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(11,15,25,0) 70%);
    z-index: -1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-visual {
    position: relative;
}

.main-dashboard {
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    box-shadow: -20px 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.panel-header {
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-box span { display: block; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.5rem; }
.stat-box strong { display: block; font-size: 1.8rem; font-weight: 700; margin-bottom: 0.5rem; font-family: 'Outfit'; }
.trend.up { color: #10b981; font-size: 0.85rem; font-weight: 500; }

/* Features Grid */
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(59, 130, 246, 0.3);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-list i { color: #10b981; font-size: 0.8rem; }

/* Mobile Dan Section */
.dan-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dan-image {
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.3);
    border: 1px solid var(--glass-border);
    display: block;
    margin: 0 auto;
    transition: transform 0.5s ease;
}

.dan-image:hover {
    transform: translateY(-10px) scale(1.02);
}

/* AI Section */
.ai-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(to right, var(--bg-color), var(--bg-secondary));
}

.neon-badge {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
    border-color: rgba(139, 92, 246, 0.3);
}

.ai-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-item {
    display: flex;
    gap: 1rem;
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.ai-item i {
    font-size: 2rem;
    color: var(--accent-purple);
}

.ai-item h4 {
    margin-bottom: 0.5rem;
    font-family: 'Inter';
}

.ai-item p { margin-bottom: 0; font-size: 0.95rem; }

.ai-demo {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

.video-placeholder {
    height: 300px;
    background: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    animation: scan 2s infinite linear;
}

@keyframes scan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

.analysis-result {
    display: flex;
    justify-content: space-between;
    font-family: 'Outfit';
    font-weight: 600;
}

.analysis-result span {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Integrations */
.integration-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.logo-box {
    background: var(--bg-secondary);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.logo-box:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

/* Roadmap */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--glass-border);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 55%;
    padding-left: 3rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 4px solid var(--accent-blue);
    border-radius: 50%;
}

.timeline-item:nth-child(odd)::after {
    right: -11px;
}

.timeline-item:nth-child(even)::after {
    left: -11px;
}

.phase {
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Outfit';
}

.phase span {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-panel {
    background: linear-gradient(135deg, rgba(30,41,59,0.9), rgba(15,23,42,0.9));
    border-color: rgba(59, 130, 246, 0.4);
    max-width: 800px;
    margin: 0 auto;
}

.cta-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-form input {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.3);
    color: white;
    font-family: 'Inter';
    outline: none;
    min-width: 200px;
    flex: 1;
}

.cta-form input:focus {
    border-color: var(--accent-blue);
}

.cta-form button {
    flex: 1;
    min-width: 200px;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin: 0 auto 2rem auto;
}

.brand i { color: var(--accent-blue); margin-right: 0.5rem; }
.brand p { margin-top: 0.5rem; font-size: 0.9rem; margin-bottom: 0;}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent-blue); }

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 968px) {
    .hamburger { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(11, 15, 25, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--glass-border);
        box-shadow: -20px 0 50px rgba(0,0,0,0.5);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-bottom: 2rem;
        font-size: 1.2rem;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
    }
    
    .nav-actions .btn-primary {
        width: 100%;
        text-align: center;
    }

    .hero, .ai-section, .dan-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .dan-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    .feature-list {
        text-align: left;
    }
    .hero-buttons {
        justify-content: center;
    }
    .timeline::before { left: 30px; }
    .timeline-item { width: 100%; padding-left: 80px !important; text-align: left !important; left: 0 !important; }
    .timeline-item::after { left: 20px !important; right: auto !important; }
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero { padding-top: 8rem; }
    .logo-text { display: none; }
}
