/* =====================================================
   INTELIGENCIA ARTIFICIAL - PYMEVI
===================================================== */

:root {
    --ai-blue: #0d62ad;
    --ai-blue-dark: #062b52;
    --ai-blue-light: #2b8ee6;
    --ai-cyan: #00a8e8;
    --ai-text: #172033;
    --ai-muted: #667085;
    --ai-border: #e6edf5;
    --ai-bg: #f6f9fc;
}


/* =====================================================
   GENERAL
===================================================== */

.ai-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 25px;
}

.ai-hero,
.ai-intro,
.ai-capabilities,
.ai-process-section,
.ai-example-section,
.ai-cta {
    overflow: hidden;
}


/* =====================================================
   HERO
===================================================== */

.ai-hero {
    position: relative;
    padding: 130px 0 100px;
    background:
        radial-gradient(circle at 80% 30%, rgba(13, 98, 173, 0.12), transparent 30%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 55%, #eef7ff 100%);
}

.ai-hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(13, 98, 173, 0.05);
    top: -250px;
    right: -180px;
}

.ai-hero::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(13, 98, 173, 0.15),
        transparent
    );
    left: 50%;
    top: 0;
}

.ai-hero .ai-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}


/* =====================================================
   TAGS
===================================================== */

.ai-tag,
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--ai-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ai-tag span,
.section-tag span {
    width: 26px;
    height: 2px;
    background: var(--ai-blue);
    display: block;
}

.section-tag.center {
    justify-content: center;
    width: 100%;
}

.section-tag.light {
    color: rgba(255,255,255,0.75);
}

.section-tag.light span {
    background: rgba(255,255,255,0.75);
}


/* =====================================================
   HERO TEXTO
===================================================== */

.ai-hero-content h1 {
    margin: 22px 0;

    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.04;

    font-weight: 800;
    letter-spacing: -2.5px;

    color: var(--ai-text);
}

.ai-hero-content h1 strong {
    display: block;
    color: var(--ai-blue);
    font-weight: 800;
}

.ai-description {
    max-width: 610px;

    font-size: 18px;
    line-height: 1.8;

    color: var(--ai-muted);
}


/* =====================================================
   BOTONES HERO
===================================================== */

.ai-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 32px;
}

.ai-btn-primary,
.ai-btn-secondary,
.ai-btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 25px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;

    transition: all .25s ease;
}

.ai-btn-primary {
    background: var(--ai-blue);
    color: #ffffff !important;

    box-shadow: 0 10px 25px rgba(13, 98, 173, 0.22);
}

.ai-btn-primary:hover {
    background: var(--ai-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 98, 173, 0.3);
}

.ai-btn-primary i {
    transition: transform .25s ease;
}

.ai-btn-primary:hover i {
    transform: translateX(4px);
}

.ai-btn-secondary {
    border: 1px solid #d7e2ec;
    color: var(--ai-text) !important;
    background: #ffffff;
}

.ai-btn-secondary:hover {
    border-color: var(--ai-blue);
    color: var(--ai-blue) !important;
}


/* =====================================================
   MINI ESTADISTICAS
===================================================== */

.ai-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;

    margin-top: 45px;
}

.ai-mini-stat {
    display: flex;
    align-items: center;
    gap: 11px;
}

.mini-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #ffffff;
    color: var(--ai-blue);

    box-shadow: 0 5px 18px rgba(20, 60, 90, 0.08);
}

.ai-mini-stat div:last-child {
    display: flex;
    flex-direction: column;
}

.ai-mini-stat strong {
    font-size: 13px;
    color: var(--ai-text);
}

.ai-mini-stat span {
    font-size: 11px;
    color: var(--ai-muted);
}


/* =====================================================
   VISUAL IA
===================================================== */

.ai-hero-visual {
    position: relative;
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-glow {
    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(13, 98, 173, 0.18),
        rgba(13, 98, 173, 0.03),
        transparent 70%
    );

    filter: blur(15px);

    animation: aiPulse 5s infinite ease-in-out;
}

.ai-brain-card {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 500px;

    padding: 26px;

    background: rgba(255,255,255,0.9);

    border: 1px solid rgba(255,255,255,0.8);

    border-radius: 24px;

    box-shadow:
        0 30px 70px rgba(15, 55, 90, 0.16);

    backdrop-filter: blur(15px);
}


/* =====================================================
   HEADER CARD
===================================================== */

.ai-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 22px;

    border-bottom: 1px solid var(--ai-border);
}

.ai-card-header span {
    display: block;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;

    color: var(--ai-blue);
}

.ai-card-header h3 {
    margin: 5px 0 0;

    font-size: 20px;
    font-weight: 700;

    color: var(--ai-text);
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    border-radius: 30px;

    background: #edf7ff;

    color: var(--ai-blue);

    font-size: 10px;
    font-weight: 700;
}

.ai-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--ai-blue);

    animation: statusPulse 1.5s infinite;
}


/* =====================================================
   NUCLEO
===================================================== */

.ai-core {
    position: relative;

    height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.core-ring {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(13, 98, 173, 0.16);
}

.ring-1 {
    width: 110px;
    height: 110px;

    animation: rotateRing 12s linear infinite;
}

.ring-2 {
    width: 220px;
    height: 220px;

    border-style: dashed;

    animation: rotateRingReverse 18s linear infinite;
}

.ring-3 {
    width: 330px;
    height: 330px;

    border-style: dotted;

    animation: rotateRing 28s linear infinite;
}

.core-center {
    position: relative;
    z-index: 5;

    width: 92px;
    height: 92px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--ai-blue),
            var(--ai-cyan)
        );

    color: white;

    font-size: 35px;

    box-shadow:
        0 0 0 15px rgba(13, 98, 173, 0.05),
        0 15px 35px rgba(13, 98, 173, 0.3);
}


/* =====================================================
   NODOS
===================================================== */

.ai-node {
    position: absolute;
    z-index: 6;

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 9px 13px;

    border-radius: 9px;

    background: #ffffff;

    box-shadow: 0 8px 20px rgba(20, 50, 80, 0.1);

    font-size: 11px;
    font-weight: 700;

    color: var(--ai-text);
}

.ai-node i {
    color: var(--ai-blue);
}

.node-1 {
    top: 30px;
    left: 35px;
}

.node-2 {
    top: 75px;
    right: 20px;
}

.node-3 {
    bottom: 70px;
    left: 20px;
}

.node-4 {
    bottom: 25px;
    right: 55px;
}


/* =====================================================
   PREDICCION
===================================================== */

.ai-prediction {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 15px;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #f3f9ff,
        #ffffff
    );

    border: 1px solid #e2eef7;
}

.prediction-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--ai-blue);
    color: white;
}

.prediction-text {
    display: flex;
    flex-direction: column;
}

.prediction-text span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;

    color: var(--ai-blue);
}

.prediction-text strong {
    margin-top: 4px;

    font-size: 12px;
    line-height: 1.5;

    color: var(--ai-text);
}


/* =====================================================
   CARD FLOTANTE
===================================================== */

.ai-floating-card {
    position: absolute;

    z-index: 4;

    bottom: 25px;
    right: -15px;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 14px 18px;

    border-radius: 13px;

    background: #ffffff;

    box-shadow: 0 18px 35px rgba(15, 55, 90, 0.18);

    animation: floatingCard 4s infinite ease-in-out;
}

.floating-ai-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #edf7ff;
    color: var(--ai-blue);
}

.ai-floating-card div:last-child {
    display: flex;
    flex-direction: column;
}

.ai-floating-card span {
    font-size: 10px;
    color: var(--ai-muted);
}

.ai-floating-card strong {
    font-size: 12px;
    color: var(--ai-text);
}


/* =====================================================
   INTRO
===================================================== */

.ai-intro {
    padding: 120px 0;

    background: #ffffff;
}

.ai-intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}


/* =====================================================
   DATA CARD
===================================================== */

.ai-data-card {
    padding: 28px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4f9fd
        );

    border: 1px solid var(--ai-border);

    box-shadow: 0 20px 50px rgba(30, 70, 100, 0.08);
}

.data-card-header {
    margin-bottom: 22px;
}

.data-card-header span {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    color: var(--ai-blue);
}

.data-stream {
    display: grid;
    gap: 10px;
}

.data-item {
    display: grid;

    grid-template-columns: 45px 1fr auto;

    align-items: center;

    gap: 12px;

    padding: 13px;

    background: #ffffff;

    border: 1px solid #edf1f5;

    border-radius: 10px;
}

.data-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #edf7ff;

    color: var(--ai-blue);
}

.data-item span {
    font-size: 13px;
    font-weight: 700;

    color: var(--ai-text);
}

.data-item strong {
    font-size: 10px;

    color: var(--ai-muted);
}

.data-processing {
    margin-top: 25px;
}

.processing-line {
    height: 5px;

    overflow: hidden;

    border-radius: 20px;

    background: #e8eef4;
}

.processing-line span {
    display: block;

    width: 45%;
    height: 100%;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--ai-blue),
            var(--ai-cyan)
        );

    animation: processing 2.5s infinite ease-in-out;
}

.data-processing small {
    display: block;

    margin-top: 10px;

    font-size: 11px;

    color: var(--ai-muted);
}


/* =====================================================
   INTRO TEXTO
===================================================== */

.ai-intro-content h2,
.ai-section-header h2,
.ai-process-header h2,
.ai-example-content h2 {
    margin: 18px 0 25px;

    font-size: clamp(32px, 4vw, 52px);

    line-height: 1.1;

    letter-spacing: -1.8px;

    color: var(--ai-text);
}

.ai-intro-content h2 strong,
.ai-section-header h2 strong,
.ai-process-header h2 strong,
.ai-example-content h2 strong {
    display: block;

    color: var(--ai-blue);
}

.ai-intro-content p,
.ai-section-header p,
.ai-example-content p {
    font-size: 16px;

    line-height: 1.85;

    color: var(--ai-muted);
}

.ai-check-list {
    list-style: none;

    padding: 0;

    margin: 30px 0 0;
}

.ai-check-list li {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 14px;

    font-size: 14px;

    color: var(--ai-text);
}

.ai-check-list i {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf7ff;

    color: var(--ai-blue);

    font-size: 10px;
}


/* =====================================================
   CAPACIDADES
===================================================== */

.ai-capabilities {
    padding: 120px 0;

    background: var(--ai-bg);
}

.ai-section-header {
    max-width: 760px;

    margin: 0 auto 65px;

    text-align: center;
}

.ai-capabilities-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.ai-capability-card {
    position: relative;

    min-height: 270px;

    padding: 32px;

    background: #ffffff;

    border: 1px solid var(--ai-border);

    border-radius: 18px;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.ai-capability-card:hover {
    transform: translateY(-7px);

    border-color: rgba(13, 98, 173, 0.3);

    box-shadow: 0 22px 45px rgba(30, 70, 100, 0.1);
}

.capability-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border-radius: 13px;

    background: #edf7ff;

    color: var(--ai-blue);

    font-size: 21px;
}

.ai-capability-card > span {
    position: absolute;

    top: 28px;
    right: 30px;

    font-size: 13px;
    font-weight: 800;

    color: #d9e5ee;
}

.ai-capability-card h3 {
    margin-bottom: 13px;

    font-size: 19px;

    color: var(--ai-text);
}

.ai-capability-card p {
    margin: 0;

    font-size: 14px;

    line-height: 1.75;

    color: var(--ai-muted);
}


/* =====================================================
   PROCESO
===================================================== */

.ai-process-section {
    padding: 120px 0;

    background: #ffffff;
}

.ai-process-header {
    text-align: center;

    margin-bottom: 75px;
}

.ai-process {
    display: flex;

    align-items: flex-start;

    justify-content: center;
}

.ai-process-step {
    position: relative;

    width: 230px;

    text-align: center;
}

.process-number {
    margin-bottom: 20px;

    font-size: 11px;
    font-weight: 800;

    color: var(--ai-blue);
}

.process-icon {
    width: 78px;
    height: 78px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: #edf7ff;

    color: var(--ai-blue);

    font-size: 27px;
}

.ai-process-step h3 {
    font-size: 18px;

    color: var(--ai-text);
}

.ai-process-step p {
    margin-top: 10px;

    font-size: 13px;

    line-height: 1.7;

    color: var(--ai-muted);
}

.ai-process-line {
    width: 70px;

    height: 1px;

    margin-top: 75px;

    background:
        linear-gradient(
            to right,
            transparent,
            var(--ai-blue-light),
            transparent
        );
}


/* =====================================================
   EJEMPLO
===================================================== */

.ai-example-section {
    padding: 120px 0;

    background:
        linear-gradient(
            135deg,
            #f7fbff,
            #edf6fc
        );
}

.ai-example-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.ai-example-list {
    display: grid;

    gap: 13px;

    margin-top: 30px;
}

.ai-example-list div {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 14px 16px;

    background: rgba(255,255,255,0.7);

    border: 1px solid rgba(13, 98, 173, 0.08);

    border-radius: 10px;

    font-size: 13px;

    color: var(--ai-text);
}

.ai-example-list i {
    color: var(--ai-blue);
}


/* =====================================================
   ALERT PANEL
===================================================== */

.ai-alert-panel {
    padding: 25px;

    border-radius: 20px;

    background: #ffffff;

    box-shadow: 0 25px 60px rgba(30, 70, 100, 0.13);
}

.alert-panel-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--ai-border);
}

.alert-panel-header span {
    display: block;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;

    color: var(--ai-blue);
}

.alert-panel-header h3 {
    margin: 5px 0 0;

    font-size: 19px;

    color: var(--ai-text);
}

.alert-live {
    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 9px;
    font-weight: 800;

    color: var(--ai-blue);
}

.alert-live span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--ai-blue);
}

.alert-main {
    display: flex;

    align-items: center;

    gap: 18px;

    margin: 28px 0;
}

.alert-icon {
    flex-shrink: 0;

    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #edf7ff;

    color: var(--ai-blue);

    font-size: 24px;
}

.alert-main span {
    display: block;

    margin-bottom: 7px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;

    color: var(--ai-blue);
}

.alert-main h4 {
    margin: 0;

    font-size: 16px;

    line-height: 1.5;

    color: var(--ai-text);
}


/* =====================================================
   GRAFICO
===================================================== */

.alert-chart {
    height: 150px;

    display: flex;

    align-items: flex-end;

    padding: 15px;

    border-radius: 12px;

    background: #f7fafd;
}

.chart-bars {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 10px;
}

.chart-bars span {
    width: 100%;

    border-radius: 5px 5px 0 0;

    background:
        linear-gradient(
            to top,
            var(--ai-blue),
            var(--ai-blue-light)
        );
}

.chart-bars span:nth-child(1) {
    height: 35%;
}

.chart-bars span:nth-child(2) {
    height: 48%;
}

.chart-bars span:nth-child(3) {
    height: 57%;
}

.chart-bars span:nth-child(4) {
    height: 70%;
}

.chart-bars span:nth-child(5) {
    height: 55%;
}

.chart-bars span:nth-child(6) {
    height: 82%;
}

.chart-bars span:nth-child(7) {
    height: 100%;
}

.alert-footer {
    margin-top: 18px;

    font-size: 10px;

    color: var(--ai-muted);
}


/* =====================================================
   CTA
===================================================== */

.ai-cta {
    padding: 110px 0;

    background: #ffffff;
}

.ai-cta-box {
    position: relative;

    display: grid;

    grid-template-columns: 1.3fr .7fr;

    align-items: center;

    min-height: 420px;

    padding: 70px;

    overflow: hidden;

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 90% 30%,
            rgba(60, 170, 255, 0.3),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #062b52,
            #0d62ad
        );

    color: white;
}

.ai-cta-content {
    position: relative;

    z-index: 3;
}

.ai-cta-content h2 {
    margin: 20px 0;

    font-size: clamp(34px, 4vw, 54px);

    line-height: 1.1;

    letter-spacing: -2px;
}

.ai-cta-content h2 strong {
    display: block;
}

.ai-cta-content p {
    max-width: 650px;

    font-size: 16px;

    line-height: 1.8;

    color: rgba(255,255,255,0.75);
}

.ai-btn-light {
    margin-top: 15px;

    background: #ffffff;

    color: var(--ai-blue) !important;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.ai-btn-light:hover {
    transform: translateY(-3px);
}

.ai-cta-visual {
    position: relative;

    height: 300px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.ai-orbit {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.2);
}

.orbit-one {
    width: 250px;
    height: 250px;

    animation: rotateRing 15s linear infinite;
}

.orbit-two {
    width: 170px;
    height: 170px;

    border-style: dashed;

    animation: rotateRingReverse 12s linear infinite;
}

.ai-cta-brain {
    position: relative;

    z-index: 2;

    width: 105px;
    height: 105px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.14);

    border: 1px solid rgba(255,255,255,0.25);

    backdrop-filter: blur(10px);

    font-size: 45px;

    animation: floatingBrain 4s infinite ease-in-out;
}


/* =====================================================
   ANIMACIONES
===================================================== */

@keyframes aiPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .7;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }

}


@keyframes statusPulse {

    0% {
        box-shadow: 0 0 0 0 rgba(13,98,173,.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(13,98,173,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(13,98,173,0);
    }

}


@keyframes rotateRing {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


@keyframes rotateRingReverse {

    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }

}


@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


@keyframes floatingBrain {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }

}


@keyframes processing {

    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(230%);
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .ai-hero .ai-container,
    .ai-intro-grid,
    .ai-example-grid {
        grid-template-columns: 1fr;
    }

    .ai-hero {
        padding-top: 100px;
    }

    .ai-hero-content {
        text-align: center;
    }

    .ai-description {
        margin-left: auto;
        margin-right: auto;
    }

    .ai-tag {
        justify-content: center;
        width: 100%;
    }

    .ai-buttons {
        justify-content: center;
    }

    .ai-mini-stats {
        justify-content: center;
    }

    .ai-hero-visual {
        min-height: 540px;
    }

    .ai-intro-grid,
    .ai-example-grid {
        gap: 60px;
    }

    .ai-capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-process {
        flex-wrap: wrap;
        gap: 30px;
    }

    .ai-process-line {
        display: none;
    }

    .ai-process-step {
        width: calc(50% - 30px);
    }

    .ai-cta-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ai-cta-visual {
        margin-top: 30px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .ai-container {
        padding: 0 18px;
    }

    .ai-hero,
    .ai-intro,
    .ai-capabilities,
    .ai-process-section,
    .ai-example-section,
    .ai-cta {
        padding: 80px 0;
    }

    .ai-hero-content h1 {
        font-size: 43px;
        letter-spacing: -1.8px;
    }

    .ai-description {
        font-size: 16px;
    }

    .ai-mini-stats {
        display: grid;

        grid-template-columns: 1fr;

        gap: 14px;

        text-align: left;
    }

    .ai-hero-visual {
        min-height: 480px;
    }

    .ai-brain-card {
        padding: 18px;
    }

    .ai-core {
        height: 310px;
    }

    .ring-3 {
        width: 280px;
        height: 280px;
    }

    .ring-2 {
        width: 190px;
        height: 190px;
    }

    .node-1 {
        left: 0;
    }

    .node-2 {
        right: 0;
    }

    .node-3 {
        left: 0;
    }

    .node-4 {
        right: 0;
    }

    .ai-floating-card {
        right: 5px;
        bottom: -5px;
    }

    .ai-intro-grid,
    .ai-example-grid {
        gap: 45px;
    }

    .ai-capabilities-grid {
        grid-template-columns: 1fr;
    }

    .ai-capability-card {
        min-height: auto;
    }

    .ai-process {
        display: grid;

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .ai-process-step {
        width: 100%;
    }

    .ai-cta-box {
        padding: 45px 25px;
        min-height: auto;
    }

    .ai-cta-content h2 {
        font-size: 36px;
    }

    .ai-cta-visual {
        height: 230px;
    }

    .orbit-one {
        width: 200px;
        height: 200px;
    }

    .orbit-two {
        width: 135px;
        height: 135px;
    }

}