:root {
    --ch-color:     #8B5CF6;
    --ch-color-dark:#7C3AED;
    --ch-color-rgb: 139, 92, 246;
}

/* HERO */
.cai-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #F5F3FF;
}

.cai-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 600px at 20% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 80% 30%, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
}

.cai-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 32px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cai-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #6d28d9;
    margin-bottom: 24px;
}

.cai-badge-dot {
    width: 8px;
    height: 8px;
    background: #7c3aed;
    border-radius: 50%;
    animation: caiPulse 2s infinite;
}

@keyframes caiPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.cai-hero-content h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 800;
    color: #0a1628;
    line-height: 1.15;
    margin-bottom: 20px;
}

.cai-hero-desc {
    font-size: 17px;
    color: #4a5568;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
}

.cai-hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cai-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--ch-color), var(--ch-color-dark));
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(var(--ch-color-rgb), 0.3);
}

.cai-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--ch-color-rgb), 0.4);
    color: #fff;
}

.cai-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #0a1628;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid rgba(10, 22, 40, 0.25);
    text-decoration: none;
    transition: all 0.3s;
}

.cai-btn-secondary:hover {
    border-color: rgba(124, 58, 237, 0.5);
    color: #6d28d9;
    background: rgba(124, 58, 237, 0.05);
}

.cai-hero-stats {
    display: flex;
    gap: 40px;
}

.cai-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cai-stat-num {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0a1628;
}

.cai-stat-label {
    font-size: 13px;
    color: #5b6780;
}

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

.cai-brain-mockup {
    perspective: 1000px;
}

.cai-brain-frame {
    width: 320px;
    background: #1a1a2e;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(41, 182, 232, 0.2);
    animation: caiFloat 4s ease-in-out infinite;
}

@keyframes caiFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cai-brain-header {
    background: linear-gradient(135deg, #1a9fd0, #158bb8);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cai-brain-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.cai-brain-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.cai-brain-body {
    padding: 20px;
}

.cai-chat-msg {
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 12.5px;
    line-height: 1.5;
}

.cai-chat-user {
    background: rgba(41, 182, 232, 0.15);
    color: #93d5f0;
    margin-left: 40px;
    border-bottom-right-radius: 4px;
}

.cai-chat-ai {
    background: rgba(255, 255, 255, 0.06);
    color: #a3b8cc;
    margin-right: 40px;
    border-bottom-left-radius: 4px;
}

.cai-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
}

.cai-typing-dot {
    width: 6px;
    height: 6px;
    background: #29B6E8;
    border-radius: 50%;
    animation: caiTyping 1.4s infinite;
}

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

@keyframes caiTyping {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-4px); }
}


/* WHY SECTION */
.cai-why {
    padding: 100px 0;
    background: #fff;
}

.cai-section-header {
    margin-bottom: 60px;
}

.cai-mini-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a9fd0;
    background: rgba(41, 182, 232, 0.08);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 25px;
    animation: caiFloatBadge 3s ease-in-out infinite;
}

@keyframes caiFloatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.cai-section-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 800;
    color: #071c3d;
    line-height: 1.15;
    margin-bottom: 18px;
}

.cai-section-header p {
    font-size: 18px;
    color: #5b6780;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

.cai-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.cai-pillar-card {
    background: #f0f9ff;
    border: 1px solid rgba(41, 182, 232, 0.15);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: 0.4s ease;
}

.cai-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.cai-pillar-icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: #29B6E8;
}

.cai-pillar-card h4 {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #071c3d;
    margin-bottom: 10px;
}

.cai-pillar-card p {
    font-size: 14px;
    color: #5b6780;
    line-height: 1.6;
}


/* FEATURES */
.cai-features {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: #f0f9ff;
}

.cai-features::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(41, 182, 232, 0.15);
    border-radius: 50%;
    filter: blur(90px);
    top: -100px;
    left: -80px;
    z-index: 0;
}

.cai-features::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(26, 159, 208, 0.12);
    border-radius: 50%;
    filter: blur(90px);
    bottom: -100px;
    right: -80px;
    z-index: 0;
}

.cai-features .container {
    position: relative;
    z-index: 2;
}

.cai-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cai-feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    padding: 35px 28px;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.cai-feature-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    top: -70px;
    right: -70px;
    transition: 0.5s;
    z-index: -1;
    opacity: 0.85;
}

.cai-feature-card:nth-child(1)::before { background: #29B6E8; }
.cai-feature-card:nth-child(2)::before { background: #fa494a; }
.cai-feature-card:nth-child(3)::before { background: #fdc733; }
.cai-feature-card:nth-child(4)::before { background: #10B981; }
.cai-feature-card:nth-child(5)::before { background: #15aaff; }
.cai-feature-card:nth-child(6)::before { background: #fa494a; }

.cai-feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.cai-feature-card:hover::before {
    transform: scale(1.5);
}

.cai-feature-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 28px;
    transition: 0.4s;
}

.cai-feature-card h4 {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #071c3d;
    margin-bottom: 12px;
}

.cai-feature-card p {
    font-size: 15px;
    color: #5b6780;
    line-height: 1.7;
}


/*HOW IT WORKS */
.cai-how {
    padding: 100px 0;
    background: #fff;
}

.cai-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
}

.cai-step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.cai-step-num {
    font-family: 'Sora', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1;
}

.cai-step:nth-child(1) .cai-step-num {
    background: linear-gradient(135deg, #29B6E8, #1a9fd0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cai-step:nth-child(3) .cai-step-num {
    background: linear-gradient(135deg, #EF4444, #B91C1C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cai-step:nth-child(5) .cai-step-num {
    background: linear-gradient(135deg, #FFD84D, #FFC107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cai-step-content h4 {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #071c3d;
    margin-bottom: 10px;
}

.cai-step-content p {
    font-size: 14px;
    color: #5b6780;
    line-height: 1.7;
}

.cai-step-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #29B6E8, #1a9fd0);
    margin-top: 32px;
    border-radius: 3px;
    flex-shrink: 0;
}


/*USE CASES  */
.cai-usecases {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.cai-usecases::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: rgba(41, 182, 232, 0.12);
    border-radius: 50%;
    filter: blur(90px);
    top: 50px;
    right: -60px;
    z-index: 0;
}

.cai-usecases .container {
    position: relative;
    z-index: 2;
}

.cai-usecase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.cai-usecase-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    padding: 35px 24px;
    text-align: center;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.cai-usecase-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    bottom: -90px;
    left: -70px;
    transition: 0.5s;
    z-index: -1;
    opacity: 0.8;
}

.cai-usecase-card:nth-child(1)::before { background: #29B6E8; }
.cai-usecase-card:nth-child(2)::before {
    background: #ff3b30;
}
.cai-usecase-card:nth-child(3)::before { background: #fdc733; }
.cai-usecase-card:nth-child(4)::before { background: #10B981; }

.cai-usecase-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.cai-usecase-card:hover::before {
    transform: scale(1.6);
}

.cai-usecase-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
    transition: 0.4s;
}

.cai-usecase-card:nth-child(1) .cai-usecase-icon {
    background: rgba(41, 182, 232, 0.1);
    color: #29B6E8;
}

.cai-usecase-card:nth-child(2) .cai-usecase-icon {
    background: rgba(21, 170, 255, 0.1);
    color: #15aaff;
}

.cai-usecase-card:nth-child(3) .cai-usecase-icon {
    background: rgba(253, 199, 51, 0.1);
    color: #d4a500;
}

.cai-usecase-card:nth-child(4) .cai-usecase-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.cai-usecase-card h4 {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #071c3d;
    margin-bottom: 12px;
}

.cai-usecase-card p {
    font-size: 14px;
    color: #5b6780;
    line-height: 1.6;
}


/*  CTA  */
.cai-cta {
    padding: 100px 0;
    background: #fff;
}

.cai-cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #051b2c 0%, #082d47 50%, #0c4a6e 100%);
    border-radius: 24px;
    padding: 60px;
    overflow: hidden;
    position: relative;
}

.cai-cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(41, 182, 232, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cai-cta-content {
    position: relative;
    z-index: 1;
}

.cai-cta-content .cai-mini-badge {
    background: rgba(41, 182, 232, 0.2);
    color: #93d5f0;
}

.cai-cta-content h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.cai-cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 28px;
}

.cai-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cai-cta-visual {
    position: relative;
    z-index: 1;
}

.cai-cta-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(10px);
}

.cai-cta-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.cai-dot-purple {
    width: 10px;
    height: 10px;
    background: #29B6E8;
    border-radius: 50%;
    animation: caiPulse 2s infinite;
}

.cai-cta-card-top span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.cai-cta-metrics {
    display: flex;
    gap: 32px;
}

.cai-cta-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cai-metric-num {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.cai-metric-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}


/* ========================= RESPONSIVE ========================= */
@media (max-width: 991px) {
    .cai-hero-inner { grid-template-columns: 1fr; padding: 120px 24px 60px; }
    .cai-hero-visual { display: none; }
    .cai-hero-content { text-align: center; }
    .cai-hero-badge { margin-left: auto; margin-right: auto; }
    .cai-hero-desc { margin-left: auto; margin-right: auto; }
    .cai-hero-actions { justify-content: center; }
    .cai-hero-stats { justify-content: center; }
    .cai-pillars { grid-template-columns: 1fr; }
    .cai-features-grid { grid-template-columns: repeat(2, 1fr); }
    .cai-usecase-grid { grid-template-columns: repeat(2, 1fr); }
    .cai-cta-wrapper { grid-template-columns: 1fr; padding: 40px 28px; }
    .cai-why { padding: 70px 0; }
    .cai-features { padding: 70px 0; }
    .cai-section-header h2 { font-size: 30px; }
}
@media (max-width: 767px) {
    .cai-hero-inner { padding: 100px 20px 40px; }
    .cai-hero-content h1 { font-size: 30px; }
    .cai-hero-desc { font-size: 15px; }
    .cai-hero-badge { font-size: 12px; padding: 5px 12px; }
    .cai-hero-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .cai-features-grid { grid-template-columns: 1fr; }
    .cai-usecase-grid { grid-template-columns: 1fr; }
    .cai-steps { flex-direction: column; gap: 32px; align-items: center; }
    .cai-step-line { width: 2px; height: 40px; margin-top: 0; }
    .cai-step { padding: 0 12px; }
    .cai-cta-metrics { flex-direction: column; gap: 16px; }
    .cai-why { padding: 50px 0; }
    .cai-features { padding: 50px 0; }
    .cai-section-header h2 { font-size: 26px; }
    .cai-section-header p { font-size: 15px; }
    .cai-cta-wrapper { padding: 30px 20px; border-radius: 16px; }
    .cai-feature-card { padding: 24px; }
    .cai-usecase-card { padding: 24px; }
}
@media (max-width: 480px) {
    .cai-hero-inner { padding: 90px 16px 32px; }
    .cai-hero-content h1 { font-size: 26px; }
    .cai-hero-desc { font-size: 14px; }
    .cai-hero-stats { gap: 12px; }
    .cai-stat-num { font-size: 20px; }
    .cai-stat-label { font-size: 11px; }
    .cai-stat-icon { width: 34px; height: 34px; font-size: 15px; }
    .cai-why { padding: 40px 0; }
    .cai-features { padding: 40px 0; }
    .cai-section-header h2 { font-size: 22px; }
    .cai-section-header p { font-size: 14px; }
    .cai-step-num { font-size: 36px; }
    .cai-cta-wrapper { padding: 24px 16px; }
    .cai-pillars { gap: 16px; }
    .cai-features-grid { gap: 16px; }
    .cai-usecase-grid { gap: 16px; }
}
