/* AI Automation Page Styles */

/* Common Utilities */
.ai-page {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

.bg-light-blue {
    background-color: #f8fbff;
}

.text-blue {
    color: #0d6efd;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
}

.btn-glow {
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(13, 110, 253, 0.4);
}

/* Hero Section */
.ai-hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}

/* Background Cyber Grid */
.ai-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.ai-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.badge-light-blue {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    color: #0284c7;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.ai-hero__title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    color: #0b1c3b;
    margin-bottom: 24px;
}

.ai-hero__title .text-blue {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    white-space: nowrap;
}

.ai-hero__desc {
    font-size: 18px;
    color: #475569;
    max-width: 90%;
    line-height: 1.6;
}

.ai-hero__image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.ai-hero__img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-hero__image-wrapper:hover .ai-hero__img {
    transform: scale(1.05);
}

.ai-hero__glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150%; height: 150%;
    background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Consult Bar */
.ai-consult-bar {
    text-align: center;
    position: relative;
    z-index: 10;
}

.ai-consult-bar__title {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-consult-bar__form {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.1), inset 0 0 0 1px rgba(255,255,255,0.8);
}

.form-input-group {
    display: flex;
    align-items: center;
    padding: 0 25px;
    flex: 1;
    border-right: 1px solid rgba(14, 165, 233, 0.1);
}

.form-input-group:last-of-type {
    border-right: none;
}

.form-input-group i {
    color: #0ea5e9;
    margin-right: 15px;
    font-size: 18px;
}

.form-input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    background: transparent;
    color: #1e293b;
}

.form-input-group input::placeholder {
    color: #94a3b8;
}

.form-input-group select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    background: transparent;
    color: #1e293b;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.form-input-group select:invalid {
    color: #94a3b8;
}

.form-input-group select option {
    color: #1e293b;
    background: #fff;
}

.ai-consult-bar__form .btn {
    padding: 15px 40px;
    margin-left: 10px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border: none;
    color: #fff;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-consult-bar__form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(14, 165, 233, 0.5);
    background: linear-gradient(135deg, #1d4ed8, #0284c7);
}

/* Core Tech Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tech-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 40px 0 40px 0; /* Sporty cut */
    border: 1px solid rgba(14, 165, 233, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    position: relative;
    box-shadow: 8px 8px 0 rgba(14, 165, 233, 0.1);
}

.tech-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0 #0ea5e9;
    border-color: #0ea5e9;
}

.tech-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 30px;
    transform: skewX(-10deg);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.tech-card__icon i {
    transform: skewX(10deg); /* Counter skew */
}

.tech-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #0f172a;
}

.tech-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

/* Optimize Workflow Section */
.optimize-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.optimize-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.opt-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 15px 20px;
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(14, 165, 233, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.opt-feature:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
    border-color: #0ea5e9;
}

.opt-icon {
    width: 36px;
    height: 36px;
    background: #e0f2fe;
    color: #0ea5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.opt-feature:hover .opt-icon {
    background: #0ea5e9;
    color: #fff;
}

.opt-feature span {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.optimize-quote {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 50px 40px;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.quote-mark {
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(14, 165, 233, 0.15);
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 1;
}

.optimize-quote p {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    position: relative;
    z-index: 2;
    line-height: 1.8;
    margin-top: 20px;
    font-style: italic;
}

.target-audience-banner {
    background: linear-gradient(135deg, #0ea5e9, #2563eb, #1e3a8a);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    color: #fff;
    padding: 60px 50px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.target-audience-banner::before {
    content: '\f0c0';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 150px;
    position: absolute;
    left: -20px;
    bottom: -40px;
    color: rgba(255, 255, 255, 0.1);
    transform: rotate(-15deg);
    z-index: 1;
}

.target-audience-banner h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 35%;
    position: relative;
    z-index: 2;
    line-height: 1.3;
}

.target-audience-banner p {
    font-size: 18px;
    opacity: 0.95;
    margin: 0;
    position: relative;
    z-index: 2;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 40px;
    line-height: 1.8;
}

.banner-circles {
    display: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    .target-audience-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 20px;
    }
    .target-audience-banner h3 {
        width: 100%;
        font-size: 26px;
    }
    .target-audience-banner p {
        border-left: none;
        border-top: 2px solid rgba(255, 255, 255, 0.3);
        padding-left: 0;
        padding-top: 20px;
        font-size: 16px;
    }
}

/* Solutions Section - Redesigned */
.ai-solutions {
    position: relative;
    background-color: #fff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.solution-card {
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Primary Card */
.primary-card {
    background: linear-gradient(135deg, #0b1c3b 0%, #1e3a8a 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(11, 28, 59, 0.15);
}

.primary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(11, 28, 59, 0.25);
}

.primary-card__content {
    flex: 1;
    position: relative;
    z-index: 2;
    padding-right: 30px;
}

.card-badge {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.primary-card h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.primary-card .subtitle {
    color: #93c5fd;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 15px;
    font-weight: 600;
    color: #f8fafc;
}

.primary-card__visual {
    width: 30%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: #0ea5e9;
    top: -50px;
    right: -50px;
    opacity: 0.6;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: #8b5cf6;
    bottom: -20px;
    left: -20px;
    opacity: 0.5;
}

.tech-graphic {
    position: relative;
    z-index: 1;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #fff;
    transform: rotate(15deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(15deg); }
}

/* Secondary Card */
.secondary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.secondary-card:hover {
    border-color: #0ea5e9;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.1);
    transform: translateY(-5px);
}

.secondary-card__icon-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    background: #f0f9ff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #0ea5e9;
    margin-bottom: 30px;
}

.ping-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 2px solid #0ea5e9;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.secondary-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.secondary-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}

.secondary-card p strong {
    color: #0ea5e9;
}

.card-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(14, 165, 233, 0.1) 50%);
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .primary-card {
        flex-direction: column;
    }
    .primary-card__content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    .primary-card__visual {
        width: 100%;
        height: 200px;
    }
}

/* Stats Banner - Light & Creative */
.ai-stats-banner {
    background: #f8fbff;
    position: relative;
    overflow: hidden;
}

.ai-stats-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

.ai-stats-banner .stats-banner-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: #fff;
    border-radius: 30px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    animation: floatStatCard 6s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: -2s;
}

.stat-item:nth-child(3) {
    animation-delay: -4s;
}

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

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #2563eb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.3);
}

.stat-item:hover::after {
    transform: scaleX(1);
}

.stat-item__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #2563eb;
    margin-bottom: 25px;
    box-shadow: inset 0 0 0 5px #fff, 0 10px 20px rgba(37, 99, 235, 0.1);
    transition: all 0.4s ease;
    animation: pulseIconGlow 2.5s infinite;
}

@keyframes pulseIconGlow {
    0% { box-shadow: inset 0 0 0 5px #fff, 0 10px 20px rgba(37, 99, 235, 0.1), 0 0 0 0 rgba(14, 165, 233, 0.4); }
    70% { box-shadow: inset 0 0 0 5px #fff, 0 10px 20px rgba(37, 99, 235, 0.1), 0 0 0 15px rgba(14, 165, 233, 0); }
    100% { box-shadow: inset 0 0 0 5px #fff, 0 10px 20px rgba(37, 99, 235, 0.1), 0 0 0 0 rgba(14, 165, 233, 0); }
}

.stat-item:hover .stat-item__icon {
    transform: scale(1.1) rotate(5deg) !important;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    animation: none;
}

.stat-item h3 {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-item h4 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.stat-item p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
/* Timeline Process - Dynamic */
.ai-process {
    background-color: #fff;
    position: relative;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 50px;
}

.timeline-line {
    position: absolute;
    top: 75px;
    left: 5%;
    right: 5%;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
    animation: flowLine 3s linear infinite;
}

@keyframes flowLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 18%;
    perspective: 1000px;
}

.step-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 0 0 10px #fff, 0 5px 15px rgba(14, 165, 233, 0.1);
    position: relative;
    transition: all 0.4s ease;
    animation: sequenceStep 5s infinite;
}

.timeline-step:nth-child(2) .step-circle, .timeline-step:nth-child(2) .timeline-content, .timeline-step:nth-child(2) .step-icon { animation-delay: 0s; }
.timeline-step:nth-child(3) .step-circle, .timeline-step:nth-child(3) .timeline-content, .timeline-step:nth-child(3) .step-icon { animation-delay: 1s; }
.timeline-step:nth-child(4) .step-circle, .timeline-step:nth-child(4) .timeline-content, .timeline-step:nth-child(4) .step-icon { animation-delay: 2s; }
.timeline-step:nth-child(5) .step-circle, .timeline-step:nth-child(5) .timeline-content, .timeline-step:nth-child(5) .step-icon { animation-delay: 3s; }
.timeline-step:nth-child(6) .step-circle, .timeline-step:nth-child(6) .timeline-content, .timeline-step:nth-child(6) .step-icon { animation-delay: 4s; }

@keyframes sequenceStep {
    0%, 20%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 10px #fff, 0 5px 15px rgba(14, 165, 233, 0.1); 
        background: linear-gradient(135deg, #2563eb, #0ea5e9);
    }
    10% { 
        transform: scale(1.15); 
        box-shadow: 0 0 0 8px #fff, 0 15px 30px rgba(14, 165, 233, 0.5); 
        background: linear-gradient(135deg, #1d4ed8, #0284c7);
    }
}

.step-num {
    color: #fff;
    font-weight: 800;
    font-size: 20px;
}

.timeline-content {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    transform: translateY(0);
    animation: sequenceCard 5s infinite;
}

@keyframes sequenceCard {
    0%, 20%, 100% {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        border-color: rgba(14, 165, 233, 0.1);
    }
    10% {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
        border-color: rgba(14, 165, 233, 0.4);
    }
}

.step-icon {
    width: 40px;
    height: 40px;
    background: #f0f9ff;
    color: #0ea5e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 15px;
    transition: all 0.4s ease;
    animation: sequenceIcon 5s infinite;
}

@keyframes sequenceIcon {
    0%, 20%, 100% {
        background: #f0f9ff;
        color: #0ea5e9;
        transform: scale(1) translateY(0);
    }
    10% {
        background: #0ea5e9;
        color: #fff;
        transform: scale(1.1) translateY(-3px);
    }
}

/* Pause animation and apply styles on hover */
.process-timeline:hover .step-circle,
.process-timeline:hover .timeline-content,
.process-timeline:hover .step-icon {
    animation: none;
}

.timeline-step:hover .timeline-content {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.timeline-step:hover .step-circle {
    background: linear-gradient(135deg, #1d4ed8, #0284c7);
    transform: scale(1.15);
    box-shadow: 0 0 0 8px #fff, 0 15px 30px rgba(14, 165, 233, 0.5);
}

.timeline-step:hover .step-icon {
    background: #0ea5e9;
    color: #fff;
    transform: scale(1.1) translateY(-3px);
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1e293b;
}

.timeline-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* CTA Pricing & Form Section */
.ai-cta-section {
    position: relative;
    padding-top: 50px;
    padding-bottom: 80px;
}

.ai-cta-box {
    background: #fff;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 25px 60px rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.1);
    overflow: hidden;
    margin: 20px auto 0;
    max-width: 950px;
}

.cta-pricing-info {
    padding: 40px 50px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-header h2 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #0b1c3b;
}

.pricing-header .desc {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.pricing-features-wrap {
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

.pricing-features .icon-wrap {
    width: 24px;
    height: 24px;
    background: #e0f2fe;
    color: #0ea5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.pricing-features span {
    font-size: 15px;
    color: #334155;
    font-weight: 500;
}

.pricing-details {
    background: #f8fafc;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-top: 30px;
}

.pricing-details h4 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.price-service-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.price-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.price-tag-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px dashed #cbd5e1;
    padding-top: 20px;
}

.price-tag-label {
    font-size: 15px;
    font-weight: 700;
    color: #334155;
}

.price-tag {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-amount {
    font-size: 48px;
    font-weight: 900;
    color: #0d6efd;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.price-amount .currency {
    font-size: 24px;
    margin-left: 5px;
}

.price-period {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

/* Form Container */
.cta-form-container {
    background: #f8fbff;
    padding: 40px 50px;
    border-left: 1px solid #e2e8f0;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.form-header p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.ai-cta-form .form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.ai-cta-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-cta-form .form-control {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: #1e293b;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}

.ai-cta-form .form-control::placeholder {
    color: #94a3b8;
}

.ai-cta-form .form-control:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.ai-cta-form .wpcf7-submit {
    margin: 20px auto 0;
    display: block;
    min-width: 200px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}
.ai-cta-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

.btn-submit-glow {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
    display: inline-block;
}

.btn-submit-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .ai-hero__inner, .optimize-inner, .solutions-grid, .ai-cta-box {
        grid-template-columns: 1fr;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .ai-stats-banner .stats-banner-inner {
        grid-template-columns: 1fr;
    }
    .process-timeline {
        flex-direction: column;
        align-items: flex-start;
    }
    .process-timeline::before {
        left: 20px;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
    }
    .timeline-step {
        width: 100%;
        display: flex;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 30px;
    }
    .step-circle {
        margin: 0 20px 0 0;
        flex-shrink: 0;
    }
    .ai-consult-bar__form {
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
        gap: 15px;
    }
    .form-input-group {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 10px 0;
        width: 100%;
    }
}

/* CF7 Wrapper Fix for Inline Forms */
.form-input-group .wpcf7-form-control-wrap {
    display: block;
    flex-grow: 1;
    width: 100%;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
    width: 100%;
    text-overflow: ellipsis;
}

/* Mobile Layout Fixes */
@media (max-width: 768px) {
    .ai-hero {
        padding: 60px 0 40px;
    }
    .ai-hero__title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .ai-hero__title .text-blue {
        white-space: normal;
        word-break: break-word;
    }
    .ai-hero__desc {
        font-size: 15px;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .badge-light-blue {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 15px;
    }
    
    /* Optimize Section Fixes */
    .section-title {
        font-size: 26px;
        line-height: 1.4;
    }
    
    .optimize-features {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
    
    .opt-feature {
        border-radius: 15px; /* Better shape for text wrapping on mobile */
        padding: 15px;
    }
    
    /* Limit long description paragraphs on mobile */
    .ai-solutions .text-center p,
    .ai-process .text-center p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
