﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.home-ai-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    padding: 72px 20px 28px;
    background:
        radial-gradient(circle at 16% 18%, rgba(34, 211, 238, 0.22), transparent 28%),
        radial-gradient(circle at 82% 28%, rgba(163, 230, 53, 0.14), transparent 26%),
        linear-gradient(135deg, #07111f 0%, #0f172a 48%, #102033 100%);
    color: #e5edf6;
}

.home-ai-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.14) 1px, transparent 1px);
    background-size: 52px 52px;
    transform: perspective(700px) rotateX(58deg) translateY(-120px);
    transform-origin: top center;
}

.home-ai-hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #22d3ee, #a3e635, #f59e0b, transparent);
}

.home-ai-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    align-items: center;
    gap: 48px;
}

.home-ai-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 7px 16px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 999px;
    background: rgba(8, 17, 31, 0.66);
    color: #67e8f9;
    font-size: 13px;
    letter-spacing: 1px;
}

.home-ai-hero h1 {
    max-width: 690px;
    margin: 0 0 20px;
    color: #f8fafc;
    font-size: 46px;
    line-height: 1.23;
    font-weight: 800;
}

.home-ai-hero p {
    max-width: 720px;
    margin: 0;
    color: #b8c7d9;
    font-size: 17px;
    line-height: 1.9;
}

.home-ai-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.home-ai-hero-outline {
    border-color: rgba(103, 232, 249, 0.7) !important;
    color: #cffafe !important;
}

.home-ai-hero-outline:hover {
    background: rgba(34, 211, 238, 0.12) !important;
}

.home-ai-orbit {
    position: relative;
    width: 520px;
    height: 420px;
}

.home-ai-core {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 188px;
    height: 188px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(103, 232, 249, 0.32);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 34%, rgba(34, 211, 238, 0.38), transparent 34%),
        rgba(8, 17, 31, 0.9);
    box-shadow: 0 0 42px rgba(34, 211, 238, 0.28), inset 0 0 32px rgba(34, 211, 238, 0.13);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: homeCorePulse 3.2s ease-in-out infinite;
}

.home-ai-core i {
    color: #a3e635;
    font-size: 34px;
    margin-bottom: 10px;
}

.home-ai-core strong {
    color: #f8fafc;
    font-size: 21px;
}

.home-ai-core span {
    margin-top: 6px;
    color: #94a3b8;
    font-size: 12px;
}

.home-ai-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(103, 232, 249, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.home-ai-ring-one {
    width: 350px;
    height: 350px;
    animation: homeOrbitSpin 16s linear infinite;
}

.home-ai-ring-two {
    width: 450px;
    height: 272px;
    border-color: rgba(163, 230, 53, 0.18);
    transform: translate(-50%, -50%) rotate(-16deg);
    animation: homeOrbitSpinAlt 20s linear infinite;
}

.home-ai-node {
    position: absolute;
    z-index: 5;
    min-width: 112px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.82);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
    color: #dbeafe;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: homeNodeFloat 4s ease-in-out infinite;
}

.home-ai-node i {
    color: #67e8f9;
}

.home-ai-node span {
    white-space: nowrap;
    font-size: 13px;
}

.node-a { left: 40px; top: 64px; animation-delay: 0s; }
.node-b { right: 28px; top: 92px; animation-delay: .4s; }
.node-c { left: 10px; bottom: 84px; animation-delay: .8s; }
.node-d { right: 44px; bottom: 56px; animation-delay: 1.2s; }
.node-e { left: 205px; top: 12px; animation-delay: 1.6s; }

.home-ai-flow {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 44px auto 0;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    overflow: hidden;
}

.home-ai-flow div {
    min-height: 82px;
    background: rgba(8, 17, 31, 0.74);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #cbd5e1;
}

.home-ai-flow i {
    color: #a3e635;
    font-size: 20px;
}

.home-ai-flow span {
    font-size: 13px;
}

@keyframes homeCorePulse {
    0%, 100% { box-shadow: 0 0 42px rgba(34, 211, 238, 0.24), inset 0 0 32px rgba(34, 211, 238, 0.13); }
    50% { box-shadow: 0 0 72px rgba(163, 230, 53, 0.24), inset 0 0 42px rgba(34, 211, 238, 0.2); }
}

@keyframes homeOrbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes homeOrbitSpinAlt {
    from { transform: translate(-50%, -50%) rotate(-16deg); }
    to { transform: translate(-50%, -50%) rotate(344deg); }
}

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

@media (max-width: 1100px) {
    .home-ai-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-ai-hero h1,
    .home-ai-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .home-ai-hero-actions {
        justify-content: center;
    }

    .home-ai-orbit {
        margin: 0 auto;
    }

    .home-ai-flow {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .home-ai-hero {
        padding: 54px 16px 24px;
        min-height: auto;
    }

    .home-ai-hero h1 {
        font-size: 30px;
    }

    .home-ai-hero p {
        font-size: 15px;
    }

    .home-ai-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-ai-orbit {
        width: 100%;
        height: 360px;
        transform: scale(0.86);
        transform-origin: top center;
        margin-bottom: -42px;
    }

    .home-ai-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 24px;
    }
}

.ai-value-section {
    position: relative;
    overflow: hidden;
    padding: 76px 20px;
    background: #08111f;
    color: #e5edf6;
}

.ai-value-product {
    margin-top: 0;
}

.ai-value-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.12) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.ai-value-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #22d3ee, #a3e635, #f59e0b, transparent);
}

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

.ai-value-heading {
    max-width: 820px;
    margin: 0 auto 36px;
    text-align: center;
}

.ai-value-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    margin-bottom: 18px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 999px;
    background: rgba(8, 17, 31, 0.65);
    color: #67e8f9;
    font-size: 12px;
    letter-spacing: 1px;
}

.ai-value-heading h2 {
    margin: 0 0 16px;
    color: #f8fafc;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
}

.ai-value-heading p {
    margin: 0;
    color: #a9b8ca;
    font-size: 15px;
    line-height: 1.9;
}

.ai-value-showcase {
    display: grid;
    grid-template-columns: 0.9fr 1.35fr;
    gap: 28px;
    align-items: stretch;
}

.ai-value-console,
.ai-case-card,
.ai-value-metrics > div {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.ai-value-console {
    min-height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.ai-console-top {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(2, 6, 23, 0.62);
}

.ai-console-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22d3ee;
}

.ai-console-top span:nth-child(2) {
    background: #a3e635;
}

.ai-console-top span:nth-child(3) {
    background: #f59e0b;
}

.ai-console-top strong {
    margin-left: 8px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
}

.ai-console-flow {
    padding: 24px;
    display: grid;
    gap: 14px;
}

.ai-console-flow div {
    position: relative;
    padding: 18px 18px 18px 72px;
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 8px;
    background: rgba(8, 17, 31, 0.72);
}

.ai-console-flow b {
    position: absolute;
    left: 18px;
    top: 18px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(34, 211, 238, 0.11);
    color: #67e8f9;
    font-size: 13px;
}

.ai-console-flow span {
    display: block;
    color: #f8fafc;
    font-size: 16px;
    font-weight: 600;
}

.ai-console-flow em {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-style: normal;
    font-size: 13px;
}

.ai-console-output {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(148, 163, 184, 0.16);
}

.ai-console-output div {
    padding: 17px 14px;
    background: rgba(8, 17, 31, 0.78);
}

.ai-console-output label {
    display: block;
    margin-bottom: 6px;
    color: #94a3b8;
    font-size: 12px;
}

.ai-console-output strong {
    display: block;
    color: #d9f99d;
    font-size: 13px;
    line-height: 1.45;
}

.ai-value-cases {
    display: grid;
    gap: 16px;
}

.ai-case-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: 8px;
}

.ai-case-icon {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.ai-case-blue {
    color: #67e8f9;
    background: rgba(34, 211, 238, 0.12);
}

.ai-case-green {
    color: #bef264;
    background: rgba(163, 230, 53, 0.12);
}

.ai-case-amber {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.14);
}

.ai-case-card h3 {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: 19px;
    font-weight: 700;
}

.ai-case-card p {
    margin: 0 0 12px;
    color: #a9b8ca;
    font-size: 14px;
    line-height: 1.8;
}

.ai-case-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
}

.ai-case-card li {
    position: relative;
    padding-left: 18px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.65;
}

.ai-case-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22d3ee;
}

.ai-case-card:nth-child(2) li::before {
    background: #a3e635;
}

.ai-case-card:nth-child(3) li::before {
    background: #f59e0b;
}

.ai-value-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.ai-value-metrics > div {
    padding: 22px 18px;
    border-radius: 8px;
    text-align: center;
}

.ai-value-metrics strong {
    display: block;
    color: #f8fafc;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 8px;
}

.ai-value-metrics span {
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width: 980px) {
    .ai-value-showcase {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .ai-value-section {
        padding: 58px 16px;
    }

    .ai-value-heading h2 {
        font-size: 24px;
    }

    .ai-case-card {
        grid-template-columns: 1fr;
    }

    .ai-console-output,
    .ai-value-metrics {
        grid-template-columns: 1fr;
    }
}

/* Secondary pages visual alignment */
main > section[style*="linear-gradient(135deg"][style*="padding:90px"] {
    background:
        radial-gradient(circle at 18% 22%, rgba(34, 211, 238, 0.18), transparent 28%),
        radial-gradient(circle at 82% 24%, rgba(163, 230, 53, 0.12), transparent 24%),
        linear-gradient(135deg, #07111f 0%, #0f172a 52%, #102033 100%) !important;
    padding: 74px 20px 66px !important;
    min-height: 320px;
}

main > section[style*="linear-gradient(135deg"][style*="padding:90px"]::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.14) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
}

main > section[style*="linear-gradient(135deg"][style*="padding:90px"] canvas {
    display: none !important;
}

main > section[style*="linear-gradient(135deg"][style*="padding:90px"] > div[style*="max-width:800px"] {
    max-width: 900px !important;
}

main > section[style*="linear-gradient(135deg"][style*="padding:90px"] div[style*="ABOUT US"],
main > section[style*="linear-gradient(135deg"][style*="padding:90px"] div[style*="CONTACT US"],
main > section[style*="linear-gradient(135deg"][style*="padding:90px"] div[style*="NEWS CENTER"],
main > section[style*="linear-gradient(135deg"][style*="padding:90px"] div[style*="NEWS DETAIL"] {
    border-color: rgba(103, 232, 249, 0.28) !important;
    background: rgba(8, 17, 31, 0.58) !important;
    color: #67e8f9 !important;
}

main > section[style*="linear-gradient(135deg"][style*="padding:90px"] div[style*="font-size:36px"],
main > section[style*="linear-gradient(135deg"][style*="padding:90px"] div[style*="font-size:28px"] {
    color: #f8fafc !important;
    text-shadow: 0 0 24px rgba(34, 211, 238, 0.18) !important;
}

main > section[style*="background:#fff"][style*="padding:80px 20px"] {
    background:
        linear-gradient(180deg, #f8fafc 0%, #eef6f7 52%, #f8fafc 100%) !important;
}

main > section[style*="background:#fff"][style*="padding:80px 20px"] > div[style*="max-width:900px"],
main > section[style*="background:#fff"][style*="padding:80px 20px"] > div[style*="max-width:860px"] {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    padding: 38px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

main > section[style*="background:#fff"][style*="padding:80px 20px"] a[style*="border-radius:16px"] {
    border-color: rgba(148, 163, 184, 0.22) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
}

main > section[style*="background:#fff"][style*="padding:80px 20px"] a[style*="border-radius:16px"]:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.28) !important;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.11) !important;
}

main > section[style*="background:#fff"][style*="padding:80px 20px"] div[style*="border-radius:16px"][style*="padding:36px"] {
    border-color: rgba(148, 163, 184, 0.2) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06) !important;
}

main > section[style*="background:#fff"][style*="padding:80px 20px"] input,
main > section[style*="background:#fff"][style*="padding:80px 20px"] textarea {
    border-radius: 8px !important;
    border-color: #dbe6ef !important;
    max-width: none;
}

main > section[style*="background:#fff"][style*="padding:80px 20px"] input:focus,
main > section[style*="background:#fff"][style*="padding:80px 20px"] textarea:focus {
    border-color: #22d3ee !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

main > section[style*="background:#fff"][style*="padding:80px 20px"] button[type="submit"] {
    border-radius: 8px !important;
    background: linear-gradient(135deg, #1e40af, #0891b2) !important;
    box-shadow: 0 12px 24px rgba(8, 145, 178, 0.22) !important;
}

@media (max-width: 900px) {
    main > section[style*="linear-gradient(135deg"][style*="padding:90px"] {
        padding: 58px 16px 52px !important;
    }

    main > section[style*="background:#fff"][style*="padding:80px 20px"] > div[style*="max-width:900px"],
    main > section[style*="background:#fff"][style*="padding:80px 20px"] > div[style*="max-width:860px"] {
        padding: 26px;
    }
}
