/* AI Aimbot product page */

:root {
    --ai-bg: #121212;
    --ai-bg-soft: #151515;
    --ai-bg-panel: #151515;
    --ai-border: rgba(255, 118, 87, 0.18);
    --ai-text: #ffffff;
    --ai-muted: #b8b8b8;
    --ai-accent: #ff7657;
    --ai-accent-dark: #db5536;
}

html,
body {
    overflow-x: hidden;
}

.ai-aimbot-page {
    background: var(--ai-bg);
}

.solution-admin-preview {
    background: #ff7657;
    color: #111;
    font-weight: 700;
    padding: 12px 18px;
    text-align: center;
}

.nav-discord-icon,
.nav-user-icon {
    height: 22px;
    width: 22px;
    margin-right: 5px;
}

/* Match the No Recoil banner/video hero behavior exactly. */
#banner.video-bg {
    position: relative;
    overflow: hidden;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.55);
}

#banner .zindex {
    position: relative;
    z-index: 2;
}

#banner .banner-txt p {
    color: #fff;
}

.ai-kicker,
.ai-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ai-accent);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.ai-kicker::before,
.ai-section-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--ai-accent);
}

.ai-hero-copy h1 {
    color: var(--ai-text);
    font-size: clamp(2.35rem, 4.6vw, 5.15rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 22px;
    max-width: 760px;
}

.ai-hero-copy p {
    color: #dedede !important;
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 26px;
}

.ai-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.ai-primary-cta,
.ai-secondary-cta,
.ai-price-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ai-primary-cta,
.ai-price-card a {
    color: #fff !important;
    background: #ff7657;
    box-shadow: 0 12px 30px rgba(255, 118, 87, 0.18);
}

.ai-secondary-cta {
    color: var(--ai-text) !important;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.ai-primary-cta:hover,
.ai-secondary-cta:hover,
.ai-price-card a:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.ai-hero-panel {
    background: rgba(18, 18, 18, 0.82);
    border: 1px solid var(--ai-border);
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(10px);
}

.ai-hero-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ai-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.ai-hero-panel-top strong {
    color: var(--ai-accent);
    font-weight: 900;
}

.ai-detection-stage {
    position: relative;
    aspect-ratio: 1050 / 650;
    border-radius: 8px;
    overflow: hidden;
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-stage-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.72;
    filter: grayscale(0.28) saturate(0.72) contrast(1.08) brightness(0.9);
}

.ai-detection-box {
    position: absolute;
    border: 2px solid #ff7657;
    box-shadow: 0 0 28px rgba(255, 118, 87, 0.5), inset 0 0 22px rgba(255, 118, 87, 0.14);
}

.ai-detection-box span {
    position: absolute;
    top: -28px;
    left: -2px;
    color: #111;
    background: #ff7657;
    padding: 4px 8px;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.ai-box-one {
    width: 24%;
    height: 36%;
    left: 54%;
    top: 23%;
}

.ai-box-two {
    width: 18%;
    height: 29%;
    left: 21%;
    top: 38%;
    border-color: rgba(255, 255, 255, 0.86);
    box-shadow: 0 0 28px rgba(255, 118, 87, 0.34), inset 0 0 22px rgba(255, 118, 87, 0.12);
}

.ai-box-two span {
    background: rgba(255, 255, 255, 0.9);
    color: #111;
}

.ai-fov-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255, 118, 87, 0.78);
    border-radius: 50%;
}

.ai-aim-point {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(255, 118, 87, 0.9);
}

.ai-metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.ai-metric-row span {
    color: var(--ai-muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 9px 8px;
    font-size: 0.78rem;
    text-align: center;
}

.ai-metric-row strong {
    display: block;
    color: var(--ai-text);
    font-size: 0.86rem;
}

.ai-section {
    position: relative;
    padding: 90px 0;
    background: var(--ai-bg);
}

.ai-section:nth-of-type(even) {
    background: linear-gradient(135deg, #151515 0%, #242424 100%);
}

.ai-section-title {
    color: var(--ai-text);
    font-size: clamp(1.8rem, 3vw, 3.05rem);
    line-height: 1.08;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.ai-section-copy {
    color: var(--ai-muted);
    font-size: 1rem;
    line-height: 1.72;
    margin-bottom: 0;
}

.ai-steps-grid,
.ai-feature-grid,
.ai-pricing-grid {
    display: grid;
    gap: 18px;
    margin-top: 38px;
}

.ai-steps-grid {
    grid-template-columns: repeat(4, 1fr);
}

.ai-feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ai-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ai-step-card,
.ai-feature-card,
.ai-pipeline-card,
.ai-price-card {
    background: var(--ai-bg-panel);
    border: 1px solid var(--ai-border);
    border-radius: 8px;
    padding: 24px;
    min-height: 100%;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.ai-step-card i,
.ai-feature-card i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: #ff7657;
    font-size: 20px;
    margin-bottom: 18px;
}

.ai-step-card:nth-child(2) i,
.ai-feature-card:nth-child(2) i,
.ai-feature-card:nth-child(5) i {
    background: #ff7657;
}

.ai-step-card:nth-child(3) i,
.ai-feature-card:nth-child(4) i {
    background: #ff7657;
}

.ai-step-card h3,
.ai-feature-card h3,
.ai-pipeline-card h3,
.ai-price-card h3 {
    color: var(--ai-text);
    font-size: 1.12rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.ai-step-card p,
.ai-feature-card p,
.ai-pipeline-card p,
.ai-price-card p {
    color: var(--ai-muted);
    font-size: 0.95rem;
    line-height: 1.62;
    margin-bottom: 0;
}

.ai-recoil-compat-section {
    overflow: hidden;
}

.ai-compat-points {
    display: grid;
    gap: 12px;
    margin: 26px 0 28px;
}

.ai-compat-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ai-muted);
    line-height: 1.55;
}

.ai-compat-point i {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #ff7657;
    border-radius: 8px;
    margin-top: 2px;
}

.ai-compat-cta {
    min-width: 220px;
}

.ai-compat-visual {
    display: block;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ai-border);
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-compat-visual:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-3px);
    border-color: rgba(255, 118, 87, 0.46);
    box-shadow: 0 24px 58px rgba(255, 118, 87, 0.13);
}

.ai-compat-visual-header,
.ai-compat-visual-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--ai-text);
}

.ai-compat-visual-header {
    margin-bottom: 12px;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.ai-compat-visual-header i {
    color: #ff7657;
}

.ai-compat-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ai-compat-visual-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.ai-compat-visual-footer {
    align-items: flex-start;
    margin-top: 14px;
}

.ai-compat-visual-footer strong {
    color: #ff7657;
    min-width: 180px;
}

.ai-compat-visual-footer span {
    color: var(--ai-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    text-align: right;
}

.ai-pipeline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ai-pipeline-card {
    min-height: 180px;
}

.ai-pipeline-card span {
    color: var(--ai-accent);
    font-weight: 900;
    font-size: 0.88rem;
}

.ai-gui-image-wrap,
.ai-before-after-container,
.ai-model-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ai-border);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.ai-gui-image {
    width: 100%;
    aspect-ratio: 1050 / 650;
    object-fit: contain;
    border-radius: 8px;
    background: #101010;
    filter: grayscale(0.18) saturate(0.8) contrast(1.05);
}

.ai-gui-copy {
    padding-left: 32px;
}

.ai-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.ai-tag-row span {
    color: var(--ai-text);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
}

.ai-demo-section {
    overflow: hidden;
}

.ai-before-after-container {
    padding: 0;
    overflow: hidden;
}

.ai-before-after-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    cursor: ew-resize;
    background: #101010;
}

.ai-before-image,
.ai-after-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ai-before-image {
    object-fit: fill;
}

.ai-after-image {
    clip-path: inset(0 0 0 50%);
    overflow: hidden;
    transition: clip-path 0.24s ease;
}

.ai-after-video,
.ai-after-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.ai-after-fallback {
    z-index: 1;
}

.ai-after-video {
    z-index: 2;
    opacity: 0;
}

.ai-after-video.is-ready {
    opacity: 1;
}

.ai-before-image,
.ai-after-image,
.ai-after-video,
.ai-after-fallback {
    pointer-events: none;
}

.ai-before-after-wrapper.tracking .ai-after-image,
.ai-before-after-wrapper.tracking .ai-slider-handle {
    transition: none;
}

.ai-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #ff7657;
    z-index: 5;
    transform: translateX(-50%);
    box-shadow: 0 0 24px rgba(255, 118, 87, 0.68);
}

.ai-slider-handle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #ff7657;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.36);
}

.ai-slider-labels {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    z-index: 4;
}

.ai-slider-label {
    color: #fff;
    background: rgba(255, 118, 87, 0.94);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.ai-slider-label-after {
    background: rgba(255, 118, 87, 0.94);
}

.ai-model-test-section {
    background: linear-gradient(135deg, #151515 0%, #242424 100%);
}

.ai-model-form {
    padding: 22px;
}

.ai-model-form label {
    color: var(--ai-text);
    font-weight: 800;
    margin-bottom: 8px;
}

.ai-model-form .form-control {
    min-height: 46px;
    background: #151515;
    color: var(--ai-text);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.ai-recaptcha-wrap {
    margin: 16px 0;
    min-height: 78px;
    overflow-x: auto;
}

.ai-form-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.ai-form-submit:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
}

.try-model-modal {
    color: var(--ai-text);
}

.modal-backdrop.try-model-backdrop.show {
    opacity: 0.82;
}

.try-model-modal .modal-dialog {
    max-width: min(1120px, calc(100vw - 30px));
}

.try-model-modal .modal-content {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.try-model-modal .modal-header {
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
}

.try-model-heading-kicker {
    color: #ff7657;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.try-model-modal .modal-title {
    color: var(--ai-text);
    font-size: 1.65rem;
    font-weight: 900;
    margin: 4px 0 8px;
}

.try-model-heading-copy {
    color: var(--ai-muted);
    margin: 0;
}

.try-model-modal .close {
    color: var(--ai-text);
    opacity: 0.9;
    text-shadow: none;
}

.try-model-modal .modal-body {
    padding: 24px;
}

.try-model-status {
    color: #fff;
    background: rgba(255, 118, 87, 0.92);
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 800;
    margin-bottom: 18px;
}

.try-model-status.is-error {
    background: rgba(219, 85, 54, 0.96);
}

.try-model-status.is-success {
    background: rgba(255, 118, 87, 0.96);
}

.try-model-modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
}

.try-model-stage {
    position: relative;
    min-height: 360px;
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.try-model-canvas {
    width: 100%;
    height: auto;
    max-height: 68vh;
    object-fit: contain;
    display: none;
}

.try-model-empty {
    position: absolute;
    inset: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ai-muted);
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 20px;
}

.try-model-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
}

.try-model-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.try-model-chip {
    color: var(--ai-text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.8rem;
}

.try-model-detections {
    display: grid;
    gap: 10px;
}

.try-model-detection {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid #ff7657;
    border-radius: 8px;
    padding: 11px;
    background: rgba(0, 0, 0, 0.16);
}

.try-model-detection strong {
    display: block;
    color: var(--ai-text);
    margin-bottom: 4px;
}

.try-model-detection span {
    display: block;
    color: var(--ai-muted);
    font-size: 0.84rem;
    overflow-wrap: anywhere;
}

.try-model-debug {
    display: none;
    margin-top: 14px;
    color: #dcdcdc;
    background: #101010;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.78rem;
    white-space: pre-wrap;
    overflow-x: auto;
}

.ai-price-card strong {
    display: block;
    color: #ff7657;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.ai-price-card a {
    width: 100%;
    margin-top: 22px;
}

.ai-price-card-featured {
    border-color: rgba(255, 118, 87, 0.44);
    box-shadow: 0 22px 54px rgba(255, 118, 87, 0.16);
}

/* LSTM Training Showcase */
.ai-training-section {
    background: linear-gradient(135deg, #151515 0%, #1a1a1a 100%);
}

.ai-split-screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ai-split-video-wrap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-split-video-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.ai-split-video-wrap-ai {
    border-color: rgba(255, 118, 87, 0.4);
    box-shadow: 0 15px 35px rgba(255, 118, 87, 0.1);
}

.ai-split-video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--ai-text);
}

.ai-split-video-header i {
    margin-right: 6px;
    color: var(--ai-muted);
}

.ai-accent-text,
.ai-split-video-wrap-ai .ai-split-video-header i {
    color: var(--ai-accent) !important;
}

.ai-sync-badge {
    background: rgba(255, 118, 87, 0.15);
    color: #ff7657;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 118, 87, 0.4);
}

.ai-video-placeholder {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #0a0a0a;
    aspect-ratio: 16 / 9;
}

.ai-placeholder-img,
.ai-showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-placeholder-img {
    opacity: 0.6;
    filter: grayscale(0.2);
}

.ai-recording-indicator,
.ai-syncing-indicator {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-dot {
    width: 10px;
    height: 10px;
    background: #ff4757;
    border-radius: 50%;
    animation: ai-pulse 1.5s infinite;
}

.ai-syncing-indicator i {
    color: #ff7657;
}

@keyframes ai-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 71, 87, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

@media (max-width: 991px) {
    .ai-split-screen-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1199px) {
    .ai-steps-grid,
    .ai-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .ai-gui-copy {
        padding-left: 15px;
        margin-top: 28px;
    }

    .ai-compat-visual {
        margin-top: 34px;
    }

    .ai-pipeline-grid,
    .ai-pricing-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .try-model-modal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .banner-txt h3 {
        font-size: 2rem;
    }

    .banner-txt p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .ai-section {
        padding: 66px 0;
    }

    .ai-steps-grid,
    .ai-feature-grid {
        grid-template-columns: 1fr;
    }

    .ai-compat-visual-grid {
        grid-template-columns: 1fr;
    }

    .ai-compat-visual-footer {
        display: block;
    }

    .ai-compat-visual-footer strong,
    .ai-compat-visual-footer span {
        display: block;
        min-width: 0;
        text-align: left;
    }

    .ai-compat-visual-footer span {
        margin-top: 6px;
    }

    .ai-metric-row {
        grid-template-columns: 1fr;
    }

    .ai-before-after-wrapper {
        min-height: 240px;
    }

    .ai-slider-labels {
        top: 12px;
        left: 12px;
        right: 12px;
    }

    .try-model-modal .modal-header,
    .try-model-modal .modal-body {
        padding: 18px;
    }

    .try-model-stage {
        min-height: 280px;
    }
}
