:root {
    --primary: #365B6D;
    --primary-light: #4a7a90;
    --primary-dark: #243e4c;
    --accent: #e8f4f8;
    --accent2: #c5e3ef;
    --text: #1a2530;
    --text-muted: #6b8090;
    --surface: #ffffff;
    --surface2: #f4f8fa;
    --border: #dde8ed;
    --highlight: #43c6ac;
    --highlight2: #38b89a;
}

/* ─── HERO — dark immersive ─── */
.ai-hero {
    min-height: 100vh;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 7rem 2rem 5rem;
}

/* Animated mesh gradient */
.ai-hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(67, 198, 172, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(74, 122, 144, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(54, 91, 109, 0.3) 0%, transparent 70%);
    animation: meshShift 12s ease-in-out infinite alternate;
}

@keyframes meshShift {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05) translate(10px, -10px);
    }
}

/* Grid lines */
.ai-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(67, 198, 172, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 198, 172, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Floating orbs */
.ai-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(67, 198, 172, 0.15), transparent 70%);
    top: -80px;
    right: 5%;
    animation: orbFloat 9s ease-in-out infinite;
}

.orb-2 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(74, 122, 144, 0.2), transparent 70%);
    bottom: 10%;
    left: 3%;
    animation: orbFloat 12s ease-in-out infinite reverse;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(67, 198, 172, 0.1), transparent 70%);
    top: 40%;
    right: 30%;
    animation: orbFloat 7s ease-in-out infinite 2s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(15px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-10px, 10px) scale(0.97);
    }
}

.ai-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero left text */
.ai-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(67, 198, 172, 0.12);
    border: 1px solid rgba(67, 198, 172, 0.3);
    color: var(--highlight);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.75rem;
    animation: fadeUp 0.6s ease both;
}

.ai-hero-pulse {
    width: 7px;
    height: 7px;
    background: var(--highlight);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(67, 198, 172, 0.4);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.3);
        box-shadow: 0 0 0 6px rgba(67, 198, 172, 0);
    }
}

.ai-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: white;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.6s 0.1s ease both;
}

.ai-hero h1 .highlight-word {
    color: var(--highlight);
    position: relative;
    display: inline-block;
}

.ai-hero h1 .highlight-word::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--highlight);
    border-radius: 2px;
    opacity: 0.5;
    animation: lineGrow 0.8s 0.7s ease both;
    transform-origin: left;
}

@keyframes lineGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.ai-hero p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 480px;
    animation: fadeUp 0.6s 0.2s ease both;
}

.ai-hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.6s 0.3s ease both;
}

.ai-stat {
    border-left: 2px solid rgba(67, 198, 172, 0.4);
    padding-left: 1rem;
}

.ai-stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.ai-stat-num span {
    color: var(--highlight);
}

.ai-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.2rem;
}

.ai-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.4s ease both;
}

.btn-ai-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--highlight);
    color: var(--primary-dark);
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    box-shadow: 0 4px 20px rgba(67, 198, 172, 0.35);
}

.btn-ai-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(67, 198, 172, 0.45);
    background: #52d4b8;
}

.btn-ai-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 0.25s, background 0.25s;
}

.btn-ai-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* ─── AI AGENT DEMO WIDGET ─── */
.ai-demo-wrapper {
    position: relative;
    animation: fadeUp 0.7s 0.3s ease both;
}

.ai-demo-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* SaaS product top bar */
.demo-topbar {
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.demo-dot.r {
    background: #ff5f57;
}

.demo-dot.y {
    background: #ffbd2e;
}

.demo-dot.g {
    background: #28c840;
}

.demo-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--highlight);
    font-weight: 600;
}

.demo-status-dot {
    width: 6px;
    height: 6px;
    background: var(--highlight);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

/* SaaS dashboard layout inside demo */
.demo-body {
    display: grid;
    grid-template-columns: 180px 1fr;
    height: 360px;
}

.demo-sidebar {
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 0.75rem;
}

.demo-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    border-radius: 7px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.25rem;
    cursor: default;
    transition: background 0.2s;
}

.demo-sidebar-item.active {
    background: rgba(67, 198, 172, 0.12);
    color: var(--highlight);
}

.demo-sidebar-item i {
    font-size: 0.7rem;
    width: 14px;
}

.demo-sidebar-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.75rem 0.65rem 0.4rem;
    font-weight: 600;
}

.demo-main {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
}

/* Mini metrics row */
.demo-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.demo-metric {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
}

.demo-metric-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.demo-metric-val.green {
    color: var(--highlight);
}

.demo-metric-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.2rem;
}

/* AI Agent chat panel */
.demo-agent-panel {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.demo-agent-header {
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-agent-avatar {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--highlight), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: white;
}

.demo-agent-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: white;
}

.demo-agent-sub {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.35);
    margin-left: auto;
}

.demo-chat-area {
    flex: 1;
    padding: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-msg {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s, transform 0.4s;
}

.demo-msg.visible {
    opacity: 1;
    transform: none;
}

.demo-msg.user {
    flex-direction: row-reverse;
}

.demo-msg-bubble {
    max-width: 75%;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.7rem;
    line-height: 1.5;
}

.demo-msg.agent .demo-msg-bubble {
    background: rgba(67, 198, 172, 0.1);
    border: 1px solid rgba(67, 198, 172, 0.2);
    color: rgba(255, 255, 255, 0.85);
    border-bottom-left-radius: 3px;
}

.demo-msg.user .demo-msg-bubble {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-bottom-right-radius: 3px;
}

.demo-msg-av {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
}

.demo-msg.agent .demo-msg-av {
    background: linear-gradient(135deg, var(--highlight), var(--primary-light));
    color: white;
}

.demo-msg.user .demo-msg-av {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.demo-typing {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0 0.75rem 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.demo-typing.visible {
    opacity: 1;
}

.demo-typing-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--highlight);
    opacity: 0.5;
    animation: typingBounce 1.2s ease infinite;
}

.demo-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.demo-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

.demo-input-row {
    padding: 0.5rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 0.4rem;
}

.demo-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'DM Sans', sans-serif;
    outline: none;
}

.demo-send {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--highlight);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.6rem;
    transition: background 0.2s;
}

.demo-send:hover {
    background: var(--highlight2);
}

/* Floating info badge above demo */
.demo-float-badge {
    position: absolute;
    top: -16px;
    right: 20px;
    background: var(--highlight);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(67, 198, 172, 0.4);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.demo-float-badge i {
    font-size: 0.65rem;
}

/* ─── SECTION: WHAT WE DO ─── */
.ais-section {
    padding: 6rem 2rem;
}

.ais-section.dark {
    background: var(--primary-dark);
}

.ais-section.light {
    background: var(--surface);
}

.ais-section.tinted {
    background: var(--surface2);
}

.ais-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.ais-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 4rem;
}

.ais-label {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.ais-label.on-dark {
    background: rgba(67, 198, 172, 0.12);
    border: 1px solid rgba(67, 198, 172, 0.25);
    color: var(--highlight);
}

.ais-h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.ais-h2.white {
    color: white;
}

.ais-sub {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.ais-sub.muted-white {
    color: rgba(255, 255, 255, 0.6);
}

/* ─── CAPABILITIES GRID ─── */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cap-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}

.cap-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--highlight), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.cap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(54, 91, 109, 0.12);
    border-color: var(--primary-light);
}

.cap-card:hover::after {
    transform: scaleX(1);
}

.cap-icon {
    width: 48px;
    height: 48px;
    background: var(--surface2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    transition: background 0.25s, color 0.25s;
}

.cap-card:hover .cap-icon {
    background: var(--primary);
    color: white;
}

.cap-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.cap-card p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.cap-card .cap-tag {
    display: inline-block;
    margin-top: 1rem;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
}

/* ─── WHAT MAKES US DIFFERENT — split layout ─── */
.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.diff-visual {
    position: relative;
}

.diff-visual-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.75rem;
    backdrop-filter: blur(10px);
}

.diff-pipeline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pipeline-step {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    transition: border-color 0.3s;
}

.pipeline-step.active {
    border-color: rgba(67, 198, 172, 0.35);
    background: rgba(67, 198, 172, 0.05);
}

.pipeline-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.pipeline-icon.teal {
    background: rgba(67, 198, 172, 0.15);
    color: var(--highlight);
}

.pipeline-icon.blue {
    background: rgba(74, 122, 144, 0.2);
    color: var(--primary-light);
}

.pipeline-icon.dim {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.35);
}

.pipeline-text {
    flex: 1;
}

.pipeline-text h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.15rem;
}

.pipeline-text p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.pipeline-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.pipeline-badge.running {
    background: rgba(67, 198, 172, 0.15);
    color: var(--highlight);
}

.pipeline-badge.done {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.35);
}

.pipeline-badge.queued {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.25);
}

.diff-connector {
    width: 1px;
    height: 16px;
    background: rgba(67, 198, 172, 0.2);
    margin: 0 auto;
    margin-left: 26px;
}

.diff-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.diff-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.diff-item:last-child {
    border-bottom: none;
}

.diff-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
    background: rgba(67, 198, 172, 0.1);
    border: 1px solid rgba(67, 198, 172, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--highlight);
}

.diff-item h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.diff-item p {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}

/* ─── USE CASES ─── */
.use-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.use-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.use-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(54, 91, 109, 0.1);
    border-color: var(--primary-light);
}

.use-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    flex-shrink: 0;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    transition: background 0.25s, color 0.25s;
}

.use-card:hover .use-card-icon {
    background: var(--primary);
    color: white;
}

.use-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.use-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ─── PROCESS — horizontal timeline ─── */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 1rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--highlight), var(--primary-light), var(--highlight));
    opacity: 0.3;
    z-index: 0;
}

.pt-step {
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s, transform 0.5s;
}

.pt-step.visible {
    opacity: 1;
    transform: none;
}

.pt-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-dark);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-light);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.pt-step:hover .pt-num {
    background: var(--primary);
    border-color: var(--highlight);
    color: white;
}

.pt-step h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.pt-step p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* ─── TECH STACK ─── */
.tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.5rem 1.1rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.tech-pill:hover {
    border-color: rgba(67, 198, 172, 0.4);
    color: white;
    background: rgba(67, 198, 172, 0.07);
}

.tech-pill i {
    font-size: 0.85rem;
    color: var(--highlight);
}

/* ─── CTA ─── */
.ai-cta {
    padding: 7rem 2rem;
    background: var(--primary-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ai-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(67, 198, 172, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
}

.ai-cta-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(67, 198, 172, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 20%, rgba(74, 122, 144, 0.1) 0%, transparent 60%);
}

.ai-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0 auto;
}

.ai-cta h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    letter-spacing: -0.4px;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.ai-cta h2 span {
    color: var(--highlight);
}

.ai-cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.ai-cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── SCROLL REVEAL ─── */
.sr {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.sr.visible {
    opacity: 1;
    transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .ai-hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ai-demo-wrapper {
        max-width: 560px;
        margin: 0 auto;
    }

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

    .diff-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .use-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .ai-hero {
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
    }

    .ai-hero h1 {
        font-size: 2.3rem;
    }

    .ai-hero-stats {
        gap: 1.25rem;
    }

    .cap-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .demo-body {
        grid-template-columns: 1fr;
    }

    .demo-sidebar {
        display: none;
    }
}