/* ============================================================
   MASKERIP.COM
   Responsive Stylesheet
   File: /assets/css/responsive.css

   Breakpoints:
   1200px  - smaller desktop
   992px   - tablet / compact navigation
   768px   - mobile
   480px   - small mobile
   ============================================================ */


/* ============================================================
   SMALLER DESKTOP
   ============================================================ */

@media (max-width: 1200px) {

    :root {
        --container: 1080px;
    }

    .hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, .85fr);

        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(48px, 5vw, 68px);
    }

    .hero-visual {
        transform: scale(.92);
    }

    .nav-links {
        gap: 22px;
        margin-right: 25px;
    }

}


/* ============================================================
   TABLET / SMALL LAPTOP
   ============================================================ */

@media (max-width: 992px) {

    /* --------------------------------------------------------
       GENERAL
       -------------------------------------------------------- */

    .container {
        width: min(
            100% - 36px,
            900px
        );
    }

    .section {
        padding: 85px 0;
    }


    /* --------------------------------------------------------
       NAVIGATION
       -------------------------------------------------------- */

    .navbar {
        height: 74px;
    }

    .brand-logo {
        height: 55px;
    }

    .nav-links {
        position: absolute;

        top: 74px;
        left: 18px;
        right: 18px;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        margin: 0;

        padding: 10px;

        border:
            1px solid rgba(255,255,255,.09);

        border-radius: 14px;

        background:
            rgba(3,10,23,.98);

        box-shadow:
            0 25px 60px rgba(0,0,0,.40);

        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;

        padding: 13px 14px;

        border-radius: 9px;

        font-size: 13px;
    }

    .nav-links a:hover {
        background:
            rgba(25,174,255,.07);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
        margin-right: 12px;
    }

    .mobile-menu-button {
        display: flex;
    }


    /* --------------------------------------------------------
       HERO
       -------------------------------------------------------- */

    .hero {
        min-height: auto;

        padding:
            85px 0 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .hero-content {
        max-width: 760px;

        margin: auto;

        text-align: center;
    }

    .status-pill {
        margin:
            0 auto 23px;
    }

    .hero h1 {
        max-width: 760px;

        margin-left: auto;
        margin-right: auto;

        font-size:
            clamp(50px, 8vw, 70px);
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;

        max-width: 650px;

        min-height: 500px;

        margin: auto;

        transform: none;
    }


    /* --------------------------------------------------------
       STATS
       -------------------------------------------------------- */

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom:
            1px solid rgba(255,255,255,.06);
    }


    /* --------------------------------------------------------
       FEATURES
       -------------------------------------------------------- */

    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* --------------------------------------------------------
       HOW IT WORKS
       -------------------------------------------------------- */

    .steps-grid {
        grid-template-columns: 1fr;

        max-width: 650px;
    }

    .step-card {
        min-height: auto;
    }

    .step-connector {
        height: 28px;

        display: flex;
        align-items: center;
        justify-content: center;

        transform: rotate(90deg);
    }


    /* --------------------------------------------------------
       SECURITY
       -------------------------------------------------------- */

    .security-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .security-content {
        max-width: 680px;

        margin: auto;
    }

    .security-visual {
        min-height: 370px;
    }


    /* --------------------------------------------------------
       FOOTER
       -------------------------------------------------------- */

    .footer-grid {
        grid-template-columns:
            2fr 1fr 1fr;

        gap: 40px;
    }

    .footer-column:last-child {
        grid-column: 2 / 4;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    /* --------------------------------------------------------
       BASE
       -------------------------------------------------------- */

    html {
        scroll-padding-top: 72px;
    }

    body {
        font-size: 15px;
    }

    .container {
        width: calc(100% - 30px);
    }

    .section {
        padding: 72px 0;
    }


    /* --------------------------------------------------------
       NAVIGATION
       -------------------------------------------------------- */

    .navbar {
        height: 70px;
    }

    .nav-container {
        position: relative;
    }

    .brand-logo {
        width: auto;
        height: 48px;
        max-width: 170px;

        object-fit: contain;
        object-position: left center;
    }

    .nav-links {
        top: 70px;

        left: 15px;
        right: 15px;
    }

    .nav-actions .login-link {
        display: none;
    }

    .nav-actions .button {
        display: none;
    }

    .nav-actions {
        margin-right: 10px;
    }


    /* --------------------------------------------------------
       HERO
       -------------------------------------------------------- */

    .hero {
        padding:
            65px 0 45px;
    }

    .hero-grid {
        gap: 25px;
    }

    .status-pill {
        padding: 7px 11px;

        font-size: 9px;

        letter-spacing: .8px;
    }

    .hero h1 {
        margin-bottom: 20px;

        font-size:
            clamp(43px, 13vw, 60px);

        line-height: 1.02;

        letter-spacing: -2.7px;
    }

    .hero-description {
        max-width: 520px;

        margin-bottom: 27px;

        padding: 0 4px;

        font-size: 15px;

        line-height: 1.7;
    }

    .hero-buttons {
        width: 100%;

        gap: 10px;
    }

    .hero-buttons .button {
        min-height: 49px;
    }


    /* --------------------------------------------------------
       HERO TRUST
       -------------------------------------------------------- */

    .hero-trust {
        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 8px;

        margin-top: 38px;

        padding-top: 22px;
    }

    .trust-item {
        justify-content: center;

        gap: 7px;
    }

    .trust-icon {
        width: 28px;
        height: 28px;

        font-size: 11px;
    }

    .trust-item strong {
        font-size: 11px;
    }

    .trust-item small {
        font-size: 8px;
    }


    /* --------------------------------------------------------
       HERO NETWORK GRAPHIC
       -------------------------------------------------------- */

    .hero-visual {
        min-height: 430px;

        transform: scale(.86);

        margin-top: -15px;
        margin-bottom: -25px;
    }

    .network-globe {
        width: 300px;
        height: 300px;
    }

    .orbit-one {
        width: 400px;
        height: 165px;
    }

    .orbit-two {
        width: 380px;
        height: 185px;
    }

    .orbit-three {
        width: 345px;
        height: 135px;
    }

    .shield {
        width: 108px;
        height: 128px;
    }

    .shield-inner span {
        font-size: 27px;
    }

    .location-card {
        min-width: 135px;

        padding: 9px 10px;
    }

    .location-us {
        top: 40px;
        right: 0;
    }

    .location-eu {
        top: 120px;
        left: 0;
    }

    .location-africa {
        left: 5px;
        bottom: 65px;
    }

    .location-asia {
        right: 0;
        bottom: 75px;
    }


    /* --------------------------------------------------------
       STATS
       -------------------------------------------------------- */

    .stat-item {
        min-height: 95px;
    }

    .stat-item strong {
        font-size: 20px;
    }

    .stat-item span {
        font-size: 9px;
    }


    /* --------------------------------------------------------
       SECTION HEADINGS
       -------------------------------------------------------- */

    .section-heading {
        margin-bottom: 42px;
    }

    .section-label {
        margin-bottom: 10px;

        font-size: 9px;

        letter-spacing: 1.6px;
    }

    .section-heading h2,
    .security-content h2,
    .cta-card h2 {
        font-size:
            clamp(30px, 9vw, 40px);

        letter-spacing: -1.4px;
    }

    .section-heading p {
        margin-top: 14px;

        font-size: 13px;

        line-height: 1.7;
    }


    /* --------------------------------------------------------
       FEATURES
       -------------------------------------------------------- */

    .feature-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .feature-card {
        min-height: 240px;

        padding: 25px;
    }

    .feature-icon {
        width: 43px;
        height: 43px;

        margin-bottom: 18px;
    }

    .feature-card h3 {
        font-size: 17px;
    }

    .feature-card p {
        font-size: 12px;
    }

    .feature-link {
        left: 25px;
        bottom: 21px;
    }


    /* --------------------------------------------------------
       STEPS
       -------------------------------------------------------- */

    .steps-grid {
        gap: 7px;
    }

    .step-card {
        padding: 24px;
    }

    .step-number {
        font-size: 38px;
    }


    /* --------------------------------------------------------
       CONSOLE
       -------------------------------------------------------- */

    .network-console {
        margin-top: 45px;

        border-radius: 12px;
    }

    .console-header {
        grid-template-columns:
            auto 1fr;

        min-height: 43px;
    }

    .console-title {
        text-align: right;
    }

    .console-secure {
        display: none;
    }

    .console-body {
        padding: 20px 17px;

        font-size: 10px;

        overflow-x: auto;
    }

    .console-row {
        gap: 15px;
    }

    .console-row strong {
        font-size: 9px;

        text-align: right;
    }


    /* --------------------------------------------------------
       NETWORK REGIONS
       -------------------------------------------------------- */

    .region-grid {
        grid-template-columns: 1fr;
    }

    .region-card {
        min-height: 95px;
    }

    .network-note {
        padding: 0 15px;

        text-align: center;

        line-height: 1.6;
    }


    /* --------------------------------------------------------
       SECURITY
       -------------------------------------------------------- */

    .security-grid {
        gap: 20px;
    }

    .security-content {
        text-align: center;
    }

    .security-content > p {
        font-size: 13px;
    }

    .security-list {
        text-align: left;
    }

    .security-visual {
        min-height: 330px;
    }

    .security-shield {
        width: 205px;
        height: 240px;
    }


    /* --------------------------------------------------------
       FAQ
       -------------------------------------------------------- */

    .faq-list summary {
        min-height: 66px;

        font-size: 13px;
    }

    .faq-list details p {
        font-size: 12px;
    }


    /* --------------------------------------------------------
       CTA
       -------------------------------------------------------- */

    .cta-card {
        padding:
            55px 22px;

        border-radius: 19px;
    }

    .cta-logo {
        width: 175px;
        height: 78px;
    }

    .cta-card p {
        font-size: 13px;
    }

    .cta-buttons {
        flex-direction: column;

        max-width: 330px;

        margin: auto;
    }

    .cta-buttons .button {
        width: 100%;
    }


    /* --------------------------------------------------------
       FOOTER
       -------------------------------------------------------- */

    .footer {
        padding:
            50px 0 20px;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap:
            35px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-column:last-child {
        grid-column: auto;
    }

    .footer-brand img {
        width: 165px;
        height: 70px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        padding-top: 22px;

        line-height: 1.6;
    }

}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 24px);
    }


    /* --------------------------------------------------------
       NAV
       -------------------------------------------------------- */

    .brand-logo {
        max-width: 145px;
        height: 43px;
    }

    .mobile-menu-button {
        width: 40px;
        height: 40px;
    }


    /* --------------------------------------------------------
       HERO
       -------------------------------------------------------- */

    .hero {
        padding-top: 55px;
    }

    .status-pill {
        max-width: 100%;

        white-space: nowrap;

        font-size: 8px;
    }

    .hero h1 {
        font-size:
            clamp(39px, 12vw, 52px);

        letter-spacing: -2.2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }


    /* --------------------------------------------------------
       TRUST
       -------------------------------------------------------- */

    .hero-trust {
        grid-template-columns: 1fr;

        gap: 14px;

        max-width: 250px;

        margin-left: auto;
        margin-right: auto;
    }

    .trust-item {
        justify-content: flex-start;
    }


    /* --------------------------------------------------------
       NETWORK VISUAL
       -------------------------------------------------------- */

    .hero-visual {
        width: 115%;

        min-height: 385px;

        left: 50%;

        transform:
            translateX(-50%)
            scale(.72);

        margin-top: -35px;
        margin-bottom: -65px;
    }

    .network-globe {
        width: 290px;
        height: 290px;
    }

    .location-card {
        min-width: 128px;
    }


    /* --------------------------------------------------------
       STATS
       -------------------------------------------------------- */

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .stat-item {
        padding: 10px;
    }

    .stat-item:nth-child(odd) {
        border-right:
            1px solid rgba(255,255,255,.06);
    }

    .stat-item:nth-child(even) {
        border-right: none;
    }


    /* --------------------------------------------------------
       REGION CARDS
       -------------------------------------------------------- */

    .region-card {
        grid-template-columns:
            auto 1fr;

        gap: 13px;
    }

    .region-status {
        grid-column: 2;

        width: fit-content;
    }


    /* --------------------------------------------------------
       SECURITY
       -------------------------------------------------------- */

    .security-visual {
        min-height: 300px;
    }

    .security-shield {
        width: 185px;
        height: 218px;
    }


    /* --------------------------------------------------------
       FOOTER
       -------------------------------------------------------- */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-brand {
        grid-column: auto;
    }

}


/* ============================================================
   VERY SMALL PHONES
   ============================================================ */

@media (max-width: 360px) {

    .hero h1 {
        font-size: 37px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-visual {
        transform:
            translateX(-50%)
            scale(.64);

        margin-top: -55px;
        margin-bottom: -85px;
    }

    .section {
        padding: 60px 0;
    }

    .feature-card {
        padding: 22px;
    }

    .feature-link {
        left: 22px;
    }

}


/* ============================================================
   LANDSCAPE MOBILE
   ============================================================ */

@media (
    max-width: 900px
)
and (
    orientation: landscape
)
and (
    max-height: 500px
) {

    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns:
            1fr 1fr;

        text-align: left;

        gap: 20px;
    }

    .hero-content {
        text-align: left;
    }

    .status-pill {
        margin-left: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-trust {
        display: none;
    }

    .hero-visual {
        min-height: 350px;

        transform: scale(.68);

        margin:
            -40px 0;
    }

}


/* ============================================================
   REDUCED MOTION ACCESSIBILITY
   ============================================================ */

@media (
    prefers-reduced-motion: reduce
) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }

}


/* ============================================================
   HIGH RESOLUTION / LARGE DESKTOP
   ============================================================ */

@media (min-width: 1500px) {

    :root {
        --container: 1280px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-grid {
        gap: 90px;
    }

    .hero h1 {
        font-size: 78px;
    }

    .hero-visual {
        transform: scale(1.05);
    }

}