@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #01211c;
    --accent-color: #fef0d6;
    --text-dim: rgba(254, 240, 214, 0.6);
    --border-color: rgba(254, 240, 214, 0.1);
    --noise-opacity: 0.04;
    --glow-color: rgba(254, 240, 214, 0.03);
    --grid-color: rgba(254, 240, 214, 0.05);
    --modal-bg: #01120f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Default cursor restored for maximum speed and 'native' feel */
}

body {
    background-color: #01120f;
    /* Deeper Green-Black Matte */
    background-image:
        radial-gradient(circle at 100% 0%, rgba(254, 240, 214, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(254, 240, 214, 0.02) 0%, transparent 40%);
    /* REMOVED: background-attachment: fixed; (This is a massive performance killer) */
    color: var(--accent-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Basic GPU Acceleration */
    transform: translateZ(0);
}

/* Optimization: Hide heavy elements on mobile or simplify */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Optimize heavy elements for scrolling */
.bento-card,
.comp-card,
.reveal,
.cursor-follower {
    will-change: transform, opacity;
    transform: translateZ(0);
}

h1,
h2,
h3,
.heading-serif {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
}

/* Noise Texture Overlay - Refined */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    z-index: 9999;
    /* Smoother noise rendering */
    transform: translateZ(0);
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0)
    }

    10% {
        transform: translate(-5%, -10%)
    }

    20% {
        transform: translate(-15%, 5%)
    }

    30% {
        transform: translate(7%, -25%)
    }

    40% {
        transform: translate(-5%, 25%)
    }

    50% {
        transform: translate(-15%, 10%)
    }

    60% {
        transform: translate(15%, 0%)
    }

    70% {
        transform: translate(0%, 15%)
    }

    80% {
        transform: translate(3%, 35%)
    }

    90% {
        transform: translate(-10%, 10%)
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Typography Utilities */
.text-balance {
    text-wrap: balance;
}

.heading-massive {
    font-size: clamp(3rem, 10vw, 8rem);
    /* Slightly smaller for split layout */
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-style: normal;
    /* Cleaner, non-hyper approach */
    text-transform: none;
    font-weight: 400;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(254, 240, 214, 0.05);
    border: 1px solid rgba(254, 240, 214, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.stat-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(254, 240, 214, 0.05);
}

/* Scanner Effect Animation */
@keyframes scan {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    animation: scan 4s linear infinite;
    pointer-events: none;
    z-index: 5;
}

.heading-sub {
    font-size: clamp(2rem, 8vw, 6rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.text-glow {
    /* Razor-sharp flat styling for Old Money aesthetic */
    text-shadow: none !important;
}

.text-gradient {
    /* Flat solid color for high-authority feel */
    background: none;
    background-clip: initial;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: var(--accent-color);
    color: var(--accent-color);
}

#custom-cursor {
    display: none;
    /* Removed the replacement dot for a 'Normal' feel */
}

.cursor-follower {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.1;
    /* Halka phulka glow */
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s linear, opacity 0.3s ease;
    /* Faster response */
    mix-blend-mode: screen;
}

/* Layout Components */
.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.bento-card {
    background: rgba(254, 240, 214, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 3rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(254, 240, 214, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:not(.bg-brand-cream):hover {
    border-color: rgba(254, 240, 214, 0.4);
    transform: translateY(-5px) translateZ(0);
}

/* Specific fix for the light-themed CTA card */
.bento-card.bg-brand-cream:hover {
    filter: brightness(1.05);
    /* Slight glow instead of color shift */
    border-color: var(--bg-color);
}

/* Bespoke Premium Button - Wall Street Aesthetic */
.btn-primary-bespoke {
    background: var(--accent-color);
    color: #01120f;
    padding: 1.25rem 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--accent-color);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary-bespoke:hover {
    background: transparent;
    color: var(--accent-color);
    box-shadow: 0 0 30px rgba(254, 240, 214, 0.1);
}

.glass-bespoke {
    background: rgba(1, 33, 28, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(254, 240, 214, 0.2);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    z-index: 50;
}

.tactical-blueprint-v2 {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.tactical-blueprint-v2:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-5deg);
    border-color: rgba(254, 240, 214, 0.2);
}

.blueprint-grid-bespoke {
    background-image:
        linear-gradient(rgba(254, 240, 214, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(254, 240, 214, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.tactical-blueprint {
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 5;
}

.tactical-blueprint:hover {
    border-color: rgba(254, 240, 214, 0.3);
    transform: perspective(2000px) rotateY(-8deg) rotateX(2deg);
}

/* Buttons */
.btn-primary {
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 100px;
    /* Sexy pill shape */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(254, 240, 214, 0.2);
    filter: brightness(1.1);
}

.btn-outline {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.nav-link {
    position: relative;
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent-color);
}

.nav-link.active::after {
    width: 20px;
}

/* Modal Specifics */
#booking-modal.active {
    visibility: visible;
    opacity: 1;
    overflow-y: auto;
    /* Allow parent level scrolling on mobile */
}

#booking-modal.active .modal-container {
    transform: translateY(0);
}

.pulse-border {
    animation: border-pulse 2s infinite ease-in-out;
}

@keyframes border-pulse {

    0%,
    100% {
        border-color: rgba(254, 240, 214, 0.1);
    }

    50% {
        border-color: rgba(254, 240, 214, 0.4);
    }
}

/* Mobile Scrolling Navigation Utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    -webkit-overflow-scrolling: touch; /* Smooth swiping on iOS */
    scroll-behavior: smooth;
}

/* Animations */
@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.scrolling-ticker {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ticker-content {
    display: flex;
    animation: scrollText 20s linear infinite;
}

.ticker-item {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-right: 4rem;
    color: var(--text-dim);
}


/* Super-Perfect Liquid Glass Navigation System */
nav.fixed {
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    min-width: unset;
    z-index: 110;
    border: 1px solid rgba(254, 240, 214, 0.08);
    border-radius: 100px;
    backdrop-filter: blur(30px) saturate(210%);
    -webkit-backdrop-filter: blur(30px) saturate(210%);
    background: rgba(1, 18, 15, 0.4);
    padding: 0.5rem 1.5rem;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    nav.fixed {
        top: 2.5rem;
        width: 85%;
        max-width: 1200px;
        min-width: unset;
        padding: 0.75rem 2.5rem;
        border: 1px solid rgba(254, 240, 214, 0.15);
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.4),
            inset 0 0 15px rgba(254, 240, 214, 0.05);
        backdrop-filter: blur(40px) saturate(210%);
        -webkit-backdrop-filter: blur(40px) saturate(210%);
    }
}

nav.fixed:hover {
    background: rgba(1, 18, 15, 0.65);
    border-color: rgba(254, 240, 214, 0.3);
    box-shadow:
        0 15px 60px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(254, 240, 214, 0.1),
        inset 0 0 25px rgba(254, 240, 214, 0.08);
}

.nav-link {
    position: relative;
    opacity: 0.5;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    font-weight: 800;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--accent-color);
    letter-spacing: 0.3em;
    /* Organic expansion */
    text-shadow: 0 0 20px rgba(254, 240, 214, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent-color);
}

.nav-link.active::after {
    width: 12px;
}

.btn-nav-accent {
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 0.8rem 2.5rem;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(254, 240, 214, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-nav-accent:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 15px 35px rgba(254, 240, 214, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.8);
    background: #ffffff;
}

.btn-nav-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s ease;
}

.btn-nav-accent:hover::before {
    left: 100%;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Advanced Comparison Section Layout & Enhancements */
.comparison-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    background: rgba(1, 18, 15, 0.3);
    position: relative;
}

.vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: #01120f;
    border: 1px solid rgba(254, 240, 214, 0.15);
    border-radius: 50%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: var(--accent-color);
    box-shadow:
        0 0 50px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(254, 240, 214, 0.05),
        inset 0 0 15px rgba(254, 240, 214, 0.05);
    pointer-events: none;
    letter-spacing: 0.1em;
}

.blueprint-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(254, 240, 214, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(254, 240, 214, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    pointer-events: none;
}

.comp-background-noise {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent, rgba(255, 77, 77, 0.03));
    opacity: 0.6;
    pointer-events: none;
}

.comp-card {
    padding: 10rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.comp-card.old {
    background: rgba(255, 77, 77, 0.015);
    border-right: 1px solid rgba(254, 240, 214, 0.05);
}

.comp-card.new {
    background: rgba(254, 240, 214, 0.003);
}

.comp-card.new:hover {
    background: rgba(254, 240, 214, 0.02);
    box-shadow: inset 0 0 150px rgba(254, 240, 214, 0.02);
}

.comp-card h3 {
    font-size: clamp(3rem, 7.5vw, 6rem);
    line-height: 0.85;
    margin-bottom: 4rem;
    text-transform: uppercase;
    font-style: italic;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 10;
}

.comp-card.new h3 {
    letter-spacing: -0.01em;
}

.comp-card.new:hover h3 {
    letter-spacing: 0.04em;
    text-shadow: 0 0 40px rgba(254, 240, 214, 0.5);
    transform: scale(1.03);
}

.comp-feature {
    font-size: 1.15rem;
    padding: 2.2rem 0;
    border-bottom: 1px solid rgba(254, 240, 214, 0.05);
    display: flex;
    align-items: center;
    gap: 1.8rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
    z-index: 10;
}

.comp-feature:hover {
    transform: translateX(15px);
    background: rgba(254, 240, 214, 0.05);
    padding-left: 1.5rem;
    border-radius: 8px;
    border-bottom-color: transparent;
}

.modern-feature:hover {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(254, 240, 214, 0.4);
}

/* Specific scanner enhancement for modern side */
.comp-card.new .scanner-line {
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    height: 1px;
    opacity: 0.9;
    box-shadow: 0 0 40px var(--accent-color);
}

@keyframes neon-pulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(254, 240, 214, 0.1), 0 0 10px rgba(254, 240, 214, 0.05);
    }

    50% {
        box-shadow: 0 0 20px rgba(254, 240, 214, 0.3), 0 0 40px rgba(254, 240, 214, 0.1);
    }
}

.neon-pulse {
    animation: neon-pulse 3s infinite ease-in-out;
}

.confidential-card {
    border: 1px solid rgba(254, 240, 214, 0.15) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
    .vs-badge {
        display: none;
    }

    .comp-card {
        padding: 6rem 1.5rem;
    }

    .comp-card.new {
        border-left: none;
        border-top: 1px solid rgba(254, 240, 214, 0.05);
    }
}

.comp-feature i {
    font-style: normal;
    opacity: 0.3;
}

.comparison-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--border-color);
}

.comparison-tag.red {
    color: #ff4d4d;
    border-color: rgba(255, 77, 77, 0.3);
}

.comparison-tag.green {
    color: #4dff88;
    border-color: rgba(77, 255, 136, 0.3);
}

/* Portfolio Masonry Placeholder */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.masonry-item {
    aspect-ratio: 4/5;
    background: rgba(254, 240, 214, 0.03);
    border: 1px solid var(--border-color);
    filter: blur(10px);
    transition: all 0.5s ease;
}

.masonry-container {
    position: relative;
    overflow: hidden;
}

.masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 33, 28, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .container-custom {
        max-width: 95%;
    }
}

@media (max-width: 1024px) {
    .heading-massive {
        font-size: 6rem;
    }

    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    /* Comparison Section Stack */
    .comparison-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .comp-card.old {
        border-right: none;
        border-bottom: 1px solid rgba(254, 240, 214, 0.05);
    }
}

@media (max-width: 768px) {
    html {
        cursor: auto;
    }

    #custom-cursor,
    .cursor-follower {
        display: none;
    }

    .container-custom {
        padding: 0 1.25rem;
    }

    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .heading-massive {
        font-size: 3.2rem;
        line-height: 1.1;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    /* Professional Mobile Flow & Spacing */
    .py-24,
    .py-32,
    .py-40 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .pt-32 {
        padding-top: 3rem !important;
    }

    .pb-16 {
        padding-bottom: 0 !important;
    }

    .pt-16 {
        padding-top: 1rem !important;
    }

    .pb-32 {
        padding-bottom: 3rem !important;
    }

    .pt-56 {
        padding-top: 8rem !important;
    }

    /* Comparison Section Mobile Stack */
    .comparison-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .comp-card {
        padding: 4rem 1.5rem;
    }

    .comp-card.old {
        border-right: none;
        border-bottom: 1px solid rgba(254, 240, 214, 0.05);
    }

    .comp-card h3 {
        font-size: 2.8rem;
    }

    .comp-feature {
        font-size: 1rem;
        padding: 1rem 0;
    }

    /* Modal Mobile Refinement - Native Scroll Engine */
    .modal-container {
        width: 100% !important;
        height: auto !important;
        /* Allow natural height expansion */
        min-height: 100vh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        overflow-y: visible !important;
        /* Move scroll to parent */
        flex-direction: column !important;
        padding-bottom: 2rem !important;
    }

    #booking-modal {
        align-items: flex-start !important;
        /* Top-aligned for natural scrolling */
        -webkit-overflow-scrolling: touch;
    }

    #booking-modal .w-full.md\:w-2\/5,
    #booking-modal .w-full.md\:w-3\/5 {
        width: 100% !important;
    }

    .calendly-inline-widget {
        height: 600px !important;
    }

    /* Sexy Floating Nav - Mobile Adjustment */
    nav.fixed {
        top: 1.25rem !important;
        /* Slightly lower to avoid notches */
        width: 94% !important;
        min-width: 0 !important;
        /* FIXED: Removed desktop min-width conflict */
        background: rgba(1, 18, 15, 0.98) !important;
        padding: 0.4rem 1.25rem !important;
        border-radius: 100px;
        z-index: 10000 !important;
        /* Max priority */
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    nav.fixed .flex.justify-between {
        width: 100%;
        gap: 1rem;
    }

    /* Move hamburger to right */
    #mobile-menu-btn {
        order: 2;
    }

    nav.fixed .flex.items-center {
        order: 1;
    }

    .heading-massive {
        font-size: 2.5rem !important;
        line-height: 1.05;
        margin-top: 0.5rem !important;
    }

    .hero-badge {
        font-size: 0.55rem !important;
        padding: 0.35rem 0.75rem !important;
        margin-bottom: 1.5rem !important;
        letter-spacing: 0.1em !important;
    }

    /* Hero Section Specific Mobile Padding - Fixed for Overlap */
    section.min-h-screen.flex.items-center {
        padding-top: 8rem !important;
        /* Balanced spacing */
    }

    .btn-nav-accent {
        display: none !important;
        /* Clean up nav for mobile */
    }

    /* Tighten Lab to Process flow - Adjusted for breathing room */
    #lab {
        padding: 4rem 0 2rem 0 !important;
    }

    #process {
        padding: 4rem 0 4rem 0 !important;
    }

    /* Professional Grid Compression for Mobile Flow - Tighter & Sexy */
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem !important;
        max-height: 480px !important;
        /* Increased to fit the full card */
        overflow: hidden !important;
    }

    .masonry-overlay {
        padding: 1rem !important;
        overflow: visible !important;
    }

    /* Hero & Spacing Fixes */
    .container-custom {
        padding: 0 1.25rem;
        /* Tighter spacing for mobile flow */
    }

    section.min-h-screen.flex.items-center {
        padding-top: 6.5rem !important;
        /* Adjusted to remove the huge gap while still clearing nav */
        padding-bottom: 4rem !important;
    }

    .btn-primary-bespoke {
        width: 100% !important;
        padding: 1.25rem 2rem !important;
        font-size: 0.8rem !important;
        font-weight: 900 !important;
        letter-spacing: 0.15em !important;
    }

    .tactical-blueprint-v2 {
        padding: 2rem 1.25rem !important;
        border-radius: 2rem !important;
    }

    .glass-bespoke {
        padding: 1rem !important;
        top: -1rem !important;
        right: 0 !important;
    }

    /* Authority System Module Fixes */
    .tactical-blueprint-v2 .flex.gap-5 {
        gap: 0.75rem !important;
    }

    .tactical-blueprint-v2 .p-6 {
        padding: 1.25rem !important;
    }

    .masonry-item {
        aspect-ratio: 1/1 !important;
    }

    /* Hero Bespoke CTA & Asset Mobile Fix */
    .btn-primary-bespoke {
        width: 100% !important;
        padding: 1.25rem 2.5rem !important;
        font-size: 0.75rem !important;
        justify-content: center !important;
        gap: 1rem !important;
        white-space: normal !important;
    }

    .tactical-blueprint {
        padding: 2.5rem 1.5rem !important;
        margin-top: 4rem;
        border-radius: 1.5rem !important;
    }

    .tactical-blueprint .absolute:not(.blueprint-grid-bespoke) {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        margin-bottom: 2.5rem;
        transform: none !important;
    }

    .tactical-blueprint [class*="-left-"],
    .tactical-blueprint [class*="-right-"] {
        display: none !important;
    }
}

/* --- NEW FOOTER STYLES --- */

.footer-link {
    font-size: 0.8rem;
    color: var(--accent-color);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-block;
}

.footer-link:hover {
    opacity: 1;
    letter-spacing: 0.3em;
    transform: translateX(5px);
}

.social-icon-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(254, 240, 214, 0.03);
    border: 1px solid rgba(254, 240, 214, 0.08);
    color: var(--accent-color);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.social-icon-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(254, 240, 214, 0.2);
}

.social-icon-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(254, 240, 214, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.social-icon-btn:hover::before {
    opacity: 1;
}

.social-icon-btn svg {
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-btn:hover svg {
    transform: rotate(12deg);
}

@media (max-width: 768px) {
    .social-icon-btn {
        width: 42px;
        height: 42px;
    }
}
