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

:root {
    /* Enhanced Color Palette - Logo-based Futuristic Theme */
    --bg-deep: #0a0e1a;
    --bg-surface: #131821;
    --bg-panel: rgba(19, 24, 33, 0.7);
    --bg-glass: rgba(61, 126, 219, 0.05);

    /* Primary Colors - Teal Green */
    --primary-dark: #52e5c4;
    --primary-light: #7bf7d8;
    --primary: linear-gradient(135deg, #52e5c4 0%, #7bf7d8 100%);

    /* Accent Colors */
    --cyan-neon: #7bf7d8;
    --blue-electric: #52e5c4;
    --blue-glow: rgba(123, 247, 216, 0.6);
    --cyan-glow: rgba(123, 247, 216, 0.5);

    /* UI Colors */
    --text-main: #ffffff;
    --text-muted: #a0b5d9;
    --text-dim: #6b7c9c;
    --border: rgba(123, 247, 216, 0.15);
    --border-glow: rgba(123, 247, 216, 0.3);

    /* Gradients */
    --grad-primary: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--primary-light) 100%
    );
    --grad-neon: linear-gradient(
        135deg,
        var(--cyan-neon) 0%,
        var(--blue-electric) 100%
    );
    --grad-mesh:
        radial-gradient(
            circle at 20% 50%,
            rgba(82, 229, 196, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 50%,
            rgba(123, 247, 216, 0.15) 0%,
            transparent 50%
        );
    --grad-glass: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );

    /* Fonts */
    --font-heading: "Orbitron", sans-serif;
    --font-body: "Inter", sans-serif;
    --font-mono: "Space Mono", monospace;

    /* Spacing */
    --section-pad: 8rem 0;
    --container-width: 1280px;

    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glow-cyan:
        0 0 20px rgba(123, 247, 216, 0.4), 0 0 40px rgba(123, 247, 216, 0.2);
    --glow-blue:
        0 0 20px rgba(82, 229, 196, 0.4), 0 0 40px rgba(82, 229, 196, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-deep);
    background-image: var(--grad-mesh);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Star Field Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(
            2px 2px at 20px 30px,
            rgba(255, 255, 255, 0.8),
            transparent
        ),
        radial-gradient(
            2px 2px at 60px 70px,
            rgba(255, 255, 255, 0.8),
            transparent
        ),
        radial-gradient(
            1px 1px at 50px 50px,
            rgba(255, 255, 255, 0.6),
            transparent
        ),
        radial-gradient(
            1px 1px at 130px 80px,
            rgba(255, 255, 255, 0.6),
            transparent
        ),
        radial-gradient(
            2px 2px at 90px 10px,
            rgba(255, 255, 255, 0.8),
            transparent
        ),
        radial-gradient(
            1px 1px at 160px 120px,
            rgba(255, 255, 255, 0.5),
            transparent
        );
    background-size: 200% 200%;
    background-position:
        0 0,
        40px 60px,
        130px 270px,
        70px 100px,
        150px 50px,
        80px 180px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    animation: starsMove 800s linear infinite;
}

@keyframes starsMove {
    from {
        background-position:
            0 0,
            40px 60px,
            130px 270px,
            70px 100px,
            150px 50px,
            80px 180px;
    }

    to {
        background-position:
            -200px -200px,
            -160px -140px,
            -70px 70px,
            -130px -100px,
            -50px -150px,
            -120px -20px;
    }
}

/* Enhanced Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 900;
    opacity: 0.015;
    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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    animation: noiseShift 60s steps(10) infinite;
}

@keyframes noiseShift {
    0% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -5%);
    }

    20% {
        transform: translate(-10%, 5%);
    }

    30% {
        transform: translate(5%, -10%);
    }

    40% {
        transform: translate(-5%, 15%);
    }

    50% {
        transform: translate(10%, 5%);
    }

    60% {
        transform: translate(5%, -15%);
    }

    70% {
        transform: translate(-10%, 10%);
    }

    80% {
        transform: translate(15%, 0%);
    }

    90% {
        transform: translate(0%, -10%);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Enhanced Blob Effects */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.3;
    animation: float 25s infinite alternate ease-in-out;
}

.blob--1 {
    top: -15%;
    left: -15%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(
        circle,
        rgba(82, 229, 196, 0.4) 0%,
        rgba(82, 229, 196, 0) 70%
    );
    animation-duration: 30s;
}

.blob--2 {
    bottom: -15%;
    right: -15%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(
        circle,
        rgba(123, 247, 216, 0.3) 0%,
        rgba(123, 247, 216, 0) 70%
    );
    animation-delay: -10s;
    animation-duration: 35s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(80px, -50px) rotate(120deg) scale(1.1);
    }

    66% {
        transform: translate(-50px, 80px) rotate(240deg) scale(0.9);
    }

    100% {
        transform: translate(60px, 60px) rotate(360deg) scale(1);
    }
}

/* Scanline Animation */
.holo-line {
    position: fixed;
    top: -10%;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--cyan-neon),
        transparent
    );
    animation: scanline 12s ease-in-out infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: 999;
    box-shadow: 0 0 10px var(--cyan-neon);
}

@keyframes scanline {
    0% {
        top: -10%;
        opacity: 0;
    }

    5% {
        opacity: 0.6;
    }

    95% {
        opacity: 0.6;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}

/* Typography Utilities */
.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.text-gradient::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    opacity: 0.5;
}

.glow-text {
    text-shadow:
        0 0 10px var(--cyan-glow),
        0 0 20px var(--blue-glow),
        0 0 30px var(--blue-glow);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%,
    100% {
        text-shadow:
            0 0 10px var(--cyan-glow),
            0 0 20px var(--blue-glow);
    }

    50% {
        text-shadow:
            0 0 20px var(--cyan-glow),
            0 0 40px var(--blue-glow),
            0 0 60px var(--blue-glow);
    }
}

.code-snippet {
    font-family: var(--font-mono);
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan-neon);
    padding: 0.3em 0.6em;
    border-radius: 4px;
    font-size: 0.9em;
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

/* Navigation - Glassmorphism */
.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 2rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(10, 14, 26, 0.8);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.site-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grad-neon);
    opacity: 0.5;
}

.site-nav__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-nav__logo-img {
    width: clamp(170px, 15vw, 220px);
    height: auto;
    max-width: 100%;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px rgba(123, 247, 216, 0.3));
}

.site-nav__logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(123, 247, 216, 0.6));
    transform: scale(1.05);
}

.footer-logo {
    width: clamp(160px, 14vw, 210px);
    height: auto;
    margin-bottom: 1rem;
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(123, 247, 216, 0.4));
}

.site-nav__links {
    display: none;
    gap: 2.5rem;
}

.site-nav__links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.site-nav__links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--grad-neon);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--cyan-neon);
}

.site-nav__links a:hover {
    color: var(--cyan-neon);
}

.site-nav__links a:hover::after {
    width: 100%;
}

.site-nav__cta {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--cyan-neon);
    border: 2px solid var(--cyan-neon);
    padding: 0.6rem 1.4rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 0 15px rgba(123, 247, 216, 0.2);
}

.site-nav__cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--grad-neon);
    transition: left 0.3s ease;
    z-index: -1;
}

.site-nav__cta:hover {
    color: #000;
    border-color: var(--cyan-neon);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.site-nav__cta:hover::before {
    left: 0;
}

@media (min-width: 768px) {
    .site-nav__links {
        display: flex;
    }
}

/* Layout */
.page {
    width: 100%;
    position: relative;
    z-index: 1;
}

.section {
    padding: var(--section-pad);
    position: relative;
}

.snap-section {
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section - Ultra Enhanced */
.hero {
    text-align: center;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle,
        rgba(123, 247, 216, 0.1) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Hero Container */
.hero__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Hero Title - Centered */
.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 4rem;
    letter-spacing: -0.01em;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    position: relative;
}

/* Hero Grid Layout - Two Column for content + car */
.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

/* Hero Car Image */
.hero__image {
    position: relative;
    z-index: 2;
}

.hero__car {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 136, 255, 0.6))
        drop-shadow(0 0 80px rgba(0, 136, 255, 0.3));
    animation: carFloat 6s ease-in-out infinite;
}

@keyframes carFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Grid */
@media (max-width: 968px) {
    .hero__title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 3rem;
    }

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

    .hero__image {
        order: -1;
    }

    .hero__content {
        max-width: 100%;
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}

.hero h1 strong {
    display: block;
    font-weight: 400;
    font-size: 0.9em;
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero__subtitle strong {
    color: var(--text-main);
    font-weight: 700;
}

.hero__cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.cta {
    position: relative;
    padding: 1.2rem 2.5rem;
    border-radius: 0;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    clip-path: polygon(
        8px 0,
        100% 0,
        100% calc(100% - 8px),
        calc(100% - 8px) 100%,
        0 100%,
        0 8px
    );
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--grad-neon);
    z-index: -2;
}

.cta::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition:
        width 0.6s,
        height 0.6s;
    z-index: -1;
}

.cta:hover::after {
    width: 300px;
    height: 300px;
}

.cta--primary {
    background: var(--grad-neon);
    color: #000;
    box-shadow: var(--glow-cyan);
    border: 2px solid var(--cyan-neon);
}

.cta--primary:hover {
    box-shadow:
        0 0 30px rgba(123, 247, 216, 0.6),
        0 0 60px rgba(123, 247, 216, 0.3);
    transform: translateY(-4px);
}

.cta__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    animation: shine 5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.cta--secondary {
    border: 2px solid var(--border-glow);
    color: var(--cyan-neon);
    background: rgba(123, 247, 216, 0.05);
    backdrop-filter: blur(10px);
}

.cta--secondary::before {
    background: var(--grad-glass);
}

.cta--secondary:hover {
    border-color: var(--cyan-neon);
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(123, 247, 216, 0.3);
    transform: translateY(-4px);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.85rem;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat__value {
    color: var(--cyan-neon);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-heading);
    text-shadow: 0 0 10px var(--cyan-glow);
}

.stat__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.separator {
    opacity: 0.3;
    font-size: 1.5rem;
}

/* Section Headers */
.section__header {
    text-align: center;
    margin-bottom: 4.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.section__eyebrow {
    display: block;
    font-family: var(--font-mono);
    color: var(--cyan-neon);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
}

.section__eyebrow::before,
.section__eyebrow::after {
    content: "▸";
    margin: 0 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.section__header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.section__header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Problem Solution Section - Enhanced VS Layout */
.problem-solution {
    background: var(--bg-deep);
    position: relative;
    padding: var(--section-pad);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

.split-layout::before {
    content: "VS";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: rgba(0, 229, 255, 0.1);
    z-index: 0;
    text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
    display: none;
}

@media (min-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .split-layout::before {
        display: block;
    }
}

.split-col {
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-strong);
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
    box-shadow:
        0 0 30px rgba(0, 136, 255, 0.25),
        inset 0 0 20px rgba(0, 163, 255, 0.08);
}

.split-col::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-neon);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.split-col[data-reveal].revealed::before {
    transform: scaleX(1);
}

.split-col:hover {
    transform: translateY(-8px);
    border-color: var(--blue-electric);
    box-shadow:
        0 0 50px rgba(0, 136, 255, 0.5),
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(0, 163, 255, 0.15);
}

.split-col.problem {
    border-color: rgba(255, 80, 80, 0.3);
}

.split-col.problem::before {
    background: linear-gradient(135deg, #ff5050 0%, #ff8080 100%);
}

.split-col.solution {
    border-color: var(--border-glow);
    background: linear-gradient(
        135deg,
        rgba(0, 229, 255, 0.03) 0%,
        rgba(61, 126, 219, 0.03) 100%
    );
}

.eyebrow-red,
.eyebrow-green {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
}

.eyebrow-red {
    color: #ff5050;
    text-shadow: 0 0 10px rgba(255, 80, 80, 0.5);
}

.eyebrow-green {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.split-col h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.metric-unit {
    font-size: 1.2rem;
    color: var(--cyan-neon);
    font-weight: 600;
    text-transform: lowercase;
    display: inline;
}

.problem-list,
.solution-list {
    list-style: none;
    margin-bottom: 2rem;
}

.problem-list li,
.solution-list li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.problem-list li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: #ff5050;
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
}

.solution-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: 900;
    font-size: 1.3rem;
}

.summary-text {
    font-size: 1.15rem;
    color: var(--text-main);
    border-top: 1px solid var(--border-glow);
    padding-top: 2rem;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Technology Grid - Enhanced Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.tech-card {
    background: var(--bg-panel);
    border: 2px solid var(--border-strong);
    padding: 3rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(
        16px 0,
        100% 0,
        100% calc(100% - 16px),
        calc(100% - 16px) 100%,
        0 100%,
        0 16px
    );
    box-shadow:
        0 0 25px rgba(0, 136, 255, 0.25),
        inset 0 0 15px rgba(0, 163, 255, 0.08);
}

.tech-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-neon);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan-neon);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        var(--glow-cyan);
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.card-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--cyan-neon) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.4s;
}

.tech-card:hover .card-glow {
    opacity: 0.15;
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--grad-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1;
    display: inline;
    margin-right: 0.2rem;
}

.tech-icon {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    background: var(--grad-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 2rem;
    opacity: 0.3;
}

.tech-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tech-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Agents Section - Enhanced Carousel */
.agents-slider {
    display: flex;
    overflow-x: auto;
    gap: 2.5rem;
    padding: 2rem 5vw 3rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--cyan-neon) var(--bg-surface);
}

.agents-slider::-webkit-scrollbar {
    height: 6px;
}

.agents-slider::-webkit-scrollbar-track {
    background: var(--bg-surface);
    border-radius: 3px;
}

.agents-slider::-webkit-scrollbar-thumb {
    background: var(--grad-neon);
    border-radius: 3px;
}

.agent-card {
    flex: 0 0 340px;
    scroll-snap-align: center;
    background: var(--bg-surface);
    border: 2px solid var(--border-strong);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 30px rgba(0, 136, 255, 0.3),
        var(--shadow-md);
}

.agent-card:hover {
    border-color: var(--blue-electric);
    box-shadow:
        0 0 50px rgba(0, 136, 255, 0.6),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.agent-card--premium {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(
        180deg,
        rgba(20, 20, 30, 1) 0%,
        rgba(10, 10, 15, 1) 100%
    );
}

.agent-card--premium::before {
    content: "★ PREMIUM";
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    padding: 5px 40px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.agent-viz {
    height: 220px;
    display: grid;
    place-items: center;
    background: radial-gradient(
        circle at center,
        rgba(0, 229, 255, 0.1) 0%,
        transparent 70%
    );
    position: relative;
    overflow: hidden;
}

.agent-viz::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 229, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.agent-viz img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    border: 3px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
    transition: all 0.4s ease;
}

.agent-card:hover .agent-viz img {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.6);
}

.agent-circle {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 229, 255, 0.2);
    animation: spin 25s linear infinite;
}

.agent-circle--sara {
    border-color: #ff00de;
    box-shadow: 0 0 20px rgba(255, 0, 222, 0.3);
}

.agent-circle--marco {
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.agent-circle--lisa {
    border-color: #00e5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.agent-circle--robert {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.agent-content {
    padding: 2rem;
    background: rgba(10, 14, 26, 0.6);
}

.agent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.agent-header h3 {
    font-family: var(--font-heading);
    letter-spacing: 0.15em;
    font-size: 1.3rem;
    font-weight: 800;
}

.badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    background: rgba(0, 229, 255, 0.15);
    color: var(--cyan-neon);
    font-weight: 800;
    border: 1px solid rgba(0, 229, 255, 0.3);
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
}

.badge--gold {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
}

.agent-role {
    color: var(--cyan-neon);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
}

.agent-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-text {
    color: var(--cyan-neon);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-text:hover {
    gap: 1rem;
    text-shadow: 0 0 10px var(--cyan-glow);
}

/* Market Section - Enhanced Comparison */
.grid-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .grid-split {
        grid-template-columns: 1fr 1fr;
    }
}

.market-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.feature-list {
    list-style: none;
    margin-top: 2.5rem;
    display: grid;
    gap: 1.2rem;
}

.feature-list li {
    padding-left: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    color: var(--text-main);
    transform: translateX(5px);
}

.feature-list .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.feature-list strong {
    display: block;
    color: var(--cyan-neon);
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.feature-list span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.market-visual {
    background: var(--bg-panel);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.comparison-box {
    margin-bottom: 2.5rem;
}

.comparison-box:last-child {
    margin-bottom: 0;
}

.comp-header {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.comp-bar {
    height: 36px;
    margin-bottom: 0.7rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.comp-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
}

.comp-bar:hover::before {
    width: 100%;
}

.negative {
    background: rgba(255, 50, 50, 0.15);
    border-left: 4px solid #ff3232;
    color: #ffaaaa;
    box-shadow: 0 0 10px rgba(255, 50, 50, 0.2);
}

.highlight .comp-bar.positive {
    background: rgba(0, 229, 255, 0.15);
    border-left: 4px solid var(--cyan-neon);
    color: #e0faff;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.comp-bar:hover {
    transform: translateX(5px);
}

/* Final CTA - Enhanced */
.cta-final {
    display: grid;
    place-items: center;
    padding: 0 1.5rem;
}

.cta-container {
    text-align: center;
    background: linear-gradient(
        135deg,
        rgba(19, 24, 33, 0.9) 0%,
        rgba(10, 14, 26, 0.9) 100%
    );
    padding: 5rem 3rem;
    border-radius: 24px;
    border: 2px solid var(--border-glow);
    max-width: 900px;
    width: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        var(--glow-cyan);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(0, 229, 255, 0.15),
        transparent 60%
    );
    z-index: 0;
}

.cta-container h2,
.cta-container p,
.cta-container .cta,
.cta-container .feature-list {
    position: relative;
    z-index: 1;
}

.cta-container h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cta-container p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    line-height: 1.7;
}

.cta-container .feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.cta-container .feature-list li {
    background: rgba(0, 229, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    font-size: 0.9rem;
    color: var(--cyan-neon);
}

/* Footer */
.footer {
    background: var(--bg-deep);
    padding: 0.5rem 1.5rem 0.25rem;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grad-neon);
    opacity: 0.5;
}

.footer-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.col-brand {
    display: flex;
    flex-direction: column;
}

.col-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-logo {
    width: 160px;
}

.col-legal {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.col-legal a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.col-legal a:hover {
    color: var(--blue-electric);
}

.col-links h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.col-links ul {
    list-style: none;
}

.col-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.col-links a:hover {
    color: var(--blue-electric);
}

/* Reveal Animations - Improved */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --section-pad: 5rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tech-card {
        padding: 2rem;
    }

    .split-col {
        padding: 2rem;
    }

    .cta-container {
        padding: 3rem 2rem;
    }
}

/* ==========================================
   PROFESSIONAL DATA VISUALIZATIONS
   ========================================== */

/* Metrics Section */
.metrics-section {
    background: var(--bg-deep);
    padding: 6rem 0 4rem;
    position: relative;
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.metric-card {
    background: var(--bg-panel);
    border: 2px solid var(--border-strong);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 30px rgba(0, 136, 255, 0.25),
        inset 0 0 20px rgba(0, 163, 255, 0.08);
    transition: all 0.4s ease;
}

.metric-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-neon);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.metric-card.revealed::before {
    transform: scaleX(1);
}

.metric-card:hover {
    transform: translateY(-8px);
    border-color: var(--blue-electric);
    box-shadow:
        0 0 50px rgba(0, 136, 255, 0.5),
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(0, 163, 255, 0.15);
}

.metric-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 163, 255, 0.5));
}

.metric-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.metric-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 136, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.metric-bar-fill {
    height: 100%;
    background: var(--grad-neon);
    width: var(--metric-width, 0%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.6);
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: barGlow 2s ease-in-out infinite;
}

@keyframes barGlow {
    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

/* Comparison Section */
.comparison-section {
    background: var(--bg-surface);
    padding: 6rem 0;
    position: relative;
}

.comparison-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.comparison-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-main);
}

.vs-badge {
    display: inline-block;
    background: var(--grad-neon);
    color: var(--bg-deep);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 900;
    font-size: 0.8em;
    margin: 0 1rem;
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.5);
}

/* Comparison Table */
.comparison-table {
    display: grid;
    gap: 0;
    background: var(--bg-panel);
    border: 2px solid var(--border-strong);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 136, 255, 0.2);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 2fr 2fr;
    border-bottom: 1px solid var(--border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-header {
    background: linear-gradient(
        135deg,
        rgba(0, 136, 255, 0.15) 0%,
        rgba(0, 163, 255, 0.1) 100%
    );
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.comparison-cell {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-right: 1px solid var(--border);
    transition: background 0.3s ease;
}

.comparison-cell:last-child {
    border-right: none;
}

.comparison-cell.feature {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.05rem;
}

.comparison-cell.highlight {
    background: linear-gradient(
        135deg,
        rgba(0, 255, 136, 0.08) 0%,
        rgba(0, 163, 255, 0.08) 100%
    );
    color: var(--blue-electric);
}

.comparison-cell.old-way {
    color: var(--text-muted);
}

.comparison-cell.new-way {
    background: rgba(0, 255, 136, 0.05);
}

.comparison-row:hover .comparison-cell:not(.feature) {
    background: rgba(0, 136, 255, 0.08);
}

.status-icon {
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
}

.old-way .status-icon {
    color: #ff6b6b;
}

.new-way .status-icon {
    color: #00ff88;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
}

.status-text {
    line-height: 1.4;
    color: var(--text-main);
}

/* Responsive Table */
@media (max-width: 768px) {
    .comparison-table {
        display: block;
    }

    .comparison-row {
        display: block;
        border-bottom: 2px solid var(--border-strong);
        padding: 1.5rem 0;
    }

    .comparison-row:last-child {
        border-bottom: none;
    }

    .comparison-header {
        display: none;
    }

    .comparison-cell {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem;
    }

    .comparison-cell:last-child {
        border-bottom: none;
    }

    .comparison-cell.feature {
        background: linear-gradient(
            135deg,
            rgba(0, 136, 255, 0.15) 0%,
            rgba(0, 163, 255, 0.1) 100%
        );
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .vs-badge {
        display: block;
        margin: 1rem 0;
    }
}

/* Audience Section */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.audience-card {
    background: var(--bg-panel);
    border: 2px solid var(--border-strong);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 30px rgba(0, 136, 255, 0.25),
        inset 0 0 20px rgba(0, 163, 255, 0.08);
    transition: all 0.4s ease;
}

.audience-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-neon);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.audience-card[data-reveal].revealed::before {
    transform: scaleX(1);
}

.audience-card:hover {
    transform: translateY(-8px);
    border-color: var(--blue-electric);
    box-shadow:
        0 0 50px rgba(0, 136, 255, 0.5),
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(0, 163, 255, 0.15);
}

.audience-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 163, 255, 0.5));
}

.audience-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.audience-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.audience-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 2rem 0.5rem;
}

.cta-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.cta-text strong {
    color: var(--blue-electric);
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .audience-card {
        padding: 2.5rem 2rem;
    }
}

/* CSS aggiornato Thu Feb 12 22:15:33 CET 2026 */
/* ==========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ========================================== */

/* Mobile Small (up to 480px) - Enhanced Smartphone Experience */
@media (max-width: 480px) {
    /* Base Typography & Spacing */
    :root {
        --section-pad: 4rem 0;
    }

    body {
        font-size: 15px;
        line-height: 1.7;
    }

    * {
        max-width: 100%;
    }

    .container {
        padding: 0 1.25rem;
        overflow-x: hidden;
    }

    .section {
        overflow-x: hidden;
    }

    /* ========================================
       NAVIGATION - Mobile Optimized
       ======================================== */
    .site-nav {
        padding: 0.75rem 1.25rem !important;
        backdrop-filter: blur(15px);
        position: fixed;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .site-nav__inner {
        justify-content: space-between;
        align-items: center;
    }

    .site-nav__logo-img {
        width: clamp(140px, 36vw, 180px) !important;
        height: auto !important;
    }

    .site-nav__cta {
        font-size: 0.7rem !important;
        padding: 0.5rem 1rem !important;
        letter-spacing: 0.08em !important;
    }

    /* Hide desktop nav links on mobile */
    .site-nav__links {
        display: none !important;
    }

    /* ========================================
       HERO - Mobile First Design
       ======================================== */
    .hero {
        padding-top: 5rem !important;
        padding-bottom: 3rem !important;
    }

    .hero__title {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1.5rem !important;
        letter-spacing: -0.02em !important;
    }

    .hero__subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 2rem !important;
        padding: 0 0.5rem;
    }

    .hero__grid {
        gap: 2.5rem !important;
    }

    .hero__cta {
        flex-direction: column !important;
        gap: 1rem !important;
        margin-bottom: 2.5rem !important;
    }

    .cta {
        width: 100% !important;
        padding: 1.1rem 1.8rem !important;
        font-size: 0.85rem !important;
        min-height: 48px;
        border-radius: 4px;
    }

    .hero__car {
        max-width: 100%;
        height: auto;
    }

    /* ========================================
       METRICS - Vertical Stack
       ======================================== */
    .metrics-container {
        padding: 0 0.5rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .metric-card {
        padding: 1.75rem 1.5rem !important;
        border-radius: 12px;
    }

    .metric-value {
        font-size: 2.25rem !important;
        margin-bottom: 0.25rem;
    }

    .metric-label {
        font-size: 0.85rem !important;
        line-height: 1.4;
    }

    /* ========================================
       COMPARISON TABLE - Mobile Friendly
       ======================================== */
    .comparison-section {
        padding: 3rem 0 !important;
    }

    .comparison-container {
        padding: 0 !important;
    }

    .comparison-title {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 2rem !important;
        padding: 0 1.25rem;
    }

    .vs-badge {
        font-size: 0.65rem !important;
        padding: 0.35rem 0.9rem !important;
        margin: 0 0.5rem;
    }

    /* Mobile: Stack vertically - No horizontal scroll */
    .comparison-table {
        font-size: 0.8rem !important;
        border-radius: 12px;
        margin: 0 1.25rem;
        overflow: visible !important;
    }

    .comparison-row {
        display: flex !important;
        flex-direction: column !important;
        border-bottom: 2px solid var(--border) !important;
    }

    .comparison-row:last-child {
        border-bottom: none !important;
    }

    .comparison-header {
        display: none !important;
    }

    .comparison-cell {
        padding: 1rem 1.25rem !important;
        font-size: 0.85rem !important;
        gap: 0.5rem !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(123, 247, 216, 0.1) !important;
        width: 100% !important;
    }

    .comparison-cell:last-child {
        border-bottom: none !important;
    }

    .comparison-cell.feature {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        padding: 1.25rem 1.25rem 0.75rem !important;
        background: rgba(123, 247, 216, 0.05) !important;
        border-bottom: 2px solid var(--border-glow) !important;
    }

    .comparison-cell.old-way::before {
        content: "❌ Tradizionale: ";
        font-weight: 700;
        color: var(--text-main);
        margin-right: 0.25rem;
    }

    .comparison-cell.new-way::before {
        content: "✅ Trovanauto AI: ";
        font-weight: 700;
        color: var(--primary-green);
        margin-right: 0.25rem;
    }

    .status-icon {
        display: none !important;
    }

    .status-text {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }

    /* ========================================
       SECTION HEADERS
       ======================================== */
    .section__header {
        margin-bottom: 2.5rem !important;
        padding: 0 0.5rem;
    }

    .section__eyebrow {
        font-size: 0.7rem !important;
        margin-bottom: 0.75rem !important;
    }

    .section__header h2 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .section__header p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* ========================================
       PROBLEM/SOLUTION SECTION
       ======================================== */
    .split-layout {
        gap: 2.5rem !important;
    }

    .split-col {
        padding: 2rem 1.5rem !important;
    }

    .eyebrow-red,
    .eyebrow-green {
        font-size: 0.7rem !important;
        margin-bottom: 0.75rem !important;
    }

    .problem-list li,
    .solution-list li {
        font-size: 0.9rem !important;
        padding-left: 1.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    /* ========================================
       TECHNOLOGY CARDS - Horizontal Scroll
       ======================================== */
    .cards-grid {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 1.25rem !important;
        padding: 0 1.25rem 1rem 1.25rem !important;
        margin: 0 -1.25rem !important;
    }

    .tech-card {
        flex: 0 0 280px !important;
        scroll-snap-align: start !important;
        padding: 1.75rem 1.5rem !important;
        border-radius: 10px;
    }

    .tech-icon {
        font-size: 2rem !important;
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 1.25rem !important;
    }

    .tech-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 0.85rem !important;
    }

    .tech-card p {
        font-size: 0.9rem !important;
        line-height: 1.65 !important;
    }

    /* ========================================
       AGENT CARDS
       ======================================== */
    .agents-slider {
        gap: 1.75rem !important;
    }

    .agent-card {
        padding: 1.75rem 1.5rem !important;
        border-radius: 12px;
    }

    .agent-viz {
        margin-bottom: 1.25rem !important;
    }

    .agent-circle {
        width: 90px !important;
        height: 90px !important;
    }

    .agent-header h3 {
        font-size: 1.3rem !important;
    }

    .badge {
        font-size: 0.65rem !important;
        padding: 0.35rem 0.75rem !important;
    }

    .agent-role {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }

    .agent-desc {
        font-size: 0.9rem !important;
        line-height: 1.65 !important;
    }

    .btn-text {
        font-size: 0.85rem !important;
        padding: 0.75rem 0 !important;
    }

    /* ========================================
       AUDIENCE CARDS
       ======================================== */
    .audience-grid {
        gap: 1.5rem !important;
    }

    .audience-card {
        padding: 2rem 1.5rem !important;
        border-radius: 12px;
    }

    .audience-icon {
        font-size: 2.75rem !important;
        margin-bottom: 1rem !important;
    }

    .audience-card h3 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.85rem !important;
    }

    .audience-card p {
        font-size: 0.9rem !important;
        line-height: 1.65 !important;
    }

    /* ========================================
       FOOTER - Mobile Optimized
       ======================================== */
    .footer {
        padding: 2rem 1.5rem !important;
    }

    .footer-grid {
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: center;
        align-items: center !important;
    }

    .col-brand {
        margin-bottom: 0;
    }

    .footer-logo {
        width: clamp(150px, 46vw, 190px) !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .col-legal {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .col-legal a {
        font-size: 0.9rem !important;
    }

    .col-links {
        text-align: center;
    }

    .col-links h4 {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }

    .col-links a {
        font-size: 0.85rem !important;
        padding: 0.5rem 0 !important;
        display: block;
    }

    /* ========================================
       ANIMATIONS - Reduced for Performance
       ======================================== */
    .tech-card,
    .agent-card,
    .audience-card {
        animation: none;
    }

    /* Smooth Scroll Behavior */
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 60px;
    }

    /* Remove parallax effects on mobile */
    .blob,
    .holo-line {
        display: none;
    }

    /* ========================================
       TOUCH OPTIMIZATIONS
       ======================================== */
    /* Larger touch targets */
    a,
    button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Remove hover effects */
    .tech-card:hover,
    .agent-card:hover,
    .audience-card:hover,
    .metric-card:hover {
        transform: none !important;
    }

    /* Better tap highlights */
    * {
        -webkit-tap-highlight-color: rgba(123, 247, 216, 0.2);
    }

    /* Prevent text selection on buttons */
    .cta,
    .site-nav__cta {
        user-select: none;
        -webkit-user-select: none;
    }
}

/* Tablet (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    /* Hero */
    .hero__grid {
        gap: 2rem !important;
    }

    /* Metrics */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Audience */
    .audience-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Tablet Large (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Hero */
    .hero__title {
        font-size: 2.5rem !important;
    }

    /* Metrics */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Comparison */
    .comparison-cell {
        padding: 1.25rem 1.5rem !important;
    }

    /* Audience */
    .audience-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Technology */
    .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }

    .hero__title {
        margin-bottom: 1rem !important;
    }

    .hero__subtitle {
        margin-bottom: 1.5rem !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .cta {
        padding: 1.2rem 2rem !important;
        min-height: 44px !important;
        /* Apple HIG minimum touch target */
    }

    .col-links a {
        padding: 0.75rem 0 !important;
        min-height: 44px !important;
    }

    /* Remove hover effects on touch devices */
    .tech-card:hover,
    .agent-card:hover,
    .audience-card:hover {
        transform: none !important;
    }
}
