:root {
    --color-bg-primary: #0a0e17;
    --color-bg-secondary: #111827;
    --color-bg-card: #1a2332;
    --color-accent: #0093E6;
    --color-accent-glow: rgba(0, 147, 230, 0.15);
    --color-accent-secondary: #00d1ff;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-text-heading: #ffffff;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-danger: #f97316;
    --border-radius: 17px;
    --btn-gradient: repeating-linear-gradient(68deg, #08f, #08f, #00c2ff, #00d1ff, #08f, #08f, #00c2ff, #00d1ff, #08f, #08f);
    --radial-gradient: 53.82% 187.73% at 73.48% -41.34%, #00d0ff 0, #008dff 74.92%, #0075ff 100%;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 16px;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text);
}

h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6 {
    color: var(--color-text-heading) !important;
}

.uk-text-lead {
    color: var(--color-text-muted) !important;
}

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

/* =============================================
   GLASSMORPHISM UTILITIES
   ============================================= */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =============================================
   DOT GRID BACKGROUND
   ============================================= */
.dot-grid {
    position: relative;
}

.dot-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.dot-grid > * {
    position: relative;
    z-index: 1;
}

/* =============================================
   FLOATING GRADIENT ORBS
   ============================================= */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.gradient-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 147, 230, 0.3) 0%, transparent 90%);
    top: 10%;
    right: -100px;
    animation: orb-float 8s ease-in-out infinite;
}

.gradient-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 209, 255, 0.20) 0%, transparent 90%);
    bottom: 20%;
    left: -80px;
    animation: orb-float 10s ease-in-out infinite reverse;
}

.gradient-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 117, 255, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 40%;
    animation: orb-float 12s ease-in-out infinite 2s;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 20px); }
}

/* =============================================
   NAVBAR
   ============================================= */
.uk-navbar-container {
    background: transparent !important;
    transition: background-color 0.3s, backdrop-filter 0.3s;
}

.uk-navbar-container.uk-navbar-sticky {
    background: rgba(10, 14, 23, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.uk-navbar-nav > li > a {
    color: var(--color-text-muted) !important;
    font-size: 0.9rem;
    transition: color 0.2s;
    text-transform: none !important;
}

.uk-navbar-nav > li > a:hover,
.uk-navbar-nav > li.uk-active > a {
    color: var(--color-accent) !important;
}

.navbar-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-heading) !important;
    text-decoration: none;
}

.navbar-logo span {
    background-image: radial-gradient(var(--radial-gradient));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Offcanvas mobile */
.uk-offcanvas-bar {
    background: var(--color-bg-primary);
}

.uk-offcanvas-bar .uk-nav > li > a {
    color: var(--color-text) !important;
}

.uk-offcanvas-bar .uk-nav > li > a:hover {
    color: var(--color-accent) !important;
}

/* =============================================
   SECTIONS
   ============================================= */
.section-primary {
    background-color: var(--color-bg-primary);
}
.section-primary:not(.uk-section-small):not(#problems)::after {
    content: "";
    width: 100%;
    height: 20%;
    background: linear-gradient(180deg,rgba(17, 24, 39, 1) 5%, rgba(17, 24, 39, 0) 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.section-secondary {
    position: relative;
    background-color: var(--color-bg-secondary);
}
.section-secondary:not(.uk-section-small)::after {
    content: "";
    width: 100%;
    height: 20%;
    background: linear-gradient(180deg,rgba(10, 14, 23, 1) 5%, rgba(10, 14, 23, 0) 100%);
    /*background: linear-gradient(180deg,rgba(17, 24, 39, 1) 0%, rgba(17, 24, 39, 0) 100%);*/
    position: absolute;
    top: 0;
    left: 0;
}

.section-dark {
    background-color: #060a12;
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-height: calc(100vh - 220px);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
}

.hero-title span {
    background-image: radial-gradient(var(--radial-gradient));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 147, 230, 0.1);
    border: 1px solid rgba(0, 147, 230, 0.25);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--color-accent-secondary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-content .uk-text-lead {
        color: rgba(255 255 255 / 80%) !important;
}

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

/* =============================================
   DASHBOARD PREVIEW (Hero UI Mockup)
   ============================================= */
.dashboard-preview {
    position: relative;
    margin-top: 60px;
    perspective: 1000px;
}

.dashboard-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(0, 147, 230, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.dashboard-frame {
    position: relative;
    z-index: 1;
    background: rgba(13, 18, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 147, 230, 0.1);
    animation: dashboard-float 6s ease-in-out infinite;
}

@keyframes dashboard-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-dots span:nth-child(1) { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #febc2e; }
.dashboard-dots span:nth-child(3) { background: #28c840; }

.dashboard-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-family: monospace;
}

.dashboard-body {
    display: flex;
    min-height: 320px;
}

/* Sidebar */
.dash-sidebar {
    width: 56px;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 16px;
}

.dash-sidebar-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all 0.2s;
}

.dash-sidebar-icon.active {
    background: rgba(0, 147, 230, 0.15);
    color: var(--color-accent);
}

.dash-sidebar-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: radial-gradient(var(--radial-gradient));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.65rem;
    margin-bottom: 8px;
}

/* Canvas area */
.dash-canvas {
    flex: 1;
    position: relative;
    padding: 24px;
    overflow: hidden;
}

/* Workflow nodes */
.wf-node {
    position: absolute;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: var(--color-text);
    white-space: nowrap;
    animation: node-appear 0.6s ease-out both;
}

.wf-node .node-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wf-node .node-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    background: var(--color-accent);
}

.wf-node .node-dot.right {
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
}

.wf-node .node-dot.left {
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
}

.node-chat .node-icon { background: rgba(0, 147, 230, 0.15); color: var(--color-accent); }
.node-cad .node-icon { background: rgba(0, 209, 255, 0.15); color: var(--color-accent-secondary); }
.node-agent .node-icon { background: rgba(0, 147, 230, 0.2); color: var(--color-accent); }
.node-tool .node-icon { background: rgba(255, 255, 255, 0.06); color: var(--color-text-muted); }

.node-agent {
    border-color: rgba(0, 147, 230, 0.4);
    box-shadow: 0 0 25px rgba(0, 147, 230, 0.15);
    background: rgba(0, 147, 230, 0.08);
}

@keyframes node-appear {
    from { opacity: 0; transform: scale(0.9) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.wf-node:nth-child(2) { animation-delay: 0.15s; }
.wf-node:nth-child(3) { animation-delay: 0.3s; }
.wf-node:nth-child(4) { animation-delay: 0.45s; }
.wf-node:nth-child(5) { animation-delay: 0.6s; }
.wf-node:nth-child(6) { animation-delay: 0.75s; }
.wf-node:nth-child(7) { animation-delay: 0.9s; }
.wf-node:nth-child(8) { animation-delay: 1.05s; }

/* SVG connection lines */
.wf-connections {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.wf-connections path {
    fill: none;
    stroke: rgba(0, 147, 230, 0.4);
    stroke-width: 1.5;
    stroke-dasharray: 6 4;
    animation: dash-flow 2s linear infinite;
}

@keyframes dash-flow {
    to { stroke-dashoffset: -20; }
}

/* Note block */
.wf-note {
    position: absolute;
    width: 100px;
    height: 70px;
    border: 1px solid rgba(0, 147, 230, 0.2);
    border-radius: 8px;
    padding: 8px;
    font-size: 0.6rem;
    color: var(--color-accent);
    background: rgba(0, 147, 230, 0.04);
    animation: node-appear 0.6s ease-out both;
}

.wf-note-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.wf-note-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wf-note-lines span {
    height: 2px;
    background: rgba(0, 147, 230, 0.15);
    border-radius: 1px;
}

.wf-note-lines span:nth-child(2) { width: 70%; }
.wf-note-lines span:nth-child(3) { width: 50%; }

/* Tools panel in dashboard */
.wf-tools-panel {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: node-appear 0.6s ease-out both;
    animation-delay: 0.5s;
}

.wf-tools-panel .panel-title {
    font-size: 0.6rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.wf-tool-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: var(--color-text);
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
}

.wf-tool-row .tool-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
}

/* =============================================
   CARDS
   ============================================= */
.uk-card-default {
    background-color: var(--color-bg-card) !important;
    color: var(--color-text) !important;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius) !important;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.uk-card-default:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--color-accent-glow);
    border-color: rgba(0, 147, 230, 0.3);
}

.uk-card-default .uk-card-title {
    color: var(--color-text-heading) !important;
}

/* Glass card variant */
.card-glass {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.card-glass:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(0, 147, 230, 0.2) !important;
    box-shadow: 0 8px 40px rgba(0, 147, 230, 0.1);
}

.benefit-card {
    border-top: 3px solid var(--color-accent);
}

.benefit-card .card-icon {
    color: var(--color-accent);
}

/* Problem cards */
.problem-card {
    border-left: 3px solid var(--color-danger);
}

.problem-card .card-icon {
    color: var(--color-danger);
}

/* Trigger cards — glass */
.trigger-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.trigger-card:hover {
    box-shadow: 0 0 30px rgba(0, 147, 230, 0.12);
    border-color: rgba(0, 209, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.trigger-card .card-icon {
    color: var(--color-accent-secondary);
}

/* =============================================
   TOOL CHIPS
   ============================================= */
.tool-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--color-text);
    transition: all 0.2s;
    margin: 4px;
}

.tool-chip:hover {
    background: var(--color-accent-glow);
    border-color: var(--color-accent);
    color: var(--color-text-heading);
}

.tool-chip svg,
.tool-chip [uk-icon] {
    color: var(--color-accent-secondary);
}

.tool-category-title {
    color: var(--color-accent-secondary) !important;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 1px;
    margin-bottom: 12px !important;
    font-weight: 600;
}

/* =============================================
   SOLUTION SECTION DIAGRAM (enhanced)
   ============================================= */
.agent-hub {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 0 40px var(--color-accent-glow), inset 0 0 40px var(--color-accent-glow);
}

.agent-hub-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-accent-secondary);
    border-radius: 50%;
    animation: orbit-pulse 2s ease-in-out infinite;
}

.orbit-dot:nth-child(2) { top: -5px; left: 50%; transform: translateX(-50%); }
.orbit-dot:nth-child(3) { bottom: -5px; left: 50%; transform: translateX(-50%); animation-delay: 0.5s; }
.orbit-dot:nth-child(4) { left: -5px; top: 50%; transform: translateY(-50%); animation-delay: 1s; }
.orbit-dot:nth-child(5) { right: -5px; top: 50%; transform: translateY(-50%); animation-delay: 1.5s; }

@keyframes orbit-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* =============================================
   WORKFLOW DIAGRAM (Solution section — replaces simple hub on desktop)
   ============================================= */
.workflow-diagram {
    position: relative;
    min-height: 350px;
    max-width: 500px;
    margin: 0 auto;
}

.workflow-diagram .wf-connections {
    width: 100%;
    height: 100%;
}

/* =============================================
   INTEGRATION DIAGRAM
   ============================================= */
.integration-box {
    padding: 30px;
    border: 2px solid var(--color-accent);
    border-radius: var(--border-radius);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
}

.integration-box.secondary {
    border-color: var(--color-accent-secondary);
}

.integration-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.connector-line {
    display: flex;
    align-items: center;
    gap: 4px;
}

.connector-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: flow 1.5s ease-in-out infinite;
}

.connector-dot:nth-child(2) { animation-delay: 0.3s; }
.connector-dot:nth-child(3) { animation-delay: 0.6s; }
.connector-dot:nth-child(4) { animation-delay: 0.9s; }
.connector-dot:nth-child(5) { animation-delay: 1.2s; }

@keyframes flow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* =============================================
   FORMS
   ============================================= */
.uk-input,
.uk-textarea {
    background: var(--color-bg-card) !important;
    color: var(--color-text) !important;
    border-color: var(--color-border) !important;
    border-radius: 10px !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.uk-input:focus,
.uk-textarea:focus {
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 10px rgba(0, 147, 230, 0.1);
}

.uk-input::placeholder,
.uk-textarea::placeholder {
    color: var(--color-text-muted) !important;
}

.uk-form-label {
    color: var(--color-text-muted) !important;
    font-size: 0.85rem;
}

/* =============================================
   BUTTONS
   ============================================= */

.uk-button {
    text-transform: capitalize !important;
}

.uk-button-primary {
    background: var(--btn-gradient) !important;
    background-size: 450% 100% !important;
    background-repeat: repeat-x !important;
    color: #fff !important;
    border: none;
    border-radius: 100px !important;
    font-weight: 700;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.uk-button-primary:hover {
    animation: button-gradient-shift 3s linear infinite;
    box-shadow: 0 4px 25px rgba(0, 147, 230, 0.35);
}

.uk-button-large {
    height: 53px !important;
    padding: 0 40px !important;
    font-size: 0.95rem !important;
}

@keyframes button-gradient-shift {
    0% { background-position: 0 50%; }
    100% { background-position: 100% 50%; }
}

.uk-button-default {
    background: transparent !important;
    color: var(--color-accent) !important;
    border: 1px solid var(--color-accent) !important;
    border-radius: 100px !important;
    font-weight: 700;
}

.uk-button-default:hover {
    background: var(--color-accent-glow) !important;
}

/* =============================================
   LISTS
   ============================================= */
.uk-list-bullet > li::before {
    background-image: none !important;
    content: '→' !important;
    color: var(--color-accent);
    font-weight: bold;
}

.feature-list li {
    color: var(--color-text);
    padding: 6px 0;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--color-text);
}

.contact-item .uk-icon {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Social links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 100px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.25s ease-in-out;
    text-decoration: none;
}

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

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-section {
    background: #060a12;
    border-top: 1px solid var(--color-border);
}

.footer-section a {
    color: var(--color-text-muted) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--color-accent) !important;
}

.footer-nav li {
    margin-bottom: 8px;
}

/* =============================================
   SECTION TITLE
   ============================================= */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #008dff, #00c2ff, #00d1ff);
    border-radius: 100px;
}

.uk-text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Divider */
.uk-divider-icon {
    border-color: var(--color-border) !important;
}

/* Scrollspy animation tweaks */
[uk-scrollspy] > :not(.uk-scrollspy-inview) {
    opacity: 0;
}

/* =============================================
   STATS / COUNTERS
   ============================================= */
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    min-width: 160px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 147, 230, 0.1);
}

/* =============================================
   TEXT UTILITIES
   ============================================= */
.text-accent {
    color: var(--color-accent);
}

.text-accent-secondary {
    color: var(--color-accent-secondary);
}

.text-gradient {
    background-image: radial-gradient(var(--radial-gradient));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   AURORA / BEAM EFFECTS
   ============================================= */
.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.aurora-beam {
    position: absolute;
    width: 2px;
    height: 200%;
    background: linear-gradient(to bottom, transparent, rgba(0, 147, 230, 0.08), rgba(0, 209, 255, 0.04), transparent);
    animation: beam-drift 15s linear infinite;
}

.aurora-beam:nth-child(1) { left: 15%; animation-delay: 0s; }
.aurora-beam:nth-child(2) { left: 35%; animation-delay: -4s; opacity: 0.6; }
.aurora-beam:nth-child(3) { left: 55%; animation-delay: -8s; opacity: 0.4; }
.aurora-beam:nth-child(4) { left: 75%; animation-delay: -2s; opacity: 0.5; }
.aurora-beam:nth-child(5) { left: 90%; animation-delay: -6s; opacity: 0.3; }

@keyframes beam-drift {
    0% { transform: translateY(-50%) rotate(5deg); }
    50% { transform: translateY(0%) rotate(-3deg); }
    100% { transform: translateY(-50%) rotate(5deg); }
}

/* =============================================
   VIDEO PRESENTATION
   ============================================= */
.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.video-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center, rgba(0, 147, 230, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.video-frame {
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 147, 230, 0.08);
    background: #000;
}

.video-frame video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* =============================================
   GALLERY / SLIDER
   ============================================= */
.gallery-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--color-bg-card);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 147, 230, 0.15);
    border-color: rgba(0, 147, 230, 0.3);
}

.gallery-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 147, 230, 0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    color: #fff;
    opacity: 0;
}

.gallery-card:hover .gallery-overlay {
    background: rgba(0, 10, 30, 0.5);
    opacity: 1;
}

.gallery-nav {
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.gallery-nav:hover {
    color: #fff !important;
    background: rgba(0, 147, 230, 0.4);
}

/* Dotnav override for dark theme */
.uk-dotnav > * > * {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: transparent !important;
}

.uk-dotnav > .uk-active > * {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
}

/* =============================================
   FEATURE TABS (cloud.ru inspired)
   ============================================= */
.feature-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.feature-tab-nav {
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tab-nav > * > a {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px !important;
    color: var(--color-text-muted) !important;
    font-size: 0.85rem;
    padding: 10px 20px !important;
    display: inline-flex;
    text-transform: capitalize !important;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
}

.feature-tab-nav > * > a:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(0, 147, 230, 0.2);
    color: var(--color-text) !important;
}

.feature-tab-nav > .uk-active > a {
    background: rgba(0, 147, 230, 0.12) !important;
    border-color: rgba(0, 147, 230, 0.35) !important;
    color: var(--color-accent-secondary) !important;
    box-shadow: 0 0 20px rgba(0, 147, 230, 0.1);
}

.feature-tab-content {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-visual {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(0, 147, 230, 0.06);
    border: 1px solid rgba(0, 147, 230, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-visual-icon {
    color: var(--color-accent);
    opacity: 0.6;
}

/* =============================================
   CASE STUDIES (n8n.io inspired)
   ============================================= */
.case-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--border-radius);
    padding: 36px 32px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 147, 230, 0.1);
    border-color: rgba(0, 147, 230, 0.2);
}

.case-quote-icon {
    position: absolute;
    top: 24px;
    right: 28px;
    color: rgba(0, 147, 230, 0.15);
}

.case-metric {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background-image: radial-gradient(var(--radial-gradient));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-metric span {
    font-size: 1.5rem;
    font-weight: 600;
}

.case-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.case-quote {
    border-left: 3px solid var(--color-accent);
    padding: 12px 0 12px 16px;
    margin: 0 0 24px 0;
    color: var(--color-text);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
}

.case-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 147, 230, 0.15);
    border: 1px solid rgba(0, 147, 230, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.case-name {
    color: var(--color-text-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

.case-role {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* =============================================
   ROADMAP (cloud.ru inspired)
   ============================================= */
.roadmap-column {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 32px;
    border-left: 3px solid var(--color-accent);
}

.roadmap-column.future {
    border-left-color: var(--color-accent-secondary);
}

.roadmap-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.roadmap-header h4 {
    margin: 0;
}

.roadmap-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.roadmap-status-dot.active {
    background: var(--color-accent);
    box-shadow: 0 0 10px rgba(0, 147, 230, 0.4);
}

.roadmap-status-dot.future {
    background: var(--color-accent-secondary);
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.3);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.roadmap-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 12px;
    border-radius: 10px;
    transition: background 0.2s;
}

.roadmap-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.roadmap-icon {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.roadmap-column.future .roadmap-icon {
    color: var(--color-accent-secondary);
}

.roadmap-item strong {
    color: var(--color-text-heading);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2px;
}

.roadmap-item p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin: 0;
}

/* =============================================
   FAQ ACCORDION (cloud.ru inspired)
   ============================================= */
.faq-accordion > li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius) !important;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-accordion > li:hover {
    border-color: rgba(0, 147, 230, 0.15);
}

.faq-accordion > li.uk-open {
    border-color: rgba(0, 147, 230, 0.25);
    box-shadow: 0 4px 20px rgba(0, 147, 230, 0.08);
}

.faq-title {
    padding: 20px 24px !important;
    color: var(--color-text-heading) !important;
    font-size: 0.95rem !important;
    font-weight: 600;
}

.faq-title::before {
    color: var(--color-accent) !important;
}

.faq-content {
    padding: 0 24px 20px 24px !important;
    margin: 0 !important;
}

.faq-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   PRICING CARDS
   ============================================= */
.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 147, 230, 0.12);
    border-color: rgba(0, 147, 230, 0.25);
}

.pricing-featured {
    border-color: rgba(0, 147, 230, 0.35);
    background: rgba(0, 147, 230, 0.04);
}

.pricing-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #008dff, #00c2ff, #00d1ff);
}

.pricing-badge {
    display: inline-block;
    padding: 4px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.pricing-badge.featured {
    background: rgba(0, 147, 230, 0.12);
    border-color: rgba(0, 147, 230, 0.3);
    color: var(--color-accent-secondary);
}

.pricing-icon {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.pricing-featured .pricing-icon {
    color: var(--color-accent-secondary);
}

.pricing-price {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.price-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-text-heading);
    line-height: 1;
}

.price-currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.price-period {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.pricing-description {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--color-text);
    font-size: 0.9rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li strong {
    color: var(--color-text-heading);
}

.feature-check {
    color: var(--color-accent);
    flex-shrink: 0;
}

.pricing-featured .feature-check {
    color: var(--color-accent-secondary);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 959px) {
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .agent-hub {
        width: 150px;
        height: 150px;
        margin-top: 40px;
    }

    .integration-connector {
        transform: rotate(90deg);
    }

    .dashboard-preview {
        margin-top: 40px;
    }

    .dashboard-body {
        min-height: 250px;
    }

    .dash-sidebar {
        display: none;
    }

    .wf-node {
        font-size: 0.6rem;
        padding: 6px 10px;
    }

    .wf-note {
        width: 70px;
        height: 50px;
    }

    .workflow-diagram {
        min-height: 280px;
    }

    .stats-row {
        gap: 20px;
    }

    .stat-item {
        min-width: 130px;
    }

    .feature-tab-content {
        padding: 20px;
    }

    .feature-visual {
        width: 120px;
        height: 120px;
        margin-top: 24px;
    }

    .roadmap-column {
        padding: 24px 20px;
    }

    .case-metric {
        font-size: 2.4rem;
    }

    .gallery-card img {
        height: 180px;
    }
}

@media (max-width: 640px) {
    .dashboard-frame {
        border-radius: 12px;
    }

    .wf-tools-panel {
        display: none;
    }

    .wf-note:nth-child(n+2) {
        display: none;
    }
}

/* ===== Chat Demo Section ===== */
.chat-demo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.chat-demo-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid var(--color-border);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
    font-family: inherit;
}

.chat-demo-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.08);
}

.chat-demo-tab.active {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(99, 102, 241, 0.15));
    color: var(--color-text-heading);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

/* Chat Mockup */
.chat-mockup {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.03);
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    flex-direction: column;
}

.chat-header-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-heading);
}

.chat-header-status {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-messages {
    padding: 20px;
    min-height: 300px;
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Chat Messages */
.chat-msg {
    display: flex;
    gap: 10px;
    max-width: 90%;
    animation: msgAppear 0.3s ease;
}

@keyframes msgAppear {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg-bot {
    align-self: flex-start;
}

.chat-msg-user .chat-msg-text {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    color: #fff;
    border-radius: 16px 16px 4px 16px;
    padding: 12px 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-msg-bot .chat-msg-text {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: 16px 16px 16px 4px;
    padding: 12px 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-line;
}

.chat-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    margin-top: 4px;
}

/* Typing Indicator */
.chat-typing-indicator {
    display: flex;
    gap: 4px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    border-radius: 16px 16px 16px 4px;
}

.chat-typing-indicator span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-text-muted);
    animation: typingBounce 1.2s infinite;
}

.chat-typing-indicator span:nth-child(2) {
    animation-delay: 0.15s;
}

.chat-typing-indicator span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Chat Input Mock */
.chat-input-mock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.9rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.chat-input-mock.chat-input-active {
    border-color: var(--color-accent);
    background: rgba(59, 130, 246, 0.05);
}

.chat-input-placeholder {
    color: var(--color-text-muted);
}

.chat-input-typing {
    color: var(--color-text-heading);
    border-right: 2px solid var(--color-accent);
    padding-right: 2px;
    animation: inputCursorBlink 0.6s step-end infinite;
}

@keyframes inputCursorBlink {
    0%, 100% { border-color: var(--color-accent); }
    50% { border-color: transparent; }
}

.chat-input-send {
    color: var(--color-accent);
    transition: transform 0.2s ease;
}

.chat-input-active .chat-input-send {
    transform: scale(1.15);
    color: var(--color-text-heading);
}

/* Responsive */
@media (max-width: 959px) {
    .chat-demo-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .chat-demo-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .chat-messages {
        min-height: 250px;
        max-height: 320px;
    }
}

@media (max-width: 640px) {
    .chat-demo-tab {
        padding: 8px 12px;
        font-size: 0.78rem;
    }

    .chat-messages {
        padding: 14px;
        min-height: 220px;
    }
}
