/* AI page styles */

/* AI page V2 full redesign (AI page only) */
.page-ai .ai-v2-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 84px;
    background: linear-gradient(135deg, #0d1630 0%, #1a2e59 48%, #0f6a86 100%);
}

.page-ai .ai-v2-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.45;
    animation: aiGridMove 14s linear infinite;
}

.page-ai .ai-v2-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    animation: aiOrbPulse 7.5s ease-in-out infinite;
}

.page-ai .ai-v2-orb-one {
    width: 260px;
    height: 260px;
    top: -70px;
    left: -40px;
    background: radial-gradient(circle, rgba(6, 187, 204, 0.34), rgba(6, 187, 204, 0));
}

.page-ai .ai-v2-orb-two {
    width: 340px;
    height: 340px;
    right: -90px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(107, 13, 236, 0.3), rgba(107, 13, 236, 0));
    animation-delay: 1.4s;
}

.page-ai .ai-v2-orb-three {
    width: 220px;
    height: 220px;
    top: 34%;
    right: 28%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
    animation-delay: .8s;
}

.page-ai .ai-v2-hero .container {
    position: relative;
    z-index: 1;
}

.page-ai .ai-v2-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 9px 16px;
    border-radius: 999px;
    color: #dffbff;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-ai .ai-v2-hero-card {
    position: relative;
    padding: 26px 24px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 26px 65px rgba(8, 15, 32, 0.24);
}

.page-ai .ai-v2-hero-robot {
    width: min(180px, 44vw);
    display: block;
    margin: 0 auto 14px;
    filter: drop-shadow(0 14px 34px rgba(6, 187, 204, 0.36));
}

.page-ai .ai-v2-hero-card h5 {
    color: #fff;
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.page-ai .ai-v2-hero-card p {
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    margin-bottom: 14px;
}

.page-ai .ai-v2-chip-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-ai .ai-v2-chip-row span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.page-ai .ai-v2-section {
    position: relative;
    background:
      radial-gradient(circle at 12% 20%, rgba(6, 187, 204, 0.1), transparent 30%),
      radial-gradient(circle at 90% 12%, rgba(107, 13, 236, 0.08), transparent 28%);
}

.page-ai .ai-v2-feature-card {
    border: 1px solid rgba(6, 187, 204, 0.14);
    border-radius: 22px !important;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.1) !important;
    background: linear-gradient(180deg, #fff 0%, #f5fcff 100%) !important;
}

.page-ai .ai-v2-feature-card h4 {
    color: #11224d;
    font-weight: 900;
}

.page-ai .ai-v2-feature-card ul,
.page-ai .ai-v2-feature-card ol {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.page-ai .ai-v2-feature-card ul li,
.page-ai .ai-v2-feature-card ol li {
    position: relative;
    padding: 12px 0 12px 52px;
    line-height: 1.7;
}

.page-ai .ai-v2-feature-card ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #06bbcc 0%, #0ca7f1 60%, #24c36a 100%);
    box-shadow: 0 14px 24px rgba(12, 167, 241, 0.22);
}

.page-ai .ai-v2-feature-card ol {
    counter-reset: aiFeatureStep;
}

.page-ai .ai-v2-feature-card ol li::before {
    counter-increment: aiFeatureStep;
    content: counter(aiFeatureStep);
    position: absolute;
    left: 0;
    top: 10px;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #11224d;
    font-size: 0.92rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(6, 187, 204, 0.18) 0%, rgba(12, 167, 241, 0.14) 100%);
    border: 1px solid rgba(6, 187, 204, 0.2);
}

.page-ai .ai-v2-feature-card ul li + li,
.page-ai .ai-v2-feature-card ol li + li {
    border-top: 1px solid rgba(17, 34, 77, 0.08);
}

.page-ai .ai-v2-feature-card li,
.page-ai .ai-v2-feature-card p {
    color: #57647f;
}

/* AI V2 - new card designs (assistant + features + tools) */
.page-ai .ai-v2-assistant-card {
    border-radius: 28px;
    border: 1px solid rgba(6, 187, 204, 0.22) !important;
    background:
        radial-gradient(circle at 18% 18%, rgba(6, 187, 204, 0.18), transparent 40%),
        radial-gradient(circle at 88% 16%, rgba(107, 13, 236, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 251, 252, 0.94) 100%) !important;
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.14) !important;
    overflow: hidden;
    position: relative;
}

.page-ai .ai-v2-assistant-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, #06bbcc 0%, #0ca7f1 55%, #6b0dec 100%);
}

.page-ai .ai-v2-assistant-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -130px;
    bottom: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 187, 204, 0.18) 0%, rgba(6, 187, 204, 0) 70%);
    pointer-events: none;
}

.page-ai .ai-v2-assistant-card .btn {
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(6, 187, 204, 0.18);
}

.page-ai .ai-v2-feature-row {
    margin-top: 10px;
}

.page-ai .ai-v2-feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px !important;
    border: 1px solid rgba(6, 187, 204, 0.18) !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 252, 255, 0.9) 100%) !important;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12) !important;
}

.page-ai .ai-v2-feature-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 187, 204, 0.16) 0%, rgba(6, 187, 204, 0) 72%);
    pointer-events: none;
}

.page-ai .ai-v2-feature-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    background: linear-gradient(90deg, rgba(6, 187, 204, 1) 0%, rgba(12, 167, 241, 1) 55%, rgba(36, 195, 106, 1) 100%);
    opacity: 0.9;
}

.page-ai .ai-v2-tools-section {
    position: relative;
}

.page-ai .ai-v2-tools-grid .ai-v2-tool-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(6, 187, 204, 0.16);
    background:
        radial-gradient(circle at 20% 12%, rgba(6, 187, 204, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 252, 255, 0.94) 100%);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
    transform: translateY(0);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    padding: 34px 26px 30px;
}

.page-ai .ai-v2-tools-grid .ai-v2-tool-card:hover {
    transform: translateY(-12px);
    border-color: rgba(6, 187, 204, 0.36);
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.16);
}

.page-ai .ai-v2-tools-grid .ai-v2-tool-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #06bbcc 0%, #0ca7f1 58%, #6b0dec 100%);
    opacity: 0;
    transition: opacity .35s ease;
}

.page-ai .ai-v2-tools-grid .ai-v2-tool-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -90px;
    bottom: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 13, 236, 0.12) 0%, rgba(107, 13, 236, 0) 72%);
    pointer-events: none;
}

.page-ai .ai-v2-tools-grid .ai-v2-tool-card:hover::before {
    opacity: 1;
}

.page-ai .ai-v2-tools-grid .ai-tool-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 20px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.05rem;
    background: linear-gradient(135deg, #06bbcc 0%, #0ca7f1 55%, #6b0dec 100%);
    color: #fff;
    box-shadow: 0 20px 42px rgba(12, 167, 241, 0.22);
    position: relative;
    z-index: 1;
}

.page-ai .ai-v2-tools-grid .ai-tool-icon::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

.page-ai .ai-v2-tools-grid .ai-tool-card h4 {
    font-weight: 900;
    color: #102349;
    font-size: 1.45rem;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-ai .ai-v2-tools-grid .ai-tool-card p {
    color: #55627b;
    line-height: 1.8;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .page-ai .ai-v2-tools-grid .ai-v2-tool-card {
        border-radius: 22px;
        padding: 28px 20px 24px;
    }

    .page-ai .ai-v2-tools-grid .ai-tool-icon {
        width: 72px;
        height: 72px;
        border-radius: 20px;
        font-size: 1.75rem;
    }

    .page-ai .ai-v2-tools-grid .ai-tool-card h4 {
        font-size: 1.28rem;
    }
}

@keyframes aiGridMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(42px, 42px, 0); }
}

@keyframes aiOrbPulse {
    0%, 100% { transform: scale(0.95); opacity: 0.65; }
    50% { transform: scale(1.07); opacity: 1; }
}

