/* ==========================
   Shared Headings
========================== */

.eyebrow {
    margin: 0 0 18px;

    color: #38cfff;
    font-family: "Orbitron", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;

    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(32px, 5vw, 50px);
    line-height: 1.2;
}

.section-heading > p:last-child {
    max-width: 700px;
    margin: 22px auto 0;

    color: #b6c2d5;
    font-size: 17px;
    line-height: 1.8;
}

/* ==========================
   Hero
========================== */

.services-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: center;
    gap: 70px;

    max-width: 1400px;
    min-height: 720px;
    margin: 0 auto;
    padding: 80px 8%;
}

.services-hero-content h1 {
    margin: 0;

    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.08;
}

.services-hero-content h1 span {
    display: block;

    color: #32caff;

    text-shadow:
        0 0 20px rgba(50, 202, 255, 0.5);
}

.hero-description {
    max-width: 700px;
    margin: 28px 0;

    color: #c0cada;
    font-size: 18px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

/* Terminal */

.services-terminal {
    overflow: hidden;

    background: rgba(4, 8, 16, 0.95);
    border: 1px solid rgba(45, 201, 255, 0.35);
    border-radius: 18px;

    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.48),
        0 0 35px rgba(35, 184, 255, 0.15),
        inset 0 0 35px rgba(18, 51, 88, 0.14);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 15px;

    min-height: 48px;
    padding: 0 18px;

    background:
        linear-gradient(
            180deg,
            #1d2a43,
            #0d1423
        );

    border-bottom: 1px solid rgba(45, 201, 255, 0.18);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots span {
    width: 11px;
    height: 11px;

    background: #32caff;
    border-radius: 50%;

    box-shadow:
        0 0 8px rgba(50, 202, 255, 0.7);
}

.terminal-dots span:nth-child(2) {
    background: #9155ff;

    box-shadow:
        0 0 8px rgba(145, 85, 255, 0.7);
}

.terminal-dots span:nth-child(3) {
    background: #3ce0b4;

    box-shadow:
        0 0 8px rgba(60, 224, 180, 0.7);
}

.terminal-title {
    color: #8597b3;
    font-family: "Courier New", monospace;
    font-size: 13px;
}

.terminal-content {
    padding: 28px;

    font-family: "Courier New", monospace;
    font-size: 15px;
    line-height: 1.8;
}

.terminal-content p {
    margin: 4px 0;

    color: #aebcd0;
}

.terminal-content p > span {
    margin-right: 10px;
    color: #a95aff;
}

.terminal-content strong {
    color: #42eab4;
    font-weight: 700;
}

/* ==========================
   Service Cards
========================== */

.services-section {
    padding: 110px 7%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;

    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    position: relative;

    overflow: hidden;
    padding: 38px;

    background:
        linear-gradient(
            145deg,
            rgba(17, 25, 44, 0.94),
            rgba(7, 12, 24, 0.94)
        );

    border: 1px solid rgba(48, 195, 255, 0.2);
    border-radius: 22px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #32caff,
            #7e46ff,
            transparent
        );

    opacity: 0.75;
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(48, 195, 255, 0.48);

    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.4),
        0 0 28px rgba(48, 195, 255, 0.12);
}

.service-number {
    position: absolute;
    top: 24px;
    right: 28px;

    color: rgba(62, 206, 255, 0.18);
    font-family: "Orbitron", sans-serif;
    font-size: 48px;
    font-weight: 800;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;
    margin-bottom: 26px;

    color: #47d1ff;
    background: rgba(37, 176, 244, 0.1);
    border: 1px solid rgba(71, 209, 255, 0.35);
    border-radius: 16px;

    font-family: "Orbitron", sans-serif;
    font-size: 18px;
    font-weight: 700;

    box-shadow:
        inset 0 0 18px rgba(50, 202, 255, 0.08),
        0 0 16px rgba(50, 202, 255, 0.08);
}

.service-card h3 {
    margin: 0;

    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    font-size: 25px;
    line-height: 1.35;
}

.service-card > p {
    margin: 18px 0;

    color: #b8c3d5;
    line-height: 1.75;
}

.service-card ul {
    margin: 24px 0;
    padding: 0;

    list-style: none;
}

.service-card li {
    position: relative;

    margin: 12px 0;
    padding-left: 25px;

    color: #aebbd0;
    line-height: 1.5;
}

.service-card li::before {
    content: ">";

    position: absolute;
    left: 0;
    top: -1px;

    color: #43d3ff;
    font-size: 20px;
    font-weight: 700;
}

.service-card > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 5px;

    color: #48d2ff;
    font-weight: 600;
    text-decoration: none;
}

.service-card > a span {
    transition: transform 0.25s ease;
}

.service-card > a:hover span {
    transform: translateX(5px);
}

/* Wide card */

.service-card-wide {
    grid-column: 1 / -1;
}

.wide-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.wide-card-content p {
    margin: 18px 0 0;

    color: #b8c3d5;
    line-height: 1.75;
}

/* ==========================
   Process
========================== */

.process-section {
    padding: 100px 7%;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;

    max-width: 1350px;
    margin: 0 auto;
}

.process-grid article {
    padding: 30px;

    background: rgba(12, 19, 34, 0.78);
    border: 1px solid rgba(59, 199, 255, 0.18);
    border-radius: 18px;
}

.process-grid article > span {
    display: inline-block;

    margin-bottom: 22px;

    color: #8c4fff;
    font-family: "Orbitron", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.process-grid h3 {
    margin: 0;

    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    font-size: 21px;
}

.process-grid p {
    margin: 15px 0 0;

    color: #aebbd0;
    line-height: 1.7;
}

/* ==========================
   Why Section
========================== */

.why-section {
    padding: 80px 7% 120px;
}

.why-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;

    max-width: 1350px;
    margin: 0 auto;
    padding: 60px;

    background:
        linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.96),
            rgba(6, 11, 22, 0.96)
        );

    border: 1px solid rgba(49, 202, 255, 0.24);
    border-radius: 26px;

    box-shadow:
        0 0 42px rgba(49, 202, 255, 0.09);
}

.why-content h2 {
    margin: 0;

    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.25;
}

.why-content > p:not(.eyebrow) {
    margin: 24px 0 32px;

    color: #b5c1d4;
    line-height: 1.8;
}

.why-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.why-points div {
    min-height: 135px;
    padding: 24px;

    background: rgba(8, 14, 27, 0.72);
    border: 1px solid rgba(58, 199, 255, 0.16);
    border-radius: 17px;
}

.why-points strong {
    display: block;

    color: #42ceff;
    font-family: "Orbitron", sans-serif;
    font-size: 17px;
    line-height: 1.35;
}

.why-points span {
    display: block;
    margin-top: 9px;

    color: #9eacc1;
    line-height: 1.5;
}

/* ==========================
   CTA
========================== */

.services-cta {
    padding: 30px 30px 120px;
}

.services-cta > div {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 35px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(18, 28, 48, 0.92),
            rgba(6, 11, 23, 0.92)
        );

    border: 1px solid rgba(49, 201, 255, 0.28);
    border-radius: 25px;

    box-shadow:
        0 0 38px rgba(49, 201, 255, 0.1);
}

.services-cta h2 {
    margin: 0;

    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(32px, 5vw, 48px);
}

.services-cta p:not(.eyebrow) {
    max-width: 650px;
    margin: 20px auto 30px;

    color: #b6c2d5;
    font-size: 17px;
    line-height: 1.7;
}

/* ==========================
   Responsive
========================== */

@media (max-width: 1050px) {

    .services-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .services-terminal {
        max-width: 700px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-panel {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 780px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-wide {
        grid-column: auto;
    }

    .wide-card-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .why-panel {
        padding: 38px 25px;
    }

}

@media (max-width: 600px) {

    .services-hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .services-section,
    .process-section,
    .why-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .service-card {
        padding: 30px 23px;
    }

    .service-number {
        font-size: 38px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .why-points {
        grid-template-columns: 1fr;
    }

    .terminal-content {
        padding: 22px 18px;
        font-size: 13px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .service-card,
    .service-card > a span {
        transition: none;
    }

}