/* =============================================================
   sec-hero – Cyber Security Hero
   Layout: dark split, Orbitron headline, blue accent, shield image
   ============================================================= */

/* ── Orbitron Font (cyber/tech headline) ─────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Inter:wght@400;500;600&display=swap');

/* ── Spacing-Tokens ─────────────────────────────────────────── */
.c-sec-hero--space-top-none    { padding-top: 0 !important; }
.c-sec-hero--space-top-small   { padding-top: 2rem !important; }
.c-sec-hero--space-top-medium  { padding-top: 4rem !important; }
.c-sec-hero--space-top-large   { padding-top: 6rem !important; }
.c-sec-hero--space-top-xlarge  { padding-top: 9rem !important; }

.c-sec-hero--space-bottom-none   { padding-bottom: 0 !important; }
.c-sec-hero--space-bottom-small  { padding-bottom: 2rem !important; }
.c-sec-hero--space-bottom-medium { padding-bottom: 4rem !important; }
.c-sec-hero--space-bottom-large  { padding-bottom: 6rem !important; }
.c-sec-hero--space-bottom-xlarge { padding-bottom: 9rem !important; }

/* ── Base ────────────────────────────────────────────────────── */
.c-sec-hero {
    position: relative;
    overflow: hidden;
    background-color: #060a12;
    color: #e2e8f0;
    padding-top: calc(80px + 4rem);
    padding-bottom: 5rem;
    isolation: isolate;
}

/* ── Circuit/Grid Background Texture ────────────────────────── */
.c-sec-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(77,180,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77,180,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ── Radial glow – bottom right (blue) ──────────────────────── */
.c-sec-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: 5%;
    width: 55%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(77,180,255,0.12) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}

/* ── Background variants ─────────────────────────────────────── */
.c-sec-hero--bg-white  { background-color: #ffffff; color: #111827; }
.c-sec-hero--bg-light  { background-color: #f8fafc; color: #111827; }
.c-sec-hero--bg-blue   { background-color: #1d4ed8; color: #f8fafc; }
.c-sec-hero--bg-dark   { background-color: #060a12; color: #e2e8f0; }
.c-sec-hero--bg-gradient {
    background: linear-gradient(135deg, #060a12 0%, #0f1f38 60%, #060a12 100%);
    color: #e2e8f0;
}

/* ── Theme overrides ─────────────────────────────────────────── */
.c-sec-hero--theme-dark     { background-color: #060a12; color: #e2e8f0; }
.c-sec-hero--theme-light    { background-color: #f8fafc; color: #111827; }
.c-sec-hero--theme-gradient {
    background: linear-gradient(135deg, #060a12 0%, #0f1f38 55%, #080e1a 100%);
    color: #e2e8f0;
}

/* ── Visual variant: quantum ─────────────────────────────────── */
.c-sec-hero--visual-quantum .c-sec-hero::before {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(77,180,255,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30,60,90,0.1) 0%, transparent 40%),
        linear-gradient(rgba(77,180,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77,180,255,0.04) 1px, transparent 1px);
    background-size: auto, auto, 40px 40px, 40px 40px;
}

/* ── Background image ────────────────────────────────────────── */
.c-sec-hero__bg-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.c-sec-hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
}

/* ── Inner / container ───────────────────────────────────────── */
.c-sec-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 3rem;
}

/* Max-width variants */
.c-sec-hero__inner--text    { max-width: 720px; }
.c-sec-hero__inner--content { max-width: 1100px; }
.c-sec-hero__inner--wide    { max-width: 1320px; }
.c-sec-hero__inner--full    { max-width: 100%; }

/* ── Split layout: left text | right image ───────────────────── */
.c-sec-hero--layout-split .c-sec-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* ── Centered layout ─────────────────────────────────────────── */
.c-sec-hero--layout-centered .c-sec-hero__content {
    text-align: center;
    margin: 0 auto;
    max-width: 760px;
}
.c-sec-hero--layout-centered .c-sec-hero__actions {
    justify-content: center;
}
.c-sec-hero--layout-centered .c-sec-hero__trust-list {
    justify-content: center;
}

/* ── Content column ──────────────────────────────────────────── */
.c-sec-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-self: center;
}

/* ── Eyebrow ─────────────────────────────────────────────────── */
.c-sec-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4db4ff;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
}

.c-sec-hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 2px;
    background: #4db4ff;
    flex-shrink: 0;
}

/* ── Headline ────────────────────────────────────────────────── */
.c-sec-hero__headline {
    font-family: 'Orbitron', 'Share Tech Mono', monospace;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    word-break: break-word;
}

.c-sec-hero__headline-highlight {
    color: #4db4ff;
    display: inline-block;
    position: relative;
}

/* ── Lead text ───────────────────────────────────────────────── */
.c-sec-hero__lead {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    line-height: 1.75;
    color: rgba(226,232,240,0.7);
    margin: 0;
    max-width: 520px;
}

/* ── Direct Answer Box ───────────────────────────────────────── */
.c-sec-hero__direct-answer {
    background: rgba(77,180,255,0.07);
    border-left: 3px solid #4db4ff;
    border-radius: 0 6px 6px 0;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}
.c-sec-hero__direct-answer p:last-child { margin-bottom: 0; }

/* ── Actions ─────────────────────────────────────────────────── */
.c-sec-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.c-sec-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.25rem;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.c-sec-hero__btn--primary {
    background: #4db4ff;
    color: #060a12;
    box-shadow: 0 0 24px rgba(77,180,255,0.35), 0 4px 16px rgba(77,180,255,0.2);
}

.c-sec-hero__btn--primary:hover,
.c-sec-hero__btn--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(77,180,255,0.5), 0 8px 24px rgba(77,180,255,0.3);
    opacity: 0.95;
}

.c-sec-hero__btn--secondary {
    background: transparent;
    border: 2px solid rgba(77,180,255,0.5);
    color: #4db4ff;
}

.c-sec-hero__btn--secondary:hover,
.c-sec-hero__btn--secondary:focus-visible {
    border-color: #4db4ff;
    background: rgba(77,180,255,0.08);
    transform: translateY(-2px);
}

/* ── Trust Items ─────────────────────────────────────────────── */
.c-sec-hero__trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
}

.c-sec-hero__trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    color: rgba(226,232,240,0.75);
}

.c-sec-hero__trust-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.05em;
}

.c-sec-hero__trust-label {
    font-weight: 600;
    color: rgba(226,232,240,0.9);
}

.c-sec-hero__trust-text {
    display: block;
    opacity: 0.65;
    font-size: 0.75rem;
}

/* ── Media / Shield Image column ────────────────────────────── */
.c-sec-hero__media {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Glow halo behind shield image */
.c-sec-hero__media::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(77,180,255,0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(20px);
}

.c-sec-hero__image {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 40px rgba(77,180,255,0.3));
    animation: shieldFloat 6s ease-in-out infinite;
    border-radius: 0;
}

@keyframes shieldFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

/* Media position variants */
.c-sec-hero--image-position-left .c-sec-hero__inner {
    grid-template-columns: 1fr 1fr;
}
.c-sec-hero--image-position-left .c-sec-hero__media {
    order: 1;
}
.c-sec-hero--image-position-left .c-sec-hero__content {
    order: 2;
}

.c-sec-hero--image-position-right .c-sec-hero__inner {
    grid-template-columns: 1fr 1fr;
}
.c-sec-hero--image-position-right .c-sec-hero__media {
    order: 2;
}
.c-sec-hero--image-position-right .c-sec-hero__content {
    order: 1;
}

.c-sec-hero--image-position-below .c-sec-hero__inner,
.c-sec-hero--image-position-background .c-sec-hero__inner,
.c-sec-hero--image-position-none .c-sec-hero__inner {
    grid-template-columns: 1fr !important;
}

.c-sec-hero--image-position-below .c-sec-hero__media {
    order: 2;
    margin-top: 2rem;
    justify-content: center;
}
.c-sec-hero--image-position-below .c-sec-hero__content {
    order: 1;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
    .c-sec-hero--layout-split .c-sec-hero__inner,
    .c-sec-hero--image-position-left .c-sec-hero__inner,
    .c-sec-hero--image-position-right .c-sec-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .c-sec-hero--image-position-left .c-sec-hero__media,
    .c-sec-hero--image-position-right .c-sec-hero__media {
        order: -1 !important;
    }

    .c-sec-hero--image-position-left .c-sec-hero__content,
    .c-sec-hero--image-position-right .c-sec-hero__content {
        order: 1 !important;
    }

    .c-sec-hero__image {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .c-sec-hero {
        padding-top: calc(80px + 2.5rem);
        padding-bottom: 3.5rem;
    }

    .c-sec-hero__headline {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }

    .c-sec-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .c-sec-hero__btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .c-sec-hero__trust-list {
        flex-direction: column;
        gap: 0.875rem;
    }
}
