/* ---------- GLOBAL RESETS & VARIABLES ---------- */
*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
/* --- Main Scrollbar --- */
scroll-behavior: smooth;
background-color: var(--main-bg-color-alt);
/***** Scrollbar styling *****/
::-webkit-scrollbar {
    display: none;
	}
}
:root{
    /* ===== NEUTRAL COLORS ===== */
    --background: rgb(28, 28, 51);      /* Main background */
    --background-alt: rgb(32, 32, 54);  /* Secondary background */
    --surface: rgb(38, 38, 62);         /* Cards, modals, elevated elements */
    --surface-hover: rgb(44, 44, 70);   /* Hover states for surfaces */
    
    --text: rgb(248, 250, 252);         /* Primary text */
    --text-secondary: rgb(203, 213, 225); /* Secondary text */
    --text-muted: rga(148, 163, 184, 0.6);   /* Muted/disabled text */
    --text-on-brand: rgb(255, 255, 255); /* Text on brand colored backgrounds */
    
    /* ===== BRAND & ACCENT COLORS ===== */
    /* --brand: rgb(255, 145, 77);         Your original - keeping as option A */
    /* --brand: rgb(255, 138, 101);  Option B: Softer, more modern orange */
    --brand: rgb(102, 217, 232);  /* Option C: Teal for contrast */
    
    --primary: rgb(74, 222, 128);       /* Emerald green - CTAs, main actions */
    --primary-dark: rgb(56, 189, 104);  /* Darker shade for hover */
    --primary-light: rgba(74, 222, 128, 0.15); /* Light background */
    
    --secondary: rgb(139, 92, 246);     /* Purple - secondary buttons, info */
    --secondary-dark: rgb(124, 58, 237);
    --secondary-light: rgba(139, 92, 246, 0.15);
    
    --accent: rgb(96, 165, 250);        /* Blue - links, highlights, accents */
    --accent-dark: rgb(59, 130, 246);
    --accent-light: rgba(96, 165, 250, 0.15);
    
    /* ===== SEMANTIC COLORS ===== */
    --success: rgb(34, 197, 94);
    --warning: rgb(245, 158, 11);
    --error: rgb(239, 68, 68);
    --info: rgb(59, 130, 246);
    
    /* ===== BORDER & INTERACTIVE ===== */
    --border: rgba(255, 255, 255, 0.12);
    --border-hover: rgba(255, 255, 255, 0.2);
    --border-focus: rgba(96, 165, 250, 0.4);
    
    --shadow: rgba(0, 0, 20px, 4px, 0.25);
    --shadow-lg: rgba(0, 0, 0, 0.35);
    
    /* ===== GRADIENTS ===== */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-surface: linear-gradient(135deg, rgba(38,38,62,0.2), rgba(32,32,54,0.5));
    --gradient-brand: linear-gradient(135deg, var(--brand), var(--brand-dark));
    
    /* ===== RGB VALUES FOR ALPHA CHANNELS ===== */
    --background-rgb: 28, 28, 51;
    --primary-rgb: 74, 222, 128;
    --brand-rgb: 255, 145, 77;
    
    --overlay: linear-gradient(0deg, rgba(11,70,94,0.9) 0%, rgba(11,70,94,0.9) 67%);

    /* Font Sizes */
    --font-xx-small: clamp(0.5rem, .5vw, 0.7rem);
    --font-x-small: clamp(0.6rem, .6vw, 1rem);
    --font-small: clamp(.8rem, .8vw, 1.25rem);
    --font-medium: clamp(1rem, 1.35vw, 24px);
    --font-large: clamp(20px, 1.65vw, 36px);
    --font-x-large: clamp(26px, 2.15vw, 66px);
    --font-xx-large: clamp(28px, 3.5vw, 102px);
    --font-huge: clamp(2.5rem, 3.5rem + 2vw, 5rem);

    /* Spacing */
    --spacing: 1rem;
    --spacing-half: 0.5rem;
    --spacing-double: 2rem;
    --spacing-triple: 3rem;
    --spacing-quadruple: 4rem;
    --footer-height: 10vh;

    /* Transitions */
    --transition-default: 0.3s ease-in-out;
    --transition-buttons: all 0.2s linear;
    --transition_flip: .4s cubic-bezier(.165, .84, .44, 1);
    --transition: 0.3s ease-in-out;
    --transition-02: cubic-bezier(0.6, -0.28, 0.735, 0.045) 0.3s;
    --transition-cubic: .8s cubic-bezier(0.44, 0.01, 0.29, 0.96);
    --direction: -1;
    --transition-links: 300ms;
    --transition-bounce-in: linear(0, -0.004 4.9%, -0.02 9.4%, -0.124 26.4%, -0.126 30.5%, -0.104 34.1%, -0.027 38.8%, 0.108 43.1%, 0.299 47%, 0.817 55.2%, 0.97 59.1%, 1.071 63.4%, 1.118 67.7%, 1.127 72.6%, 1.108 77.2%, 1.019 90.7%, 1.004 95.2%, 1);

    /*Box Shadows */
    --shadow-bottom: 0px 6px 20px -6px rgba(0,0,0,0.6);
    --shadow-top: 0px -6px 20px -6px rgba(0,0,0,0.6);
    --shadow-text: 3px 2px 5px rgba(0,0,0,0.6);
    --shadow-text-alt: 3px 8px 12px rgba(0,0,0,0.6);

}
:root, :host {
    --fa-style-family-classic: 'FontAwesome';
    --fa-font-solid: normal 900 1em/1 'FontAwesome';
    --fa-font-brand: normal 400 1em/1 'FontAwesome-brand';
    --fa-style-family-classic: 'Font Awesome 6 Free';
    --fa-font-regular: normal 400 1em/1 'Font Awesome 6 Free';
}

/* COLORS - THEME LIGHT */
:root[data-theme="light"] {
    /* ===== NEUTRAL COLORS ===== */
    --background: rgb(250, 250, 255);
    --background-alt: rgb(245, 245, 255);
    --surface: rgb(255, 255, 255);
    --surface-hover: rgb(248, 250, 252);
    
    --text: rgb(23, 23, 51);
    --text-secondary: rgb(71, 85, 105);
    --text-muted: rgb(100, 116, 139);
    --text-on-brand: rgb(255, 255, 255);
    
    /* ===== BORDER & INTERACTIVE ===== */
    --border: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(0, 0, 0, 0.2);
    --border-focus: rgba(96, 165, 250, 0.6);
    
    --shadow: 0, 0, 20px, 4px, var(--accent-dark);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    
    /* Keep brand and accent colors the same for consistency */
}

/* System preference detection */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --background: rgb(28, 28, 51);
        --background-alt: rgb(32, 32, 54);
        --surface: rgb(38, 38, 62);
        --surface-hover: rgb(44, 44, 70);
        
        --text: rgb(248, 250, 252);
        --text-secondary: rgb(203, 213, 225);
        --text-muted: rgba(148, 163, 184, .6);
        
        --border: rgba(255, 255, 255, 0.12);
        --border-hover: rgba(255, 255, 255, 0.2);
        
        --shadow: rgba(0, 0, 20px, 6px, 0.4);
        --shadow-lg: rgba(0, 0, 0, 0.35);

        --logo-text: var(--brand-rgb);
        --gradient-brand: linear-gradient(275deg, var(--brand), Var(--surface));
    }
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --background: rgb(250, 250, 255);
        --background-alt: rgb(245, 245, 255);
        --surface: rgb(255, 255, 255);
        --surface-hover: rgb(240, 250, 252);
        
        --text: rgb(23, 23, 51);
        --text-secondary: rgb(71, 85, 105);
        --text-muted: rgba(100, 116, 139, .6);
        
        --border: rgba(0, 0, 0, 0.1);
        --border-hover: rgba(0, 0, 0, 0.2);
        
        --shadow: rgba(0, 0, 0, 0.08);
        --shadow-lg: rgba(0, 0, 0, 0.15);

        --logo-text: var(--text);
        --gradient-brand: linear-gradient(135deg, var(--brand), Var(--surface));
    }
}

/* ---------- FONTS ---------- */
@font-face {
    font-family: Cairo;
    src: url(/Assets/Fonts/CairoPlay/CairoPlay-VariableFont_slnt\,wght.ttf);
}
@font-face {
    font-family: Michroma;
    src: url(/Assets/Fonts/Michroma/Michroma-Regular.ttf) format('truetype');
}

/* ================ GLOBAL STYLES ================== */
body {
    font-family: 'Cairo', sans-serif;
    font-size: var(--font-medium);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: 0.3s ease-in-out;
    background-color: var(--background);
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: crosshair;
    /* Thank You Modal */
    .thank-you-modal {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.9) !important;
        backdrop-filter: blur(6px);
        display: flex !important;
        align-items: center;
        justify-content: center;
        z-index: 9999 !important;
        opacity: 1 !important;
        visibility: visible !important;
        .thank-you-content {
            background: var(--background);
            padding: 2rem;
            border-radius: 8px;
            max-width: 600px;
            animation: fadeIn 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: var(--text-alt);
            h3 {
                margin-top: 0;
                border-bottom: 1px solid #eee;
                padding-bottom: 10px;
                text-align: center;
                text-wrap: balance;
                font-size: var(--font-large);
                font-weight: 800;
            }
            & > p {
                display: flex;
                width: 100%;
                font-size: 120%;
                strong {
                    width: 10rem;
                }
            }
            .confirmation-message {
                background: #f9f9f930;
                padding: var(--spacing);
                border-radius: 5px;
                margin: 20px 0;
                box-shadow: var(--shadow-bottom);
                text-align: center;
                p {
                    margin: var(--spacing-half);
                    font-size: var(--font-large);
                    font-weight: 500;
                }
            }
            .warning {
                color: #e74c3c;
            }
            .status-message .error {
                color: #e74c3c;
                font-weight: bold;
            }
            .error-note {
                color: #e74c3c;
                font-weight: bold;
            }
            .close-thank-you {
                background: #3498db;
                color: white;
                border: none;
                padding: 12px 25px;
                font-size: 16px;
                border-radius: 5px;
                cursor: pointer;
                display: block;
                margin: 20px auto 0;
            }
        }
    }
  
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Michroma', sans-serif;
    /* margin-top: var(--spacing-double); */
    /* margin-bottom: var(--spacing-half); */
    color: var(--text);
    text-wrap: balance;
    padding-inline: 8px;
    text-align: center;
}
h1 {
    font-weight: 900;
    font-size: var(--font-xx-large);
    line-height: 1.1;
    padding-top: var(--spacing-triple);
    padding-bottom: var(--spacing);
    padding-inline: 8px;
    letter-spacing: 2px;
}
h1:not(.header-logo) {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(80deg, #453783 2%, #adc2cf 55%, #473B92 98%);
    background-clip: text;
    text-wrap: balance;
}
h2 {
    font-weight: 700;
    letter-spacing: 1.4px;
    font-size: var(--font-x-large);
    line-height: 1.1;
    /* max-width: 80vw; */
}
h3:not(.load-text) {
    font-weight: 500;
    letter-spacing: 1.4px;
    font-size: var(--font-large);
    line-height: 1.3;
    color: var(--accent);
}
h4 {
    height: 2em;
    font-weight: 400;
    font-size: var(--font-large);
    line-height: 1.3;
}
p {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    font-size: var(--font-medium);
    line-height: 1.2;
    color: var(--text-secondary);
}
a {
    text-decoration: none;
    /* font-weight: 500; */
    /* color: var(--accent); */
    /* transition: all var(--transition); */
    &:hover {
        text-decoration: none;
        /* color: var(--accent-dark); */
    }
}

/* ================== COMPONENTS ===================== */
/* ----------          LOADER           ---------- */
.loader-container {
    position: fixed;
    /* width: 100vw; */
    height: 100vh;
    z-index: 9999;
    display: flex;
}
.bar {
    transition: var(--transition_flip);
}

/* ================= BUTTONS =============== */
/* Nav-Links */
.body-link_wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 2.25em;
    position: relative;
    background-color: var(--primary);
    border-radius: 8px;
    border: 1px solid var(--border);
    .nav-link_bg {
        width: 100%;
        height: 0%;
        border-radius: 8px;
        position: absolute;
        inset: auto 0% 0%;
        transition: height var(--transition_flip);
    }
    .nav-link {
        grid-column-gap: .5rem;
        grid-row-gap: .5rem;
        justify-content: center;
        align-items: center;
        min-height: 2.25rem;
        padding: 0 1.5em;
        text-decoration: none;
        display: flex;
        position: relative;
        max-width: 100%;
        height: 100%;
        .nav-link_overflow {
            position: relative;
            overflow: hidden;
            padding-bottom: 4px;
            .nav-link_text-a {
                transform-origin: 0 100%;
                translate: none;
                rotate: none;
                scale: none;
                transform: translate(0px, 0px);
                transition: transform var(--transition_flip), opacity .3s;
            }
            .nav-link_text-b {
                perspective-origin: 100% 0;
                position: absolute;
                inset: 0% auto auto 0%;
                translate: none;
                rotate: none;
                scale: none;
                transform: translate(0%, 120%) rotate(-3deg);
                transition: transform var(--transition_flip);
            }
            .nav-link_p {
                font-weight: 900;
                line-height: 1.2;
                color: var(--background);
            }
        }
    }
    .nav-link::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: +1;
    }
    &:hover {
        .nav-link_bg {
            height: 100%;
        }
        & .nav-link_overflow {
            & .nav-link_text-a {
                transform: translate(0%, -150%) rotate(3deg);
                opacity: 0;
            }
            & .nav-link_text-b {
                transform: translate(0%, 0%) rotate(0deg);
                .nav-link_p {
                    color: var(--brand);
                }
            }
        }
    }
    &::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: transparent;
        border-radius: 4px;
        animation: ring-btn 1.5s infinite;
        opacity: 1;
    }
    &:active {
        animation: subtlPulseIn .7s forwards;
    }
}
.nav-link.current-page::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 100%;
    background: var(--accent-light);
}
.nav-link.current-page .nav-link_p {
    color: var(--accent) !important;
    font-weight: 600;

}
#nav-link-cta .nav-link.current-page .nav-link_p {
    color: var(--accent) !important;
}
.nav-link.current-page {
    pointer-events: none;
    cursor: default;
    &:hover {
        .nav-link_bg {
            height: 0;
        }
    }
}
.btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-dark);
    color: var(--surface);
    border: none;
    height: fit-content;
    padding: .5rem 1.5rem .5rem 0;
    position: relative;
    img {
        width: 1.4rem;
        aspect-ratio: 1/1;
        visibility: hidden;
        transform: translateX(-100%);
        transition: var(--transition-buttons);
        scale: 0;
    }
    &::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: transparent;
        border: 1px solid var(--text);
        border-radius: 4px;
        animation: ring-btn 1.5s infinite;
        opacity: 1;
    }
    &:hover, :focus {
        text-indent: 20px;
        background: var(--primary);
        columns: var(--surface-hover);
        padding-left: 1rem;
        img {
            visibility: visible;
            transform: translateX(0);
            scale: 1;
        }
        &::after {
            opacity: 1;
            border-color: var(--text);
            animation-play-state: paused;
        }
    }
}
.clickable-parent {
    position: relative;
    cursor: pointer;
    &:hover {
        .btn-primary-path {
            &::after {
                animation: ring-btn 1.5s infinite!important;
            }
        }
    }
}
.btn-primary-path {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-dark);
    color: var(--surface);
    border: none;
    height: fit-content;
    padding: .5rem 1.5rem .5rem 0;
    position: relative;
    img {
        width: 1.4rem;
        aspect-ratio: 1/1;
        visibility: hidden;
        transform: translateX(-100%);
        transition: var(--transition-buttons);
        scale: 0;
    }
    &::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: transparent;
        border: 1px solid var(--text);
        border-radius: 4px;
        opacity: 0;
    }
    &:hover, :focus {
        text-indent: 20px;
        background: var(--primary);
        columns: var(--surface-hover);
        padding-left: 1rem;
        img {
            visibility: visible;
            transform: translateX(0);
            scale: 1;
        }
        &::after {
            /* z-index: -1; */
            /* animation-play-state: paused; */
        }
    }
}
.btn-primary-alt {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    height: fit-content;
    padding: .5rem 1.5rem .5rem 0;
    position: relative;
    img {
        width: 1.4rem;
        aspect-ratio: 1/1;
        visibility: hidden;
        transform: translateX(-100%);
        transition: var(--transition-buttons);
        scale: 0;
    }
    &:hover, :focus {
        text-indent: 20px;
        background: var(--background);
        columns: var(--surface-hover);
        padding-left: 1rem;
        color: var(--text);
        img {
            visibility: visible;
            transform: translateX(0);
            scale: 1;
        }
    }
}
.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    img {
        width: 1.4rem;
        aspect-ratio: 1/1;
        visibility: hidden;
        transform: translateX(-100%);
        transition: var(--transition-buttons);
    }
    &:hover, :focus {
        color: var(--text);
    }
    &:active {
        animation: subtlePulseIn .7s forwards;
    }
}
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-items: center;
    gap: var(--spacing-half);
    margin-block: var(--spacing-double);
    justify-content: center;
}
button {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 6px 18px;
    border: none;
    border-radius: 4px;
    transition: var(--transition-buttons);
    height: fit-content;
    color: inherit;
    cursor: pointer;
    max-width: 80vw;
    &:active {
        animation: subtlePulseIn .7s forwards;
    }
}
/* Explore / Submit Buttons */
.button.explore-btn {
    background-color: var(--primary-light);
    border: 1px solid var(--border);
    & span {
        color: var(--text);
        font-weight: 700;
    }
    &:before {
        content: "\f063";
        font: var(--fa-font-solid);
        font-weight: 900;
        -webkit-font-smoothing: antialiased;
        display: flex;
        color: var(--primary);
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0px;
        height: 100%;
        width: 40px;
        background-color: var(--primary-light);
        border-radius: 0;
        transform: scale(0,1);
        transform-origin: left center;
        transition: all var(--transition);
    }
    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: transparent;
        border: 1px solid var(--text);
        border-radius: 4px;
        opacity: 0;
        transform: scaleX(1) scaleY(1);
        transition: all var(--transition-cubic);
    }
    &:hover, &:focus {
      text-indent: 36px;
      background: var(--text);
        & span {
            color: var(--surface);
        }
        &:before {
            transform: scale(1,1);
            text-indent: 0;
        }
        &:hover::after {
            z-index: -1;
            opacity: 0.4;
            transform: scaleX(1.1) scaleY(1.3);
        }
    } 
}
/* Form Submit Button */
button[type="submit"] {
    z-index: 1;
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    font-size: var(--small);
    margin-inline: var(--spacing-half);
    border: none;
    color: var(--surface);
    cursor: pointer;
    transition: color 0.5s, transform 0.2s, background-color 0.5s;
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    text-transform: capitalize;
    background-color: var(--primary);
    padding: 6px 12px;
    width: 80%;
    height: fit-content;
    margin: var(--spacing);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s linear 0s;
    & span {
        color: var(--surface);
        font-weight: 700;
    }
    &::before {
        content: "\f1d8";
        font: var(--fa-font-solid);
        font-weight: 900;
        -webkit-font-smoothing: antialiased;
        color: var(--accent);
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0px;
        height: 100%;
        width: 40px;
        background-color: var(--brand);
        border-radius: 0;
        transform: scale(0,1);
        transform-origin: left center;
        transition: all 0.2s linear 0s;
    }
    &:hover {
      text-indent: 30px;
      background-color: var(--primary);
      & span {
        color: var(--main-text-color);
      }
      &::before {
        transform: scale(1,1);
        transform-origin: left;
        text-indent: 0;
      }
    }
}
/* ================== HEADER STYLING =================== */
/* Logo Title - Used in Header and Footer */
.logo-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-half);
    width: 225px;
    position: relative;
    .site-logo {
        width: 2.5rem;
        transition: all 0.5s ease-in-out;
    }
    .logo-text {
        font-family: 'Michroma', sans-serif;
        font-size: var(--font-small);
        padding-bottom: 4px;
        transition: all 0.7s;
        text-shadow: none;
        padding-left: var(--spacing-half);
        border-left: 1px solid var(--brand);
        color: var(--logo-text);
    }
    &:hover {
        .site-logo {
            transform: rotate(180deg);
            transition: all 0.7s;
        };
        .logo-text {
            transform: translateX(-2px);
            padding-left: 6px;
            transition: all 0.7s;
            text-decoration: none;
        }
    }
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-half) var(--spacing-double);
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: scale var(--transition_flip);
    transform-origin: top;
    transition-delay: 300ms;
    .logo-switch-container {
        display: flex;
        align-items: center;
        gap: var(--spacing);
        z-index: +1;
    }
    nav {
        display: none;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        backdrop-filter: blur(10px);
        font-family: 'Michroma', sans-serif;
        color: var(--text);
        z-index: +1;
        .availability {
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            position: relative;
            min-width: 20vw;
            padding: .2rem .75rem;
            p {
               font-family: 'Michroma', sans-serif;
               span {
                font-family: 'Cairo', sans-serif;
               } 
            }
            
        }
        .nav-links_container {
            display: flex;
            a::before {
                    content: "";
                    position: absolute;
                    inset: 0;
                    z-index: +1;
                }
            .nav-link_wrapper {
                justify-content: flex-start;
                align-items: flex-start;
                display: flex;
                position: relative;
                &#nav-link-cta {
                    background-color: var(--brand);
                    & .nav-link_p {
                        color: var(--background-alt);
                        color: var(--accent);
                        font-weight: 400;
                    }
                } 
            }
            #nav-link-cta {
                .nav-link_bg {
                    background-color: transparent;
                }   
            }
            .nav-link_bg {
                background-color: var(--brand);
                width: 100%;
                height: 0%;
                position: absolute;
                inset: auto 0% 0%;
                transition: height var(--transition_flip);
            }
            .nav-link {
                grid-column-gap: .5rem;
                grid-row-gap: .5rem;
                border-left: 1px solid var(--border);
                justify-content: center;
                align-items: center;
                min-height: 2.25rem;
                padding-inline: .75rem;
                padding-top: 4px;
                text-decoration: none;
                display: flex;
                position: relative;
                max-width: 100%;
                &:hover {
                    & .nav-link_overflow {
                        & .nav-link_text-a {
                            transform: translate(0%, -120%) rotate(3deg);
                        }
                        & .nav-link_text-b {
                            transform: translate(0%, 0%) rotate(0deg);
                            .nav-link_p {
                                color: var(--accent); 
                            }
                        }
                    }
                    
                }
            }
            .nav-link_overflow {
                position: relative;
                overflow: hidden;
                padding-bottom: 4px;
            }
            .nav-link_text-a {
                transform-origin: 0 100%;
                translate: none;
                rotate: none;
                scale: none;
                transform: translate(0px, 0px);
                transition: transform var(--transition_flip);
            }
            .nav-link_text-b {
                perspective-origin: 100% 0;
                position: absolute;
                inset: 0% auto auto 0%;
                translate: none;
                rotate: none;
                scale: none;
                transform: translate(0%, 120%) rotate(-3deg);
                transition: transform var(--transition_flip);
            }
            .nav-link_p {
                font-size: var(--font-small);
                font-weight: 400;
                line-height: 1.2;
                color: var(--text);
            }
        }
        
    }
    .open-icon-container {
        display: none;
        place-items: center;
        margin-inline: 6px;
        cursor: pointer;
        .modal-open {
            width: 2rem;
        }
    }
    .modal {
        visibility: collapse;
        position: fixed;
        height: 100vh;
        width: 100vw;
        top: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.8);
        transform: translateY(-100%);
        transition: var(--transition-cubic);
        .modal-content {
            display: grid;
            align-items: start;
            justify-items: start;
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-color: var(--background);
            padding: var(--spacing-triple);
            padding-top: var(--spacing-quadruple);
            .modal-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: var(--spacing);
                border-bottom: 1px solid var(--border-color);
                .modal-close {
                    position: relative;
                    width: 40px;
                    height: 40px;
                    border: 1px solid transparent;
                    /* margin-top: 8px; */
                    transition: var(--transition);
                    overflow: hidden;
                    transition: 0.3s ease-in-out;
                }
            }
            .modal-body {
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                width: 100%;
                height: 100%;
                .modal-list {
                    display: flex;
                    flex-direction: column;
                    padding-block: var(--spacing-triple);
                    gap: var(--spacing-double);
                    li {
                        display: flex;
                        list-style: none;
                        position: relative;
                        align-items: center;
                        gap: var(--spacing-double);
                        i {
                            display: flex;
                            font-size: 32px;
                            min-width: 50px;
                            aspect-ratio: 1 / 1;
                            text-align: center;
                            color: var(--brand);
                            border-radius: 100%;
                            padding: 6px;
                            justify-content: center;
                            align-items: center;
                            background: var(--accent-light);
                            opacity: .6;
                        }
                        a {
                            font-family: 'Michroma', sans-serif;
                            font-size: var(--font-large);
                            font-weight: 600;
                            color: var(--text);
                        }
                        .sub-menu {
                            display: flex;
                            flex-direction: column;
                            gap: .5em;
                            position: absolute;
                            right: 0;
                            top: 50%;
                            translate: 0 -50%;
                            li {
                                display: flex;
                                flex-direction: row;
                                align-items: center;
                                gap: .5em;
                               a{
                                font-size: var(--font-large);
                            } 
                            }
                            
                        }
                    }
                    
                }
                .modal-list li {
                    /* display: flex;
                    align-items: center;
                    gap: var(--spacing-half);
                    list-style: none;
                    margin-block: var(--spacing-double); */
                    .modal-icon {
                        width: 1.6em;
                        height: 1.6em;
                    }
                    & a {
                        /* width: 80%;
                        display: flex;
                        color: var(--main-text-color);
                        font-size: var(--large);
                        padding: 4px 12px;
                        border: 1px solid transparent;
                        border-radius: 10px; */
                        &:hover {
                            border: 1px solid var(--border-color);
                            border-radius: 10px;
                            /* transform: translateX(2px); */
                            background-color: var(--main-bg-color);
                            text-decoration: none;
                        }
                    }
                }
            }
        }
    }
    .modal.visible {
        visibility: visible;
        transform: translateY(0);
        /* height: 100vh; */
    }
}
header.hidden {
    opacity: 0;
    scale: 1 0!important;
    transform-origin: top;
    transition: var(--transition-cubic);
}

/* ===================== FOOTER ========================= */
footer {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    column-gap: 1em;
    width: 100%;
    padding: 1em 1.5em .3em;
    background-color: var(--background-alt);
    .footer-site-logo {
      grid-column: 1;
      place-content: center;
    .logo-title {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      width: 25vw;
      .site-logo {
        min-width: 20px;
        margin-right: .3em;
      }
      .logo-text {
        padding-left: .5em;
        width: fit-content;
      }
    }
    }
    .contact-row {
      grid-column: 2 / -1;
      display: grid;
      grid-template-columns: subgrid;
      place-items: center;
      column-gap: 1em;
      justify-content: flex-end;
      align-items: center;
      .contact-box {
        display: flex;
        height: 100%;
        gap: 4px;
        flex-direction: column;
      }
      .contact-box:nth-child(1) {
        grid-column: 1 / 3;
      }
      .contact-box:nth-child(2) {
        grid-column: 3 / 5;
      }
      .contact-box:nth-child(3) {
        grid-column: 5 / 7;
      }
      .socials {
        display: flex;
        flex-direction: row;
        gap: .5em;
        a {
            height: 30px;
        }
        .social-icon {
            width: 40px;
            padding: 2px;
            aspect-ratio: 1/1;
            border: 1px solid var(--border);
            border-radius: 4px;
            /* fill: currentColor; */
            transition: all .3s ease;
            filter: grayscale(100%);
            opacity: 0.8;
            &:hover {
                animation: subtlePulse 2s infinite;
                filter: grayscale(0%);
                opacity: 1;
                transform: scale(1.05);
            }
            &:active {
                animation: scalePulse 0.4s ease;
            }
        }
      }
    
    h3 {
        font-size: var(--font-small);
        margin-block: 0;
        text-align: left;
        padding-left: 0;
    }
    p {
        font-size: var(--font-small);
        font-weight: 200;
        letter-spacing: 1.2px;
        padding: 0;
        a {
        color: inherit;
        text-decoration: none;
        transition: all 200ms;
        &:hover {
            opacity: 0.6;;
        }
        }
    }        
    }
    .copyright {
        grid-row: 2 / 3;
        grid-column: 1 / -1;
        align-self: center;
        margin-top: 12px;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        opacity: .4;
        p {
            font-size: .8rem!important;
        }
      }
}

.scroll-to-top-container {
    position: fixed;
    bottom: 20px;
    right: -50px; /* Hidden by default */
    z-index: 1000;
    transition: right 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#toTopLink {
    display: block;
    width: 50px;
    height: 50px;
    background: var(--brand);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 116, 162, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
    opacity: .6;
}
#toTopLink:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 116, 162, 0.3);
}
.scroll-to-top {
    width: 100%;
    height: 100%;
    padding: 12px;
    object-fit: contain;
    transition: transform 0.2s ease;
}
#toTopLink::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(0, 116, 162, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}
#toTopLink:active::after {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
    transition: 0s;
}
.small, .muted {
    color: var(--text-muted);
}

/* ============ LISTS DEFAULT (MARKERS etc) ============*/
ul {
    list-style: "\2713"!important;
    li {
        padding: 0.25rem 0;
        color: var(--primary-dark);
        position: relative;
        text-align: left;
        padding-left: 1.5rem;
        font-size: inherit;
        &::marker {
            font-size: inherit;
            color: var(--brand);
        }
    }
}
/* =================== Home/Index Page ================ */
.hero-container {
    background-image: url('/Assets/Images/Backgrounds/HeroBG.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    padding-inline: var(--spacing-half);
    padding: 0;
    width: 100%;
    .hero-blur {
        display: flex;
        min-height: 100vh;
        backdrop-filter: blur(6px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .hero-content{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: var(--spacing-double);
            width: 100%;
            padding-block: var(--spacing);
            .headings-group {
                display:flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
            }
            .hero-content-section {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
                gap: var(--spacing);
                text-wrap: balance;
            }
        }
    }
}
.hero-overlay {
    border-image: fill 1 var(--overlay);
    transition: 0.3s ease-in-out;
}
.cta-wrapper-index {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-block: 2em;
    min-height: 100vh;
    background-image: url(/Assets/Images/Backgrounds/laptop-opening.webp);
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    color: rgba(241,248,244,.8)!important;
    .index-cta-intro-wrapper {
        max-width: 1200px;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding-block: var(--spacing-triple);
        gap: 1em;
        text-align: center;
        text-wrap: balance;
        h2 {
        margin-bottom: .4em;
        color: currentColor;
        }
        p {
            font-size: var(--font-medium);
            max-width: 58ch;
            text-wrap: balance;
        }
        .highlighted-text {
            font-size: var(--font-large);
        }
    }
    & .cube-wrapper {
        --cube-width: 200px;
        --translateZ: 100px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-block: var(--spacing-quadruple);
        align-items: center;
        width: 80vw;
        .cta-section-index {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 60%;
            text-align: center;
            gap: var(--spacing);
            text-wrap: balance;
            background-color: transparent;
            h3 {
                margin-top: 0; 
            }
            h4 {
                margin-bottom: 0;
                color: currentColor;
            }
            p {
                font-size: var(--font-large);
            }
        }
        .cube-link {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 40%;
            padding-block: var(--spacing-double);
            transition: scale .7s ease, .3s transform .5s;
            &:hover {
                scale: 1.15;
                .problem-cube {
                    animation: rotate-to-bottom 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
                }
            }
            .cube-container {
                perspective: 1000px;
                margin-block: 4em;
                filter: drop-shadow(2rem 5rem 2.5rem black);
                .problem-cube {
                    will-change: transform;
                    width: var(--cube-width);
                    height: var(--cube-width);
                    transform-style: preserve-3d;
                    transform-origin: 50% 50%;
                    /* Faces */
                    .face {
                        position: absolute;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        width: var(--cube-width);
                        height: var(--cube-width);
                        box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
                        text-align: center;
                        font-size: 2rem;
                        border: 1px solid black;
                        .face-text {
                            display: flex;
                            height: 100%;
                            width: 100%;
                            text-shadow: 1px 1px 3px black;
                            flex-direction: column;
                            align-items: center;
                            justify-content: center;
                            background: linear-gradient(#9d592f7a 20%, #1d1c1aa8 100%);
                        }
                    }
                    .front-face {
                        background: url(/Assets/Images/Cube/Server-overload.webp);
                        background-size: cover;
                        transform: translateZ(var(--translateZ));
                    }
                    .back-face {
                        background: url(/Assets/Images/Cube/Bandwidth-limit.webp);
                        background-size: cover;
                        transform: rotateY(180deg) translateZ(var(--translateZ));
                    }
                    .top-face {
                        background: url(/Assets/Images/Cube/Bots-blocked.webp);
                        background-size: cover;
                        background-color: #171717;
                        transform: rotateX(90deg) translateZ(var(--translateZ));
                    }
                    .right-face {
                        background: url(/Assets/Images/Cube/page-speed.webp);
                        background-size: cover;
                        transform: rotateY(90deg) translateZ(var(--translateZ));
                        color: darkblue;
                    }
                    .left-face {
                        background: url(/Assets/Images/Cube/revenue-drop.webp);
                        background-size: cover;
                        transform: rotateY(-90deg) translateZ(var(--translateZ));
                    }
                    .bottom-face {
                        background: url(/Assets/Images/JDLogo.png);
                        background-size: cover;
                        background-color: #171717;
                        transform: rotateX(-90deg) translateZ(var(--translateZ));
                    }
                }
            }
        }
        .cube-link:not(:hover) .problem-cube {
            animation: unstable-spin 16s infinite;
        }
    }
    .action-block{
        gap: 3em;
        h4 {
            margin-top: 0;
            margin-bottom: 0;
            color: currentColor;
        }
        buttons {
            margin-block: 0;
        }
    }
    span {
        font-style: italic;
        letter-spacing: 2px;
        color: var(--accent-dark);
        opacity: .7;
        max-width: 100ch!important;
    }
}
.cta-section-index {
    .problem-list {
        list-style: ""!important;
        li {
            color: var(--warning);
            font-size: var(--font-large);
            &::marker {
                font-size: var(--font-x-large);
            }
        }
        .main-li {
            ul {
                list-style: "❌"!important;
                li {
                    color: var(--error);
                    font-size: var(--font-medium);
                    opacity: .7;
                    &::marker {
                        font-size: var(--font-medium);
                    }
                }
            }
        }
    }
}
.hero-title {
    margin-inline: .5em;
}
.hero-subtitle.homepage {
    margin: 2em auto;
    max-width: 58ch;
    text-wrap: balance;
}
.hero-title span img{
    width: var(--font-xx-large);
    aspect-ratio: 1/1;
    transform: scale(.9);
    transform-origin: bottom;
    scale: .85;
    opacity: .8;
    filter: drop-shadow(2px 4px 3px black);
}
.scroll-icon-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    a {
        opacity: .6;
        &:hover .scroll-down-icon {
            transition: all 0.3s ease;
            transform-origin: center;
            opacity: 1!important;
            filter: drop-shadow(0 0 0 transparent); 
        }
        &:active {
            animation: subtlePulseIn 2s infinite;
        }
    }
}
.scroll-down-icon {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%)!important;
    scale: 0.7!important;
    filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.623));
    opacity: .5!important;
    transition: opacity .3s;
}
/* ================= CONTENT SECTIONS STYLING ================= */
.content-section {
    padding-block: var(--spacing-quadruple);
}
.content-wrapper:not(.homepage, .contact-page) {
    margin: 0;
    padding-top: var(--spacing-quadruple);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: opacity 2s;
    overflow: hidden;
}
.content-section, .plugins-wrapper, .plugin-content-section {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    text-align: center;
    background-color: var(--surface);
    padding: 0 var(--spacing-half) var(--spacing-double);
    gap: var(--spacing-double);
    & .core-title {
        margin-bottom: .5em;
        /* max-width: 32ch; */
        text-wrap: balance;
    }
}
.section-title {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 2em;
    padding-block: var(--spacing-double);
    h2 {
        font-size: var(--font-xx-large);
        text-shadow: 0px 19px 20px #000000;
    }
    & p {
        bottom: .7rem;
        left: 4rem;
        opacity: 0.7;
    }
}
.content-container-grid {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}
/* .section:not(.last-section) {
    min-height: 100vh;
} */

.highlighted-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================ CARDS ==================================== */
.cards-wrapper {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
    .cards-row {
        max-width: 1200px;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        margin-block: 3rem;
        .card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: var(--spacing-double);
            align-items: center;
            flex: 1 0 280px;
            background: rgb(38, 38, 62);
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            border: 1px solid rgba(120,120,120,0.2);
            transition: all 0.3s ease;
            box-sizing: border-box;
            .highlight-icon {
                font-size: 2.5rem;
                color: rgb(56, 189, 104);
            }
            h4 {
            font-size: 1.6rem;
            color: rgb(102, 217, 232);
            font-weight: 400;
            line-height: 1.3;
            }
            p {
            height: 5em;
            }
            button {
                width: 80%;
            }
        }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            background: var(--surface-hover);
        }
    }
}

/* ==================== Plugins Page ========================= */
.plugins-wrapper {
    background-color: transparent;
}
.plugin-list {
    padding-block: var(--spacing-triple);
}
.plugin-nav-list {
    display: flex;
    column-count: 2;
    /* width: 60vw; */
    /* margin: 2em auto; */
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    & li {
        padding: 2px 6px;
        border-radius: 12px;
        text-align: center;
        width: fit-content;
        margin-inline: 1em;
        border: 1px solid var(--brand-dark);
        transition: var(--transition);
        &:hover {
            border-color: var(--brand);
            box-shadow: var(--shadow-text-alt);
        }
    }
}
.plugin-container, .plugin-summary {
    max-width: 1200px;
    margin-inline: var(--spacing-double);
    padding: var(--spacing-double);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-bottom);
    border-radius: 1em;
    background: var(--surface);
    .plugin-subtitle {
        margin-block: var(--spacing-double);
    }
    .the-plugin {
        display: flex;
        flex-direction: row;
        /* flex-wrap: wrap; */
        gap: var(--spacing-double);
        justify-content: center;
        padding-block: var(--spacing-double);
        .plugin-images {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: var(--spacing-double);
            max-width: 420px;
            img {
                max-height: 360px;
                aspect-ratio: 4/3;
                border-radius: var(--spacing-half);
                box-shadow: var(--shadow-bottom);
                border-radius: var(--spacing-half);
            }
        }
    }
    .action-group {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row-reverse;
        border-top: 1px solid var(--border);
        padding: var(--spacing);
        a {
            display: flex;
            gap: 1em;
            align-items: center;
        }
    }
}
.plugin-info {
    position:relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-inline: var(--spacing-double);
    gap: var(--spacing-double);
    min-width: 450px;
    text-align: center;
    strong {
        font-family: 'Michroma', sans-serif;
    }
    i {
        margin-left: var(--spacing-half);
        color: var(--primary);
        font-size: var(--font-large);
    }
}
.plugin-info-list {
    padding-block: var(--spacing-double);
    border-top: 1px solid var(--border);
}
.plugin-info-list li{
    text-align: left;
    max-width: 60ch;
    margin-bottom: 1em;
    font-size: 1.5rem;
    text-wrap: pretty;
    margin-left: 1em;
    padding-left: 1em;
    
}
.kmc-list li {
    &::marker{
        content: "🎯";
        font-size: 1.5rem;
    }
}
.rg-list li {
    &::marker{
        content: "✨";
        font-size: 1.5rem;
    }
}
.plugin-image {
    background-image: url(/Assets/Images/Content/rg-screenshot2.png);
    background-size: cover;
    background-repeat: no-repeat;
    min-width: 600px;
    max-width: 800px;
    height: 100%;
    place-content: center;
    text-align: center;
    border-radius: var(--spacing-half);
    box-shadow: var(--shadow-bottom);
    border-radius: var(--spacing-half);
}
.overlay {
    border-image: fill 1 linear-gradient(180deg, var(--surface), rgba(0, 0, 0, 0.192) 50%);
}
/* ================= Individual Plugin Page ==================== */
.plugin-content-section {
    background-color: transparent;
}
.plugin-summary {
    width: 1200px;
    max-width: 96vw;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-double);
    justify-content: center;
    margin-block: var(--spacing-quadruple);
    margin-inline: var(--spacing-double);
    padding: var(--spacing-double);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-bottom);
    border-radius: 1em;
    background: var(--surface);
    text-align: left;
    .plugin-info-box {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
        gap: 2rem;
        align-items: start;
        .plugin-info-images {
            display: grid;
            gap: 1rem;
            padding-inline: 1em;
            & img {
                width: 100%;
                height: 100%;
                border-radius: 8px;
            }
        }
        .info-container {
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            gap: 1.5rem;
            padding-inline: 1em;
        }
        & li {
            list-style-type: none;
            letter-spacing: 1.1px;
            line-height: 1.4;
            text-wrap: balance;
            font-size: 1.4rem;
            padding-left: 1em;
            margin: 1em;
            &::marker{
                content: "⮊";
                color: var(--accent);
            } 
            
        }
        .action-group {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-direction: row-reverse;
            border-top: 1px solid var(--border);
            padding-top:var(--spacing);
            color: var(--text);
            a {
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: 1em;
            }
        }
    }
}

/* ================= SOCIAL MEDIA TRAPDOOR BOX ================== */
.social-container {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    margin-top: 5em;
    width: 100%;
    height: 8em;
    &::before {
        content: url(/Assets/Images/social-media_12761139.png);
        scale: 0.4;
    }
}
.trapdoor {
    position: absolute;
    -webkit-transform: translateZ(0px);
    transform: translateZ(0px);
    width: 280px;
    height: 60px;
    box-shadow: inset -7px 0px 12px -8px rgba(0,0,0,0.3), inset 7px 0px 12px -8px rgba(0,0,0,0.3);
    background-color: rgba(0,0,0,0.95);
    border-radius: .5rem;
    -webkit-transition: background-color 400ms ease-in-out;
    -moz-transition: background-color 400ms ease-in-out;
    -ms-transition: background-color 400ms ease-in-out;
    -o-transition: background-color 400ms ease-in-out;
    transition: background-color 400ms ease-in-out;
    box-shadow: var(--shadow-bottom);
    &:hover {
        z-index: 1;
        height: 70px;
        border-radius: 0 0 0 0;
        .door {
            box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.4);
            -webkit-transform: scale(1.08);
            -moz-transform: scale(1.08);
            -ms-transform: scale(1.08);
            -o-transform: scale(1.08);
            transform: scale(1.08);
            &::before {
                opacity: 0.25;
            }
        }
        .top {
            top: -50%;
            &:before {
                top: 18px;
            }
        }
        .bottom {
            top: 100%;
            &:before {
                top: -16px;
            }
        }
    }
}
.top {
    top: 0%;
    left: 0px;
    border-radius: .5rem .5rem 0 0;
    &:before {
        top: 13px;
    } 
}
.bottom {
    top: 50%;
    left: 0px;
    border-radius: 0 0 .5rem .5rem;
    &:before {
        top: -17px;
    }
} 
.door {
    -webkit-transition: top 400ms, box-shadow 200ms, -webkit-transform 300ms;
    -moz-transition: top 400ms, box-shadow 200ms, -moz-transform 300ms;
    -ms-transition: top 400ms, box-shadow 200ms, -ms-transform 300ms;
    -o-transition: top 400ms, box-shadow 200ms, -o-transform 300ms;
    transition: top 400ms, box-shadow 200ms, transform 300ms;
    -webkit-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -ms-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
    background-color: #17171f;
    position: absolute;
    overflow: hidden;
    width: 100%;
    z-index: 2;
    height: 50%;

    &:before {
        content: "Follow, Connect, Link";
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        transition: opacity .2s;
    }
}
.icons-container {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    & .footer-socials {
        & a {
            opacity: 0.6;
            &:hover {
                opacity: 1!important;
            }
        }
    }
}
.footer-socials.boxed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-rows: repeat(2, 1fr); */
    place-items: center;
    grid-row-gap: .25em;
    width: 70%!important;
    & a {
        font-size: 1.6rem;
        &:hover {
            color: var(--primary);
        }
    }
}



/* =================== MEDIA QUERIES ==================== */
@media (max-width: 1200px) {
    .the-plugin {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    /* .bot-scanner-container {
        padding: 1rem;
    } */
    .social-share {
        width: 100%!important;
    }
    .content-wrapper {
        padding-top: 0;
    }
    .scanner-header h1 {
        font-size: 2rem;
    }
    .url-input-group {
        flex-direction: column;
    }
    .hero-content {
        /* padding-inline: var(--spacing-double)!important; */
        .headings-group {
            width: 100%!important;
            .header-logo {
                width: 100%!important;
            }
            h2 {
                font-size: unset;
            }
            .hero-subtitle {
                justify-self: center;
                max-width: 90%;
            }
        }
    }
    .cta-wrapper-index {
        height: 100%!important;
        padding-inline: 1em;
        text-align: center;
    }
    .cube-wrapper {
        flex-direction: column-reverse!important;
        width: 100%!important;
        & .cube-link {
            padding-block: 0!important;
        }
    }
    .problem-cube {
        scale: .6;
    }
    .action-block {
        flex-direction: column!important;
    }
    .quiz-options {
        column-count: 1!important;
    }
    .plugins-wrapper {
        padding-block: 1em;
        h2 {
            margin-top: 0;
        }
        .plugin-nav-list {
            width: 100%;
            margin: 0 auto;
        }
        .plugin-container, .plugin-summary {
            margin-block: 0;
            margin-inline: 1em;
        }
    }
}
@media (max-width: 990px) {
    .action-group {
        gap: var(--spacing);
    }
}
@media (max-width: 946px) {
    header nav {
        aspect-ratio: 1/1;
        border-radius: 100%;
        .availability {
            display: none;
        }
        .nav-links_container {
            display: none;
        }
        .open-icon-container {
            display: grid;
        }
    }
    .bot-scanner-container {
        padding: 1rem!important;
        .scanner-wizard-container {
            grid-template-columns: 1fr;
            grid-template-rows: auto 1fr;
            .vertical-progress {
                flex-direction: row;
                min-height: auto;
                padding: 1rem;
                top: 80px;
                height: 5em;
                .progress-line {
                    width: 100%;
                    height: 4px;
                    flex: 1;
                    background: linear-gradient(270deg, var(--text-muted), transparent);
                }
                .progress-fill {
                    width: 0%;
                    height: 100%;
                    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
                }
                .step-indicators-vertical {
                    flex-direction: row;
                    width: 100%;
                    height: auto;
                    position: static;
                    transform: none;
                    justify-content: space-between;
                }
                .step-indicator-vertical {
                    width: 35px;
                    height: 35px;
                    top: -16px;
                }
            }
            .scanner-wizard {
                .wizard-step {
                    padding: 2em!important;
                    .step-header {
                        flex-direction: column;
                        width: 100%;
                        p {
                            text-align: center;
                        }
                    }
                    .step-content {
                        width:100%!important;
                        display: flex!important;
                        flex-direction: column;
                        padding: 2em;
                        .action-buttons {
                            flex-direction: column;
                        }
                        .see-results-btns {
                            flex-direction: column-reverse;
                        }
                    }
                    .trust-badges {
                        padding-inline: 0;
                        font-size: var(--font-small);
                        text-align: center;
                    }
                    .code-section {
                        pre {
                            width: 100%;
                            code {
                                font-size: 9px;
                            }
                        }
                    }
                }
            }
        }
    }
    #report-content {
        .recommendations, .next-steps {
            text-align: center;
            ul {
                margin-inline: 1em;
                font-size: 1em;
            }
        }
    }
    .plugin-nav-list {
        flex-direction: column;
    }
    .plugin-container, .plugin-summary {
        flex-direction: column;
        margin-inline: 0;
        padding: 8px;
        margin-block: 0;
        max-width: 96vw;
        .plugin-info {
            padding: 1em!important;
            gap: 0;
            min-width: unset;
            .plugin-title h2, .plugin-subtitle {
                text-align: center;
            }
            ul li {
                font-size: unset;
            }
        }
        .plugin-images {
            max-width: 96%!important;
            padding: 0;
        }
    }
    #plugin-container-2 {
        flex-direction: column-reverse;
        .plugin-images {
            display: none;
        }
    }
    .detail {
        display: none!important;
    }
    .contact-form-container {
        form {
            padding: var(--spacing-half);
        }
    }
    footer {
        gap: .5em;
        .footer-site-logo {
            grid-column: 1 / -1;
            grid-row: 2;
            .logo-title {
                width: 100%;
                flex-wrap: wrap;
                place-content: center;
            }
        }
        .contact-row {
            justify-items: end;
            grid-template-columns: repeat(8, 1fr);
            grid-column: 1/-1;
            grid-row: 1;
            & .contact-box:nth-child(1) {
                grid-column: 1/3;
                justify-self: center;
            }
            & .contact-box:nth-child(2) {
                grid-column: 3/5;
                justify-self: left;
            }
            .contact-box:nth-child(3) {
                grid-column: 5/-1;
                justify-self: right;
                .socials {
                    display: grid;
                    justify-items: center;
                    align-items: center;
                    justify-content: center;
                    grid-template-columns: 1fr 1fr;
                    gap: 1em;
                }
            }
        }
        .contact-box {
            scale: .9;
        }
        .copyright {
            grid-row: 3;
        }
    }
}
@media (min-width: 900px) {
    .theme-switch {
        display: flex;
    }
    .page-nav {
        .nav-row {
            display: flex!important;
        }
    }
    .page-nav {
        width: 80vw;
    }
    .logo-switch-container {
        min-width: max-content;
        margin-right: var(--spacing);
    }
}
@media (max-width: 872px) {
    .nav-bar {
        display: none;
    }
    .metrics-grid {
        grid-template-columns: 1fr!important;
    }
    .cta-section {
        height: unset!important;
    }
    .contact-container {
        grid-template-columns: 1fr!important;
        padding: 1em!important;
    }
    .contact-hero {
        /* flex-direction: column; */
    }
}
@media (max-width: 630px) {
    .form-row {
        flex-direction: column;
    }
    .trapdoor {
        scale: 0.8;
    }
    .upload-group label {
        display: flex!important;
        flex-direction: column!important;
    }
    .action-steps {
        grid-template-columns: repeat(1, 1fr)!important;
    }
    .report-actions {
        flex-direction: column;
    }
    .share-link {
        flex-direction: column;
    }
    .social-share {
        .share-buttons {
            flex-direction: column;
            align-items: center;
        }
    }
}
@media (max-width: 600px) {
    header {
        padding: var(--spacing-half);
    } 
    .site-logo {
        width: 1.5rem!important;
    }
    header nav .nav-links_container .nav-link_wrapper:not(:nth-child(3)) {
        display: none;
    }
    .cube-wrapper {
        width: unset!important;
    }
    .cta-section-index {
        width: unset!important;
    }
    .cta-wrapper-last {
        margin-top: unset!important;
        height: 100vh!important;
    }
    /* footer {
        display: flex;
        flex-direction: column;
        padding: .5em .3em;
        align-items: center;
        justify-content: center;
        .footer-site-logo {
            a {
                width: fit-content!important;
            }
        }
        .contact-row {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-around;
            .copyright {
                grid-column: 2 / -1;
            }
        }
        .contact-box {
            padding-block: .3em;
            width: fit-content;
            h3 {
                font-size: var(--font-medium);
            }
            p {
                font-size: var(--font-small);
            }
        }
    } */
    * ul {
        column-count: 1!important;
    }
    .quiz-options {
        column-count: 1!important;
    }
    .quiz-error {
        top: 4vh;
    }
}

/* ================ CONTAINER QUERIES =================== */
@container (max-width: 1268px) {
    .wordpress-path-container {
        flex-wrap: wrap!important;
    }
}
/* MASK SLIDE EFFECTS */
@property --position {
        syntax: "<percentage>";
        inherits: false;
        initial-value: 0%
    }
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* ================ KEYFRAMES ANIMATIONS ================ */
@keyframes text-pulse {
    0% {
        letter-spacing: 1px;
    }
    50% {
        letter-spacing: 2px;
    }
    100% {
        letter-spacing: 1px;
    }
}
@keyframes spin {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}
@keyframes slider {
    0% {
        --position: var(var(--position));
    }
    100% {
        --position: calc(100% + var(--size));
    }
}
/* BUTTON SPECIFIC KEYFRAMES */
@keyframes ring {
    0% {
      width: 100%;
      height: 100%;
      opacity: 1;
    }
    100% {
      width: 130%;
      height: 160%;
      opacity: 0;
    }
  }
@keyframes ring-btn {
    0% {
      width: 100%;
      height: 100%;
      opacity: .5;
    }
    100% {
      width: 120%;
      height: 140%;
      opacity: 0;
    }
}
@keyframes marquee-horizontal {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - .5rem)); 
    }
}
/* Subtle Pulse Animation */
@keyframes subtlePulseIn {
  0% {
    transform: scale(1);
    opacity: .8;
  }
  50% {
    transform: scale(.75);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes subtlePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
/* Scale Pulse Animation for Click */
@keyframes scalePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes unstable-spin {
  0% {
    transform: rotateX(0) rotateY(0) scale(1); /* Front face */
  }
  12.5% {
    transform: rotateX(15deg) rotateY(-90deg) scale(1); /* Right face */
  }
  25% {
    transform: rotateX(-15deg) rotateY(-180deg) scale(1); /* Back face */
  }
  37.5% {
    transform: rotateX(20deg) rotateY(-270deg) scale(1); /* Left face */
  }
  50% { /* Top face appears */
    transform: rotateX(-90deg) rotateY(-360deg) scale(1);
  }
  55% { /* Top face pulse starts */
    transform: rotateX(-90deg) rotateY(-360deg) scale3d(1.1, 1.1, 1.1);
  }
  57.5% { /* Pulse peak */
    transform: rotateX(-90deg) rotateY(-360deg) scale3d(1.15, 1.15, 1.15);
  }
  62% { /* Pulse settles back */
    transform: rotateX(-90deg) rotateY(-360deg) scale(1);
  }
  75% { /* Transition to bottom face */
    transform: rotateX(-270deg) rotateY(0deg) scale(1);
  }
  87.5% { /* Extended pause on bottom face */
    transform: rotateX(-270deg) rotateY(0deg) scale(1);
  }
  100% {
    transform: rotateX(0) rotateY(-360deg) scale(1);
  }
}
@keyframes rotate-to-bottom {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0) scale3d(1, 1, 1);
    }
    460% {
        transform: rotateX(-270deg) rotateY(0) rotateZ(0) scale3d(1, 1, 1);
    }
    70% {
        transform: rotateX(-270deg) rotateY(0) rotateZ(0) scale3d(1.08, 1.08, 1.08);
    }
    80% {
        transform: rotateX(-270deg) rotateY(0) rotateZ(0) scale3d(1, 1, 1);
    }
    90% {
        transform: rotateX(-270deg) rotateY(0) rotateZ(0) scale3d(1.08, 1.08, 1.08);
    }
    100% {
        transform: rotateX(-270deg) rotateY(0) rotateZ(0) scale3d(1, 1, 1);
    }
}

.reset-font {
    font-family: Arial, sans-serif !important;
    color: inherit !important;
}

    