:root {
    --bg: #07101d;
    --bg-soft: #0f1d33;
    --surface: rgba(14, 28, 49, 0.84);
    --surface-strong: #11223c;
    --text: #e7edf6;
    --muted: #96a9c2;
    --line: rgba(162, 187, 219, 0.25);
    --brand: #52d2ff;
    --brand-soft: rgba(82, 210, 255, 0.16);
    --accent: #ff8c5c;
    --soc: #3dd8ff;
    --pentest: #ff9b72;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
    --max: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(1200px 700px at 90% -10%, rgba(82, 210, 255, 0.16), transparent 60%),
        radial-gradient(900px 600px at 0% 10%, rgba(255, 140, 92, 0.12), transparent 60%),
        linear-gradient(160deg, #050c17 0%, #081427 42%, #07101d 100%);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(calc(100% - 2.5rem), var(--max));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(6, 14, 27, 0.84);
    border-bottom: 1px solid rgba(162, 187, 219, 0.16);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.42rem;
    border-radius: 12px;
    border: 1px solid rgba(162, 187, 219, 0.24);
    background: rgba(2, 8, 16, 0.86);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.brand-logo {
    width: clamp(96px, 11vw, 130px);
    height: auto;
    max-height: 40px;
    display: block;
    object-fit: contain;
}

.brand-meaning {
    display: inline-block;
    max-width: min(34vw, 340px);
    color: #a1b7d1;
    font-size: 0.66rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: normal;
    overflow-wrap: anywhere;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem;
    border-radius: 999px;
    border: 1px solid rgba(162, 187, 219, 0.26);
    background: rgba(12, 22, 40, 0.65);
}

.language-option {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #b9cce3;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.55rem;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease;
}

.language-option:hover {
    color: #ecf5ff;
    background: rgba(82, 210, 255, 0.12);
}

.language-option[aria-pressed="true"] {
    color: #eff7ff;
    background: rgba(82, 210, 255, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    color: #c8d7ea;
    font-size: 0.95rem;
    transition: color 180ms ease, background-color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    background: var(--brand-soft);
    color: #f3fbff;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #d7e8fb;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(120deg, var(--brand), #2ca6ff);
    color: #05203e;
    box-shadow: 0 8px 20px rgba(82, 210, 255, 0.28);
}

.button-primary:hover {
    box-shadow: 0 12px 24px rgba(82, 210, 255, 0.32);
}

.button-ghost {
    border-color: rgba(162, 187, 219, 0.34);
    color: #d9e8f8;
    background: rgba(12, 22, 40, 0.5);
}

.button-ghost:hover {
    border-color: rgba(82, 210, 255, 0.52);
}

.button-inline {
    margin-top: auto;
    font-size: 0.92rem;
}

main {
    padding-bottom: 5rem;
}

.hero {
    padding: 5.5rem 0 3rem;
}

body[data-page="services"] .hero {
    padding-bottom: 1.2rem;
}

body[data-page="contact"] .hero {
    padding-bottom: 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.22fr 0.78fr;
    gap: 1.6rem;
    align-items: stretch;
}

.hero-content,
.hero-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-content {
    padding: clamp(1.5rem, 3vw, 3rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    padding: 0.33rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    color: #0c355f;
    background: linear-gradient(120deg, #89f0ff, #7fc9ff);
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.55rem);
    margin-bottom: 0.9rem;
    letter-spacing: -0.03em;
}

.lead {
    max-width: 62ch;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero-inline-media {
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(162, 187, 219, 0.24);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.hero-inline-media img {
    width: 100%;
    height: clamp(190px, 26vw, 300px);
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-inline-media-compact img {
    height: clamp(140px, 17vw, 210px);
}

.banner-section {
    padding: 0.15rem 0 0;
}

.feature-banner {
    position: relative;
    height: clamp(82px, 9vw, 116px);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(162, 187, 219, 0.24);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.feature-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 66%;
}

.feature-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: clamp(0.45rem, 1.1vw, 0.7rem) clamp(0.72rem, 1.8vw, 1rem);
    background:
        linear-gradient(90deg, rgba(4, 10, 18, 0.72) 0%, rgba(4, 10, 18, 0.38) 56%, rgba(4, 10, 18, 0.2) 100%),
        linear-gradient(180deg, rgba(4, 10, 18, 0.3), rgba(4, 10, 18, 0.48));
}

.feature-banner-overlay h2 {
    margin: 0;
    max-width: 38ch;
    font-size: clamp(0.75rem, 1.04vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.14;
    color: #d8ebff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.6rem;
}

.stat-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.stat {
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    background: rgba(82, 210, 255, 0.08);
    border: 1px solid rgba(82, 210, 255, 0.2);
}

.stat strong {
    display: block;
    font-size: 1.2rem;
    color: #f2f8ff;
    margin-bottom: 0.2rem;
}

.stat span {
    color: #a4bddb;
    font-size: 0.86rem;
}

.hero-panel {
    padding: 1.35rem;
    display: grid;
    gap: 0.8rem;
}

.panel-card {
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(162, 187, 219, 0.21);
    background: rgba(8, 18, 32, 0.58);
}

.panel-card h3 {
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.panel-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-panel .panel-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section {
    padding: 3.2rem 0 0;
}

#soc-services {
    padding-top: 0.65rem;
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.section-head h2 {
    font-size: clamp(1.45rem, 3.2vw, 2.1rem);
    margin-bottom: 0.35rem;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    max-width: 66ch;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(162, 187, 219, 0.34);
    background: rgba(15, 30, 52, 0.6);
    color: #c0d4ed;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-head .pill {
    margin-bottom: 0.45rem;
}

.section-media {
    margin: 0 0 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(162, 187, 219, 0.24);
    box-shadow: var(--shadow);
}

.section-media img {
    width: 100%;
    height: clamp(200px, 26vw, 320px);
    display: block;
    object-fit: cover;
    object-position: center;
}

.section-media-soc img {
    object-position: center 38%;
}

.section-media-pentest img {
    object-position: center 44%;
}

.card-grid {
    display: grid;
    gap: 1rem;
}

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

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.content-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.3rem;
    border-radius: var(--radius);
    border: 1px solid rgba(162, 187, 219, 0.24);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.service-card.soc {
    border-color: rgba(61, 216, 255, 0.42);
    box-shadow: 0 14px 36px rgba(18, 110, 141, 0.2);
}

.service-card.pentest {
    border-color: rgba(255, 155, 114, 0.44);
    box-shadow: 0 14px 36px rgba(151, 64, 36, 0.23);
}

.service-card h3,
.content-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0;
}

.tag {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 0.26rem 0.62rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.tag.soc {
    color: #78ecff;
    background: rgba(61, 216, 255, 0.14);
}

.tag.pentest {
    color: #ffbe9f;
    background: rgba(255, 155, 114, 0.15);
}

.service-card p,
.content-card p {
    margin: 0;
    color: var(--muted);
}

.content-card-vcenter {
    justify-content: center;
}

.bullet-list {
    margin: 0;
    padding-left: 1rem;
    color: #dce8f7;
}

.bullet-list li {
    margin-bottom: 0.45rem;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.timeline {
    display: grid;
    gap: 0.85rem;
}

.timeline-step {
    padding: 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(162, 187, 219, 0.2);
    background: rgba(6, 15, 27, 0.58);
}

.timeline-step strong {
    color: #f0f6ff;
    font-size: 0.93rem;
}

.timeline-step p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.cta-band {
    margin-top: 3.2rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(82, 210, 255, 0.27);
    background: linear-gradient(125deg, rgba(82, 210, 255, 0.12), rgba(255, 140, 92, 0.13));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cta-band h3 {
    margin-bottom: 0.25rem;
}

.cta-band p {
    margin: 0;
    color: #c8daee;
}

.contact-panel {
    margin-top: 0.2rem;
    padding-top: 0.8rem;
}

.contact-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.contact-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(162, 187, 219, 0.22);
    background: rgba(10, 20, 36, 0.58);
}

.contact-item strong {
    display: block;
    margin-bottom: 0.3rem;
}

.profile-section {
    padding-top: 1rem;
}

.profile-section .split {
    align-items: stretch;
}

.profile-card {
    margin: 0;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(162, 187, 219, 0.24);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.profile-card img {
    width: 100%;
    height: clamp(250px, 31vw, 360px);
    display: block;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 0;
}

.profile-copy {
    justify-content: flex-start;
}

.profile-copy .pill {
    margin-bottom: 0.25rem;
}

.profile-copy h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
}

.profile-copy .bullet-list {
    margin-top: 0.2rem;
}

.site-footer {
    margin-top: 4.2rem;
    padding: 2rem 0 2.8rem;
    border-top: 1px solid rgba(162, 187, 219, 0.16);
    color: #9eb2cc;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-links a {
    color: #c3d7ef;
}

.footer-links a:hover {
    color: #f1f8ff;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border: 1px solid rgba(162, 187, 219, 0.3);
    border-radius: 999px;
    transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.footer-social-link svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.footer-social-link:hover {
    border-color: rgba(241, 248, 255, 0.5);
    background-color: rgba(241, 248, 255, 0.08);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
}

[data-reveal].visible {
    animation: revealIn 600ms ease forwards;
}

@keyframes revealIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section,
.hero {
    scroll-margin-top: 88px;
}

@media (min-width: 981px) {
    .profile-card {
        position: relative;
        min-height: 100%;
        align-self: stretch;
    }

    .profile-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .split,
    .contact-grid,
    .card-grid.three {
        grid-template-columns: 1fr;
    }

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

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

    .brand-meaning {
        max-width: 220px;
        font-size: 0.6rem;
    }

    .feature-banner {
        height: clamp(76px, 12vw, 96px);
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 70px;
    }

    .brand-logo-wrap {
        padding: 0.15rem 0.32rem;
    }

    .brand-logo {
        width: 92px;
        max-height: 32px;
    }

    .brand-meaning {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.8rem);
        right: 0;
        min-width: 220px;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 0.55rem;
        border-radius: 12px;
        border: 1px solid rgba(162, 187, 219, 0.24);
        background: rgba(6, 14, 27, 0.98);
        box-shadow: var(--shadow);
    }

    .nav-links a {
        width: 100%;
    }

    .site-nav.open .nav-links {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding-top: 4.2rem;
    }

    .stat-list {
        grid-template-columns: 1fr;
    }

    .feature-banner {
        height: 78px;
    }

    .feature-banner-overlay {
        justify-content: flex-end;
        padding-bottom: 0.42rem;
    }

    .feature-banner-overlay h2 {
        display: none;
    }

    .section-media img {
        height: clamp(170px, 45vw, 240px);
    }

    .container {
        width: min(calc(100% - 1.4rem), var(--max));
    }
}
