/* ===================================================================
   Kitchen Eyes - Final Luxury Art-Direction Pass
   Flagship-grade visual polish, wow moments, mobile excellence
   =================================================================== */


/* ======================================
   1. CINEMATIC GRAIN & ATMOSPHERE
   Adds analog film texture across the site
   ====================================== */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    mix-blend-mode: overlay;
}


/* ======================================
   2. TYPOGRAPHY UPGRADE
   Refined scale, rhythm, spacing
   ====================================== */

h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 700;
}

h2 {
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

h3 {
    font-size: clamp(1.4rem, 2.8vw, 1.95rem);
    letter-spacing: -0.015em;
}

.section-header {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header h2 {
    margin-bottom: var(--sp-xl);
}

.section-header p {
    font-size: 1.08rem;
    line-height: 1.9;
    max-width: 580px;
    opacity: 0.95;
    color: var(--text-secondary);
}

.section-header .label,
.section-header .label--gold {
    margin-bottom: var(--sp-xl);
    padding: 7px var(--sp-xl) 7px calc(var(--sp-xl) + 2px);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    box-shadow: 0 0 24px rgba(30, 127, 122, 0.08);
}

.brand-statement__text {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    line-height: 1.85;
    max-width: 800px;
    color: var(--text-secondary);
}


/* ======================================
   3. HERO SECTIONS - Flagship Level
   ====================================== */

/* -- Home Hero -- */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
}

.hero__bg-overlay {
    background:
        linear-gradient(145deg,
            rgba(5,12,24,0.65) 0%,
            rgba(7,17,31,0.10) 30%,
            rgba(5,12,24,0.14) 55%,
            rgba(5,12,24,0.68) 100%);
}

.hero__bg-vignette {
    background:
        radial-gradient(ellipse at 25% 45%, transparent 20%, rgba(5,12,24,0.32) 65%),
        radial-gradient(ellipse at 80% 80%, rgba(184,149,94,0.10) 0%, transparent 45%),
        radial-gradient(ellipse at 65% 20%, rgba(30,127,122,0.14) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(30,127,122,0.06) 0%, transparent 70%);
}

.hero__title {
    font-size: clamp(3.2rem, 7vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: var(--sp-xl);
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.95;
    max-width: 540px;
    margin-bottom: var(--sp-2xl);
    opacity: 1;
    color: var(--text-secondary);
}

.hero__label {
    margin-bottom: calc(var(--sp-xl) + 0.5rem);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
}

.hero__label::before {
    width: 40px;
    background: linear-gradient(90deg, var(--gold), var(--gold-subtle));
}

/* Ring visual - premium signature */
.hero__ring-glow {
    background: radial-gradient(circle at center,
        rgba(30, 127, 122, 0.28) 0%,
        rgba(30, 127, 122, 0.16) 25%,
        rgba(184, 149, 94, 0.08) 45%,
        rgba(30, 127, 122, 0.04) 60%,
        transparent 75%);
}

.hero__ring-outer {
    border-color: rgba(30, 127, 122, 0.40);
    box-shadow:
        0 0 100px rgba(30, 127, 122, 0.15),
        0 0 200px rgba(30, 127, 122, 0.06),
        inset 0 0 50px rgba(30, 127, 122, 0.06);
}

.hero__ring-node {
    box-shadow:
        0 0 10px rgba(30, 127, 122, 0.8),
        0 0 24px rgba(30, 127, 122, 0.4),
        0 0 48px rgba(30, 127, 122, 0.15);
}

.hero__ring-mid {
    border-color: rgba(30, 127, 122, 0.18);
    box-shadow:
        0 0 40px rgba(30, 127, 122, 0.05),
        inset 0 0 20px rgba(30, 127, 122, 0.03);
}

.hero__ring-pulse {
    border-color: rgba(30, 127, 122, 0.12);
    box-shadow:
        0 0 30px rgba(30, 127, 122, 0.06),
        0 0 60px rgba(30, 127, 122, 0.03);
}

.hero__ring-inner {
    background: rgba(30, 127, 122, 0.10);
    box-shadow:
        0 0 140px rgba(30, 127, 122, 0.25),
        0 0 280px rgba(30, 127, 122, 0.10),
        inset 0 0 80px rgba(30, 127, 122, 0.12),
        inset 0 0 160px rgba(30, 127, 122, 0.05);
}

.hero__ring-core {
    font-size: 2.4rem;
    color: var(--teal-light);
    text-shadow:
        0 0 20px rgba(30, 127, 122, 0.6),
        0 0 50px rgba(30, 127, 122, 0.25),
        0 0 100px rgba(30, 127, 122, 0.08);
}

.hero__badge {
    background: rgba(8, 18, 30, 0.94);
    border-color: rgba(30, 127, 122, 0.10);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.5),
        0 0 1px rgba(255,255,255,0.08),
        0 0 20px rgba(30, 127, 122, 0.04);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
}

.hero__badge:hover {
    border-color: rgba(30, 127, 122, 0.35);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.5),
        0 0 20px rgba(30, 127, 122, 0.12),
        0 0 40px rgba(30, 127, 122, 0.04);
}

/* -- Page Heroes (interior) -- */
.page-hero {
    padding: calc(var(--nav-height) + var(--sp-5xl) + 1rem) 0 calc(var(--sp-5xl) + 1rem);
}

.page-hero__content {
    max-width: 780px;
}

.page-hero h1 {
    margin-bottom: calc(var(--sp-lg) + 0.25rem);
    text-shadow: 0 2px 40px rgba(0,0,0,0.25);
}

.page-hero p {
    font-size: 1.12rem;
    line-height: 1.9;
    max-width: 600px;
    opacity: 0.85;
}

/* Page hero atmospheric depth */
.page-hero::after {
    width: 90%;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(30,127,122,0.08) 0%, transparent 55%);
}


/* ======================================
   4. PREMIUM BUTTONS
   ====================================== */

.btn--primary {
    background: linear-gradient(135deg, #1E7F7A 0%, #19706B 40%, #1E7F7A 100%);
    background-size: 200% 200%;
    box-shadow:
        0 4px 20px rgba(30, 127, 122, 0.28),
        0 0 0 1px rgba(30, 127, 122, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.12);
    letter-spacing: 0.05em;
}

.btn--primary {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s ease,
                background-position 0.45s ease;
}

.btn--primary:hover {
    box-shadow:
        0 8px 40px rgba(30, 127, 122, 0.45),
        0 0 0 1px rgba(30, 127, 122, 0.25),
        0 0 24px rgba(30, 127, 122, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 1.15rem 3rem;
    font-size: 0.92rem;
    border-radius: var(--radius-lg);
}

.btn--secondary {
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    letter-spacing: 0.04em;
}

.btn--secondary {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.45s ease,
                box-shadow 0.45s ease,
                color 0.35s ease,
                background 0.45s ease;
}

.btn--secondary:hover {
    border-color: rgba(30, 127, 122, 0.5);
    box-shadow:
        0 0 30px rgba(30, 127, 122, 0.12),
        0 0 0 1px rgba(30, 127, 122, 0.1),
        inset 0 0 24px rgba(30, 127, 122, 0.04);
    transform: translateY(-2px);
}

.btn--gold {
    background: linear-gradient(135deg, #866A38 0%, #A8874C 30%, #B8955E 60%, #C4A568 100%);
    color: #0A0E16;
    font-weight: 600;
    box-shadow:
        0 4px 24px rgba(145, 117, 72, 0.30),
        0 0 0 1px rgba(145, 117, 72, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -1px 0 rgba(0,0,0,0.10);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.45s ease,
                box-shadow 0.45s ease;
}

.btn--gold:hover {
    background: linear-gradient(135deg, #917548 0%, #B8955E 30%, #C4A568 60%, #CDB070 100%);
    color: #0A0E16;
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(145, 117, 72, 0.38),
        0 0 0 1px rgba(145, 117, 72, 0.25),
        0 0 32px rgba(184, 149, 94, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.20),
        inset 0 -1px 0 rgba(0,0,0,0.08);
}

.btn--gold:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #6B5228 0%, #866A38 30%, #A8874C 60%, #B8955E 100%);
    box-shadow:
        0 4px 16px rgba(145, 117, 72, 0.28),
        0 0 0 1px rgba(145, 117, 72, 0.20),
        inset 0 2px 4px rgba(0,0,0,0.15);
}

.btn--gold:focus-visible {
    outline: none;
    box-shadow:
        0 12px 40px rgba(145, 117, 72, 0.38),
        0 0 0 2px #0A0E16,
        0 0 0 4px rgba(184, 149, 94, 0.55),
        inset 0 1px 0 rgba(255,255,255,0.20);
}


/* ======================================
   5. CARDS - Deeper Luxury Feel
   ====================================== */

.card {
    box-shadow:
        var(--shadow-sm),
        inset 0 1px 0 rgba(255,255,255,0.035),
        inset 0 -1px 0 rgba(0,0,0,0.15);
    border-color: rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.45s ease,
                background 0.45s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.45),
        0 0 30px rgba(30, 127, 122, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.05);
    border-color: rgba(30, 127, 122, 0.2);
}

/* Keep all cards aligned: same icon block height */
.card__icon {
    flex-shrink: 0;
}

.card__text {
    flex: 1;
}

.card__number {
    font-size: 0.72rem;
    color: var(--teal-light);
    opacity: 0.7;
    letter-spacing: 0.14em;
}

.card__title {
    font-size: 1.18rem;
    letter-spacing: -0.01em;
}


/* ======================================
   6. PILLAR CARDS - Upgraded
   ====================================== */

.pillar-card {
    box-shadow:
        var(--shadow-sm),
        inset 0 1px 0 rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.05);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.45s ease;
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 24px 64px rgba(0,0,0,0.5),
        0 0 40px rgba(30, 127, 122, 0.06);
}

.pillar-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
}


/* ======================================
   7. NAVIGATION - Premium Polish
   ====================================== */

.nav {
    height: 76px;
}

.nav--scrolled {
    background: rgba(5, 12, 24, 0.92);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.03),
        0 4px 48px rgba(0,0,0,0.45);
}

.nav__brand-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    filter: drop-shadow(0 0 14px rgba(30, 127, 122, 0.40))
            drop-shadow(0 0 36px rgba(30, 127, 122, 0.10));
}

.nav__link {
    font-size: 0.82rem;
    letter-spacing: 0.015em;
    transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__links:hover .nav__link:not(:hover) {
    opacity: 0.55;
}

.nav__link::after {
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 6px rgba(30, 127, 122, 0.3);
}


/* ======================================
   8. CTA BANNERS - Cinematic Premium
   ====================================== */

.cta-banner {
    padding: clamp(5.5rem, 11vw, 10rem) 0;
}

.cta-banner::before {
    background: linear-gradient(90deg,
        transparent 5%,
        rgba(30,127,122,0.25) 20%,
        rgba(184,149,94,0.3) 40%,
        rgba(30,127,122,0.35) 50%,
        rgba(184,149,94,0.3) 60%,
        rgba(30,127,122,0.25) 80%,
        transparent 95%);
    opacity: 0.45;
    height: 2px;
    filter: blur(0.5px);
}

.cta-banner--cinematic {
    padding: clamp(6rem, 12vw, 11rem) 0;
    margin-bottom: 0;
}

/* Breathing space between CTA and footer */
.cta-banner + .footer,
.cta-banner--cinematic + .footer {
    margin-top: clamp(2rem, 4vw, 4rem);
}

.cta-banner h2 {
    margin-bottom: var(--sp-lg);
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.cta-banner p {
    margin: 0 auto var(--sp-2xl);
    max-width: 580px;
    font-size: 1.05rem;
    line-height: 1.85;
    opacity: 0.85;
}

.cta-banner__actions {
    gap: var(--sp-lg);
}


/* ======================================
   9. DASHBOARD PANELS - Command Centre Elite
   ====================================== */

.dash-panel {
    background: linear-gradient(180deg, rgba(8,16,28,0.98) 0%, rgba(5,12,24,0.99) 100%);
    border-color: rgba(255,255,255,0.07);
    box-shadow:
        0 16px 56px rgba(0,0,0,0.55),
        0 0 1px rgba(255,255,255,0.06),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.dash-panel:hover {
    box-shadow:
        0 24px 72px rgba(0,0,0,0.6),
        0 0 50px rgba(30, 127, 122, 0.07),
        0 0 1px rgba(255,255,255,0.08),
        inset 0 1px 0 rgba(255,255,255,0.05);
    border-color: rgba(30, 127, 122, 0.25);
}

.dash-panel__header {
    background: rgba(255,255,255,0.02);
    border-bottom-color: rgba(255,255,255,0.05);
    padding: var(--sp-lg) calc(var(--sp-xl) + 4px);
}

.dash-panel__title {
    font-size: 1rem;
    letter-spacing: -0.005em;
}

.dash-panel__accent {
    height: 2px;
    box-shadow: 0 0 12px rgba(30, 127, 122, 0.2);
}

.dash-panel__accent--gold {
    box-shadow: 0 0 12px rgba(184, 149, 94, 0.15);
}

/* KPI values - sharper hierarchy */
.dash-kpi__value {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 0 24px rgba(30, 127, 122, 0.2);
}

.dash-kpi__label {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    margin-top: 8px;
    opacity: 0.7;
}

/* Chart bars - richer colors */
.dash-chart__bar {
    background: linear-gradient(180deg, rgba(30,127,122,0.55) 0%, rgba(23,94,90,0.3) 100%);
    border-radius: 4px 4px 1px 1px;
}

.dash-chart__bar--accent {
    background: linear-gradient(180deg, #1E7F7A 0%, rgba(30,127,122,0.65) 100%);
    box-shadow: 0 0 8px rgba(30, 127, 122, 0.15);
}

.dash-chart {
    background: rgba(10,21,34,0.6);
    border: 1px solid rgba(255,255,255,0.03);
}

/* Alert rows - premium feel */
.dash-alert {
    background: rgba(14,25,38,0.7);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    transition: border-color 0.4s ease, background 0.4s ease;
}

.dash-alert:hover {
    border-color: rgba(255,255,255,0.06);
    background: rgba(14,25,38,0.9);
}

/* KPI row cells */
.dash-kpi {
    background: rgba(14,25,38,0.5);
    padding: var(--sp-md) var(--sp-md);
}


/* ======================================
   10. FEATURE VISUALS - Richer Treatment
   ====================================== */

.feature-row__visual {
    box-shadow:
        0 8px 40px rgba(0,0,0,0.45),
        0 0 1px rgba(255,255,255,0.04),
        inset 0 1px 0 rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.05);
    min-height: 340px;
    transition: box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.55s ease;
}

.feature-row__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(30,127,122,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(184,149,94,0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.feature-row__visual:hover {
    transform: translateY(-2px);
    border-color: rgba(30, 127, 122, 0.12);
    box-shadow:
        0 16px 56px rgba(0,0,0,0.5),
        0 0 40px rgba(30, 127, 122, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.05);
}


/* ======================================
   11. FOOTER - Polished Luxury
   ====================================== */

.footer--luxury {
    padding-top: clamp(5.5rem, 10vw, 8rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer--luxury .footer__grid {
    gap: clamp(3.5rem, 7vw, 7rem);
    margin-bottom: clamp(3.5rem, 6vw, 5rem);
}

.footer--luxury::before {
    height: 2px;
    background: linear-gradient(90deg,
        transparent 5%,
        rgba(30,127,122,0.25) 20%,
        rgba(184,149,94,0.30) 40%,
        rgba(30,127,122,0.40) 50%,
        rgba(184,149,94,0.30) 60%,
        rgba(30,127,122,0.25) 80%,
        transparent 95%);
    opacity: 0.6;
    filter: blur(0.5px);
}

.footer__brand h3 {
    font-size: 1.3rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-family: var(--font-light);
    font-weight: 500;
    margin-bottom: var(--sp-sm);
}

.footer__brand p {
    line-height: 1.85;
    opacity: 0.9;
    max-width: 340px;
    color: var(--text-secondary);
}

.footer__brand-icon {
    filter: drop-shadow(0 0 16px rgba(30, 127, 122, 0.35))
            drop-shadow(0 0 40px rgba(30, 127, 122, 0.10));
}

.footer--luxury .footer__col h4 {
    margin-bottom: var(--sp-2xl);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    color: var(--text-secondary);
    position: relative;
}

.footer--luxury .footer__col h4::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, rgba(30, 127, 122, 0.5), rgba(30, 127, 122, 0.2));
    margin-top: var(--sp-lg);
}

.footer__col a {
    transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                padding-left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: block;
    padding: 0.7rem 0;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
}

.footer__col a:hover {
    color: var(--teal-light);
    transform: translateX(3px);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: var(--sp-3xl);
    margin-top: var(--sp-xl);
    opacity: 0.80;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    color: var(--text-dim);
}


/* ======================================
   12. SECTION DEPTH & EDGE LIGHTING
   ====================================== */

/* Top-edge lighting on sections */
.section--dark::before,
.section--darker::before,
.section--alt::before {
    height: 2px;
    background: linear-gradient(90deg,
        transparent 5%,
        rgba(255,255,255,0.02) 15%,
        rgba(255,255,255,0.05) 40%,
        rgba(255,255,255,0.07) 50%,
        rgba(255,255,255,0.05) 60%,
        rgba(255,255,255,0.02) 85%,
        transparent 95%);
    filter: blur(0.3px);
}

/* Subtle bottom glow on sections */
.section {
    padding: clamp(4.5rem, 9.5vw, 9rem) 0;
}

/* Premium section divider lines */
.section-glow-line {
    height: 2px;
    opacity: 0.4;
    filter: blur(0.3px);
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg,
        transparent 5%,
        rgba(30,127,122,0.15) 30%,
        rgba(184,149,94,0.15) 50%,
        rgba(30,127,122,0.15) 70%,
        transparent 95%);
}


/* ======================================
   13. ATMOSPHERE PANELS - Cinematic Upgrade
   ====================================== */

.atmosphere-panel {
    padding: clamp(5rem, 10vw, 8rem) 0;
}

.atmosphere-panel__bg-overlay {
    background: linear-gradient(180deg,
        rgba(5,12,24,0.75) 0%,
        rgba(7,17,31,0.18) 25%,
        rgba(5,12,24,0.18) 75%,
        rgba(5,12,24,0.78) 100%);
}

.atmosphere-panel__quote p {
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    line-height: 1.9;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
    color: var(--text-primary);
}


/* ======================================
   14. CINEMATIC STRIPS - Richer
   ====================================== */

.cinematic-strip {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.cinematic-strip__bg-overlay {
    background: linear-gradient(180deg,
        rgba(5,12,24,0.74) 0%,
        rgba(7,17,31,0.20) 40%,
        rgba(5,12,24,0.20) 60%,
        rgba(5,12,24,0.74) 100%);
}


/* ======================================
   15. IMAGE PANELS & CONTACT SIDE - Glass
   ====================================== */

.contact-side-panel {
    box-shadow:
        0 16px 56px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.06);
}

.image-panel {
    box-shadow:
        0 12px 48px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.04);
}


/* ======================================
   16. CONTACT FORM - Premium Upgrade
   ====================================== */

.contact-form {
    box-shadow:
        0 16px 64px rgba(0,0,0,0.45),
        0 0 1px rgba(255,255,255,0.05),
        inset 0 1px 0 rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.06);
    padding: var(--sp-3xl) calc(var(--sp-2xl) + 0.5rem);
}

.contact-form::before {
    height: 2px;
    box-shadow: 0 0 16px rgba(30, 127, 122, 0.2);
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.9rem 1.15rem;
    background: rgba(10,21,34,0.7);
    border-color: rgba(255,255,255,0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background: rgba(10,21,34,0.9);
    box-shadow: 0 0 0 3px rgba(30,127,122,0.12), 0 0 20px rgba(30,127,122,0.06);
}

.form-label {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: none;
}


/* ======================================
   17. KPI COUNTERS - Sharper
   ====================================== */

.counter-item__value {
    font-size: clamp(2.8rem, 5vw, 3.6rem);
    text-shadow: 0 0 40px rgba(30, 127, 122, 0.18);
}

.counter-item__label {
    margin-top: var(--sp-sm);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    opacity: 0.65;
}


/* ======================================
   18. TIMELINE - Deeper
   ====================================== */

.timeline::before {
    width: 2px;
    background: linear-gradient(180deg,
        var(--teal) 0%,
        var(--teal-muted) 50%,
        var(--gold-subtle) 80%,
        var(--gold) 100%);
    box-shadow: 0 0 12px rgba(30,127,122,0.1);
}

.timeline__dot {
    box-shadow: 0 0 24px rgba(30, 127, 122, 0.25), 0 0 8px rgba(30, 127, 122, 0.15);
}

.timeline__tag {
    transition: border-color 0.2s ease, background 0.2s ease;
}

.timeline__tag:hover {
    border-color: var(--border-accent);
    background: rgba(30,127,122,0.06);
}


/* ======================================
   19. PROCESS STEPS - Premium
   ====================================== */

.process-step__num {
    width: 52px;
    height: 52px;
    box-shadow:
        0 0 36px rgba(30, 127, 122, 0.3),
        0 0 12px rgba(30, 127, 122, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.12);
}


/* ======================================
   20. BADGE ENHANCEMENTS
   ====================================== */

.badge {
    box-shadow: 0 0 16px rgba(30, 127, 122, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge--gold {
    box-shadow: 0 0 16px rgba(184, 149, 94, 0.06);
}


/* ======================================
   21. REVEAL ANIMATIONS - Premium Motion
   ====================================== */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Nested reveal rules removed: all cards are now independent root reveals.
 * Each card is observed individually by IntersectionObserver.
 * Stagger is handled purely by reveal--delay-N classes.
 */

/* Premium stagger rhythm */
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }
.reveal--delay-4 { transition-delay: 0.48s; }
.reveal--delay-5 { transition-delay: 0.60s; }


/* ======================================
   22. ACCENT BAR UPGRADE
   ====================================== */

.accent-bar {
    width: 64px;
    height: 2px;
    box-shadow: 0 0 16px rgba(30, 127, 122, 0.2);
}

.accent-bar--gold {
    box-shadow: 0 0 16px rgba(184, 149, 94, 0.15);
}


/* ======================================
   23. GOV STRIP - Premium
   ====================================== */

.gov-strip__icon {
    box-shadow: 0 0 16px rgba(30, 127, 122, 0.06);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.gov-strip__item:hover .gov-strip__icon {
    box-shadow: 0 0 24px rgba(30, 127, 122, 0.12);
    border-color: rgba(30, 127, 122, 0.35);
}


/* ======================================
   24. GRADIENT TEXT - Richer
   ====================================== */

.gradient-text {
    background: linear-gradient(135deg, #7EDDD7 0%, #5FC7C0 20%, #1E7F7A 45%, #B8955E 75%, #D2B27A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ======================================
   25. SCROLLBAR - Refined
   ====================================== */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(30,127,122,0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(30,127,122,0.5);
}


/* ======================================
   WOW MOMENT: HOME HERO AMBIENT PULSE
   Subtle breathing glow on the ring
   ====================================== */

@keyframes ambient-pulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.hero__ring-inner {
    animation: ambient-pulse 6s ease-in-out infinite;
}

/* Outer ring dashed accent overlay */
.hero__ring-outer::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px dashed rgba(30, 127, 122, 0.12);
    animation: ring-spin 80s linear infinite reverse;
}

/* Mid ring accent overlay */
.hero__ring-mid::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px dashed rgba(184, 149, 94, 0.08);
    animation: ring-spin 60s linear infinite;
}


/* ======================================
   WOW MOMENT: DASHBOARD LIVE INDICATOR
   Pulsing dot on live badges
   ====================================== */

@keyframes live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 currentColor; }
    50% { box-shadow: 0 0 0 4px transparent; }
}

.badge__dot {
    animation: live-pulse 2.5s ease-in-out infinite;
}


/* ======================================
   WOW MOMENT: CTA BANNER GLOW SWEEP
   Animated light sweep across top border
   ====================================== */

@keyframes glow-sweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.cta-banner--cinematic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(30,127,122,0.4) 30%,
        rgba(184,149,94,0.5) 50%,
        rgba(30,127,122,0.4) 70%,
        transparent 100%);
    animation: glow-sweep 8s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}


/* ======================================
   WOW MOMENT: ABOUT ATMOSPHERE
   Extra radial glow behind quote
   ====================================== */

.atmosphere-panel__quote::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center,
        rgba(30,127,122,0.06) 0%,
        rgba(184,149,94,0.03) 30%,
        transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.atmosphere-panel__quote {
    position: relative;
}


/* ============================================================
   RESPONSIVE: MOBILE-FIRST PREMIUM EXPERIENCE
   ============================================================ */

/* --- TABLET (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .hero__title {
        font-size: clamp(2.8rem, 5.5vw, 3.8rem);
    }

    .hero__content {
        gap: var(--sp-2xl);
    }

    .cta-banner--cinematic {
        padding: clamp(4.5rem, 9vw, 7rem) 0;
    }

    .counter-grid {
        gap: var(--sp-xl);
    }

    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: var(--sp-2xl);
    }
}

/* --- MOBILE NAV BREAKPOINT (max-width: 968px) --- */
@media (max-width: 968px) {
    .nav {
        height: 68px;
    }

    .hero {
        min-height: auto;
        min-height: auto;
        padding-top: 68px;
        padding-bottom: var(--sp-3xl);
    }

    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--sp-3xl) 0 var(--sp-xl);
    }

    .hero__text {
        max-width: 560px;
        margin: 0 auto;
    }

    .hero__title {
        font-size: clamp(2.4rem, 8vw, 3.2rem);
        line-height: 1.06;
        margin-bottom: var(--sp-lg);
    }

    .hero__subtitle {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 440px;
        margin-bottom: var(--sp-xl);
    }

    .hero__label {
        margin-bottom: var(--sp-lg);
        font-size: 0.62rem;
    }

    .hero__actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: var(--sp-md);
    }

    .hero__actions .btn--lg {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .hero__visual {
        margin-top: var(--sp-xl);
        transform: scale(0.85);
    }

    .hero__ring {
        width: 260px;
        height: 260px;
    }

    .hero__badge {
        display: none;
    }

    /* Page hero mobile */
    .page-hero {
        padding: calc(68px + var(--sp-3xl)) 0 var(--sp-3xl);
    }

    .page-hero h1 {
        font-size: clamp(2rem, 7vw, 2.6rem);
        line-height: 1.1;
    }

    .page-hero p {
        font-size: 0.98rem;
        max-width: 480px;
    }

    .page-hero__content {
        max-width: 560px;
        padding: 0 var(--sp-md);
    }

    /* Split layouts */
    .split {
        grid-template-columns: 1fr;
        gap: var(--sp-2xl);
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--sp-xl);
    }

    .feature-row--reverse {
        direction: ltr;
    }

    .feature-row__visual {
        min-height: 260px;
    }

    /* Mobile nav menu */
    .nav__mobile {
        background: rgba(5, 12, 24, 0.98);
        backdrop-filter: blur(32px) saturate(1.2);
        -webkit-backdrop-filter: blur(32px) saturate(1.2);
        gap: var(--sp-lg);
        padding: var(--sp-3xl) var(--sp-xl);
    }

    .nav__mobile .nav__link {
        font-size: 1.15rem;
        padding: var(--sp-sm) 0;
        letter-spacing: 0.02em;
    }

    .nav__mobile .btn {
        width: 100%;
        max-width: 280px;
        margin-top: var(--sp-lg);
        text-align: center;
    }
}

/* --- MOBILE (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Reveal: lighter motion on mobile */
    .reveal {
        transform: translateY(20px);
        transition-duration: 0.85s;
    }
    .reveal--group {
        transform: none;
    }

    /* Container padding */
    .container {
        padding: 0 var(--sp-lg);
    }

    /* Section spacing */
    .section {
        padding: clamp(3rem, 8vw, 5rem) 0;
    }

    /* Section headers */
    .section-header {
        margin-bottom: var(--sp-2xl);
    }

    .section-header h2 {
        font-size: clamp(1.7rem, 5.5vw, 2.2rem);
        line-height: 1.12;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Brand statement */
    .brand-statement {
        padding: var(--sp-3xl) 0;
    }

    .brand-statement__text {
        font-size: clamp(1.15rem, 4vw, 1.4rem);
        line-height: 1.85;
    }

    /* Cards */
    .card {
        padding: var(--sp-xl) var(--sp-lg) var(--sp-xl);
    }

    .card:hover {
        transform: translateY(-2px);
    }

    .card__title {
        font-size: 1.08rem;
    }

    /* Pillar cards */
    .pillar-card {
        padding: var(--sp-xl) var(--sp-lg) var(--sp-xl);
    }

    .pillar-card:hover {
        transform: translateY(-2px);
    }

    .pillar-card__icon {
        width: 52px;
        height: 52px;
    }

    /* Grid layouts */
    .grid--2,
    .grid--3,
    .grid--4,
    .grid--5 {
        grid-template-columns: 1fr;
        gap: var(--sp-lg);
    }

    /* Dashboard panels */
    .dash-panel {
        border-radius: var(--radius-lg);
    }

    .dash-panel__header {
        padding: var(--sp-md) var(--sp-lg);
        flex-wrap: wrap;
        gap: var(--sp-sm);
    }

    .dash-panel__body {
        padding: var(--sp-md);
    }

    .dash-kpi-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }

    .dash-kpi__value {
        font-size: 1.5rem;
    }

    .dash-kpi__label {
        font-size: 0.55rem;
    }

    .dash-chart {
        height: 50px !important;
    }

    /* Alert list mobile */
    .dash-alert {
        font-size: 0.75rem;
        padding: 8px 10px;
    }

    .dash-alert__time {
        font-size: 0.65rem;
    }

    /* Status grid */
    .dash-status-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CTA banners */
    .cta-banner {
        padding: clamp(3.5rem, 8vw, 5rem) 0;
    }

    .cta-banner--cinematic {
        padding: clamp(4rem, 9vw, 6rem) 0;
    }

    /* Footer mobile */
    .footer--luxury {
        padding-top: clamp(4rem, 8vw, 6rem);
        padding-bottom: var(--sp-2xl);
    }

    .cta-banner + .footer,
    .cta-banner--cinematic + .footer {
        margin-top: var(--sp-xl);
    }

    .cta-banner h2 {
        font-size: clamp(1.7rem, 5.5vw, 2.2rem);
        line-height: 1.12;
    }

    .cta-banner p {
        font-size: 0.95rem;
        max-width: 400px;
    }

    .cta-banner__actions {
        flex-direction: column;
        align-items: center;
        gap: var(--sp-md);
    }

    .cta-banner__actions .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    /* Counter grid */
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-lg);
    }

    .counter-item__value {
        font-size: clamp(2.2rem, 7vw, 2.8rem);
    }

    .counter-item__label {
        font-size: 0.68rem;
    }

    /* Timeline */
    .timeline {
        padding-left: var(--sp-2xl);
    }

    .timeline__title {
        font-size: 1.15rem;
    }

    .timeline__features {
        gap: var(--sp-xs);
    }

    .timeline__tag {
        font-size: 0.68rem;
        padding: 3px 10px;
    }

    /* Process steps */
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--sp-xl);
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        display: flex;
        align-items: flex-start;
        gap: var(--sp-lg);
        text-align: left;
    }

    .process-step__num {
        margin: 0;
        flex-shrink: 0;
    }

    /* Contact form */
    .contact-form {
        padding: var(--sp-xl) var(--sp-lg);
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .contact-form h3 {
        font-size: 1.3rem;
    }

    .btn--lg {
        padding: 1rem 2.2rem;
        font-size: 0.88rem;
    }

    /* Atmosphere panels */
    .atmosphere-panel {
        padding: clamp(3.5rem, 8vw, 5rem) 0;
    }

    .atmosphere-panel__quote p {
        font-size: clamp(1.1rem, 4vw, 1.35rem);
        line-height: 1.85;
    }

    /* Cinematic strips */
    .cinematic-strip {
        padding: clamp(2rem, 4vw, 3rem) 0;
    }

    /* Gov strip */
    .gov-strip {
        grid-template-columns: 1fr;
        gap: var(--sp-xl);
    }

    /* Footer */
    .footer {
        padding: var(--sp-3xl) 0 var(--sp-lg);
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-xl);
        margin-bottom: var(--sp-2xl);
    }

    .footer__brand {
        text-align: center;
    }

    .footer__brand p {
        max-width: 340px;
        margin: 0 auto;
    }

    .footer__brand-icon {
        margin: 0 auto var(--sp-md);
    }

    .footer__col {
        text-align: center;
    }

    .footer__col h4 {
        margin-bottom: var(--sp-md);
    }

    .footer__col a {
        display: block;
        padding: var(--sp-xs) 0;
    }

    .footer__col a:hover {
        transform: none;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--sp-sm);
        text-align: center;
        padding-top: var(--sp-xl);
    }

    /* FAQ */
    .faq-item__question {
        font-size: 0.92rem;
        gap: var(--sp-md);
    }

    .faq-item__answer p {
        font-size: 0.85rem;
    }

    /* Module cards */
    .module-category__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-md);
    }

    .module-card {
        padding: var(--sp-md);
    }

    .module-card__name {
        font-size: 0.9rem;
    }

    .module-card__desc {
        font-size: 0.8rem;
    }

    /* Image panels */
    .image-panel {
        min-height: 220px;
    }

    /* Contact side panel */
    .contact-side-panel {
        min-height: 280px;
    }

    /* Badges */
    .badge {
        font-size: 0.66rem;
        padding: 4px 12px;
    }

    /* Accent bar */
    .accent-bar {
        margin: var(--sp-md) auto;
    }

    .accent-bar--left {
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- SMALL MOBILE (max-width: 480px) --- */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--sp-md);
    }

    .hero__title {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    .hero__subtitle {
        font-size: 0.92rem;
        max-width: 320px;
    }

    .hero__visual {
        transform: scale(0.72);
        margin-top: var(--sp-md);
    }

    .page-hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.2rem);
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: clamp(1.5rem, 6vw, 1.85rem);
    }

    .cta-banner h2 {
        font-size: clamp(1.5rem, 6vw, 1.85rem);
    }

    .counter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .counter-item__value {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .dash-kpi-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-kpi__value {
        font-size: 1.3rem;
    }

    .nav__brand-text {
        font-size: 0.82rem;
        letter-spacing: 0.10em;
    }

    .nav__brand-sub {
        font-size: 0.46rem;
        letter-spacing: 0.22em;
    }

    .nav__brand-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .card {
        padding: var(--sp-lg) var(--sp-md) var(--sp-lg);
    }

    .pillar-card {
        padding: var(--sp-lg) var(--sp-md) var(--sp-lg);
    }

    .brand-statement__text {
        font-size: 1.1rem;
    }
}


/* ======================================
   DASHBOARD PAGE SPECIFIC MOBILE
   ====================================== */

@media (max-width: 768px) {
    .dash-section {
        padding: var(--sp-3xl) 0 !important;
    }

    .dash-section__header {
        margin-bottom: var(--sp-xl) !important;
    }

    .dash-section__header h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }

    .dash-mini-grid {
        grid-template-columns: 1fr !important;
    }

    .dash-mini-card {
        padding: var(--sp-lg) !important;
    }

    .dash-timeline__row {
        font-size: 0.72rem !important;
        padding: 8px 10px !important;
    }

    .dash-timeline__time {
        font-size: 0.65rem !important;
        min-width: 40px !important;
    }

    .dash-health-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px !important;
    }

    .dash-health-item {
        padding: 10px 6px !important;
    }

    .dash-health-item__label {
        font-size: 0.6rem !important;
    }

    .dash-progress {
        height: 4px !important;
    }
}


/* ======================================
   MODULE FILTER - Premium Control Bar
   ====================================== */

/* Tighten the filter section so it feels anchored, not floating */
.section--filter-bar {
    padding-top: var(--sp-xl);
    padding-bottom: var(--sp-sm);
    position: relative;
}

.section--filter-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30,127,122,0.10), transparent);
}

/* Collapse the categories section top to connect to filter */
.section--filter-content {
    padding-top: var(--sp-2xl);
}

.module-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    padding: var(--sp-md) var(--sp-xl);
    margin: 0 auto var(--sp-lg);
    max-width: 920px;
    background: linear-gradient(160deg, rgba(17, 30, 46, 0.75) 0%, rgba(14, 25, 38, 0.55) 100%);
    border: 1px solid rgba(30, 127, 122, 0.14);
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 40px rgba(0,0,0,0.35),
        0 0 100px rgba(30, 127, 122, 0.04),
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -1px 0 rgba(0,0,0,0.15);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    position: relative;
}

.module-filter::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 127, 122, 0.35), rgba(184, 149, 94, 0.15), rgba(30, 127, 122, 0.35), transparent);
    border-radius: 1px;
}

.module-filter__btn {
    padding: 9px 18px;
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
    position: relative;
    text-transform: uppercase;
}

.module-filter__btn:hover {
    color: var(--text-white);
    background: rgba(30, 127, 122, 0.08);
    border-color: rgba(30, 127, 122, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.module-filter__btn:active {
    transform: translateY(0);
}

.module-filter__btn--active {
    color: var(--text-white);
    background: linear-gradient(135deg, rgba(30, 127, 122, 0.18) 0%, rgba(30, 127, 122, 0.10) 100%);
    border-color: rgba(30, 127, 122, 0.35);
    box-shadow:
        0 0 24px rgba(30, 127, 122, 0.12),
        0 4px 16px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.06);
    transform: translateY(0);
}

/* ======================================
   MODULE FILTER MOBILE
   ====================================== */

@media (max-width: 768px) {
    .module-filter {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: var(--sp-md) var(--sp-lg);
        margin: var(--sp-md) auto var(--sp-xl);
        max-width: 100%;
        gap: var(--sp-xs);
    }

    .module-filter__btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.72rem;
        padding: 6px 14px;
    }

    .module-filter__btn:hover {
        transform: none;
    }
}


/* ======================================
   GLOBAL MICRO-ANIMATION POLISH
   ====================================== */

/* GPU acceleration for hero ring layers */
.hero__ring-glow,
.hero__ring-outer,
.hero__ring-mid,
.hero__ring-pulse,
.hero__ring-inner,
.hero__ring-shimmer,
.hero__ring-node {
    will-change: transform, opacity;
}

/* Smoother card icon transitions */
.card__icon svg,
.pillar-card__icon svg {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card__icon svg,
.pillar-card:hover .pillar-card__icon svg {
    transform: scale(1.06);
}

/* Dash panel hover transition refinement */
.dash-panel {
    transition: box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-panel:hover {
    transform: translateY(-2px);
}

/* CTA banner button group spacing polish */
.cta-banner__actions .btn {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.45s ease,
                border-color 0.45s ease;
}

/* Premium focus-visible for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(30, 127, 122, 0.5);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Mobile reveal refinement */
@media (max-width: 768px) {
    .reveal {
        transform: translateY(20px);
        transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .footer--luxury .footer__grid {
        gap: var(--sp-2xl);
    }

    .footer--luxury .footer__col h4::after {
        display: none;
    }

    .footer--luxury .footer__col h4 {
        margin-bottom: var(--sp-xl);
    }
}


/* ======================================
   PREMIUM MOTION AND TRANSITION POLISH
   ====================================== */

/* Nav link premium transitions */
.nav__link {
    transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Button hover depth and glow */
.btn {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.45s ease,
                border-color 0.45s ease,
                color 0.35s ease;
}

.btn--gold:hover {
    box-shadow:
        0 6px 28px rgba(184, 149, 94, 0.25),
        0 2px 12px rgba(184, 149, 94, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.btn--outline:hover {
    box-shadow:
        0 4px 20px rgba(30, 127, 122, 0.15),
        0 2px 8px rgba(30, 127, 122, 0.08);
    transform: translateY(-1px);
}

/* Card premium hover lift and glow */
.card {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(30, 127, 122, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Pillar card hover */
.pillar-card {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(30, 127, 122, 0.08);
}

/* Feature row visual panel hover lift */
.feature-row__visual {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-row__visual:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(30, 127, 122, 0.06);
}

/* Footer link premium hover */
.footer__col a:hover {
    color: var(--teal-light);
    transform: translateX(5px);
}

/* Section heading reveal feel */
.section__label {
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hero content subtle entrance */
.hero__content {
    animation: heroContentFade 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes heroContentFade {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page hero content entrance */
.page-hero__content {
    animation: pageHeroFade 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes pageHeroFade {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle background glow drift for atmosphere */
@keyframes glowDrift {
    0%, 100% { opacity: 0.7; transform: translateY(0) scale(1); }
    50% { opacity: 0.88; transform: translateY(-8px) scale(1.02); }
}

.hero__bg-img {
    animation: glowDrift 16s ease-in-out infinite;
}

/* Page hero background drift */
.page-hero__bg-img {
    animation: glowDrift 18s ease-in-out infinite;
}

/* CTA background slow drift */
@keyframes ctaDrift {
    0%, 100% { transform: scale(1); opacity: 0.72; }
    50% { transform: scale(1.04); opacity: 0.82; }
}

.cta-banner__bg-img {
    animation: ctaDrift 22s ease-in-out infinite;
}

/* Atmosphere panel slow drift */
.atmosphere-panel__bg-img {
    animation: ctaDrift 20s ease-in-out infinite;
}

/* Cinematic strip background drift */
.cinematic-strip__bg-img {
    animation: ctaDrift 24s ease-in-out infinite;
}

/* Premium highlight sweep on gold CTA buttons */
@keyframes highlightSweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

.btn--gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-20deg);
    animation: highlightSweep 4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    pointer-events: none;
}

.btn--gold {
    position: relative;
    overflow: hidden;
}

/* Card body text improved readability */
.card__text {
    color: var(--text-secondary);
    line-height: 1.78;
}

/* Pillar card description readability */
.pillar-card__desc {
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Feature row description readability */
.feature-row__desc {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Process step description */
.process-step__desc {
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Counter label readability */
.counter-item__label {
    color: var(--text-secondary);
}

/* Module card premium transitions */
.module-card {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Module category smooth entrance */
.module-category {
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* CTA banner text contrast boost */
.cta-banner p {
    color: var(--text-secondary);
    text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}

/* Page hero description text contrast */
.page-hero__content p {
    text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}

/* Nav link hover glow */
.nav__link:hover {
    text-shadow: 0 0 12px rgba(30, 127, 122, 0.15);
}

/* Badge entrance shimmer */
@keyframes badgeShimmer {
    0%, 100% { box-shadow: 0 0 16px rgba(30, 127, 122, 0.06); }
    50% { box-shadow: 0 0 24px rgba(30, 127, 122, 0.12); }
}

.badge {
    animation: badgeShimmer 4s ease-in-out infinite;
}

/* Section background depth layers */
.section--darker {
    background: linear-gradient(180deg, var(--navy-deepest) 0%, rgba(7,17,31,0.98) 100%);
}

.section--alt {
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-deepest) 100%);
}


/* ======================================
   PER-PAGE HERO ACCENT GLOWS
   Unique atmosphere per interior page
   ====================================== */

.page-hero--platform::after {
    background: radial-gradient(ellipse at 40% 60%, rgba(30,127,122,0.10) 0%, transparent 55%);
}

.page-hero--modules::after {
    background: radial-gradient(ellipse at 55% 50%, rgba(30,127,122,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 25% 70%, rgba(184,149,94,0.04) 0%, transparent 45%);
}

.page-hero--dashboards::after {
    background: radial-gradient(ellipse at 60% 40%, rgba(30,127,122,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 30% 80%, rgba(30,127,122,0.06) 0%, transparent 40%);
}

.page-hero--deployment::after {
    background: radial-gradient(ellipse at 50% 55%, rgba(184,149,94,0.06) 0%, transparent 50%);
}

.page-hero--about::after {
    background: radial-gradient(ellipse at 45% 65%, rgba(30,127,122,0.07) 0%, transparent 55%),
                radial-gradient(ellipse at 70% 30%, rgba(184,149,94,0.05) 0%, transparent 40%);
}

.page-hero--contact::after {
    background: radial-gradient(ellipse at 50% 45%, rgba(30,127,122,0.09) 0%, transparent 48%);
}


/* ======================================
   MODULE PAGE PREMIUM UPGRADES
   ====================================== */

/* Category header enlarged icon glow */
.module-category__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    box-shadow:
        0 0 28px rgba(30, 127, 122, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.module-category__icon svg {
    width: 26px;
    height: 26px;
}

/* Category info typography upgrade */
.module-category__info h3 {
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    letter-spacing: -0.015em;
}

.module-category__info p {
    opacity: 0.85;
    font-size: 0.94rem;
    line-height: 1.75;
}

/* Category separation - wider border glow */
.module-category::after {
    left: 3%;
    right: 3%;
    background: linear-gradient(90deg,
        transparent,
        rgba(30,127,122,0.08) 20%,
        rgba(30,127,122,0.16) 50%,
        rgba(30,127,122,0.08) 80%,
        transparent);
}

/* Module card premium surface */
.module-card {
    background: linear-gradient(160deg,
        rgba(17,30,46,0.85) 0%,
        rgba(14,25,38,0.70) 100%);
    border-color: rgba(255,255,255,0.06);
    box-shadow:
        var(--shadow-inset),
        0 2px 12px rgba(0,0,0,0.30);
    padding: var(--sp-xl) calc(var(--sp-lg) + 4px);
}

.module-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(30,127,122,0.03) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.module-card:hover::after {
    opacity: 1;
}

.module-card:hover {
    border-color: rgba(30, 127, 122, 0.28);
    transform: translateY(-5px);
    box-shadow:
        0 12px 40px rgba(0,0,0,0.40),
        0 0 28px rgba(30, 127, 122, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.06);
    background: linear-gradient(160deg,
        rgba(20,34,52,0.90) 0%,
        rgba(17,28,42,0.75) 100%);
}

/* Module card name premium treatment */
.module-card__name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.005em;
}

/* Module card description readability */
.module-card__desc {
    opacity: 0.88;
    line-height: 1.78;
}


/* ======================================
   PREMIUM MICRO-BRANDING DETAILS
   ====================================== */

/* Brand wordmark hover glow */
.nav__brand:hover .nav__brand-text {
    text-shadow: 0 0 24px rgba(30, 127, 122, 0.15);
}

/* Nav wordmark refined spacing */
.nav__brand {
    gap: 16px;
}

/* Active nav link indicator upgrade */
.nav__link--active {
    color: var(--text-white);
    position: relative;
}

.nav__link--active::after {
    width: 100% !important;
    opacity: 1 !important;
    background: linear-gradient(90deg, rgba(30,127,122,0.6), rgba(30,127,122,0.3)) !important;
}

/* Section label refined treatment */
.label,
.label--gold {
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 100px;
}

/* Badge refined treatment */
.badge {
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 100px;
}

/* Button personality: primary gets tighter tracking */
.btn--primary {
    font-family: var(--font-heading);
    letter-spacing: 0.06em;
}

/* Secondary button personality */
.btn--secondary {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

/* Gold button personality */
.btn--gold {
    font-family: var(--font-heading);
    letter-spacing: 0.06em;
}

/* CTA section premium accent */
.cta-banner .badge,
.cta-banner .badge--gold {
    margin-bottom: var(--sp-lg);
}

/* Footer brand wordmark upgrade */
.footer__brand h3 {
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-light);
    font-weight: 500;
}

/* Footer "by Rubix" sub-brand */
.footer__brand .footer__brand-sub {
    display: block;
    font-size: 0.52rem;
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0.50;
    margin-top: 5px;
    font-family: var(--font-primary);
}

/* Footer column heading premium accent */
.footer--luxury .footer__col h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Footer bottom bar refinement */
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: var(--sp-xl);
    margin-top: var(--sp-xl);
}

/* Accent bar branded width */
.accent-bar {
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--teal), rgba(30,127,122,0.3));
}

/* Premium nav CTA button */
.nav__cta {
    font-family: var(--font-heading);
    letter-spacing: 0.06em;
    font-size: 0.76rem;
    padding: 9px 22px;
}

/* Gradient text refinement */
.gradient-text {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 40%, var(--teal-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text--gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Page hero badge glow per page */
.page-hero--platform .badge { box-shadow: 0 0 20px rgba(30,127,122,0.10); }
.page-hero--modules .badge { box-shadow: 0 0 20px rgba(30,127,122,0.12); }
.page-hero--dashboards .badge { box-shadow: 0 0 20px rgba(30,127,122,0.08); }
.page-hero--deployment .badge { box-shadow: 0 0 18px rgba(184,149,94,0.08); }
.page-hero--about .badge { box-shadow: 0 0 20px rgba(30,127,122,0.10); }
.page-hero--contact .badge { box-shadow: 0 0 20px rgba(30,127,122,0.10); }

/* Counter bar premium dividers */
.counter-item {
    position: relative;
}

.counter-item + .counter-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(30,127,122,0.15), transparent);
}

/* Section header accent underline */
.section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    margin: var(--sp-lg) auto 0;
    background: linear-gradient(90deg, var(--teal), rgba(30,127,122,0.3));
    border-radius: 2px;
}

/* Left-aligned section headers */
.section-header--left h2::after {
    margin-left: 0;
}


/* ======================================
   PRINT HIDDEN
   ====================================== */

@media print {
    body::before { display: none; }
    .nav { display: none; }
    .hero__glow { display: none; }
    .hero__grid { display: none; }
}
