/* ==========================================================================
   TRILINK STUDIOS - PREMIUM STYLESHEET
   Niche: Elite Hotel & Casino Resort Comparison & Reviews
   Aesthetics: Dark futuristic cyberpunk HUD, high-contrast, glowing red accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@700;900&family=Rajdhani:wght@500;600;700;900&family=Oxanium:wght@600;800&family=Roboto+Mono&display=swap');

/* --- Design Tokens & CSS Variables --- */
:root {
    /* Color Palette */
    --bg-page: #070B10;
    --bg-section-dark: #0A0F16;
    --bg-section-deep: #05080D;
    --bg-panel: #111720;
    --bg-panel-secondary: #171B23;
    --bg-footer: #15171B;

    --brand-red: #EF1717;
    --brand-red-dark: #A80F13;
    --brand-red-glow: rgba(239, 23, 23, 0.55);
    --brand-red-overlay: rgba(239, 23, 23, 0.72);
    --brand-red-border: rgba(239, 23, 23, 0.25);

    --text-primary: #FFFFFF;
    --text-secondary: #A7ADB8;
    --text-muted: #6F7785;
    --text-dark: #090B0F;
    --text-accent: #EF1717;

    --border-default: rgba(255, 255, 255, 0.08);
    --border-accent: #EF1717;
    --border-muted: rgba(255, 255, 255, 0.14);

    /* Typography Scale */
    --font-display: 'Rajdhani', 'Orbitron', 'Oxanium', sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;
    --font-mono: 'Roboto Mono', 'Courier New', monospace;

    /* Shape & Geometry Clips */
    --clip-small: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    --clip-large: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 56px 100%, 0 calc(100% - 56px));
    --clip-card: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
    --clip-button: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
    --clip-banner: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));

    /* Shadows & Effects */
    --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.45);
    --shadow-glow-red: 0 0 24px var(--brand-red-glow);
    --shadow-glow-text: 0 0 8px var(--brand-red-glow);
    
    --container-max-width: 1180px;
    --header-height: 74px;
}

/* --- Global Reset & Reset Scrollbars --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Custom Cyber Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-red);
    box-shadow: var(--shadow-glow-red);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
    cursor: pointer;
}
a:hover {
    color: var(--brand-red);
}

button {
    cursor: pointer;
    font-family: var(--font-display);
    text-transform: uppercase;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

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

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--brand-red);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.eyebrow::before, .eyebrow::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 2px;
    background-color: var(--brand-red);
}

/* --- Premium Header Navigation & Mobile Menu --- */
header {
    height: var(--header-height);
    background: rgba(5, 8, 13, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-default);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 300ms ease;
}

header.scrolled {
    background: rgba(5, 8, 13, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.logo-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--brand-red);
    color: var(--text-primary);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    font-size: 16px;
    font-weight: 900;
    font-family: var(--font-display);
    box-shadow: var(--shadow-glow-red);
}

.logo span {
    color: var(--brand-red);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 34px;
    align-items: center;
}

nav a {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    text-transform: uppercase;
    padding: 6px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-red);
    transition: width 180ms ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

nav a:hover, nav a.active {
    color: var(--brand-red);
    text-shadow: var(--shadow-glow-text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.age-badge {
    border: 2px solid var(--brand-red);
    color: var(--brand-red);
    padding: 3px 8px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 900;
    background: transparent;
    box-shadow: 0 0 10px rgba(239, 23, 23, 0.15);
}

/* Mobile Menu Implementation (Pure CSS Checkbox Hack) */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    z-index: 1010;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* --- SPA Pure CSS target Hash Routing --- */
.page-route {
    display: none;
    animation: fadeUp 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-route:target {
    display: block !important;
}

/* Hide the home page if any other route is targeted */
.page-route:target ~ #home {
    display: none !important;
}

/* Default home page display state when no other targeted siblings */
#home {
    display: block;
}

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

/* --- Hero Section & Visual Decorations --- */
.hero {
    position: relative;
    padding: 120px 0 90px;
    background: radial-gradient(circle at 70% 30%, rgba(239, 23, 23, 0.08) 0%, rgba(7, 11, 16, 0) 60%), var(--bg-section-deep);
    border-bottom: 1px solid var(--border-default);
    overflow: hidden;
}

/* Cyber geometric lines */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
    pointer-events: none;
}

/* Neon red pulse dot decoration */
.pulse-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--brand-red);
    border-radius: 50%;
    box-shadow: 0 0 12px 3px var(--brand-red);
    animation: redPulse 1600ms infinite alternate;
}

.hero-pulse-1 { top: 20%; right: 15%; }
.hero-pulse-2 { bottom: 30%; left: 10%; }

@keyframes redPulse {
    from {
        box-shadow: 0 0 8px 1px rgba(239, 23, 23, 0.4);
        transform: scale(0.9);
    }
    to {
        box-shadow: 0 0 24px 6px rgba(239, 23, 23, 0.95);
        transform: scale(1.1);
    }
}

.hero-container {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.2rem;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    text-shadow: 0 0 40px rgba(239, 23, 23, 0.25);
}

.hero h1 span {
    color: var(--brand-red);
    text-shadow: var(--shadow-glow-text);
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 720px;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* --- Angled HUD Button --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 30px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    clip-path: var(--clip-button);
    transition: all 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: none;
}

.btn-primary {
    background-color: var(--brand-red);
    color: var(--text-primary);
    box-shadow: 0 0 10px rgba(239, 23, 23, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.15), transparent);
    pointer-events: none;
}

.btn-primary:hover {
    background-color: var(--text-primary);
    color: var(--bg-page);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(239, 23, 23, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(239, 23, 23, 0.2);
}

/* --- Headline Marquee --- */
.marquee-container {
    background-color: var(--bg-section-dark);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    padding-left: 100%;
}

.marquee-text {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.08);
}

.marquee-text span {
    color: var(--text-primary);
    margin: 0 40px;
    position: relative;
}

.marquee-text span::before {
    content: '///';
    color: var(--brand-red);
    margin-right: 40px;
    font-family: var(--font-display);
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* --- Main Workspace Layout Grid --- */
.main-layout {
    display: grid;
    grid-template-columns: 2.4fr 1fr;
    gap: 40px;
    padding: 80px 0;
}

/* --- Custom Cyber-HUD Resort Card --- */
.resort-card {
    background-color: var(--bg-panel);
    clip-path: var(--clip-card);
    border: 1px solid var(--border-default);
    padding: 3px; /* for inner border wrapping */
    position: relative;
    margin-bottom: 35px;
    transition: transform 300ms ease, border-color 300ms ease;
}

.resort-card-inner {
    background-color: var(--bg-panel);
    clip-path: var(--clip-card);
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.resort-header {
    border-bottom: 1px dashed var(--border-default);
    padding-bottom: 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.resort-info h3 {
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.resort-location {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.resort-location::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--brand-red);
}

.resort-rating {
    background: var(--bg-section-deep);
    border: 1px solid var(--border-default);
    padding: 6px 12px;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--brand-red);
}

/* Premium Visual Graphic Placeholder (No actual images) */
.hud-visual-banner {
    height: 220px;
    background: radial-gradient(circle at center, rgba(239, 23, 23, 0.15) 0%, transparent 70%), linear-gradient(135deg, #111720 0%, #05080D 100%);
    border: 1px solid var(--border-default);
    margin-bottom: 22px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hud-visual-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(transparent 50%, rgba(239, 23, 23, 0.05) 50%),
        linear-gradient(90deg, rgba(239, 23, 23, 0.05) 50%, transparent 50%);
    background-size: 6px 6px;
}

/* Diagonal stripe pattern inside HUD banner */
.hud-stripes {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    gap: 4px;
}

.hud-stripe {
    width: 3px;
    height: 20px;
    background: var(--brand-red);
    transform: skewX(-20deg);
    opacity: 0.6;
}
.hud-stripe:nth-child(2) { opacity: 0.8; height: 25px; }
.hud-stripe:nth-child(3) { opacity: 1; height: 30px; }

.hud-badge-overlay {
    background: rgba(7, 11, 16, 0.85);
    border: 1px solid var(--brand-red);
    padding: 10px 20px;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    box-shadow: var(--shadow-glow-red);
    z-index: 2;
    clip-path: var(--clip-button);
}

.resort-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.feature-tag {
    background: var(--bg-section-dark);
    border: 1px solid var(--border-default);
    padding: 5px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 180ms ease;
}

.resort-card:hover .feature-tag {
    border-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.resort-cta {
    border-top: 1px solid var(--border-default);
    padding-top: 20px;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resort-price {
    font-size: 13px;
    color: var(--text-muted);
}

.resort-price-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: #FFFFFF;
}

/* Hover behaviors for HUD card */
.resort-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    clip-path: var(--clip-card);
    border: 1px solid transparent;
    pointer-events: none;
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

.resort-card:hover {
    transform: translateY(-5px);
}

.resort-card:hover::after {
    border-color: var(--brand-red);
    box-shadow: var(--shadow-glow-red);
}

.resort-card:hover .resort-rating {
    background-color: var(--brand-red);
    color: var(--text-primary);
    box-shadow: 0 0 15px var(--brand-red-glow);
}

/* --- Sticky Sidebar Info Panel --- */
.sidebar-sticky {
    position: sticky;
    top: 110px;
}

.sidebar-panel {
    background-color: var(--bg-panel);
    clip-path: var(--clip-card);
    border: 1px solid var(--border-default);
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
}

.sidebar-panel h3 {
    font-size: 1.4rem;
    border-bottom: 2px solid var(--brand-red);
    padding-bottom: 8px;
    margin-bottom: 18px;
}

.sidebar-panel p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.sidebar-alert {
    background: rgba(239, 23, 23, 0.05);
    border-left: 3px solid var(--brand-red);
    padding: 15px;
    margin: 15px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Editorial & Subpage Longform Containers --- */
.content-block {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-default);
    padding: 40px;
    margin-top: 40px;
    position: relative;
}

/* Corner visual indicators on HUD content blocks */
.hud-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--brand-red);
    border-style: solid;
    opacity: 0.6;
}
.hud-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hud-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.hud-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.hud-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.content-block h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-default);
    padding-bottom: 12px;
}

.content-block h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.content-block p {
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.content-block ul {
    list-style: none;
    margin-bottom: 24px;
}

.content-block li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.content-block li::before {
    content: '//';
    position: absolute;
    left: 0;
    color: var(--brand-red);
    font-weight: 700;
}

/* --- Subpage Containers --- */
.subpage-container {
    max-width: 900px;
    margin: 60px auto;
    background-color: var(--bg-panel);
    border: 1px solid var(--border-default);
    padding: 50px;
    position: relative;
    animation: fadeUp 0.5s ease-out;
}

.subpage-container h1 {
    font-size: 3rem;
    border-bottom: 2px solid var(--brand-red);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.disclosure-box {
    background-color: var(--bg-section-dark);
    border-left: 4px solid var(--brand-red);
    padding: 24px;
    margin-bottom: 35px;
}

/* --- Pure CSS Interactive Forms --- */
.mock-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
    background-color: var(--bg-section-dark);
    border: 1px solid var(--border-default);
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: all 180ms ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 10px rgba(239, 23, 23, 0.15);
}

.mock-form button {
    grid-column: span 2;
    margin-top: 10px;
}

/* --- Structured Footer --- */
footer {
    background-color: var(--bg-footer);
    border-top: 3px solid var(--brand-red);
    padding: 80px 0 30px 0;
    margin-top: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--brand-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--brand-red);
    padding-left: 4px;
}

.footer-contact-info {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input-group {
    display: flex;
}

.newsletter-input {
    background-color: var(--bg-section-deep);
    border: 1px solid var(--border-default);
    padding: 12px 16px;
    color: var(--text-primary);
    width: 100%;
    font-size: 13px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--brand-red);
}

.newsletter-btn {
    background-color: var(--brand-red);
    border: none;
    color: var(--text-primary);
    padding: 0 20px;
    font-family: var(--font-display);
    font-weight: 800;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%);
    transition: all 180ms ease;
}

.newsletter-btn:hover {
    background-color: var(--text-primary);
    color: var(--bg-page);
}

.footer-bottom {
    border-top: 1px solid var(--border-default);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--brand-red);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1200px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar-sticky {
        position: static;
    }
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    :root {
        --header-height: 66px;
    }
    
    h1 { font-size: 2.8rem; }
    h2 { font-size: 1.8rem; }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        display: none;
    }
    
    /* Mobile Menu Drawer Toggle */
    .menu-icon {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 320px;
        height: calc(100vh - var(--header-height));
        background-color: rgba(5, 8, 13, 0.98);
        border-left: 1px solid var(--border-default);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        transition: right 0.3s cubic-bezier(0.77,0.2,0.05,1.0);
        padding: 40px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    nav a {
        font-size: 16px;
        width: 100%;
        display: block;
    }
    
    /* Checkbox hack activation */
    .menu-toggle:checked ~ nav {
        right: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .mock-form {
        grid-template-columns: 1fr;
    }
    
    .mock-form button {
        grid-column: span 1;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .subpage-container {
        padding: 30px 20px;
    }
}
