/* Enterprise AI Theme - Dark Mode Premium */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-core: #030712;
    /* Rich Black */
    --bg-surface: #111827;
    /* Dark Blue-Gray */
    --bg-surface-2: #1f2937;

    --primary-main: #FF751F;
    /* Vibrant Orange */
    --primary-glow: rgba(255, 117, 31, 0.5);
    --secondary-main: #3B82F6;
    /* Electric Blue for specific tech accents */

    --text-primary: #ffffff;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;

    --border-light: rgba(255, 255, 255, 0.1);
    --border-focus: rgba(249, 115, 22, 0.3);

    --glass-panel: rgba(17, 24, 39, 0.7);

    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-core);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

/* UTILITIES */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #F97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-orange {
    color: var(--primary-main);
}

.text-blue {
    color: var(--secondary-main);
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-main);
    color: white;
    border: 1px solid var(--primary-main);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-main), #EA580C);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--primary-glow);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-main);
    transition: width 0.3s;
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::after {
    width: 100%;
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Canvas Background for Connecting Nodes */
#canvas-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind content */
    opacity: 0.6;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    color: #60A5FA;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    animation: fadedown 1s ease-out;
}

.hero-title {
    font-size: 72px;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    animation: fadeup 1s ease-out 0.2s backwards;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    animation: fadeup 1s ease-out 0.4s backwards;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
    animation: fadeup 1s ease-out 0.6s backwards;
}

/* 3D Dashboard Mockup */
.hero-dashboard {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    perspective: 2000px;
    position: relative;
    z-index: 10;
    animation: fadeup 1.2s ease-out 0.8s backwards;
}

.dashboard-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 30px 60px -12px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(59, 130, 246, 0.1);
    /* Blue ambient glow */
    overflow: hidden;
    transform: rotateX(10deg) translateY(0);
    transition: transform 0.5s;
}

.dashboard-container:hover {
    transform: rotateX(5deg) translateY(-10px);
}

/* UI HEADER MOCKUP */
.ui-header {
    height: 60px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: rgba(0, 0, 0, 0.2);
}

.ui-dots {
    display: flex;
    gap: 8px;
}

.ui-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
}

.ui-search {
    flex: 1;
    max-width: 400px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 auto;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--text-tertiary);
    font-size: 12px;
}

/* UI GRID MOCKUP */
.ui-grid {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    height: 600px;
}

.ui-sidebar {
    border-right: 1px solid var(--border-light);
    padding: 24px;
}

.ui-main {
    padding: 40px;
    position: relative;
}

.ui-properties {
    border-left: 1px solid var(--border-light);
    background: rgba(0, 0, 0, 0.1);
    padding: 24px;
}

/* Fake UI Elements */
.skeleton-line {
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
    border-radius: 4px;
}

.skeleton-line.w-50 {
    width: 50%;
}

.skeleton-line.w-75 {
    width: 75%;
}

.skeleton-block {
    height: 120px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px dashed var(--border-light);
}

/* Animated Connecting Lines (CSS Overlay on Mockup) */
.connection-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 117, 31, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
}

/* PARTNERS SCROLL */
.partners-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: #050a14;
}

.partners-track {
    display: flex;
    gap: 80px;
    opacity: 0.5;
    justify-content: center;
    flex-wrap: wrap;
    filter: grayscale(1);
    transition: filter 0.3s;
}

.partners-track:hover {
    filter: grayscale(0);
}

/* HOW IT WORKS (Timeline) */
.process-section {
    padding: 160px 0;
    position: relative;
}

.timeline-container {
    max-width: 1000px;
    margin: 80px auto 0;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
    transform: translateX(-50%);
}

.timeline-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 150px;
    position: relative;
    /* opacity: 0; */
    /* Hidden initially for ScrollTrigger - MOVED TO JS */
    /* transform: translateY(50px); */
    transition: all 0.6s ease-out;
}

.timeline-step.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    width: 45%;
}

.step-visual {
    width: 45%;
}

.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 3px;
    /* for inner border */
    position: relative;
    overflow: hidden;
}

.step-card-inner {
    background: var(--bg-core);
    border-radius: 17px;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--primary-main);
    margin-bottom: 16px;
    display: block;
}

.glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary-main);
    filter: blur(80px);
    opacity: 0.2;
    top: -50px;
    right: -50px;
    z-index: 1;
}

/* Bento Grid Features */
.features-section {
    padding: 160px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 24px;
    margin-top: 80px;
}

.bento-item {
    background: var(--bg-surface);
    border-radius: 24px;
    border: 1px solid var(--border-light);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bento-large {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: var(--primary-main);
}

/* ANIMATIONS */
@keyframes fadeup {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadedown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 100px 0 40px;
    background: #02040a;
}