
/* =========================================================
   WINDOWS SECURITY PAGE
   Cybersecurity Life
   ========================================================= */

.windows-security-main {
    --win-bg: #020812;
    --win-panel: rgba(7, 24, 42, 0.92);
    --win-blue: #00bfff;
    --win-cyan: #57e8ff;
    --win-green: #48ffad;
    --win-purple: #8c7dff;
    --win-red: #ff657f;
    --win-yellow: #ffd166;
    --win-text: #f4fbff;
    --win-muted: #adc4d2;
    --win-border: rgba(87, 232, 255, 0.22);
    --win-shadow: 0 0 34px rgba(0, 191, 255, 0.13);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: var(--win-text);
    background:
        radial-gradient(circle at 12% 10%, rgba(0,191,255,.13), transparent 27%),
        radial-gradient(circle at 88% 18%, rgba(72,255,173,.08), transparent 24%),
        radial-gradient(circle at 52% 74%, rgba(140,125,255,.07), transparent 30%),
        linear-gradient(180deg, #020711 0%, #06101d 52%, #020811 100%);
}

.windows-security-main::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0,191,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,191,255,.055) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.98), transparent 98%);
    animation: windowsGridMove 18s linear infinite;
}

.windows-security-main::after {
    content: "";
    position: fixed;
    inset: -45%;
    z-index: -3;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            122deg,
            transparent 0,
            transparent 86px,
            rgba(0,191,255,.024) 87px,
            transparent 88px
        );
    animation: windowsBackgroundSweep 25s linear infinite;
}

.windows-security-main *,
.windows-security-main *::before,
.windows-security-main *::after {
    box-sizing: border-box;
}

.windows-security-main a {
    text-decoration: none;
}

/* =========================================================
   HERO
   ========================================================= */

.windows-hero {
    min-height: 760px;
    padding: 115px max(28px, calc((100vw - 1180px) / 2)) 95px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.windows-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(72,255,173,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,191,255,.07) 1px, transparent 1px);
    background-size: 54px 54px;
    transform: perspective(700px) rotateX(64deg) scale(1.55) translateY(28%);
    transform-origin: bottom;
    opacity: .74;
    animation: windowsHeroGrid 12s linear infinite;
}

.windows-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--win-cyan), var(--win-green), transparent);
    box-shadow: 0 0 28px rgba(0,191,255,.72);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: windowsFadeUp .9s ease both;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 15px;
    border: 1px solid rgba(72,255,173,.33);
    border-radius: 999px;
    color: var(--win-green);
    background: rgba(72,255,173,.055);
    box-shadow: 0 0 18px rgba(72,255,173,.09);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.status-badge i {
    animation: windowsShieldPulse 2.2s ease-in-out infinite;
}

.windows-hero h1 {
    margin: 0;
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    padding-right: 20px;
	
    font-size: clamp(4rem, 8vw, 7rem);
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--win-cyan), var(--win-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 44px rgba(0,191,255,.13);
}

.hero-content > p {
    max-width: 720px;
    margin: 28px 0 0;
    color: #b7cbd8;
    font-size: clamp(1rem, 1.8vw, 1.16rem);
    line-height: 1.82;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 34px;
}

.primary-btn,
.secondary-btn {
    position: relative;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 8px;
    overflow: hidden;
    font-weight: 900;
    letter-spacing: .025em;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        color .25s ease;
}

.primary-btn {
    color: #00150d;
    background: linear-gradient(135deg, var(--win-cyan), var(--win-green));
    box-shadow: 0 0 25px rgba(0,191,255,.25);
}

.primary-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.55), transparent 70%);
    transition: transform .55s ease;
}

.primary-btn:hover::before {
    transform: translateX(120%);
}

.secondary-btn {
    color: #d4f8ff;
    border: 1px solid rgba(87,232,255,.44);
    background: rgba(2,14,27,.68);
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-3px);
}

.primary-btn:hover {
    box-shadow: 0 0 36px rgba(0,191,255,.38);
}

.secondary-btn:hover {
    border-color: var(--win-green);
    box-shadow: 0 0 24px rgba(72,255,173,.14);
}

/* =========================================================
   SYSTEM STATUS CARD
   ========================================================= */

.security-status-card {
    position: relative;
    z-index: 2;
    padding: 30px;
    border: 1px solid rgba(87,232,255,.26);
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(9,31,53,.92), rgba(3,13,25,.97));
    box-shadow:
        0 0 38px rgba(0,191,255,.15),
        0 18px 46px rgba(0,0,0,.34);
    backdrop-filter: blur(12px);
    animation: windowsStatusFloat 4.8s ease-in-out infinite;
}

.security-status-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(72,255,173,.045), transparent);
    transform: translateY(-100%);
    animation: windowsStatusScan 4.7s linear infinite;
}

.security-status-card::after {
    content: "";
    position: absolute;
    right: -55px;
    top: -55px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(87,232,255,.1);
    border-radius: 50%;
    box-shadow: inset 0 0 25px rgba(72,255,173,.04);
    animation: windowsStatusRing 8s linear infinite;
}

.security-status-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    font-size: 1.35rem;
}

.status-item {
    position: relative;
    z-index: 1;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(87,232,255,.1);
}

.status-item:last-child {
    border-bottom: 0;
}

.status-item > span:first-child {
    color: #cee7f1;
}

.status-item .active {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--win-green);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.status-item .active::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--win-green);
    box-shadow: 0 0 0 0 rgba(72,255,173,.72);
    animation: windowsActivePulse 1.7s ease-out infinite;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.security-section {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 96px 0;
}

.security-section + .security-section {
    border-top: 1px solid rgba(87,232,255,.07);
}

.section-title {
    max-width: 830px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-title h2,
.windows-cta h2 {
    margin: 0 0 16px;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    background: linear-gradient(90deg, #fff, #82eaff 55%, #6affc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title p,
.windows-cta p {
    color: var(--win-muted);
    font-size: 1.03rem;
    line-height: 1.8;
}

/* =========================================================
   SHARED CARDS
   ========================================================= */

.feature-card,
.threat-card,
.practice-item {
    border: 1px solid var(--win-border);
    background:
        linear-gradient(145deg, rgba(11,31,53,.84), rgba(4,14,27,.92));
    box-shadow: var(--win-shadow);
    backdrop-filter: blur(10px);
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}

.feature-card:hover,
.threat-card:hover,
.practice-item:hover {
    transform: translateY(-7px);
    border-color: rgba(72,255,173,.48);
    background:
        linear-gradient(145deg, rgba(12,41,64,.94), rgba(4,17,32,.96));
    box-shadow:
        0 0 34px rgba(0,191,255,.15),
        0 14px 38px rgba(0,0,0,.28);
}

/* =========================================================
   FEATURES
   ========================================================= */

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

.feature-card {
    position: relative;
    min-height: 300px;
    padding: 28px;
    border-radius: 16px;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, var(--win-cyan), transparent);
    animation: windowsCardScan 5s linear infinite;
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 115px;
    height: 115px;
    border: 1px solid rgba(87,232,255,.09);
    border-radius: 50%;
    animation: windowsCardRing 9s linear infinite;
}

.feature-card > i,
.threat-card > i,
.practice-item > i {
    color: var(--win-cyan);
    font-size: 2.2rem;
    filter: drop-shadow(0 0 11px rgba(0,191,255,.3));
}

.feature-card h3,
.threat-card h3,
.practice-item h3 {
    margin: 20px 0 10px;
    font-size: 1.16rem;
}

.feature-card p,
.threat-card p,
.practice-item p {
    margin: 0;
    color: var(--win-muted);
    line-height: 1.72;
}

/* =========================================================
   THREATS
   ========================================================= */

.threat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.threat-card {
    position: relative;
    min-height: 265px;
    padding: 26px;
    border-radius: 15px;
    overflow: hidden;
}

.threat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, var(--win-red), transparent);
    animation: windowsThreatScan 4.6s linear infinite;
}

.threat-card > i {
    color: var(--win-red);
    filter: drop-shadow(0 0 11px rgba(255,101,127,.28));
}

/* =========================================================
   BEST PRACTICES
   ========================================================= */

.practice-list {
    display: grid;
    gap: 15px;
    max-width: 980px;
    margin: 0 auto;
}

.practice-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    border-radius: 13px;
}

.practice-item > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(72,255,173,.3);
    border-radius: 50%;
    color: var(--win-green);
    background: rgba(72,255,173,.05);
    font-size: 1.15rem;
    box-shadow: 0 0 0 0 rgba(72,255,173,.68);
    animation: windowsCheckPulse 2.2s ease-out infinite;
}

.practice-item h3 {
    margin-top: 0;
}

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

.windows-cta {
    min-height: 500px;
    padding: 110px max(24px, calc((100vw - 900px) / 2));
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(0,191,255,.13), transparent 38%),
        linear-gradient(180deg, rgba(4,13,25,.82), #02070f);
}

.windows-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(72,255,173,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,191,255,.055) 1px, transparent 1px);
    background-size: 38px 38px;
    transform: perspective(700px) rotateX(67deg) scale(1.6) translateY(31%);
    transform-origin: bottom;
    animation: windowsHeroGrid 12s linear infinite;
}

.windows-cta::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 440px;
    height: 440px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(87,232,255,.13);
    border-radius: 50%;
    box-shadow:
        0 0 60px rgba(0,191,255,.08),
        inset 0 0 60px rgba(72,255,173,.03);
    animation: windowsCtaRing 7s ease-in-out infinite;
}

.windows-cta h2,
.windows-cta p,
.windows-cta a {
    position: relative;
    z-index: 2;
}

.windows-cta p {
    max-width: 800px;
    margin: 0 auto 28px;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes windowsGridMove {
    from { background-position: 0 0, 0 0; }
    to { background-position: 44px 44px, 44px 44px; }
}

@keyframes windowsBackgroundSweep {
    from { transform: translate3d(-7%, -7%, 0) rotate(0deg); }
    to { transform: translate3d(7%, 7%, 0) rotate(3deg); }
}

@keyframes windowsHeroGrid {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 54px, 54px 0; }
}

@keyframes windowsFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes windowsShieldPulse {
    0%,100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(72,255,173,.28)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 12px rgba(72,255,173,.75)); }
}

@keyframes windowsStatusFloat {
    0%,100% { transform: translateY(0) rotate(-.25deg); }
    50% { transform: translateY(-13px) rotate(.25deg); }
}

@keyframes windowsStatusScan {
    from { transform: translateY(-100%); }
    to { transform: translateY(100%); }
}

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

@keyframes windowsActivePulse {
    0% { box-shadow: 0 0 0 0 rgba(72,255,173,.72); }
    70% { box-shadow: 0 0 0 10px rgba(72,255,173,0); }
    100% { box-shadow: 0 0 0 0 rgba(72,255,173,0); }
}

@keyframes windowsCardScan {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

@keyframes windowsThreatScan {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

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

@keyframes windowsCheckPulse {
    0% { box-shadow: 0 0 0 0 rgba(72,255,173,.55); }
    70% { box-shadow: 0 0 0 10px rgba(72,255,173,0); }
    100% { box-shadow: 0 0 0 0 rgba(72,255,173,0); }
}

@keyframes windowsCtaRing {
    0%,100% {
        transform: translate(-50%, -50%) scale(.94);
        opacity: .45;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: .9;
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {
    .windows-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .security-status-card {
        width: min(620px, 100%);
        margin: 0 auto;
    }

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

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

@media (max-width: 760px) {
    .security-section {
        width: min(100% - 28px, 1180px);
        padding: 76px 0;
    }

    .windows-hero {
        min-height: auto;
        padding: 92px 18px 76px;
        gap: 42px;
    }

    .windows-hero h1 {
        font-size: clamp(3.1rem, 16vw, 5rem);
    }

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

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .feature-grid,
    .threat-grid {
        grid-template-columns: 1fr;
    }

    .windows-cta {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 500px) {
    .security-status-card {
        padding: 24px;
    }

    .status-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .feature-card,
    .threat-card {
        padding: 23px;
    }

    .practice-item {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .windows-security-main *,
    .windows-security-main *::before,
    .windows-security-main *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}





/* Fix clipped Windows Security gradient text */
.windows-hero h1 {
    display: inline-block !important;
    width: fit-content !important;
    max-width: 100% !important;

    font-size: clamp(3.3rem, 6vw, 5.8rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;

    padding: 8px 40px 10px 4px !important;
    overflow: visible !important;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        var(--win-cyan) 50%,
        var(--win-green) 100%
    ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}


