:root {
    --bg-dark: #0a0a0f;
    --bg-accent: #13131f;
    --primary: #00f0ff;
    --secondary: #7000ff;
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

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

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Background Blobs */
.blob {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112,0,255,0.4) 0%, rgba(0,0,0,0) 70%);
}

.blob-2 {
    bottom: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,240,255,0.3) 0%, rgba(0,0,0,0) 70%);
}

.blob-3 {
    top: 40%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,0,128,0.2) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Glassmorphism Components */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.logo span {
    color: var(--primary);
    font-weight: 300;
}

nav a {
    color: var(--text-main);
    margin-left: 2rem;
    font-weight: 500;
}

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

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary), #4a00e0);
    color: white;
    box-shadow: 0 4px 15px rgba(112,0,255,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(112,0,255,0.6);
    color: white;
}

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

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

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

.full-width {
    width: 100%;
    margin-top: 1.5rem;
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

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

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

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
    padding-top: 8rem;
}

.hero h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* Mockup UI */
.dashboard-preview {
    padding: 1rem;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
}

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

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

.chart-line {
    height: 120px;
    background: linear-gradient(180deg, rgba(0,240,255,0.2) 0%, rgba(0,0,0,0) 100%);
    border-top: 2px solid var(--primary);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.chart-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: scan 2s infinite linear;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stats-row {
    display: flex;
    gap: 1rem;
    height: 60px;
}

.stat-box {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 12px;
}

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

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

/* Predictive Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(112,0,255,0.05));
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-side h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-side p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-animation {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    animation: pulse 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulse-ring.delay {
    animation-delay: 1.5s;
}

.core-node {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 0 30px rgba(112,0,255,0.6);
    z-index: 2;
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.company-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: white;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.credentials {
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 8px;
    font-family: monospace;
    margin-bottom: 1rem;
}

.cred-row {
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cred-row:last-child {
    margin-bottom: 0;
}

.cred-row span {
    color: var(--text-muted);
}

code {
    background: rgba(255,255,255,0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--primary);
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
}

/* Footer */
.glass-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(10, 10, 15, 0.5);
    color: var(--text-muted);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero, .split-layout, .features-grid, .companies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero {
        padding-top: 6rem;
        text-align: center;
    }
    
    .hero p {
        margin: 0 auto 2.5rem auto;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .content-side {
        order: 2;
        text-align: center;
    }
    
    .feature-list li {
        justify-content: center;
    }
    
    .visual-side {
        order: 1;
        margin-bottom: 2rem;
    }

    .split-layout {
        padding: 3rem 2rem;
    }
}

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

    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    section {
        padding: 4rem 0;
    }

    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    nav a {
        margin-left: 0;
    }

    .cta-group {
        flex-direction: column;
    }

    .cta-group a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }

    .split-layout {
        padding: 2rem 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}
