/* ==========================================================================
   Fahes (فاحص) Landing Page Style
   Aesthetic: Premium Web3 Agency-Level Visual Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Core Variables
   -------------------------------------------------------------------------- */
:root {
    /* Brand Palette */
    --fahes-blue: #0052FF;
    --pure-white: #FFFFFF;
    --app-canvas: #F8F9FF;
    /* Light Grey/White backdrop */

    /* Extended Palette */
    --pass-light-grey: #F0F2F8;
    --pass-dark-text: #0D1117;
    --pass-blue-bg: #0E0C36;

    /* Text & Ink */
    --ink: #0D1117;
    /* Deep Navy/Ink */
    --slate: #334155;
    --steel: #64748B;
    --cloud: #E2E8F0;
    --fog: #F1F5F9;

    /* Functional Colors */
    --trust-green: #00C853;
    --danger-red: #FF3D00;

    /* Layout Specifications */
    --section-radius: 5rem;
    --card-radius: 2.5rem;
    --ease-custom: cubic-bezier(0.32, 0.72, 0, 1);
    /* Premium spring-physics cubic bezier */

    /* Z-Indices */
    --z-noise: 9999;
    --z-nav: 900;
    --z-floating: 50;
    --z-normal: 10;
    --z-bg: 1;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Setup
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--ink);
}

body {
    font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif;
    color: var(--slate);
    background-color: var(--app-canvas);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.5s var(--ease-custom);
}

/* Fixed SVG Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: var(--z-noise);
    opacity: 0.035;
    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");
}

/* --------------------------------------------------------------------------
   3. Utility Classes & Layout Containers
   -------------------------------------------------------------------------- */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 9rem 2rem 10rem 2rem;
    /* Airy paddings */
    position: relative;
    z-index: var(--z-normal);
}

.mono-font {
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
}

.section-header {
    margin-bottom: 5rem;
}

.section-header.align-center {
    text-align: center;
}

.section-header.align-right {
    text-align: right;
}

.section-tag-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--fahes-blue);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    background-color: rgba(0, 82, 255, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 82, 255, 0.12);
}

.section-tag-badge.white-badge {
    color: var(--pure-white);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-title.text-white {
    color: var(--pure-white);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--slate);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-subtitle.text-slate-light {
    color: #94a3b8;
}

.section-subtitle.text-white-sub {
    color: rgba(255, 255, 255, 0.8);
}

/* Curved Section Dividers */
.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    line-height: 0;
    z-index: var(--z-normal);
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* --------------------------------------------------------------------------
   4. Floating Island Navigation Header
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-nav);
    padding: 2.5rem 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-custom);
}

.header.header-hidden {
    transform: translateY(-100%);
}

.nav-pill-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(5, 5, 5, 0.85);
    /* Deep Black glass */
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 100px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    direction: rtl;
    /* RTL aligned */
    transition: transform 0.7s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.7s cubic-bezier(0.32, 0.72, 0, 1);
}

/* Scroll adaptation via sensor observer */
.header.scrolled .nav-pill-container {
    background-color: rgba(5, 5, 5, 0.98);
    /* Deeper dark black when scrolled */
    transform: scale(0.98);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0.5rem;
    border-radius: 100px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--pure-white);
}

.nav-divider {
    width: 1px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 0 1.25rem;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.cta-badges {
    display: flex;
    gap: 0.88rem;
    align-items: center;
}

.nav-store-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.nav-store-link:hover {
    transform: scale(1.15);
}

.nav-store-img {
    height: 24px;
    /* Same height, larger icons */
    width: auto;
    display: block;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   5. Double-Bezel nested Architecture (Doppelrand)
   -------------------------------------------------------------------------- */
.double-bezel-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Outer bezel line */
    border-radius: var(--card-radius);
    padding: 0.5rem;
    /* Container gap creating concentric rings */
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.6s var(--ease-custom), border-color 0.6s var(--ease-custom), box-shadow 0.6s var(--ease-custom);
    height: 100%;
}

.double-bezel-card .inner-core {
    background-color: var(--pure-white);
    border-radius: calc(var(--card-radius) - 0.5rem);
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(13, 17, 23, 0.02);
}

.bento-card {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s var(--ease-custom), background-color 0.4s var(--ease-custom);
}

/* --------------------------------------------------------------------------
   6. Hero Section (Vibrant Blue Background, No Images)
   -------------------------------------------------------------------------- */
.hero-section {
    background-color: var(--fahes-blue);
    /* Clean vibrant Electric Blue */
    min-height: 90vh;
    padding: 8.5rem 0 6.5rem 0;
    position: relative;
    overflow: hidden;
    color: var(--pure-white);
    display: flex;
    align-items: center;
    z-index: 10;
    border-radius: 0 0 4rem 4rem;
}

.hero-grid-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: var(--z-normal);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    margin-top: -3.5rem;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--pure-white);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-brand-title {
    font-size: clamp(3rem, 6.5vw, 4.8rem);
    font-weight: 800;
    color: var(--pure-white);
    line-height: 1.05;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.hero-headline {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.35;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    letter-spacing: -0.01em;
}

.hero-headline span {
    display: block;
}

.hero-headline .highlight {
    opacity: 0.95;
}

.hero-subheadline {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    margin-bottom: 3.5rem;
}

/* Minimal Hero CTA Store Badges */
.hero-downloads {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.store-badge {
    background-color: #111111;
    /* Plain dark background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: none;
}

.store-badge-icon {
    width: 26px;
    height: auto;
    display: block;
    object-fit: contain;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.badge-sub {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.1;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

.badge-main {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.1;
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--pure-white);
    transition: color 0.3s ease;
}

/* Hover Physics */
.store-badge:hover {
    background-color: #222222;
    transform: translateY(-2px);
    box-shadow: none;
}

.store-badge:active {
    transform: scale(0.97);
}

/* --------------------------------------------------------------------------
   7. 3D Phone Mockup Cluster & Floating Assets
   -------------------------------------------------------------------------- */
.hero-showcase {
    position: relative;
    height: 600px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-cluster-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
    transform-style: preserve-3d;
}

.cluster-phone {
    position: absolute;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Phone Layout in Cluster */
.phone-center {
    width: 250px;
    height: 500px;
    z-index: 3;
    transform: translate3d(0, 0, 60px);
}

.phone-side-left {
    width: 210px;
    height: 420px;
    left: 6%;
    top: 15%;
    z-index: 2;
    transform: translate3d(0, 0, 10px) rotateY(-20deg) scale(0.9);
    opacity: 0.85;
}

.phone-side-right {
    width: 210px;
    height: 420px;
    right: 6%;
    top: 15%;
    z-index: 2;
    transform: translate3d(0, 0, 10px) rotateY(20deg) scale(0.9);
    opacity: 0.85;
}

/* CSS-Only Phone Mockup Structure (Samsung Style) */
.css-phone {
    width: 100%;
    height: 100%;
    background-color: #000000;
    /* Inner black bezel */
    border: 3px solid #282a2e;
    /* Dark graphite frame */
    border-radius: 6px;
    padding: 6px;
    /* Black bezel thickness */
    box-shadow: 0 25px 65px rgba(13, 17, 23, 0.35), inset 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Hole-punch Camera */
.css-phone::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: #0a0a0a;
    border: 2px solid #2a2a2a;
    border-radius: 50%;
    z-index: 100;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Screen container inside mockup */
.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--app-canvas);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    color: var(--ink);
    border-radius: 2px;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--steel);
    margin-bottom: 0.8rem;
}

.screen-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fahes-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.screen-nav {
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    color: var(--slate);
    margin-bottom: 1.25rem;
}

/* Search mockup screen inside Left Phone */
.screen-search-widget {
    background: var(--pure-white);
    border: 1px solid var(--cloud);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(13, 17, 23, 0.02);
}

.search-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--slate);
}

.search-input-mock {
    background: var(--app-canvas);
    border: 1px solid var(--cloud);
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 0.75rem;
    color: var(--steel);
    direction: ltr;
}

.search-btn-mock {
    background-color: var(--fahes-blue);
    color: var(--pure-white);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.6rem;
    border-radius: 8px;
}

.screen-intro-text {
    font-size: 0.75rem;
    color: var(--slate);
    line-height: 1.5;
    text-align: center;
}

/* Verdict Banners */
.screen-verdict-banner {
    padding: 0.88rem;
    border-radius: 0.88rem;
    color: var(--pure-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.25rem;
}

.verdict-pass {
    background-color: var(--trust-green);
}

.verdict-fail {
    background-color: var(--danger-red);
}

.screen-verdict-banner .verdict-icon {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.screen-verdict-banner .verdict-txt {
    font-size: 0.72rem;
    font-weight: 600;
}

.screen-data-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.screen-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--cloud);
    padding-bottom: 0.5rem;
    font-size: 0.7rem;
}

.screen-row .row-lbl {
    color: var(--steel);
}

.screen-row .row-val {
    font-weight: 600;
    color: var(--slate);
}

.screen-watermark-logo {
    margin-top: auto;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(13, 17, 23, 0.08);
    text-align: center;
}

/* Orbiting 3D Assets */
.floating-asset {
    position: absolute;
    pointer-events: none;
    z-index: 4;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

.asset-shield-stars {
    width: 110px;
    height: auto;
    top: 10%;
    right: -110px;
    animation: orbit-shield 6s infinite ease-in-out;
}

.asset-blue-car {
    width: 190px;
    height: auto;
    bottom: 12%;
    right: -130px;
    animation: orbit-car 8s infinite ease-in-out;
}

.asset-tick-blue {
    width: 105px;
    height: auto;
    top: 32%;
    left: -100px;
    animation: orbit-tick 7s infinite ease-in-out;
}

.asset-scan-doc {
    width: 120px;
    height: auto;
    bottom: 6%;
    left: -90px;
    animation: orbit-doc 5s infinite ease-in-out;
}

/* Floating Animations Orbiting Keyframes */
@keyframes orbit-shield {

    0%,
    100% {
        transform: translateY(0) rotate(15deg) translateZ(10px);
    }

    50% {
        transform: translateY(-15px) rotate(5deg) translateZ(10px);
    }
}

@keyframes orbit-car {

    0%,
    100% {
        transform: translateY(0) rotate(-10deg) translateZ(25px);
    }

    50% {
        transform: translateY(-20px) rotate(2deg) translateZ(25px);
    }
}

@keyframes orbit-tick {

    0%,
    100% {
        transform: translateY(0) rotate(5deg) translateZ(15px);
    }

    50% {
        transform: translateY(-12px) rotate(-15deg) translateZ(15px);
    }
}

@keyframes orbit-doc {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg) translateZ(8px);
    }

    50% {
        transform: translateY(-10px) rotate(10deg) translateZ(8px);
    }
}

/* --------------------------------------------------------------------------
   8. Core Capabilities Section (Deep Navy)
   -------------------------------------------------------------------------- */
.core-capabilities-section {
    background-color: #0E0C36;
    color: var(--pure-white);
    padding: 8rem 0 12rem 0;
    position: relative;
    overflow: hidden;
    z-index: 9;
    border-radius: 0 0 4rem 4rem;
    margin-top: -4rem;
    padding-top: 12rem;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 5rem;
}

/* Double-Bezel override inside Capabilities Section */
.core-capabilities-section .double-bezel-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.core-capabilities-section .double-bezel-card .inner-core {
    background-color: #161b22;
    border-radius: calc(var(--card-radius) - 0.5rem);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.core-capabilities-section .double-bezel-card:hover .inner-core {
    border-color: rgba(0, 82, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 82, 255, 0.06);
}

.cap-icon-circle {
    width: 54px;
    height: 54px;
    background-color: rgba(0, 82, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fahes-blue);
    border: 1px solid rgba(0, 82, 255, 0.15);
}

.light-icon {
    width: 24px;
    height: 24px;
}

.cap-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--pure-white);
}

.cap-desc {
    font-size: 0.95rem;
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cap-footer-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--fahes-blue);
    text-transform: uppercase;
    background-color: rgba(0, 82, 255, 0.1);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 82, 255, 0.15);
}

/* --------------------------------------------------------------------------
   9. Live Database Connection (Tripoli ↔ Seoul Pipeline, Count-up Stats)
   -------------------------------------------------------------------------- */
.live-connection-section {
    background-color: var(--fahes-blue);
    color: var(--pure-white);
    padding: 8rem 0 12rem 0;
    position: relative;
    overflow: hidden;
    z-index: 8;
    border-radius: 0 0 4rem 4rem;
    margin-top: -4rem;
    padding-top: 12rem;
}

.connection-pipeline-wrapper {
    background-color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--section-radius);
    padding: 5rem 4rem;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
}

.map-connection-graphic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100px;
}

.node-plate {
    background-color: #161b22;
    border: 1.5px solid rgba(0, 82, 255, 0.2);
    /* Thin glow brand border */
    border-radius: 1.25rem;
    padding: 1.2rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 12px 30px rgba(0, 82, 255, 0.1);
}

.node-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--fahes-blue);
    margin-bottom: 0.25rem;
}

.node-city {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pure-white);
}

.flow-connection-pipe {
    flex-grow: 1;
    margin: 0 -0.5rem;
    z-index: 1;
    display: flex;
    align-items: center;
}

.pipe-line-svg {
    display: block;
    width: 100%;
}

.pipe-line-animation {
    animation: dash 15s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Statistics Grid Styles */
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.stats-cards-grid .double-bezel-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.stats-cards-grid .double-bezel-card .inner-core {
    background-color: #161b22;
    padding: 2.5rem 1.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.text-blue-glow {
    color: var(--fahes-blue);
    text-shadow: 0 0 20px rgba(0, 82, 255, 0.25);
}

.text-green-glow {
    color: var(--trust-green);
    text-shadow: 0 0 20px rgba(0, 200, 83, 0.25);
}

.stat-label {
    font-size: 0.88rem;
    color: #8b949e;
}

/* --------------------------------------------------------------------------
   10. Colorful Bento Grid Section
   -------------------------------------------------------------------------- */
.features-section {
    background-color: var(--pass-light-grey);
    padding: 6rem 0 8rem 0;
    /* Reduced padding slightly to account for smaller size */
    position: relative;
    overflow: hidden;
    z-index: 7;
    border-radius: 0 0 4rem 4rem;
    margin-top: -4rem;
    padding-top: 8rem;
}

.features-section .section-container {
    zoom: 0.85;
}

.colorful-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 4rem;
}

@media (min-width: 992px) {
    .colorful-bento-grid {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas:
            "card2 card2 card1"
            "card4 card3 card1";
    }
}

.carousel-phone-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;
}

.carousel-phone {
    width: 260px;
    height: 520px;
    margin: 0 auto;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.cdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.cdot.active {
    background: var(--fahes-blue);
}

.cb-card {
    border-radius: 32px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.cb-card1 {
    grid-area: card1;
    background-color: #1D4ED8;
    color: #EFF6FF;
}

/* Vibrant Blue */
.cb-card2 {
    grid-area: card2;
    background-color: #0F172A;
    color: #F8FAFC;
}

/* Deep Navy */
.cb-card3 {
    grid-area: card3;
    background-color: #CCFBF1;
    color: #115E59;
}

/* Soft Teal */
.cb-card4 {
    grid-area: card4;
    background-color: #E0E7FF;
    color: #3730A3;
}

/* Soft Indigo */

/* Typography inside */
.cb-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    z-index: 2;
    position: relative;
    color: inherit;
}

.cb-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    z-index: 2;
    position: relative;
    color: inherit;
}

.cb-card1 .cb-desc {
    max-width: 90%;
}

.cb-card2 .cb-desc {
    max-width: 70%;
}

.cb-card3 .cb-desc,
.cb-card4 .cb-desc {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

/* 3D Icons positioning */
.cb-icon {
    position: absolute;
    z-index: 1;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}

.cb-card1 .cb-icon {
    width: 220px;
    bottom: -20px;
    left: -20px;
}

.cb-card2 .cb-icon {
    width: 180px;
    bottom: -20px;
    left: 20px;
}

.cb-card3 .cb-icon {
    width: 140px;
    bottom: -15px;
    left: -10px;
}

.cb-card4 .cb-icon {
    width: 160px;
    bottom: -20px;
    left: -10px;
}

/* Content Layouts */
.cb-content-row {
    display: flex;
    flex-direction: column;
    z-index: 2;
    position: relative;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cb-content-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cb-text-col {
        flex: 1;
    }

    .cb-card2 .cb-widget {
        margin-left: 180px;
        /* space for the icon */
    }
}

/* Internal Widgets styled to fit */
.cb-widget {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: relative;
    margin-top: 1.5rem;
}

/* Bento Header */
.card-num {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.18;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
}

.bento-tint-ink .card-title {
    color: var(--pure-white);
}

.card-description {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 85%;
}

.bento-tint-ink .card-description {
    color: #8b949e;
}

/* Bento Widgets styling */
.widget-container {
    background-color: var(--pure-white);
    border: 1px solid var(--cloud);
    border-radius: 1.25rem;
    padding: 1.2rem;
    box-shadow: 0 8px 24px rgba(13, 17, 23, 0.02);
}

.bento-tint-ink .widget-container {
    background-color: #161b22;
    border-color: #21262d;
}

.bento-3d-icon {
    position: absolute;
    pointer-events: none;
    z-index: 4;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.icon-right-bottom {
    bottom: -15px;
    left: -15px;
    /* RTL placement */
    width: 100px;
}

.icon-left-center {
    bottom: 25px;
    right: -25px;
    width: 120px;
}

/* Widget details */
.widget-search-bar {
    background-color: var(--app-canvas);
    border: 1px solid var(--cloud);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
}

.search-cursor {
    color: var(--fahes-blue);
    animation: blink-cursor 1s infinite steps(2, start);
    margin-right: 2px;
}

@keyframes blink-cursor {
    to {
        visibility: hidden;
    }
}

.widget-tags-group {
    display: flex;
    gap: 0.4rem;
}

.w-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--slate);
    background-color: var(--fog);
    padding: 0.3rem 0.65rem;
    border-radius: 100px;
}

.w-tag-brand {
    background-color: rgba(0, 82, 255, 0.1);
    color: var(--fahes-blue);
}

.log-line {
    font-size: 0.65rem;
    margin-bottom: 0.4rem;
}

.log-line.success {
    color: var(--trust-green);
}

.log-line.alert {
    color: var(--danger-red);
}

.odo-compare-widget {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.odo-bar {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bar-lbl {
    font-size: 0.65rem;
    color: var(--steel);
}

.bar-track {
    width: 100%;
    height: 6px;
    background-color: var(--fog);
    border-radius: 100px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
}

.bar-red {
    background-color: var(--danger-red);
}

.bar-green {
    background-color: var(--trust-green);
}

.bar-num {
    font-size: 0.7rem;
    font-weight: 700;
    align-self: flex-end;
}

.check-widget {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.check-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    border-bottom: 1px dashed var(--cloud);
    padding-bottom: 0.4rem;
}

.chk-status.ok {
    color: var(--trust-green);
    font-weight: 700;
}

.chk-status.alert {
    color: var(--danger-red);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   11. Interactive Report Showcase Section
   -------------------------------------------------------------------------- */
.report-showcase-section {
    background-color: var(--pure-white);
    padding: 8rem 0 12rem 0;
    position: relative;
    overflow: hidden;
    z-index: 6;
    border-radius: 0 0 4rem 4rem;
    margin-top: -4rem;
    padding-top: 12rem;
}

.report-toggle-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.toggle-btn {
    font-family: inherit;
    background-color: var(--app-canvas);
    border: 1px solid var(--cloud);
    color: var(--slate);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s var(--ease-custom);
}

.toggle-btn:hover {
    border-color: var(--fahes-blue);
    background-color: var(--pure-white);
}

.toggle-btn.active {
    background-color: var(--ink);
    border-color: var(--ink);
    color: var(--pure-white);
    box-shadow: 0 10px 20px rgba(13, 17, 23, 0.1);
}

.bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.btn-green {
    background-color: var(--trust-green);
}

.btn-red {
    background-color: var(--danger-red);
}

/* Showcase phone wrapper with tilt */
.showcase-phone-wrapper {
    display: flex;
    justify-content: center;
}

.showcase-phone-inner {
    position: relative;
    width: 360px;
    height: auto;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.large-showcase-phone {
    width: 340px;
    height: auto;
    background: #0d1117;
    border: 10px solid #1e293b;
    border-radius: 44px;
    box-shadow: 0 35px 85px rgba(13, 17, 23, 0.25), inset 0 0 10px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.large-showcase-phone::before {
    display: none;
}

.large-showcase-phone .phone-screen-container {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 0;
    overflow-y: hidden;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.phone-screen-container::-webkit-scrollbar {
    width: 4px;
}

.phone-screen-container::-webkit-scrollbar-thumb {
    background-color: var(--cloud);
    border-radius: 4px;
}

/* Verdict Header inside showcase */
.showcase-verdict-header {
    padding: 3.5rem 1.5rem 2rem 1.5rem;
    color: var(--pure-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: background-color 0.4s var(--ease-custom);
}

.state-clean {
    background-color: var(--trust-green);
}

.state-warn {
    background-color: var(--danger-red);
}

.verdict-icon-container {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.v-icon {
    font-size: 2.2rem;
    font-weight: 700;
}

.v-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 0.4rem;
}

.v-sub-title {
    font-size: 0.72rem;
    opacity: 0.95;
    line-height: 1.4;
    max-width: 250px;
}

.verdict-badge-country {
    position: absolute;
    top: 3.5rem;
    left: 1.5rem;
    font-size: 0.6rem;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.showcase-report-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.report-block {
    background-color: var(--pure-white);
    border-radius: 1.25rem;
    border: 1px solid var(--cloud);
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(13, 17, 23, 0.02);
}

.block-title {
    font-size: 0.8rem;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1.5px solid var(--app-canvas);
    padding-bottom: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.info-cell {
    display: flex;
    flex-direction: column;
}

.cell-lbl {
    font-size: 0.65rem;
    color: var(--steel);
    margin-bottom: 0.1rem;
}

.cell-val {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate);
}

.odometer-chart {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    padding-right: 0.8rem;
    margin-bottom: 1.2rem;
}

.odometer-chart::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.3rem;
    bottom: 0.3rem;
    width: 2px;
    background-color: var(--cloud);
}

.odo-timeline-item {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-right: 1rem;
}

.odo-timeline-item::before {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--cloud);
    border-radius: 50%;
    border: 2px solid var(--pure-white);
}

.odo-timeline-item:first-child::before {
    background-color: var(--fahes-blue);
    box-shadow: 0 0 0 2px rgba(0, 82, 255, 0.2);
}

.odo-date {
    font-size: 0.7rem;
    color: var(--steel);
}

.odo-dist {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate);
}

.odo-dist.text-danger {
    color: var(--danger-red) !important;
}

/* Alert box */
.verdict-alert-box {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.4;
}

.alert-success {
    background-color: rgba(0, 200, 83, 0.08);
    color: var(--trust-green);
    border: 1px solid rgba(0, 200, 83, 0.15);
}

.alert-danger {
    background-color: rgba(255, 61, 0, 0.08);
    color: var(--danger-red);
    border: 1px solid rgba(255, 61, 0, 0.15);
}

.damage-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.damage-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    border-bottom: 1px dashed var(--cloud);
    padding-bottom: 0.5rem;
}

.dmg-lbl {
    color: var(--steel);
}

.dmg-val {
    font-weight: 700;
}

.text-danger {
    color: var(--danger-red) !important;
}

/* --------------------------------------------------------------------------
   12. Showrooms B2B Section (Clean Minimalist Solid Theme / No Gradients)
   -------------------------------------------------------------------------- */
.showroom-section {
    position: relative;
    padding: 6rem 0 6rem;
    z-index: 4;
    background-color: var(--pure-white);
    border-radius: 4rem;
    margin: 0 1rem 4rem 1rem;
}

.showroom-container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: var(--z-normal);
}

.showroom-card {
    background-color: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4rem 3rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 650px;
    margin: 0 auto;
}

.showroom-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

/* Center Content Side */
.showroom-text-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.showroom-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--fahes-blue);
    background-color: rgba(0, 82, 255, 0.1);
    border: 1px solid rgba(0, 82, 255, 0.22);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.85rem;
}

.showroom-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--fahes-blue);
}

.showroom-headline {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: var(--pure-white);
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.text-blue-solid {
    color: var(--fahes-blue);
}

.showroom-subheadline {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 auto 1.15rem auto;
    max-width: 460px;
}

.showroom-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.35rem;
}

.showroom-feature-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.84rem;
    color: #cbd5e1;
}

.feature-check {
    color: var(--fahes-blue);
    font-weight: 700;
    font-size: 0.85rem;
}

.showroom-cta-group {
    display: flex;
    align-items: center;
}

.btn-showroom-partner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--fahes-blue);
    color: var(--pure-white);
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 82, 255, 0.3);
    transition: all 0.25s var(--ease-custom);
}

.btn-showroom-partner:hover {
    background-color: #0040cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 82, 255, 0.45);
}

.btn-showroom-partner svg {
    transition: transform 0.25s ease;
}

.btn-showroom-partner:hover svg {
    transform: translateX(-3px);
}

/* Left Column (Clean Compact Preview Box) */
.showroom-visual-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.b2b-preview-card {
    width: 100%;
    max-width: 210px;
    background-color: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1.15rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.b2b-preview-card:hover {
    transform: translateY(-3px);
}

.b2b-preview-shield {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.b2b-preview-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.b2b-preview-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--fahes-blue);
    text-transform: uppercase;
}

.b2b-preview-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pure-white);
}

.b2b-coming-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #e2e8f0;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
}

/* Responsive */
@media (max-width: 768px) {
    .showroom-card {
        padding: 1.75rem 1.5rem;
    }

    .showroom-card-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .b2b-preview-card {
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .showroom-card {
        padding: 1.5rem 1.15rem;
        border-radius: 16px;
    }

    .showroom-headline {
        font-size: 1.35rem;
    }

    .btn-showroom-partner {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   13. Refined Footer (Clean Dark Theme & 3D Icons)
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--fahes-blue);
    /* Primary Brand Blue Footer */
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
    padding-top: 18rem;
    margin-top: -4rem;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: var(--z-normal);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-newsletter {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.newsletter-title {
    font-size: 1.45rem;
    color: var(--pure-white);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 440px;
    line-height: 1.6;
}

/* Capsule Form */
.newsletter-form {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 100px;
    padding: 0.35rem 0.45rem;
    width: 100%;
    max-width: 460px;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
    transition: all 0.3s var(--ease-custom);
}

.newsletter-form:focus-within {
    background-color: var(--pure-white);
    border-color: var(--pure-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--pure-white);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 0.92rem;
    padding: 0.5rem 1rem;
    text-align: right;
}

.newsletter-form:focus-within .newsletter-input {
    color: var(--ink);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.newsletter-form:focus-within .newsletter-input::placeholder {
    color: var(--steel);
}

.btn-newsletter {
    background-color: var(--fahes-blue);
    border: none;
    outline: none;
    color: var(--pure-white);
    font-weight: 700;
    cursor: pointer;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 0.88rem;
    padding: 0.65rem 1.6rem;
    border-radius: 100px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 82, 255, 0.35);
    transition: all 0.3s var(--ease-custom);
}

.btn-newsletter:hover {
    background-color: #0045db;
    transform: scale(1.02);
}

.newsletter-hint {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2rem;
}

/* 3D Social Buttons */
.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.social-3d-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    transition: all 0.4s var(--ease-custom);
}

.social-3d-btn:hover {
    transform: translateY(-4px) rotate(4deg);
}

.social-3d-img {
    width: 48px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.social-3d-img:hover {
    transform: scale(1.15);
}

/* Links Columns */
.footer-links-group {
    grid-column: span 6;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer-links-col h4 {
    color: var(--pure-white);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-col a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links-col a:hover {
    color: var(--pure-white);
}

/* Footer Bottom Layout */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 0 3.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-copyright-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-giant-wordmark {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-wordmark-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.footer-wordmark-img:hover {
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   14. Scroll Entry reveals (Active class hooks)
   -------------------------------------------------------------------------- */
.reveal-text span,
.reveal-fade,
.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s var(--ease-custom), transform 1.2s var(--ease-custom);
}

.reveal-text.active span,
.reveal-fade.active,
.reveal-card.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text span:nth-child(2) {
    transition-delay: 0.15s;
}

.reveal-fade:nth-child(2) {
    transition-delay: 0.1s;
}

.hero-downloads {
    transition-delay: 0.15s;
}

.hero-specs {
    transition-delay: 0.2s;
}

/* --------------------------------------------------------------------------
   15. Responsive Rules (Mobile collapse)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .nav-pill-container {
        width: 95%;
    }

    .hero-grid-container {
        grid-template-columns: 1fr;
        gap: 5rem;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-downloads {
        justify-content: center;
    }

    .hero-specs {
        justify-content: center;
        gap: 2rem;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    #bento-1,
    #bento-2,
    #bento-3,
    #bento-4 {
        grid-column: span 12;
        grid-row: auto;
    }

    .showroom-section .double-bezel-card .inner-core {
        grid-template-columns: 1fr;
        padding: 3rem;
        gap: 3rem;
    }

    .trust-plate-wrapper {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-newsletter,
    .footer-links-group {
        grid-column: span 12;
    }

    .footer-links-group {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.85rem 0;
    }

    .nav-pill-container {
        padding: 0.65rem 1.25rem;
        width: 92%;
        border-radius: 50px;
    }

    .logo-img {
        height: 26px;
    }

    .cta-label {
        font-size: 0.78rem;
    }

    .nav-store-img {
        height: 20px;
    }

    .section-container {
        padding: 4.5rem 1.25rem 5rem 1.25rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 4.5vw, 2.3rem);
    }

    .section-subtitle {
        font-size: 0.98rem;
    }

    .nav-menu {
        display: none;
        /* Hide middle links, show logo and download on mobile navbar */
    }

    .nav-divider {
        display: none;
    }

    .hero-section {
        padding: 6.5rem 0 3.5rem 0;
        min-height: auto;
        border-radius: 0 0 2.5rem 2.5rem;
    }

    .hero-grid-container {
        gap: 2rem;
        padding: 0 1.25rem;
    }

    .hero-content {
        margin-top: -1.25rem;
        align-items: center;
        text-align: center;
    }

    .hero-brand-title {
        font-size: clamp(2.8rem, 8vw, 3.6rem);
        margin-bottom: 0.4rem;
    }

    .hero-headline {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
        margin-bottom: 0.85rem;
    }

    .hero-subheadline {
        font-size: 0.98rem;
        line-height: 1.65;
        margin-bottom: 1.75rem;
    }

    .hero-downloads {
        gap: 0.75rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .store-badge {
        padding: 0.55rem 0.9rem;
    }

    .hero-showcase {
        height: auto;
        min-height: auto;
        margin-top: 0.5rem;
    }

    .carousel-phone-container {
        margin-top: 0 !important;
        gap: 1.2rem;
    }

    .carousel-phone {
        width: 230px;
        height: 460px;
    }

    .phone-screen {
        border-radius: 4px;
    }

    .hero-specs {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .floating-asset {
        display: none;
        /* Hide floating 3D icons on mobile to avoid clutter */
    }

    .stats-cards-grid {
        grid-template-columns: 1fr;
    }

    .stats-cards-grid .double-bezel-card .inner-core {
        padding: 1.8rem 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .showcase-phone-inner {
        width: 280px;
        height: 550px;
    }

    .phone-screen-container {
        border-radius: 2rem;
    }

    .showcase-verdict-header {
        padding: 2.5rem 1rem 1.5rem 1rem;
    }

    .v-main-title {
        font-size: 1.25rem;
    }

    .report-toggle-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .toggle-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Refined Mobile Footer & Newsletter */
    .footer {
        padding-top: 5rem;
        padding-bottom: 2rem;
        margin-top: -2rem;
    }

    .footer-container {
        padding: 0 1.25rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .footer-newsletter {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
        padding: 0;
    }

    .newsletter-title {
        font-size: 1.55rem;
        font-weight: 700;
        margin-bottom: 0.6rem;
        text-align: center;
    }

    .newsletter-sub {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.85);
        text-align: center;
        margin: 0 auto 1.5rem auto;
        max-width: 100%;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background-color: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 100px;
        padding: 0.35rem 0.4rem;
        margin-bottom: 0.6rem;
        display: flex;
        align-items: center;
    }

    .newsletter-input {
        flex: 1;
        min-width: 0;
        font-size: 0.88rem;
        padding: 0.5rem 0.85rem;
        text-align: right;
        color: #FFFFFF;
    }

    .newsletter-input::placeholder {
        color: rgba(255, 255, 255, 0.65);
        font-size: 0.82rem;
    }

    .btn-newsletter {
        padding: 0.65rem 1.4rem;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .newsletter-hint {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.65);
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-socials {
        justify-content: center;
        gap: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .footer-links-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.25rem;
        width: 100%;
        text-align: right;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        box-sizing: border-box;
    }

    .footer-links-col h4 {
        font-size: 1rem;
        margin-bottom: 0.85rem;
    }

    .footer-links-col ul {
        gap: 0.65rem;
    }

    .footer-links-col a {
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.75);
    }

    .footer-copyright-text {
        font-size: 0.75rem;
        padding: 0 1rem;
    }
}

/* --------------------------------------------------------------------------
   15. FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
    background-color: var(--pass-light-grey);
    color: var(--pass-dark-text);
    padding: 8rem 0 12rem 0;
    position: relative;
    z-index: 5;
    border-radius: 0 0 4rem 4rem;
    margin-top: -4rem;
    padding-top: 12rem;
    overflow: hidden;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--pure-white);
    border: 1px solid var(--cloud);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 82, 255, 0.06);
    border-color: rgba(0, 82, 255, 0.15);
}

.faq-item.active {
    border-color: rgba(0, 82, 255, 0.25);
    box-shadow: 0 12px 32px rgba(0, 82, 255, 0.08);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    gap: 1.5rem;
}

.faq-question {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    flex: 1;
}

.faq-icon-arrow {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fog);
    border-radius: 50%;
    color: var(--steel);
    transition: transform 0.35s var(--ease-custom), background 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
    background: var(--fahes-blue);
    color: var(--pure-white);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-custom);
}

.faq-answer {
    padding: 0 1.5rem 1.2rem 1.5rem;
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--slate);
}



/* --------------------------------------------------------------------------
   8. Utility Backgrounds for Sections
   -------------------------------------------------------------------------- */
.bg-primary-blue {
    background-color: var(--fahes-blue);
}

.bg-dark-blue {
    background-color: #0A1128;
    /* A deep dark navy blue */
}

/* --------------------------------------------------------------------------
   9. Parallax Sticky Stack (Core Capabilities)
   -------------------------------------------------------------------------- */
.stacked-cards-container {
    position: relative;
    padding-bottom: 5rem;
}

.sticky-card {
    position: sticky;
    top: 140px;
    /* Offset from top to allow stacking */
    min-height: 400px;
    border-radius: calc(var(--card-radius) + 1rem);
    display: flex;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    /* Top shadow for layering effect */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.sc-1 {
    background-color: #0A1128;
    top: 140px;
    z-index: 10;
}

.sc-2 {
    background-color: #0F172A;
    top: 160px;
    z-index: 11;
}

.sc-3 {
    background-color: #1E293B;
    top: 180px;
    z-index: 12;
}

.sc-content {
    flex: 1.2;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sc-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--pass-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
}

.sc-title {
    font-size: clamp(2.2rem, 3vw, 3rem);
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.sc-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 90%;
}

.sc-visual {
    flex: 0.8;
    background-color: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Abstract Tech Shapes */
.sc-abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--pass-blue), transparent);
    right: -50px;
    bottom: -50px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--pass-teal), transparent);
    top: -100px;
    left: -100px;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--pass-purple), transparent);
    bottom: 0;
    left: 20%;
}

/* Responsive Parallax Stack */
@media (max-width: 900px) {
    .sticky-card {
        flex-direction: column;
        top: 100px !important;
        position: relative;
        /* disable sticky on mobile to save space */
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
}

/* --------------------------------------------------------------------------
   10. High-End Asymmetrical Bento Grid (Ethereal Glass)
   -------------------------------------------------------------------------- */
.bento-grid-high-end {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.he-bento-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.he-bento-card {
    transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
    cursor: default;
}

.he-bento-card:active {
    transform: scale(0.98);
}

.he-bento-shell {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 2rem;
    padding: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.he-bento-core {
    background-color: #050505;
    /* Vantablack core */
    border-radius: calc(2rem - 2px);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.he-hero-card .he-bento-core {
    flex-direction: row;
    min-height: 400px;
}

.he-bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.he-hero-card .he-bento-bg {
    width: 60%;
    left: 40%;
    mask-image: linear-gradient(to right, transparent, black 20%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%);
}

.he-bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.32, 0.72, 0, 1);
}

.he-bento-card:hover .he-bento-img {
    opacity: 0.8;
    transform: scale(1.05);
}

.he-bento-content {
    position: relative;
    z-index: 2;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.he-hero-card .he-bento-content {
    width: 50%;
}

.he-split-card .he-bento-content {
    padding-top: 18rem;
    background: linear-gradient(to bottom, transparent, #050505 60%);
}

.he-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    color: var(--fahes-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.he-title {
    font-size: 2.2rem;
    color: var(--pure-white);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.he-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .he-bento-row {
        grid-template-columns: 1fr;
    }

    .he-hero-card .he-bento-core {
        flex-direction: column;
    }

    .he-hero-card .he-bento-bg {
        width: 100%;
        left: 0;
        height: 60%;
        mask-image: linear-gradient(to bottom, black 60%, transparent);
        -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent);
    }

    .he-hero-card .he-bento-content {
        width: 100%;
        padding: 3rem 2rem;
        padding-top: 14rem;
    }

    .he-split-card .he-bento-content {
        padding: 3rem 2rem;
        padding-top: 14rem;
    }
}

/* --------------------------------------------------------------------------
   VIN Map Section
   -------------------------------------------------------------------------- */
.core-capabilities-section {
    background-color: #050505;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.core-capabilities-section .section-header {
    margin-bottom: 2rem;
}

.vin-map-container {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto 0;
}

.vin-car-img {
    width: 100%;
    height: auto;
    display: block;
}

.vin-hotspot {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.hotspot-dot {
    width: 16px;
    height: 16px;
    background-color: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), 0 0 15px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.hotspot-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hotspot-content {
    background: transparent;
    padding: 0;
    border: none;
    white-space: nowrap;
    text-align: right;
    position: absolute;
    opacity: 1;
}

.hotspot-content h4 {
    color: #FFFFFF;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hotspot-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Connecting Lines */
.hotspot-line {
    position: absolute;
    background-color: #FFFFFF;
    opacity: 0.8;
    z-index: 1;
}

/* Specific Placements (Targeting the baked-in dots on the image) */
.hotspot-dash {
    top: 47%;
    left: 50%;
}

.hotspot-dash .hotspot-content {
    bottom: calc(100% + 80px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hotspot-dash .hotspot-line {
    width: 1.5px;
    height: 80px;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.hotspot-hood {
    top: 55.5%;
    left: 22.3%;
}

.hotspot-hood .hotspot-content {
    bottom: calc(100% + 100px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hotspot-hood .hotspot-line {
    width: 1.5px;
    height: 100px;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.hotspot-rear {
    top: 49%;
    left: 88%;
}

.hotspot-rear .hotspot-content {
    bottom: calc(100% + 90px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hotspot-rear .hotspot-line {
    width: 1.5px;
    height: 90px;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.hotspot-door {
    top: 69%;
    left: 76%;
}

.hotspot-door .hotspot-content {
    top: calc(100% + 65px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hotspot-door .hotspot-line {
    width: 1.5px;
    height: 65px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive adjustments for VIN Map */
.vin-mobile-grid {
    display: none;
}

@media (max-width: 768px) {
    .vin-map-container {
        padding: 0 0.5rem;
    }

    .hotspot-content,
    .hotspot-line {
        display: none !important;
    }

    .vin-hotspot {
        z-index: 10;
    }

    .vin-mobile-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 2rem;
        width: 100%;
        direction: rtl;
    }

    .vin-mobile-card {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        padding: 0.9rem 1.15rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .vin-mobile-badge {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--fahes-blue);
        background: rgba(0, 82, 255, 0.15);
        border: 1px solid rgba(0, 82, 255, 0.3);
        border-radius: 8px;
        width: 38px;
        height: 38px;
        min-width: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .vin-mobile-info h4 {
        color: #FFFFFF;
        font-size: 0.92rem;
        font-weight: 700;
        margin-bottom: 0.2rem;
        line-height: 1.3;
    }

    .vin-mobile-info p {
        color: rgba(255, 255, 255, 0.75);
        font-size: 0.78rem;
        margin: 0;
        line-height: 1.4;
    }
}

/* --------------------------------------------------------------------------
   14. Legal Pages (Terms of Service & Privacy Policy)
   -------------------------------------------------------------------------- */
.legal-header {
    background-color: var(--fahes-blue, #0052FF);
    color: #FFFFFF;
    padding: 7.5rem 1.5rem 3.5rem;
    border-radius: 0 0 2.5rem 2.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.legal-header-inner {
    max-width: 680px;
    margin: 0 auto;
}

.legal-header-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.legal-header-meta {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.legal-paper-wrapper {
    width: 100%;
    max-width: 820px;
    margin: -1.75rem auto 4.5rem;
    padding: 0 1.25rem;
    position: relative;
    z-index: 20;
}

.legal-paper {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 3rem 3.25rem;
    box-shadow: 0 4px 20px rgba(13, 17, 23, 0.03);
}

.legal-intro {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #334155;
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid #F1F5F9;
}

.legal-section {
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid #F1F5F9;
}

.legal-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.22rem;
    font-weight: 700;
    color: #0D1117;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.legal-section p {
    font-size: 0.96rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 0.75rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: #0D1117;
    font-weight: 600;
}

.legal-section ul {
    list-style-type: disc;
    padding-right: 1.35rem;
    margin: 0.75rem 0;
}

.legal-section li {
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 0.45rem;
}

.legal-notice {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.15rem 1.35rem;
    margin: 1.15rem 0;
}

.legal-notice.notice-warning {
    background-color: #FFFBF5;
    border-color: #FED7AA;
}

.legal-notice-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0D1117;
    margin-bottom: 0.35rem;
}

.notice-warning .legal-notice-title {
    color: #C2410C;
}

.legal-notice p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

.legal-contact-footer {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.legal-contact-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

.legal-contact-footer a {
    color: #0052FF;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-page-footer {
    padding-top: 5rem !important;
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .legal-header {
        padding: 7rem 1.25rem 3rem;
        border-radius: 0 0 1.75rem 1.75rem;
    }

    .legal-paper-wrapper {
        margin: -1.25rem auto 3.5rem;
        padding: 0 1rem;
    }

    .legal-paper {
        padding: 2rem 1.25rem;
        border-radius: 12px;
    }

    .legal-section h2 {
        font-size: 1.15rem;
    }

    .legal-contact-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}