/* Base & Variables */
:root {
    --color-bg: #050505;
    --color-surface: #0f0f0f;
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-accent: #ff4d00;
    --color-accent-dim: rgba(255, 77, 0, 0.2);
    --color-gold: #d4af37;

    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-subheading: 'Jost', 'Helvetica Neue', sans-serif;
    --font-body: 'Jost', 'Helvetica Neue', sans-serif;

    --container-width: 1400px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.12);
    --color-accent-glow: rgba(255, 77, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6a00;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) var(--color-bg);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    image-rendering: -webkit-optimize-contrast;
}

/* BYN Icon System */
.byn-icon {
    display: inline-block;
    width: 0.65em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url("/byn-ico.svg") no-repeat center;
    mask: url("/byn-ico.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: middle;
    margin-left: 0.1em;
    position: relative;
    top: -0.05em;
    opacity: 0.85;
}

.byn-icon-sm {
    width: 0.55em;
    opacity: 0.8;
}

.price-nowrap {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}


h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-align: center;
    line-height: 1.05;
}

p,
.text-reveal-para {
    word-break: normal;
    overflow-wrap: break-word;
}

.section-label {
    font-family: var(--font-subheading);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    display: inline-block;
    color: var(--color-accent);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 2.2rem 0;
    transition: all 0.6s var(--ease-out-expo);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    padding: 1.4rem 0;
    background: rgba(5, 5, 5, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 0.3em;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.4s var(--ease-out-expo), letter-spacing 0.4s var(--ease-out-expo);
    flex-shrink: 0;
    line-height: 1;
}

.logo:hover {
    opacity: 0.5;
    letter-spacing: 0.4em;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 101;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        transform-origin: right;
    }

    .mobile-menu-btn.active span:first-child {
        transform: rotate(-45deg) translate(-2px, 1px);
    }

    .mobile-menu-btn.active span:last-child {
        transform: rotate(45deg) translate(-2px, -1px);
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    /* Priority: Human focal point */
    z-index: -2;
    filter: brightness(0.7) contrast(1.15) saturate(0);
    /* High contrast B&W */
}

@media (max-width: 768px) {
    .hero-bg {
        object-position: center 15%;
        /* Keep person visible on mobile */
    }
}

@media (min-width: 1025px) {
    .hero-bg {
        height: 110%;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.8));
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding-top: 10vh;
}

.tagline {
    display: block;
    font-family: var(--font-subheading);
    letter-spacing: 0.5em;
    font-size: 0.75rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-weight: 500;
    text-transform: uppercase;
}

h1.split-text {
    font-size: clamp(2.5rem, 10vw, 8.5rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: #fff;
    word-break: break-word;
    /* Prevent overflow */
}

.subtitle {
    font-family: var(--font-subheading);
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #e0e0e0;
    line-height: 1.5;
}

.hero-monolith {
    max-width: 1000px;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: clamp(4rem, 14vw, 13rem);
    line-height: 0.85;
    margin-bottom: 1.5rem;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 0.15em;
    font-weight: 600;
}

.hero-subtitle {
    font-family: var(--font-subheading);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 4rem;
}

.hero-promise {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-manifesto {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    letter-spacing: 0.4em;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
}

.hero-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
}

.hero-message {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 2;
    max-width: 580px;
    letter-spacing: 0.03em;
    font-weight: 300;
}

@media (max-width: 768px) {
    .hero {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100vh !important;
        min-height: -webkit-fill-available;
        /* Fix for mobile browser bars */
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .hero-content {
        padding: 0 1.5rem !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 0 !important;
        /* Explicitly remove desktop padding-top */
    }

    .hero-monolith {
        margin: 0 0 2rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-title {
        font-size: 10vw !important;
        /* Slightly smaller for safety */
        margin: 0 0 1rem 0 !important;
        width: 100% !important;
        line-height: 1.1 !important;
        letter-spacing: -0.01em !important;
    }

    .hero-subtitle {
        font-size: 0.7rem !important;
        letter-spacing: 0.1em !important;
        margin: 0 0 2rem 0 !important;
        padding: 0 5% !important;
        width: 100% !important;
        text-align: center !important;
    }

    .tagline {
        font-size: 0.6rem !important;
        letter-spacing: 0.2em !important;
        margin: 0 0 1.5rem 0 !important;
        width: 100% !important;
    }

    .hero-manifesto {
        font-size: 0.8rem !important;
        letter-spacing: 0.1em !important;
        margin: 0 0 1rem 0 !important;
        color: var(--color-accent) !important;
    }

    .hero-divider {
        margin: 0 auto 1.5rem auto !important;
        width: 30px !important;
    }

    .hero-message {
        font-size: 0.75rem !important;
        line-height: 1.5 !important;
        padding: 0 !important;
        margin: 0 auto !important;
        max-width: 90% !important;
        text-transform: none !important;
    }

    .hero-actions {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 2rem !important;
    }

    .btn {
        width: 100% !important;
        max-width: 260px !important;
        /* Snugger fit */
        padding: 1rem !important;
        font-size: 0.75rem !important;
    }
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-subheading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    color: #fff;
    position: relative;
    transition: all 0.3s;
    background: transparent;
    text-decoration: none;
    font-size: 0.8rem;
}

.btn-primary {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-primary:hover {
    background: #e0e0e0;
    /* Removed transform to prevent conflict with GSAP magnetic effect */
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
    /* Removed transform to prevent conflict with GSAP magnetic effect */
}

/* Philosophy */
.philosophy {
    padding: 12rem 0;
    position: relative;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.overflow-hidden {
    overflow: hidden;
}

.text-reveal {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1;
    margin-bottom: 2.5rem;
    color: #fff;
}

.text-reveal-para {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 500px;
}

.image-block {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 4px;
    overflow: hidden;
}

.img-wrapper {
    width: 100%;
    height: 120%;
    position: absolute;
    top: -10%;
}

.philosophy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Priority: Mechanic/Manager visibility */
    filter: grayscale(100%) contrast(1.15) brightness(0.9);
    /* Sharper look */
    transition: filter 0.5s ease;
}

.image-block:hover .philosophy-img {
    filter: grayscale(0%) contrast(1.1);
}

/* Services */
.services {
    padding: 10rem 0;
    background: linear-gradient(to bottom, #050505, #0a0a0a);
}

.services-header {
    text-align: center;
    margin: 0 auto 8rem;
}

.services-header .text-reveal-para {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

@media (max-width: 768px) {
    .services-header {
        margin-bottom: 4rem;
    }

    .services {
        padding: 6rem 0;
    }
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 5rem);
    margin-bottom: 2rem;
    color: #fff;
    text-align: center !important;
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1.0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: 0.08em;
        line-height: 1.1;
    }
}

.divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    margin: 0 auto 2rem;
}

/* Funnel Styling */
.step-label {
    font-family: var(--font-subheading);
    color: var(--color-accent);
    font-size: 0.7rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-align: center !important;
    display: block !important;
    font-weight: 500;
}

.audit-list {
    list-style: none;
    padding: 0;
}

.audit-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.audit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
}

.audit-list li strong {
    color: #fff;
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

@media (max-width: 900px) {
    .audit-details-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

/* Steps Grid (Audit Step 1) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.audit-step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    height: 100%;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.audit-step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 900;
}

.step-card-content h3 {
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    line-height: 1.4;
}

.step-card-content p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.step-card-content p strong {
    color: var(--color-accent);
    font-weight: 600;
}

@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .audit-step-card {
        padding: 2rem;
        grid-column: span 1 !important;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Card Base */
.service-card {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: default;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.high-perf .service-card {
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(12px);
}

.service-card.featured {
    border-color: var(--color-accent);
    box-shadow: 0 0 50px rgba(255, 77, 0, 0.1);
}

@media (min-width: 1025px) {
    .service-card.featured {
        transform: scale(1.05);
        z-index: 5;
    }

    .service-card.featured:hover {
        transform: scale(1.07) translateY(-5px);
    }
}

/* Audit Bridge */
.audit-bridge {
    margin-top: 4rem;
}

.audit-card {
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.audit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 77, 0, 0.1);
}

@media (max-width: 900px) {
    .audit-card {
        grid-template-columns: 1fr !important;
        padding: 2.5rem !important;
        gap: 2rem !important;
        text-align: center;
    }

    .audit-card .btn {
        width: 100%;
    }
}

.problem-list p {
    margin-bottom: 1.25rem !important;
    font-size: 1.05rem !important;
}

/* Service Cards as Links */
.service-card .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    display: block;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Subtle Mouse Glow (High Perf only) */
.high-perf .service-card::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.06),
            transparent 40%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.high-perf .service-card:hover::before {
    opacity: 1;
}

.card-content {
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    height: 100%;
    z-index: 2;
    position: relative;
}

@media (max-width: 1024px) {
    .card-content {
        min-height: auto;
        padding: 2.5rem 1.5rem;
    }
}

@media (min-width: 1025px) {
    .services-grid {
        align-items: stretch;
    }

    .service-card {
        display: flex;
        flex-direction: column;
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: #fff;
    white-space: nowrap;
}

.service-level {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    position: absolute;
    top: 2rem;
    right: 2rem;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 1024px) {
    .service-level {
        font-size: 1.8rem;
        top: 1.25rem;
        right: 1.25rem;
        opacity: 0.15;
    }

    .service-card h3 {
        padding-right: 3.5rem;
        white-space: normal;
        font-size: 1.1rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .card-content {
        padding: 2.5rem 1.5rem;
    }

    .card-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
}

.card-desc {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
    /* Pushes price and button to bottom */
}

.service-features li {
    color: var(--color-text-secondary);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    min-height: 4.5rem;
    /* For horizontal alignment */
    display: flex;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .service-features li {
        min-height: auto;
    }
}

.service-features li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    position: absolute;
    left: 0;
    top: 9px;
}

.price-tag {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price-tag span {
    font-size: 0.8rem;
    font-family: var(--font-subheading);
    color: var(--color-text-secondary);
    display: block;
    margin-top: 0.4rem;
    letter-spacing: 0.1em;
}

/* Trust Section Styling */
.trust {
    padding: 12rem 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .trust {
        padding: 6rem 0;
    }
}

.trust-header {
    text-align: center;
    margin-bottom: 8rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.trust-eyebrow {
    display: block;
    font-family: var(--font-subheading);
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    letter-spacing: 0.3em;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.trust-display {
    display: block;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    font-family: var(--font-heading);
    text-align: center;
}

.trust-header .text-reveal-para {
    margin: 2rem auto 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: stretch;
}

.trust-image-wrapper {
    height: 100%;
    min-height: 600px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.trust-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    /* Priority: Person visibility */
    filter: grayscale(100%) contrast(1.15) brightness(0.9);
}

.features-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
}

.feature-item {
    padding: 2rem 0 2rem 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s;
}

.feature-item:hover {
    border-left-color: var(--color-accent);
}

.text-gold {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.feature-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 8rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #080808;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-sub {
    color: var(--color-text-secondary);
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: #fff;
    text-align: left;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-family: var(--font-subheading);
}

.footer-col a {
    display: block;
    color: var(--color-text-secondary);
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.contact-link {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.legal a {
    color: rgba(255, 255, 255, 0.2);
    margin-left: 2rem;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 400px) {
    .container {
        width: 94%;
    }

    .card-content {
        padding: 2rem 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .text-reveal {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1rem;
    }

    h1.split-text {
        font-size: 2.2rem;
    }

    .hero-content {
        padding-top: 5vh;
    }
}

@media (max-width: 768px) {
    h1.split-text {
        font-size: clamp(2.5rem, 12vw, 4rem);
        line-height: 1;
    }

    .hero-content {
        padding: 0 1.5rem;
        padding-top: 15vh;
    }

    .card-content {
        padding: 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-col h4 {
        margin-bottom: 1rem;
    }

    .social-links {
        margin-top: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .legal a {
        margin: 0 1rem;
        margin-left: 0;
    }

    /* Trust Mobile */
    .trust-eyebrow {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .trust-display {
        font-size: 2rem;
        line-height: 1.2;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .trust-image-wrapper {
        height: 500px;
        order: -1;
    }
}

/* Cinematic Noise Overlay */
.noise-overlay {
    display: none;
}

.high-perf .noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    opacity: 0.03;
    display: block;
    background-image: 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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .reveal {
        transform: translateY(20px);
    }
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for service cards */
.services-grid .service-card:nth-child(2) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.2s;
}

/* Lenis */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Footer CTA Fix */
.footer-cta {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    /* border-radius: 4px; Remove if users want sharp corners, keeping sharp for now */
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-cta h4 {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-cta p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.footer-cta .btn {
    width: 100%;
    margin-top: auto;
    text-align: center;
    z-index: 5;
    position: relative;
    cursor: pointer !important;
    /* Ensure cursor is always pointer */
    pointer-events: auto !important;
}

/* Modal Window */
.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2.5rem;
    background: rgba(255, 77, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-accent-dim);
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #0a0a0a;
    width: 90%;
    max-width: 480px;
    padding: 3rem 2rem;
    border: 1px solid var(--color-accent);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    font-size: 1.5rem;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.05);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: #111;
    color: #fff;
}

.form-footer {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-align: center;
    opacity: 0.6;
}

.form-footer a {
    color: var(--color-text-primary);
}

/* Cookie Banner Updated */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 320px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--color-accent);
    padding: 1.5rem;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 2px;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    width: 100%;
}

.cookie-actions .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    min-width: auto;
    width: auto;
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-top: 1px solid var(--color-accent);
        padding: 1.5rem;
    }
}


/* Floating Widget Updated */
.floating-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    pointer-events: none;
    /* Allow clicks to pass through the empty container space */
}

.widget-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 77, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    animation: pulseWidget 3s infinite;
    pointer-events: auto;
    /* Re-enable clicks for the button */
}

.widget-main-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .widget-main-btn {
        width: 50px;
        height: 50px;
    }

    .widget-main-btn svg {
        width: 24px;
        height: 24px;
    }
}

@keyframes pulseWidget {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 77, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 0, 0);
    }
}

.widget-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--ease-out-expo);
}

.floating-widget.active .widget-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    /* Re-enable clicks when active */
}

.widget-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    pointer-events: none;
}

.floating-widget.active .widget-row {
    pointer-events: auto;
}

.widget-label {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s var(--ease-out-expo);
    font-family: var(--font-subheading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.floating-widget.active .widget-label {
    opacity: 1;
    transform: translateX(0);
}

.widget-row:nth-child(1) .widget-label {
    transition-delay: 0.1s;
}

.widget-row:nth-child(2) .widget-label {
    transition-delay: 0.15s;
}

.widget-row:nth-child(3) .widget-label {
    transition-delay: 0.2s;
}

.widget-row:hover .widget-label {
    color: var(--color-accent);
    border-color: var(--color-accent-dim);
}

.widget-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1a1a1a;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    /* Prevent icons from shrinking */
}

.widget-option:hover {
    background: var(--color-accent);
    transform: scale(1.1);
    border-color: var(--color-accent);
}

.tooltip {
    position: absolute;
    right: 60px;
    background: rgba(10, 10, 10, 0.9);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-option:hover .tooltip {
    opacity: 1;
}

/* Cookie Options Styling */
.cookie-options input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

@media (max-width: 600px) {
    .modal-container {
        padding: 1.5rem;
        width: 95%;
        max-width: none;
    }
}

/* Social Proof */
.social-proof {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to bottom, transparent, rgba(255, 77, 0, 0.02), transparent);
}

.proof-stats {
    text-align: center;
    margin-bottom: 4rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 8rem);
    color: var(--color-accent);
    line-height: 1;
    display: block;
    text-shadow: 0 0 40px rgba(255, 77, 0, 0.15);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.stat-desc {
    font-family: var(--font-subheading);
    color: var(--color-text-secondary);
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

.proof-brands {
    text-align: center;
}

.brands-label {
    font-family: var(--font-subheading);
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    color: var(--color-text-secondary);
    letter-spacing: 0.2em;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    font-weight: 500;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    opacity: 0.6;
}

.brands-grid span {
    font-family: var(--font-subheading);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    letter-spacing: 0.15em;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 400;
}

.brands-sub {
    margin-top: 5rem;
    font-size: 0.85rem;
    font-family: var(--font-subheading);
    color: #fff;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0.95;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .brands-sub {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
        margin-top: 4rem;
        padding: 0 1.5rem;
        line-height: 1.6;
    }
}

/* SQUADRA Premium FAQ */
/* SQUADRA Premium Accordions (FAQ & Services) */
.faq-section {
    padding: 12rem 0;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-grid {
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.6s var(--ease-out-expo);
    transform-origin: center;
    z-index: 5;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.faq-item.active::before {
    transform: scaleY(1);
}

.faq-question {
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.2rem 2.5rem;
    transition: color 0.3s ease;
}

.q-title {
    flex: 1;
    padding-right: 1.5rem;
}

.q-price {
    color: var(--color-accent);
    white-space: nowrap;
    margin-right: 1.5rem;
    font-weight: 700;
}

.faq-question::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
    transition: all 0.5s var(--ease-out-expo);
    margin-left: 2rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question {
    color: #fff;
}

.faq-item.active .faq-question::after {
    transform: rotate(-135deg);
    border-color: #fff;
    margin-top: 8px;
}

.faq-answer {
    height: 0;
    overflow: hidden;
}

.faq-answer-inner {
    padding: 0 4rem 3.5rem 2.5rem;
    opacity: 0;
    transform: translateY(-10px);
}

.faq-answer-inner p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    max-width: 750px;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 8rem 0;
    }

    .faq-grid {
        gap: 1rem;
        margin-top: 4rem;
    }

    .faq-question {
        padding: 1.5rem 1.2rem;
        font-size: 0.8rem;
        letter-spacing: 0.02em;
        /* Reduced for better wrapping on mobile */
        line-height: 1.4;
        text-align: left;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .faq-answer-inner {
        padding: 0 1.2rem 2rem 1.2rem;
    }

    .faq-answer-inner p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .faq-question::after {
        width: 8px;
        height: 8px;
        margin-left: 1rem;
        flex-shrink: 0;
    }
}

/* NEW RULES FROM LATEST REQUEST */
.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    font-size: 1rem;
    color: #888;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .rules-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        font-size: 0.85rem;
    }

    .audit-details-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .brands-grid {
        gap: 1.2rem !important;
        padding: 0 1rem;
    }

    .hero-message {
        background: rgba(0, 0, 0, 0.6) !important;
        padding: 1rem 1.5rem !important;
        border-radius: 8px !important;
        backdrop-filter: blur(5px);
    }
}

.service-card.featured {
    border-color: var(--color-accent);
    box-shadow: 0 0 50px rgba(255, 77, 0, 0.3), inset 0 0 20px rgba(255, 77, 0, 0.1);
    transform: scale(1.02);
}

.recommended-badge {
    position: absolute;
    top: 2rem;
    right: -3rem;
    width: 200px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.6rem 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.4);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}