/* =========================================================
   01. ROOT
========================================================= */

:root {
    --sp-bg: #05070b;
    --sp-bg-soft: #0a0f18;
    --sp-surface: rgba(255, 255, 255, 0.04);
    --sp-surface-strong: rgba(255, 255, 255, 0.06);
    --sp-surface-soft: rgba(255, 255, 255, 0.03);
    --sp-border: rgba(255, 255, 255, 0.09);
    --sp-border-strong: rgba(193, 255, 114, 0.18);
    --sp-text: #f4f7fb;
    --sp-text-soft: rgba(244, 247, 251, 0.76);
    --sp-text-muted: rgba(244, 247, 251, 0.54);
    --sp-blue: #5fa8ff;
    --sp-blue-soft: #8bc3ff;
    --sp-green: #c1ff72;
    --sp-green-soft: #d8ffac;
    --sp-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
    --sp-radius-xl: 28px;
    --sp-radius-lg: 22px;
    --sp-radius-md: 18px;
    --sp-radius-sm: 14px;
    --sp-container: 1240px;
}

/* =========================================================
   02. BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.service-page {
    position: relative;
    overflow: clip;
    background:
        radial-gradient(circle at 12% 14%, rgba(95, 168, 255, 0.13), transparent 0 30%),
        radial-gradient(circle at 88% 18%, rgba(193, 255, 114, 0.09), transparent 0 24%),
        radial-gradient(circle at 50% 100%, rgba(95, 168, 255, 0.08), transparent 0 28%),
        linear-gradient(180deg, #060910 0%, #070b12 34%, #05070b 100%);
    color: var(--sp-text);
}

.service-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.12) 35%, transparent 72%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.12) 35%, transparent 72%);
    opacity: 0.72;
}

.service-page .container {
    width: min(100% - 40px, var(--sp-container));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-page a {
    text-decoration: none;
}

.service-page p {
    margin: 0;
    color: var(--sp-text-soft);
    line-height: 1.8;
    font-size: 16px;
}

.service-page h1,
.service-page h2,
.service-page h3 {
    margin: 0;
    color: var(--sp-text);
    letter-spacing: -0.03em;
}

.service-page h1,
.service-page h2,
.service-page h3,
.service-page .btn,
.service-page .service-eyebrow,
.service-page .section-kicker,
.service-page .service-card__number,
.service-page .service-highlight-card__label {
    font-family: "Sora", sans-serif;
}

.service-page p,
.service-page li,
.service-page .text-link {
    font-family: "Montserrat", sans-serif;
}

/* =========================================================
   03. BUTTONS
========================================================= */

.service-page .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        background 0.24s ease,
        color 0.24s ease,
        box-shadow 0.24s ease;
    overflow: hidden;
    white-space: nowrap;
}

.service-page .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 38%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.08) 62%,
        transparent 100%
    );
    transition: transform 0.72s ease;
    pointer-events: none;
}

.service-page .btn:hover::before {
    transform: translateX(120%);
}

.service-page .btn:hover {
    transform: translateY(-2px);
}

.service-page .btn-primary {
    color: #07110a;
    background: linear-gradient(135deg, var(--sp-green) 0%, #d8ffab 100%);
    box-shadow:
        0 12px 30px rgba(193, 255, 114, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.service-page .btn-primary:hover {
    box-shadow:
        0 18px 34px rgba(193, 255, 114, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.service-page .btn-secondary {
    color: var(--sp-text);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--sp-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.service-page .btn-secondary:hover {
    border-color: rgba(193, 255, 114, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* =========================================================
   04. SHARED SECTIONS
========================================================= */

.service-hero,
.service-section,
.service-cta {
    position: relative;
}

.service-hero {
    padding: 110px 0 72px;
}

.service-section {
    padding: 36px 0 36px;
}

.service-section--soft {
    padding-top: 24px;
    padding-bottom: 84px;
}

.service-cta {
    padding: 0 0 100px;
}

.section-heading {
    max-width: 860px;
    margin: 0 0 34px;
}

.section-kicker,
.service-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sp-green-soft);
    background: rgba(193, 255, 114, 0.08);
    border: 1px solid rgba(193, 255, 114, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 18px;
}

.section-heading h2 {
    position: relative;
    font-size: clamp(29px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 16px;
    max-width: 860px;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 108px;
    height: 1px;
    margin-top: 16px;
    background: linear-gradient(90deg, var(--sp-blue) 0%, var(--sp-blue-soft) 44%, var(--sp-green) 78%, transparent 100%);
    opacity: 0.95;
}

.section-heading p {
    max-width: 760px;
    font-size: 16px;
    color: var(--sp-text-soft);
}

/* =========================================================
   05. HERO
========================================================= */

.service-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 26px;
    align-items: stretch;
}

.service-hero__content,
.service-highlight-card,
.service-card,
.service-point,
.service-cta__box {
    position: relative;
    border-radius: var(--sp-radius-xl);
    border: 1px solid var(--sp-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.025) 100%);
    box-shadow: var(--sp-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.service-hero__content {
    padding: 38px 38px 34px;
    overflow: hidden;
}

.service-hero__content::before,
.service-highlight-card::before,
.service-card::before,
.service-point::before,
.service-cta__box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(95, 168, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.03) 30%,
        rgba(193, 255, 114, 0.14) 100%
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.9;
}

.service-title {
    max-width: 720px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.97;
    font-weight: 600;
    margin-bottom: 18px;
}

.service-lead {
    max-width: 760px;
    font-size: 17px;
    color: var(--sp-text-soft);
}

.service-lead + .service-lead {
    margin-top: 16px;
    color: var(--sp-text-muted);
}

.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.service-hero__aside {
    display: flex;
}

.service-highlight-card {
    width: 100%;
    padding: 28px 26px;
    align-self: stretch;
    background:
        radial-gradient(circle at top right, rgba(193, 255, 114, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.025) 100%);
}

.service-highlight-card__label {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sp-blue-soft);
}

.service-highlight-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.service-highlight-list li {
    position: relative;
    padding-left: 18px;
    color: var(--sp-text-soft);
    font-size: 14px;
    line-height: 1.7;
}

.service-highlight-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sp-green) 0%, var(--sp-blue-soft) 100%);
    box-shadow: 0 0 0 6px rgba(193, 255, 114, 0.06);
    transform: translateY(-50%);
}

/* =========================================================
   06. SYSTEM GRID / CARDS
========================================================= */

.service-grid {
    display: grid;
    gap: 22px;
}

.service-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
    padding: 30px 28px 26px;
    overflow: hidden;
}

.service-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    margin-bottom: 18px;
    background: rgba(95, 168, 255, 0.08);
    border: 1px solid rgba(95, 168, 255, 0.14);
    color: var(--sp-blue-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.service-card h3 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
    font-weight: 600;
    margin-bottom: 14px;
    max-width: 560px;
}

.service-card p + p {
    margin-top: 14px;
}

.service-card__actions {
    margin-top: 22px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sp-green-soft);
    transition: color 0.22s ease, transform 0.22s ease;
}

.text-link::after {
    content: "→";
    font-size: 16px;
    line-height: 1;
    transition: transform 0.22s ease;
}

.text-link:hover {
    color: var(--sp-green);
    transform: translateX(1px);
}

.text-link:hover::after {
    transform: translateX(3px);
}

/* =========================================================
   07. WHY IT MATTERS / POINTS
========================================================= */

.service-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-point {
    padding: 26px 24px 22px;
    min-height: 100%;
    background:
        radial-gradient(circle at top right, rgba(95, 168, 255, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.025) 100%);
}

.service-point h3 {
    position: relative;
    font-size: 19px;
    line-height: 1.18;
    font-weight: 600;
    margin-bottom: 14px;
    padding-bottom: 14px;
}

.service-point h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 74px;
    height: 1px;
    background: linear-gradient(90deg, var(--sp-blue) 0%, var(--sp-green) 75%, transparent 100%);
    opacity: 0.9;
}

.service-point p {
    font-size: 15px;
    color: var(--sp-text-soft);
}

/* =========================================================
   08. CTA
========================================================= */

.service-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 24%, rgba(193, 255, 114, 0.1), transparent 26%),
        radial-gradient(circle at 10% 14%, rgba(95, 168, 255, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.service-cta__content {
    max-width: 720px;
}

.service-cta__content h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.06;
    font-weight: 600;
    margin-bottom: 14px;
}

.service-cta__content p {
    max-width: 700px;
}

.service-cta__box .service-actions {
    margin-top: 0;
    flex-shrink: 0;
}

/* =========================================================
   09. SCOUTING PAGE MICRO-TWEAKS
========================================================= */

.service-page--scouting .service-title {
    max-width: 820px;
}

.service-page--scouting .service-hero__content {
    min-height: 100%;
}

.service-page--scouting .service-card:hover,
.service-page--scouting .service-point:hover,
.service-page--scouting .service-highlight-card:hover,
.service-page--scouting .service-cta__box:hover,
.service-page--scouting .service-hero__content:hover {
    border-color: rgba(193, 255, 114, 0.14);
    transform: translateY(-2px);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease;
}

.service-page--scouting .service-card,
.service-page--scouting .service-point,
.service-page--scouting .service-highlight-card,
.service-page--scouting .service-cta__box,
.service-page--scouting .service-hero__content {
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease;
}

/* =========================================================
   10. RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
    .service-hero {
        padding-top: 96px;
    }

    .service-hero__inner {
        grid-template-columns: 1fr;
    }

    .service-cta__box {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-cta__box .service-actions {
        width: 100%;
    }
}

@media (max-width: 980px) {
    .service-grid--2,
    .service-points {
        grid-template-columns: 1fr;
    }

    .service-title {
        font-size: clamp(36px, 9vw, 58px);
    }

    .section-heading h2,
    .service-cta__content h2 {
        font-size: clamp(28px, 6vw, 40px);
    }
}

@media (max-width: 767px) {
    .service-page .container {
        width: min(100% - 28px, var(--sp-container));
    }

    .service-hero {
        padding: 82px 0 48px;
    }

    .service-section {
        padding: 28px 0 28px;
    }

    .service-section--soft {
        padding-bottom: 64px;
    }

    .service-cta {
        padding-bottom: 74px;
    }

    .service-hero__content,
    .service-highlight-card,
    .service-card,
    .service-point,
    .service-cta__box {
        border-radius: 22px;
    }

    .service-hero__content {
        padding: 26px 22px 24px;
    }

    .service-highlight-card,
    .service-card,
    .service-point {
        padding: 22px 20px;
    }

    .service-cta__box {
        padding: 24px 20px;
    }

    .service-eyebrow,
    .section-kicker {
        margin-bottom: 14px;
        padding: 9px 12px;
        font-size: 10px;
        letter-spacing: 0.13em;
    }

    .service-title {
        margin-bottom: 14px;
        line-height: 1.02;
    }

    .service-lead,
    .section-heading p,
    .service-point p,
    .service-card p,
    .service-cta__content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .section-heading h2::after {
        width: 88px;
        margin-top: 14px;
    }

    .service-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .service-page .btn {
        width: 100%;
        min-height: 50px;
    }

    .service-card h3 {
        font-size: 24px;
    }

    .service-point h3 {
        font-size: 18px;
    }

    .service-highlight-list {
        gap: 12px;
    }
}

@media (max-width: 479px) {
    .service-title {
        font-size: 32px;
    }

    .service-hero__content,
    .service-highlight-card,
    .service-card,
    .service-point,
    .service-cta__box {
        border-radius: 20px;
    }

    .service-card__number {
        min-width: 50px;
        height: 32px;
        font-size: 11px;
    }
}

/* =========================================
   SERVICES HERO
========================================= */

.services-hero {
    position: relative;
    padding: 120px 0 80px;
}

.services-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

/* LEFT */

.services-hero-title {
    font-family: 'Sora', sans-serif;
    font-size: 64px;
    line-height: 1.05;
    font-weight: 500;
    margin-bottom: 20px;
}

.services-hero-accent {
    background: linear-gradient(90deg, #5fa8ff, #c1ff72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero-lead {
    font-size: 18px;
    margin-bottom: 12px;
}

.services-hero-sub {
    font-size: 15px;
    opacity: 0.7;
    margin-bottom: 28px;
}

.services-hero-actions {
    display: flex;
    gap: 12px;
}

/* RIGHT PANEL */

.services-hero-panel {
    position: relative;
    padding: 30px;
    border-radius: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
}

.services-hero-panel-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(193,255,114,0.2), transparent 70%);
    filter: blur(40px);
}

.services-hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-hero-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Sora';
    margin-bottom: 14px;
}

.services-hero-list span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c1ff72;
    box-shadow: 0 0 10px #c1ff72;
}

/* =========================================
   CARDS
========================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* DOT */

.service-index-dot {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#c1ff72;
    margin-bottom:16px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 900px){
    .services-hero-inner{
        grid-template-columns:1fr;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

    .services-hero-title{
        font-size:42px;
    }
}

.services-page {
    background: #05070b;
    color: #fff;
}

/* HERO */

.services-page-hero {
    padding: 120px 0 80px;
}

.services-page-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.services-title {
    font-size: 64px;
    line-height: 1.05;
}

.services-title span {
    background: linear-gradient(90deg,#5fa8ff,#c1ff72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-lead {
    margin-top:20px;
}

.services-sub {
    opacity:.7;
    margin-top:10px;
}

.services-actions {
    margin-top:25px;
    display:flex;
    gap:10px;
}

/* RIGHT PANEL */

.hero-panel {
    padding:30px;
    border-radius:20px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    position:relative;
}

.hero-glow {
    position:absolute;
    inset:0;
    background: radial-gradient(circle, rgba(193,255,114,0.2), transparent 70%);
    filter: blur(40px);
}

.hero-panel ul {
    list-style:none;
    padding:0;
}

.hero-panel li {
    display:flex;
    gap:10px;
    margin-bottom:12px;
}

.hero-panel span {
    width:8px;
    height:8px;
    background:#c1ff72;
    border-radius:50%;
}

/* GRID */

.services-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
    margin-top:60px;
}

.service-card {
    padding:24px;
    border-radius:20px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    transition:.3s;
}

.service-card:hover {
    transform:translateY(-6px);
}

/* DOT */

.service-index-dot {
    width:46px;
    height:46px;
    border-radius:50%;
    background:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#c1ff72;
    margin-bottom:16px;
}

/* FLOW */

.services-flow {
    margin-top:80px;
}

.services-flow-inner {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.flow-step {
    padding:20px;
    border-radius:16px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
}

.flow-step span {
    color:#c1ff72;
    display:block;
    margin-bottom:6px;
}

/* RESPONSIVE */

@media(max-width:900px){
    .services-page-hero-inner {
        grid-template-columns:1fr;
    }

    .services-grid {
        grid-template-columns:1fr;
    }

    .services-title {
        font-size:42px;
    }
}