/* CSS Variables */
:root {
    --bg-primary: #0a0f0d;
    --bg-secondary: #111916;
    --bg-card: #151d19;
    --bg-card-hover: #1a241f;
    --accent: #00d9a5;
    --accent-dark: #00b386;
    --accent-glow: rgba(0, 217, 165, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #a0b0a8;
    --text-muted: #7a8b82;
    --border-color: #243029;
    --gradient-accent: linear-gradient(135deg, #00d9a5 0%, #00b386 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

p {
    color: var(--text-secondary);
}

.highlight {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--bg-primary);
}

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

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

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 13, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon-wrapper {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.logo-svg {
    width: 92%;
    height: 92%;
    object-fit: contain;
    transform: scale(1.5) translateY(6%) translateX(2%);
    transform-origin: center;
}

.logo-icon {
    color: var(--accent);
    font-size: 1.5rem;
}

.logo-text {
    font-weight: 600;
    font-size: 1.25rem;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* GitHub Link */
.github-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.github-link:hover {
    color: var(--accent);
    background: var(--accent-glow);
}

.github-link svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* Badges */
.badge,
.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 179, 134, 0.1) 0%, transparent 50%),
        var(--bg-primary);
}

.fireflies {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.firefly {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 217, 165, 0.9);
    box-shadow: 0 0 12px rgba(0, 217, 165, 0.8);
    animation:
        drift 12s linear infinite,
        flicker 3.5s ease-in-out infinite;
    transform: translate3d(0, 0, 0);
}

.firefly:nth-child(1) {
    top: 18%;
    left: 12%;
    --tx: 120px;
    --ty: -80px;
    --tx2: -60px;
    --ty2: 100px;
    animation-duration: 14s, 4s;
}

.firefly:nth-child(2) {
    top: 30%;
    left: 70%;
    --tx: -140px;
    --ty: 90px;
    --tx2: 80px;
    --ty2: -120px;
    animation-duration: 16s, 3.2s;
}

.firefly:nth-child(3) {
    top: 62%;
    left: 20%;
    --tx: 110px;
    --ty: 120px;
    --tx2: -90px;
    --ty2: -70px;
    animation-duration: 13s, 3.8s;
}

.firefly:nth-child(4) {
    top: 72%;
    left: 58%;
    --tx: -100px;
    --ty: 140px;
    --tx2: 130px;
    --ty2: -60px;
    animation-duration: 15s, 4.4s;
}

.firefly:nth-child(5) {
    top: 40%;
    left: 45%;
    --tx: 90px;
    --ty: -110px;
    --tx2: -120px;
    --ty2: 70px;
    animation-duration: 12.5s, 3.6s;
}

.firefly:nth-child(6) {
    top: 15%;
    left: 85%;
    --tx: -160px;
    --ty: 60px;
    --tx2: 100px;
    --ty2: -90px;
    animation-duration: 17s, 4.1s;
}

.firefly:nth-child(7) {
    top: 82%;
    left: 8%;
    --tx: 140px;
    --ty: -120px;
    --tx2: -70px;
    --ty2: 80px;
    animation-duration: 18s, 3.9s;
}

.firefly:nth-child(8) {
    top: 52%;
    left: 82%;
    --tx: -120px;
    --ty: 100px;
    --tx2: 60px;
    --ty2: -140px;
    animation-duration: 14.5s, 3.4s;
}

.firefly:nth-child(9) {
    top: 24%;
    left: 35%;
    --tx: 150px;
    --ty: 60px;
    --tx2: -110px;
    --ty2: -90px;
    animation-duration: 13.5s, 3.7s;
}

.firefly:nth-child(10) {
    top: 66%;
    left: 72%;
    --tx: -130px;
    --ty: -100px;
    --tx2: 120px;
    --ty2: 80px;
    animation-duration: 16.5s, 4.2s;
}

.firefly:nth-child(11) {
    top: 48%;
    left: 10%;
    --tx: 100px;
    --ty: 130px;
    --tx2: -140px;
    --ty2: -80px;
    animation-duration: 15.5s, 3.3s;
}

.firefly:nth-child(12) {
    top: 10%;
    left: 55%;
    --tx: -90px;
    --ty: 120px;
    --tx2: 140px;
    --ty2: -100px;
    animation-duration: 12.8s, 3.5s;
}

@keyframes drift {
    0% {
        transform: translate3d(0, 0, 0);
    }

    30% {
        transform: translate3d(var(--tx), var(--ty), 0);
    }

    65% {
        transform: translate3d(var(--tx2), var(--ty2), 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes flicker {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.7);
    }

    40% {
        opacity: 0.9;
        transform: scale(1);
    }

    70% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-description {
    font-size: 1.125rem;
    margin: 24px 0 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 500px;
    height: 500px;
    position: relative;
}

/* Network Animation Container */
.network-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Grid Background */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

/* Concentric Circles */
.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--accent);
    border-radius: 50%;
    opacity: 0.3;
}

.circle-1 {
    width: 160px;
    height: 160px;
    animation: pulseCircle 4s ease-in-out infinite;
}

.circle-2 {
    width: 240px;
    height: 240px;
    animation: pulseCircle 4s ease-in-out infinite 0.5s;
}

.circle-3 {
    width: 320px;
    height: 320px;
    animation: pulseCircle 4s ease-in-out infinite 1s;
}

.circle-4 {
    width: 400px;
    height: 400px;
    animation: pulseCircle 4s ease-in-out infinite 1.5s;
}

@keyframes pulseCircle {

    0%,
    100% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

/* Center AI Box */
.center-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 40px var(--accent-glow),
        0 0 80px var(--accent-glow),
        inset 0 0 20px rgba(0, 217, 165, 0.1);
    animation: pulseBox 3s ease-in-out infinite;
    z-index: 10;
}

.center-box span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

@keyframes pulseBox {

    0%,
    100% {
        box-shadow:
            0 0 40px var(--accent-glow),
            0 0 80px var(--accent-glow),
            inset 0 0 20px rgba(0, 217, 165, 0.1);
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        box-shadow:
            0 0 60px var(--accent-glow),
            0 0 100px var(--accent-glow),
            inset 0 0 30px rgba(0, 217, 165, 0.15);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Connection SVG */
.connections-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.conn-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
    opacity: 0;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
}

.conn-dot {
    fill: var(--accent);
    opacity: 0;
}

/* Animation for each connection group */
.connection-group {
    animation: fadeInConnection 2s ease-out forwards;
}

.conn-top-1 {
    animation-delay: 0s;
}

.conn-top-2 {
    animation-delay: 0.15s;
}

.conn-top-3 {
    animation-delay: 0.3s;
}

.conn-tl-1 {
    animation-delay: 0.1s;
}

.conn-tl-2 {
    animation-delay: 0.25s;
}

.conn-tl-3 {
    animation-delay: 0.4s;
}

.conn-tr-1 {
    animation-delay: 0.2s;
}

.conn-tr-2 {
    animation-delay: 0.35s;
}

.conn-tr-3 {
    animation-delay: 0.5s;
}

.conn-bl-1 {
    animation-delay: 0.45s;
}

.conn-bl-2 {
    animation-delay: 0.6s;
}

.conn-br-1 {
    animation-delay: 0.55s;
}

.conn-br-2 {
    animation-delay: 0.7s;
}

.conn-bot-1 {
    animation-delay: 0.65s;
}

.conn-bot-2 {
    animation-delay: 0.8s;
}

.connection-group .conn-line {
    animation: drawLine 1.5s ease-out forwards;
}

.connection-group .conn-dot {
    animation: fadeInDot 0.5s ease-out forwards;
}

.conn-top-1 .conn-line {
    animation-delay: 0s;
}

.conn-top-1 .conn-dot {
    animation-delay: 0.8s;
}

.conn-top-2 .conn-line {
    animation-delay: 0.15s;
}

.conn-top-2 .conn-dot {
    animation-delay: 0.95s;
}

.conn-top-3 .conn-line {
    animation-delay: 0.3s;
}

.conn-top-3 .conn-dot {
    animation-delay: 1.1s;
}

.conn-tl-1 .conn-line {
    animation-delay: 0.1s;
}

.conn-tl-1 .conn-dot {
    animation-delay: 0.9s;
}

.conn-tl-2 .conn-line {
    animation-delay: 0.25s;
}

.conn-tl-2 .conn-dot {
    animation-delay: 1.05s;
}

.conn-tl-3 .conn-line {
    animation-delay: 0.4s;
}

.conn-tl-3 .conn-dot {
    animation-delay: 1.2s;
}

.conn-tr-1 .conn-line {
    animation-delay: 0.2s;
}

.conn-tr-1 .conn-dot {
    animation-delay: 1s;
}

.conn-tr-2 .conn-line {
    animation-delay: 0.35s;
}

.conn-tr-2 .conn-dot {
    animation-delay: 1.15s;
}

.conn-tr-3 .conn-line {
    animation-delay: 0.5s;
}

.conn-tr-3 .conn-dot {
    animation-delay: 1.3s;
}

.conn-bl-1 .conn-line {
    animation-delay: 0.45s;
}

.conn-bl-1 .conn-dot {
    animation-delay: 1.25s;
}

.conn-bl-2 .conn-line {
    animation-delay: 0.6s;
}

.conn-bl-2 .conn-dot {
    animation-delay: 1.4s;
}

.conn-br-1 .conn-line {
    animation-delay: 0.55s;
}

.conn-br-1 .conn-dot {
    animation-delay: 1.35s;
}

.conn-br-2 .conn-line {
    animation-delay: 0.7s;
}

.conn-br-2 .conn-dot {
    animation-delay: 1.5s;
}

.conn-bot-1 .conn-line {
    animation-delay: 0.65s;
}

.conn-bot-1 .conn-dot {
    animation-delay: 1.45s;
}

.conn-bot-2 .conn-line {
    animation-delay: 0.8s;
}

.conn-bot-2 .conn-dot {
    animation-delay: 1.6s;
}

@keyframes fadeInConnection {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 500;
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
}

@keyframes fadeInDot {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Dot pulse animation after appearing */
.conn-dot {
    animation: fadeInDot 0.5s ease-out forwards, pulseDot 2s ease-in-out infinite 1.8s;
}

@keyframes pulseDot {

    0%,
    100% {
        r: 6;
        filter: drop-shadow(0 0 3px var(--accent));
    }

    50% {
        r: 8;
        filter: drop-shadow(0 0 8px var(--accent));
    }
}

/* Corner Labels */
.corner-label {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 15;
    opacity: 0;
    left: var(--label-x);
    top: var(--label-y);
    transform: translate(-50%, -50%);
    animation: fadeInLabel 0.8s ease-out forwards;
}

.label-icon {
    width: 40px;
    height: 40px;
    background: rgba(21, 29, 25, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.label-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}

.label-workflow {
    --label-x: 13.5%;
    --label-y: 16.5%;
    animation-delay: 1.2s;
}

.label-evaluation {
    --label-x: 86.5%;
    --label-y: 16.5%;
    animation-delay: 1.4s;
}

.label-training {
    --label-x: 13.5%;
    --label-y: 90.5%;
    animation-delay: 1.6s;
}

.label-data {
    --label-x: 86.5%;
    --label-y: 90.5%;
    animation-delay: 1.8s;
}

@keyframes fadeInLabel {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header p {
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.service-card h3 {
    margin-bottom: 12px;
}

/* Orcheo Section */
.orcheo {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.orcheo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.orcheo-description {
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.check-icon {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 18px;
    height: 18px;
}

/* Platform Preview */
.platform-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.preview-dots {
    display: flex;
    gap: 8px;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.preview-dots span:first-child {
    background: #ff5f57;
}

.preview-dots span:nth-child(2) {
    background: #febc2e;
}

.preview-dots span:last-child {
    background: #28c840;
}

.preview-title {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.preview-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.wf-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
}

.wf-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
}

.wf-trigger .wf-icon svg {
    stroke: #febc2e;
}

.wf-ai .wf-icon svg {
    stroke: var(--accent);
}

.wf-action .wf-icon svg {
    stroke: #28c840;
}

.wf-data .wf-icon svg {
    stroke: #007aff;
}

.wf-code .wf-icon svg {
    stroke: #ff5f57;
}

.wf-output .wf-icon svg {
    stroke: var(--accent);
}

.wf-arrow {
    color: var(--accent);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
}

.wf-trigger {
    border-color: #febc2e;
}

.wf-ai {
    border-color: var(--accent);
}

.wf-action {
    border-color: #28c840;
}

.wf-data {
    border-color: #007aff;
}

.wf-code {
    border-color: #ff5f57;
}

.wf-output {
    border-color: var(--accent);
}

/* Capabilities Section */
.capabilities {
    padding: 100px 0;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.capability-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.capability-card:hover {
    border-color: var(--accent);
}

.capability-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.capability-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent);
}

.capability-card h4 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.capability-card p {
    font-size: 0.9rem;
}

/* Use Cases Section */
.use-cases {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.use-case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.use-case-image {
    height: 180px;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-graphic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-icon {
    width: 38px;
    height: 38px;
    stroke: var(--accent);
}

.use-case-content {
    padding: 24px;
}

.use-case-content h3 {
    margin-bottom: 12px;
}

.use-case-content p {
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background:
        radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%),
        var(--bg-primary);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content p {
    font-size: 1.1rem;
    margin: 20px 0 32px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-top: 16px;
}

.contact-info>p {
    margin: 16px 0 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    min-height: 20px;
    margin: 4px 0 16px;
    font-size: 0.9rem;
    color: #ffb347;
}

/* Footer */
.footer {
    padding: 60px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-container,
    .orcheo-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-graphic {
        width: 400px;
        height: 400px;
    }

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

    .capabilities-grid,
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--accent-glow);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 15, 13, 0.98);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-menu.open {
    max-height: 300px;
    padding: 16px 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
}

.mobile-nav-links li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links li:last-child {
    border-bottom: none;
}

.mobile-nav-links a {
    display: block;
    padding: 14px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

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

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero-graphic {
        width: 320px;
        height: 320px;
    }

    .center-box {
        width: 80px;
        height: 80px;
    }

    .center-box span {
        font-size: 1.2rem;
    }

    .circle-1 {
        width: 120px;
        height: 120px;
    }

    .circle-2 {
        width: 180px;
        height: 180px;
    }

    .circle-3 {
        width: 240px;
        height: 240px;
    }

    .circle-4 {
        width: 300px;
        height: 300px;
    }

    .corner-label {
        font-size: 0.75rem;
    }

    .label-icon {
        width: 32px;
        height: 32px;
    }

    .label-icon svg {
        width: 18px;
        height: 18px;
    }

    .services-grid,
    .capabilities-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .workflow-diagram {
        flex-direction: column;
    }

    .wf-arrow {
        transform: rotate(90deg);
    }
}

.chatkit-bubble {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 9999 !important;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    font-family: "Inter", sans-serif;
    pointer-events: none;
    /* Let clicks pass through the container area */
}

.chatkit-bubble[data-state="open"] .chatkit-bubble__toggle {
    display: none;
}

.chatkit-bubble__toggle {
    appearance: none;
    border: none;
    cursor: pointer;
    height: 56px;
    width: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: var(--bg-primary);
    box-shadow: 0 18px 50px rgba(0, 217, 165, 0.25);
    transition: transform 150ms ease, box-shadow 150ms ease;
    pointer-events: auto;
    /* Re-enable clicks on button */
}

.chatkit-bubble__toggle svg {
    height: 22px;
    width: 22px;
}

.chatkit-bubble__toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 60px rgba(0, 217, 165, 0.35);
}

.chatkit-bubble__panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: min(420px, calc(100vw - 32px));
    height: min(520px, 80vh);
    background: var(--bg-secondary);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    pointer-events: none;
    transform-origin: bottom right;
    transition: opacity 180ms ease, transform 180ms ease;
    display: flex;
    flex-direction: column;
}

.chatkit-bubble__panel[data-open="true"] {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatkit-bubble__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(10, 15, 13, 0.9);
    border-bottom: 1px solid var(--border-color);
}

.chatkit-bubble__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chatkit-bubble__title span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.chatkit-bubble__title strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.chatkit-bubble__close {
    appearance: none;
    border: none;
    background: rgba(0, 217, 165, 0.15);
    color: var(--accent);
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.chatkit-bubble__body {
    flex: 1;
    overflow: hidden;
}

@media (max-width: 640px) {
    .chatkit-bubble {
        right: 16px;
        bottom: 16px;
    }

    .chatkit-bubble__panel {
        width: min(360px, calc(100vw - 24px));
    }
}