:root {
    --bg-dark: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-family: 'Outfit', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.background-globes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.globe {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.globe-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent), transparent);
    top: -200px;
    left: -200px;
}

.globe-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ec4899, transparent);
    bottom: -100px;
    right: -100px;
}

/* Glassmorphism Logic */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

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

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

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

.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    justify-content: center;
}

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

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.badge {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
}

.gradient-text {
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.cta-group {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-bottom: 4rem;
    width: 100%;
    /* Ensure container takes width */
    justify-content: center;
    align-items: center;
}

.stats {
    display: flex;
    padding: 2rem 4rem;
    border-radius: 16px;
    gap: 3rem;
    margin-bottom: 4rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider {
    width: 1px;
    background: var(--glass-border);
}

.mockup-header {
    height: 30px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #eab308;
}

.green {
    background: #22c55e;
}

.mockup-body {
    height: 400px;
    width: 100%;
    /* max-width: 800px; Remove fixed max-width/height logic that constrains it too much if used generally, but keep for hero */
    display: flex;
    background: rgba(15, 23, 42, 0.6);
    /* Slightly darker inner bg */
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.mockup-sidebar {
    width: 200px;
    border-right: 1px solid var(--glass-border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.mockup-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skeleton-line {
    height: 12px;
    background: var(--glass-border);
    border-radius: 6px;
    opacity: 0.5;
}

.skeleton-header {
    height: 40px;
    width: 30%;
    background: var(--glass-border);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.skeleton-card {
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.skeleton-chart {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
    .mockup-sidebar {
        display: none;
    }
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
}

.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Demo Section */
.section-demo {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-placeholder {
    width: 100%;
    max-width: 800px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 16px;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s;
}

.video-placeholder:hover {
    background: rgba(255, 255, 255, 0.06);
}

.play-button {
    color: var(--accent);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

/* Docs Section */
.section-docs {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.doc-card {
    padding: 2rem;
    border-radius: 16px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, border-color 0.3s;
    display: block;
}

.doc-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.doc-card i {
    color: var(--accent);
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
}

.doc-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: var(--text-main);
}

.doc-card p {
    color: var(--text-muted);
    margin: 0;
}

/* About Section */
.section-about {
    padding: 4rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Features */
.features {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: var(--text-muted);
    margin: 0;
}

.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .divider {
        display: none;
    }

    .mockup-body {
        width: 100%;
        height: 200px;
    }
}