﻿/* ===== Inherits dark theme palette from master ===== */
:root {
    --bg: #0b0f19;
    --bg2: #101524;
    --panel: #141b2f;
    --panel2: #18223a;
    --border: #2d3447;
    --text: #eaf1fa;
    --muted: #a3b7d8;
    --accent: #31c5f8;
    --primary: #33e27c;
    --shadow: 0 8px 32px rgba(49,197,248,.07),0 1.5px 6px rgba(30,41,59,.08);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --transition: all .23s cubic-bezier(.2,.8,.3,1)
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter,system-ui
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

/* ===== HERO ===== */
.srv-hero {
    position: relative;
    padding: 54px 0 26px
}

.srv-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden
}

.srv-hero-gradient {
    position: absolute;
    inset: -20% -10% 0 -10%;
    background: radial-gradient(1200px 600px at 0% 0%, rgba(49,197,248,.22), transparent 50%), radial-gradient(1200px 600px at 100% 0%, rgba(51,226,124,.18), transparent 50%), linear-gradient(180deg, rgba(21,28,44,.95), rgba(11,15,25,.95));
}

.srv-hero-noise {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .07;
    mix-blend: screen
}

.srv-hero-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0
}

#srvParticles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.srv-dna {
    position: absolute;
    top: 8%;
    left: -6%;
    width: 34%;
    height: 62%;
    opacity: .14;
    filter: blur(.2px);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='640' viewBox='0 0 320 640'><defs><linearGradient id='g' x1='0' x2='1'><stop offset='0' stop-color='%2331c5f8'/><stop offset='1' stop-color='%2333e27c'/></linearGradient></defs><g fill='none' stroke='url(%23g)' stroke-width='2' stroke-opacity='0.9'><path d='M40 0 C 160 80, 160 80, 280 0 M40 80 C 160 160, 160 160, 280 80 M40 160 C 160 240, 160 240, 280 160 M40 240 C 160 320, 160 320, 280 240 M40 320 C 160 400, 160 400, 280 320 M40 400 C 160 480, 160 480, 280 400 M40 480 C 160 560, 160 560, 280 480 M40 560 C 160 640, 160 640, 280 560'/><g stroke-opacity='0.35'><line x1='40' y1='0' x2='280' y2='0'/><line x1='40' y1='80' x2='280' y2='80'/><line x1='40' y1='160' x2='280' y2='160'/><line x1='40' y1='240' x2='280' y2='240'/><line x1='40' y1='320' x2='280' y2='320'/><line x1='40' y1='400' x2='280' y2='400'/><line x1='40' y1='480' x2='280' y2='480'/><line x1='40' y1='560' x2='280' y2='560'/></g></g></svg>");
    background-size: 60% auto;
    background-repeat: repeat-y;
    background-position: 0 0;
    animation: dnaScroll 16s linear infinite;
}

@keyframes dnaScroll {
    to {
        background-position-y: -640px
    }
}

.srv-hero-inner {
    display: flex;
    align-items: center;
    gap: 28px
}

.srv-hero-left {
    flex: 1 1 0
}

.srv-hero-right {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end
}

.srv-title {
    font-size: clamp(28px,4.2vw,46px);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 12px 0
}

    .srv-title span {
        background: linear-gradient(90deg,var(--accent),#79ffce);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent
    }

.srv-sub {
    color: #cbdaf7;
    margin: 0 0 16px 0;
    max-width: 720px
}

.srv-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 14px 0
}

.srv-chip {
    background: #101a2e;
    border: 1px solid var(--border);
    color: #cfe2ff;
    padding: 8px 12px;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition)
}

    .srv-chip:hover {
        background: #16213a
    }

    .srv-chip.active {
        background: linear-gradient(90deg,var(--accent),var(--primary));
        color: #0b1220;
        border-color: #2e7
    }

.srv-quick-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px
}

.btn.dark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    border-radius: 12px;
    padding: 12px 18px;
    text-decoration: none;
    transition: var(--transition)
}

    .btn.dark.primary {
        background: linear-gradient(90deg,var(--accent),var(--primary));
        color: #0b1220;
        border: 1px solid #2e7
    }

        .btn.dark.primary:hover {
            filter: brightness(1.06);
            transform: translateY(-1px)
        }

    .btn.dark.outline {
        background: transparent;
        color: var(--accent);
        border: 1.5px solid var(--accent)
    }

        .btn.dark.outline:hover {
            background: var(--accent);
            color: #0b1220;
            transform: translateY(-1px)
        }

    .btn.dark i {
        font-size: 14px
    }

/* Stats */
.srv-hero-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    width: min(520px,100%)
}

.srv-stat {
    background: #121a2e;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    box-shadow: var(--shadow)
}

    .srv-stat .num {
        font-weight: 900;
        font-size: clamp(22px,3.6vw,34px);
        color: var(--primary)
    }

    .srv-stat .lbl {
        color: #b8c7e6;
        font-weight: 700
    }

/* ===== HIGHLIGHTS ===== */
.srv-highlights {
    padding: 10px 0
}

.srv-highlights-wrap {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px
}

.hi-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #12192c;
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 12px;
    color: #d7e8ff;
    font-weight: 700;
    box-shadow: var(--shadow)
}

    .hi-item i {
        color: var(--accent)
    }

/* ===== GRID ===== */
.section-header {
    text-align: center;
    margin: 26px 0 18px 0
}

    .section-header h2 {
        font-weight: 900;
        margin: 0;
        background: linear-gradient(90deg,var(--accent),var(--primary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent
    }

    .section-header p {
        color: #b8c7e6;
        margin: 6px 0 0 0
    }

.srv-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.srv-card {
    position: relative;
    background: #141b2f;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
    isolation: isolate
}

    .srv-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 28px rgba(49,197,248,.13)
    }

    .srv-card.hide {
        display: none
    }

.srv-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    position: relative
}

    .srv-card-head h3 {
        margin: 0;
        font-weight: 900;
        letter-spacing: .2px;
        background: linear-gradient(90deg,var(--accent),#7ff0d4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent
    }

.price-tag {
    margin-left: auto;
    background: #0f1a2c;
    border: 1px solid var(--border);
    color: #eaf1fa;
    font-weight: 800;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 8px
}

.srv-card p {
    color: #cfe2ff;
    margin: 6px 0 10px 0
}

.srv-ul {
    margin: 0;
    padding-left: 18px;
    color: #cfe2ff
}

    .srv-ul li {
        margin: 4px 0
    }

.srv-grid-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px
}

/* ===== AI Effects (subset aligned with Default.css) ===== */
.ai-card {
    --ai-accent: var(--accent);
    --ai-primary: var(--ai-accent);
    --ai-accent-soft: color-mix(in oklab, var(--ai-accent) 30%, transparent);
    --ai-glow: drop-shadow(0 0 10px color-mix(in oklab, var(--ai-accent) 35%, transparent)) drop-shadow(0 6px 22px rgba(0,0,0,.35))
}

    .ai-card .ai-border {
        position: absolute;
        inset: -1px;
        border-radius: 14px;
        pointer-events: none;
        z-index: 1;
        background: conic-gradient(from 0deg at 50% 50%, color-mix(in oklab, var(--ai-primary) 70%, #fff 0%) 0deg, transparent 100deg, transparent 260deg, color-mix(in oklab, var(--ai-primary) 70%, #fff 0%) 360deg);
        filter: blur(.6px) saturate(120%);
        animation: aiSpin 8s linear infinite;
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        padding: 1px
    }

@keyframes aiSpin {
    to {
        transform: rotate(360deg)
    }
}

.ai-card .ai-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .22;
    background-image: radial-gradient(circle at 20% 10%, var(--ai-accent-soft) 0%, transparent 40%), radial-gradient(circle at 80% 0%, var(--ai-accent-soft) 0%, transparent 45%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='180' viewBox='0 0 280 180'><g stroke='%23698aac' stroke-opacity='0.35' stroke-width='0.5'><path d='M0 90 Q70 60 140 90 T280 90' fill='none'/><path d='M0 120 Q70 90 140 120 T280 120' fill='none'/><path d='M0 60 Q70 30 140 60 T280 60' fill='none'/></g></svg>");
    background-size: cover,cover,280px 180px;
    mix-blend-mode: screen
}

.ai-card .ai-scan {
    position: absolute;
    left: -50%;
    right: -50%;
    top: -120%;
    bottom: -120%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(240px 240px at var(--mx, -40px) var(--my, -40px), color-mix(in oklab, var(--ai-accent) 18%, transparent) 0%, transparent 60%);
    transition: background .12s ease;
}

.ai-card:hover .ai-scan {
    background: radial-gradient(280px 280px at var(--mx, -40px) var(--my, -40px), color-mix(in oklab, var(--ai-accent) 26%, transparent) 0%, transparent 64%);
}

.ai-card .ai-ripple {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: color-mix(in oklab, var(--ai-accent) 40%, #fff);
    transform: translate(-50%,-50%) scale(1);
    opacity: .35;
    pointer-events: none;
    z-index: 0;
    animation: ripple .9s ease-out forwards
}

@keyframes ripple {
    to {
        transform: translate(-50%,-50%) scale(16);
        opacity: 0
    }
}

.ai-card .ai-icon-orbit {
    position: relative;
    filter: var(--ai-glow)
}

    .ai-card .ai-icon-orbit .icon {
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 68px;
        height: 68px;
        border-radius: 50%;
        background: radial-gradient(120px 120px at 30% 20%, rgba(255,255,255,.08), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
        border: 1px solid color-mix(in oklab, var(--ai-accent) 45%, transparent);
        box-shadow: inset 0 0 18px rgba(255,255,255,.06)
    }

        .ai-card .ai-icon-orbit .icon img {
            width: 36px;
            height: auto
        }

.ai-card .orbit-dot, .ai-card .orbit-dot.second {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ai-accent);
    box-shadow: 0 0 10px var(--ai-accent);
    transform-origin: 34px 34px;
    z-index: 1;
    animation: orbit 6s linear infinite
}

    .ai-card .orbit-dot.second {
        width: 6px;
        height: 6px;
        opacity: .7;
        animation-duration: 9s;
        transform-origin: 42px 42px
    }

@keyframes orbit {
    to {
        transform: rotate(360deg)
    }
}

/* ===== FAQ ===== */
.srv-faq {
    padding: 26px 0
}

.faq-list {
    max-width: 920px;
    margin: 0 auto
}

.faq-item {
    background: #121a2e;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px 12px;
    margin-bottom: 10px
}

.faq-q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 800;
    padding: 10px 4px;
    cursor: pointer;
}

.faq-a {
    color: #cfe2ff;
    padding: 0 4px 8px 4px
}

/* ===== FINAL CTA ===== */
.srv-final-cta {
    padding: 26px 0 36px
}

.srv-final-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #12192c;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow)
}

.srv-final-copy h3 {
    margin: 0 0 6px 0;
    font-weight: 900
}

.srv-final-copy p {
    margin: 0;
    color: #cfe2ff
}

/* ===== Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.2,.8,.3,1), transform .6s cubic-bezier(.2,.8,.3,1);
    transition-delay: var(--reveal-delay,0ms)
}

    .reveal.in-view {
        opacity: 1;
        transform: none
    }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .srv-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px
    }

    .srv-hero-right {
        width: 100%;
        justify-content: stretch
    }

    .srv-hero-stats {
        grid-template-columns: repeat(3,1fr)
    }

    .srv-highlights-wrap {
        grid-template-columns: repeat(2,1fr)
    }

    .srv-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .srv-final-wrap {
        flex-direction: column;
        align-items: stretch
    }
}

@media (max-width: 700px) {
    .srv-highlights-wrap {
        grid-template-columns: 1fr
    }

    .srv-grid {
        grid-template-columns: 1fr
    }
}

@media (prefers-reduced-motion: reduce) {
    .srv-dna {
        animation: none !important
    }

    .ai-card .ai-border, .ai-card .orbit-dot, .ai-card .orbit-dot.second {
        animation: none !important
    }
}
