:root {
    /* Color Palette - Dark Mode Enterprise */
    --bg-deep: #182033;
    /* Dark Blue requested by user */
    --bg-card: #0F172A;
    /* Slate 900 */
    --bg-card-hover: #1E293B;
    /* Slate 800 */

    --text-main: #F8FAFC;
    --text-muted: #94A3B8;

    --neon-teal-rgb: 59, 130, 246;
    /* #3b82f6 Blue */
    --neon-teal: #3b82f6;
    --neon-teal-dim: rgba(var(--neon-teal-rgb), 0.2);
    --gold: #D4AF37;
    --red-alert: #EF4444;

    --border-color: #1E293B;

    /* Typography */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Effects */
    --glow-teal: 0 0 20px var(--neon-teal-dim), 0 0 40px var(--neon-teal-dim);
    --glow-primary: 0 0 15px rgba(var(--neon-teal-rgb), 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@media (min-width: 993px) {
    html {
        zoom: 0.9;
        /* Scales down the entire viewport proportionally only on desktop */
    }
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    z-index: 0;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle at 30% 70%, rgba(var(--neon-teal-rgb), 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.04) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
    animation: ambient-bg-drift 25s ease-in-out infinite alternate;
}

@keyframes ambient-bg-drift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(10%, 5%) rotate(5deg);
    }
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.text-neon {
    color: var(--neon-teal);
}

.text-gold {
    color: var(--gold);
}

.mt-4 {
    margin-top: 2rem;
}

.center-block {
    margin-left: auto;
    margin-right: auto;
}

.section-padding {
    padding: 120px 0;
}

/* Motion & Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-sans);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: float-title 6s ease-in-out infinite alternate;
}

@keyframes float-title {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-20px) scale(1.02);
    }
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--neon-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shine-gradient 5s linear infinite;
}

@keyframes shine-gradient {
    to {
        background-position: 200% center;
    }
}

.h2-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 800px;
    font-weight: 400;
    line-height: 1.6;
    animation: float-subtitle 7s ease-in-out infinite alternate-reverse;
}

@keyframes float-subtitle {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-12px);
    }
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    text-transform: uppercase;
    animation: float-text 8s ease-in-out infinite alternate;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    animation: float-text 9s ease-in-out infinite alternate-reverse;
}

p {
    animation: float-text-subtle 10s ease-in-out infinite alternate;
}

@keyframes float-text {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-8px);
    }
}

@keyframes float-text-subtle {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-4px);
    }
}

.subtitle-neon {
    color: var(--neon-teal);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: inline-block;
    border: 1px solid var(--neon-teal-dim);
    padding: 6px 14px;
    border-radius: 4px;
    background: rgba(var(--neon-teal-rgb), 0.05);
    animation: float-text-subtle 6s ease-in-out infinite alternate;
}

li {
    animation: float-text-subtle 9s ease-in-out infinite alternate-reverse;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--neon-teal);
    color: #ffffff;
    /* Changed from #000 to white */
    border: 1px solid var(--neon-teal);
}

.btn-primary:hover {
    background-color: #60a5fa;
    /* Lighter Blue */
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.btn-outline-neon {
    background-color: transparent;
    color: var(--neon-teal);
    border: 1px solid var(--neon-teal);
}

.btn-outline-neon:hover {
    background-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    animation: pulse-glow-btn 2.5s infinite alternate;
}

@keyframes pulse-glow-btn {
    0% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 45px rgba(59, 130, 246, 0.8);
        transform: scale(1.03);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(3, 7, 18, 0.95);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.logo-dot {
    color: var(--neon-teal);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s;
}

.nav-menu a:hover {
    color: var(--text-main);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 160px;
    padding-bottom: 80px;
    /* Added to keep scroll indicator away from content */
    overflow: hidden;
    text-align: center;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

/* Floating Tech Icons Background */
.hero-floating-tech {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.tech-icon {
    position: absolute;
    color: var(--neon-teal);
    opacity: 0.3;
    /* Increased base opacity */
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(var(--neon-teal-rgb), 0.5));
    /* Stronger glow */
    animation: tech-float linear infinite alternate;
}

/* Random positioning and animation durations */
.tech-icon.t1 {
    top: 15%;
    left: 10%;
    animation-duration: 8s;
    font-size: 3rem;
}

.tech-icon.t2 {
    top: 60%;
    left: 5%;
    animation-duration: 12s;
    font-size: 2rem;
    animation-delay: -2s;
}

.tech-icon.t3 {
    top: 20%;
    right: 15%;
    animation-duration: 9s;
    font-size: 2.5rem;
    animation-delay: -5s;
}

.tech-icon.t4 {
    top: 75%;
    right: 10%;
    animation-duration: 10s;
    font-size: 3.5rem;
    animation-delay: -1s;
}

.tech-icon.t5 {
    top: 85%;
    left: 25%;
    animation-duration: 14s;
    font-size: 2.2rem;
    animation-delay: -4s;
}

.tech-icon.t6 {
    top: 35%;
    right: 5%;
    animation-duration: 11s;
    font-size: 2.8rem;
    animation-delay: -7s;
}

@keyframes tech-float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translate(40px, -60px) rotate(20deg) scale(1.2);
        opacity: 0.3;
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-hud {
    font-family: var(--font-mono);
    color: var(--neon-teal);
    font-size: 0.85rem;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(var(--neon-teal-rgb), 0.05);
    box-shadow: 0 0 15px rgba(var(--neon-teal-rgb), 0.1);
    animation: float-badge 4s ease-in-out infinite alternate, badge-glow 3s infinite alternate;
}

@keyframes float-badge {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-4px);
    }
}

@keyframes badge-glow {
    0% {
        box-shadow: 0 0 10px rgba(var(--neon-teal-rgb), 0.1);
        border-color: rgba(var(--neon-teal-rgb), 0.2);
    }

    100% {
        box-shadow: 0 0 25px rgba(var(--neon-teal-rgb), 0.3);
        border-color: rgba(var(--neon-teal-rgb), 0.5);
    }
}

.badge-hud::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--neon-teal);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--neon-teal);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

.h2-subtitle {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: none;
    max-width: 800px;
}

.hero-p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.urgency-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.urgency-text i {
    color: var(--gold);
}

.social-proof {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.proof-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.proof-card i {
    color: var(--neon-teal);
    opacity: 0.5;
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: block;
}

.proof-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-name {
    display: block;
    font-weight: 700;
    color: var(--text-main);
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    /* Moved slightly down towards the edge */
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-15px) translateX(-50%);
    }

    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* Layout Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
}

/* Problem Section */
.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: 8px;
    transition: transform 0.4s ease, border-color 0.4s, box-shadow 0.4s;
    height: 100%;
    animation: idle-card-pulse 4s infinite alternate;
}

.problem-card:nth-child(1) {
    animation-delay: 0s;
}

.problem-card:nth-child(2) {
    animation-delay: -1.5s;
}

.problem-card:nth-child(3) {
    animation-delay: -3s;
}

@keyframes idle-card-pulse {
    0% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        border-color: var(--border-color);
        transform: translateY(0);
    }

    100% {
        box-shadow: 0 10px 40px rgba(var(--neon-teal-rgb), 0.15);
        border-color: rgba(var(--neon-teal-rgb), 0.4);
        transform: translateY(-8px);
    }
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: var(--red-alert);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1);
    animation: none;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.problem-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.icon-wrapper.alert {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red-alert);
}

.problem-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* 4. ARCHITECTURE SECTION */
.architecture {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    padding: 100px 0;
}

.architecture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(var(--neon-teal-rgb), 0.05), transparent 60%);
    pointer-events: none;
}

.arch-split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
    min-height: 70vh;
}

.arch-text {
    max-width: 500px;
}

.arch-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.arch-p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Process Timeline Section */
.arch-features-container {
    padding-left: 20px;
    position: relative;
}

.arch-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
}

.arch-features::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(var(--neon-teal-rgb), 0.5) 20%,
            var(--neon-teal) 50%,
            rgba(var(--neon-teal-rgb), 0.5) 80%,
            transparent);
    z-index: 0;
}

.arch-feature-item {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 24px;
    border-radius: 16px;
    backdrop-filter: blur(5px);
    width: fit-content;
}

.arch-feature-item:hover {
    background: rgba(var(--neon-teal-rgb), 0.08);
    border-color: rgba(var(--neon-teal-rgb), 0.3);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.arch-number {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--bg-deep);
    border: 2px solid var(--neon-teal);
    color: var(--neon-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(var(--neon-teal-rgb), 0.2), inset 0 0 10px rgba(var(--neon-teal-rgb), 0.1);
    transition: all 0.3s ease;
}

.arch-feature-item:hover .arch-number {
    background: var(--neon-teal);
    color: var(--bg-deep);
    box-shadow: 0 0 25px var(--neon-teal);
}

.arch-feature-content h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.arch-feature-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 320px;
    margin: 0;
}

/* Visualization Board */
.arch-visual {
    position: relative;
    width: 100%;
    height: 450px;
    perspective: 1000px;
}

.visualization-stage {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    background: rgba(3, 7, 18, 0.8);
    border: 1px solid rgba(var(--neon-teal-rgb), 0.1);
    border-radius: 20px;
    box-shadow: 20px 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(var(--neon-teal-rgb), 0.05);
    padding: 40px;
    animation: float-stage 12s ease-in-out infinite alternate;
}

@keyframes float-stage {
    0% {
        transform: rotateX(15deg) rotateY(-15deg) translateY(0);
    }

    100% {
        transform: rotateX(17deg) rotateY(-17deg) translateY(-8px);
    }
}

.vis-section {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vis-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
    opacity: 0.7;
}

/* Input (Chaotic) */
.input-stage {
    flex: 1.2;
}

.wires {
    width: 100%;
    height: 150px;
    position: relative;
}

.wires.chaotic svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.wire-raw {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    /* Brightened to be visible on dark bg */
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 10 20;
    opacity: 0.9;
    /* Increased opacity */
    animation: chaotic-flow linear infinite;
}

.wire-raw.w1 {
    animation-duration: 4s;
}

.wire-raw.w2 {
    animation-duration: 3s;
    stroke-dasharray: 15 15;
}

.wire-raw.w3 {
    animation-duration: 5s;
    stroke-dasharray: 5 30;
}

.wire-raw.w4 {
    animation-duration: 3.5s;
    stroke-dasharray: 20 10;
}

.wire-raw.w5 {
    animation-duration: 4.5s;
    stroke-dasharray: 10 40;
}

@keyframes chaotic-flow {
    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* Floating Context Icons */
.floating-icons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 90%;
    z-index: 5;
}

.input-icons {
    left: -20px;
}

.output-icons {
    right: -20px;
}

.icon-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float-icon 4s ease-in-out infinite;
}

.icon-float {
    color: var(--text-muted);
    font-size: 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.output-icons .icon-float {
    color: var(--neon-teal);
    border-color: rgba(var(--neon-teal-rgb), 0.3);
    box-shadow: 0 0 15px rgba(var(--neon-teal-rgb), 0.2);
}

.icon-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 6px;
    border-radius: 4px;
    opacity: 0.8;
}

.output-icons .icon-label {
    color: var(--neon-teal);
}

.i1,
.o1 {
    animation-delay: 0s;
}

.i2,
.o2 {
    animation-delay: 1.5s;
}

.i3,
.o3 {
    animation-delay: 0.7s;
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Processor (Center Portal) */
.processor-stage {
    flex: 0.6;
    align-items: center;
    z-index: 10;
}

.processor-core {
    position: relative;
    width: 120px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-logo {
    position: absolute;
    z-index: 20;
    width: 32px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(var(--neon-teal-rgb), 0.8));
    animation: pulse-logo 2s ease-in-out infinite;
}

@keyframes pulse-logo {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.hexagon {
    position: absolute;
    width: 100px;
    height: 115.47px;
    background: rgba(3, 7, 18, 0.9);
    border-left: 2px solid var(--neon-teal);
    border-right: 2px solid var(--neon-teal);
    box-shadow: 0 0 30px rgba(var(--neon-teal-rgb), 0.4);
    animation: rotate-slow 15s linear infinite;
}

.hexagon::before,
.hexagon::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 70.71px;
    height: 70.71px;
    transform: scaleY(0.5774) rotate(-45deg);
    background: inherit;
    left: 12.6px;
}

.hexagon::before {
    top: -35.36px;
    border-top: 2.8284px solid var(--neon-teal);
    border-right: 2.8284px solid var(--neon-teal);
}

.hexagon::after {
    bottom: -35.36px;
    border-bottom: 2.8284px solid var(--neon-teal);
    border-left: 2.8284px solid var(--neon-teal);
}

.hexagon.inner {
    transform: scale(0.6);
    background: var(--neon-teal);
    box-shadow: 0 0 50px var(--neon-teal);
    animation: rotate-slow 10s linear infinite reverse;
}

@keyframes rotate-slow {
    100% {
        transform: rotate3d(0, 1, 0, 360deg);
    }
}

/* Output (Clean Blocks) */
.output-stage {
    flex: 1.2;
}

.data-block-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    position: relative;
    padding-left: 20px;
}

.data-stream-straight {
    height: 2px;
    width: 100%;
    background: rgba(var(--neon-teal-rgb), 0.1);
    position: relative;
    overflow: hidden;
    margin: 10px 0;
}

.data-stream-straight::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--neon-teal), transparent);
    animation: stream-flow 1.5s infinite linear;
}

.data-stream-straight.s2::after {
    animation-delay: 0.3s;
}

.data-stream-straight.s3::after {
    animation-delay: 0.6s;
}

.data-block {
    height: 20px;
    width: 80%;
    background: rgba(var(--neon-teal-rgb), 0.1);
    border-left: 3px solid var(--neon-teal);
    border-radius: 0 4px 4px 0;
    backdrop-filter: blur(4px);
    transition: transform 0.3s, background 0.3s;
    animation: pulse-block 3s infinite;
}

.data-block.b1 {
    width: 90%;
    animation-delay: 0s;
}

.data-block.b2 {
    width: 70%;
    animation-delay: 1s;
}

.data-block.b3 {
    width: 85%;
    animation-delay: 2s;
}

@keyframes pulse-block {

    0%,
    100% {
        background: rgba(var(--neon-teal-rgb), 0.1);
    }

    50% {
        background: rgba(var(--neon-teal-rgb), 0.2);
        box-shadow: 5px 0 15px rgba(var(--neon-teal-rgb), 0.2);
    }
}

/* Units Section (Premium Showcase Layout) */
.units-premium-showcase {
    margin-top: 40px;
    position: relative;
    width: 100%;
}

/* THE CUSTOM AGENT BANNER - Premium Glassmorphism */
.custom-agent-banner {
    background: rgba(10, 15, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(212, 175, 55, 0.05);
    position: relative;
    overflow: hidden;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-agent-banner:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 60px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px) scale(1.02);
}

.custom-agent-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    transition: box-shadow 0.4s;
    z-index: 5;
}

.custom-agent-banner:hover::before {
    box-shadow: 0 0 25px var(--gold);
}

/* Subtle Rotating Aura inside the banner */
.custom-agent-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: rotate-aura 20s linear infinite;
    z-index: 0;
}

@keyframes rotate-aura {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Banner Internal Elements */
.banner-glow {
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.25), transparent 70%);
}

.banner-header {
    border-bottom: none;
    padding-bottom: 0;
    text-align: left;
}

.banner-icon {
    color: var(--gold);
    font-size: 3.5rem;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
    margin: 0 0 12px 0 !important; /* Force left alignment */
}

.banner-id {
    color: var(--gold);
    font-size: 1.6rem;
    letter-spacing: 5px;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    display: block !important;
    text-align: left;
    margin-bottom: 20px;
}

.banner-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #FFF 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-tag {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.banner-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 550px;
    font-weight: 300;
    text-align: left;
}

.banner-desc strong {
    color: #FFF;
    font-weight: 500;
}

.banner-quote {
    background: transparent !important;
    border: none !important;
    border-left: 3px solid var(--gold) !important;
    padding: 0 0 0 15px !important;
    margin: 0 0 25px 0 !important;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    text-align: left;
    text-transform: uppercase;
}

/* Subtitle for Examples Fixed Spacing */
.examples-subtitle {
    position: relative;
    z-index: 10;
    margin: 60px 0 40px; /* Clean spacing to prevent overlap */
}

.examples-separator {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
}

.separator-line {
    height: 1px;
    width: 60px;
    background: rgba(255, 255, 255, 0.15); /* Sleek subtle line */
}

/* Premium Custom Agent Button */
.custom-agent-btn {
    background: rgba(212, 175, 55, 0.05); /* very light gold tint */
    border: 1px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    padding: 14px 28px;
    font-size: 1.05rem;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), inset 0 0 15px rgba(212, 175, 55, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Button Hover State */
.custom-agent-btn:hover {
    background: var(--gold);
    color: #000; /* Dark text for contrast on gold background */
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.custom-agent-btn i {
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.custom-agent-btn:hover i {
    transform: translateX(5px);
}

@media (min-width: 993px) {
    .custom-agent-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 40px 50px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .banner-content, .banner-action {
        position: relative;
        z-index: 10;
    }

    .banner-content {
        flex: 1;
        text-align: left;
    }

    .banner-action {
        flex: 0 0 380px;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* THE 3 EXAMPLES GRID */
.examples-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    padding: 20px 0 40px;
}

@media (min-width: 993px) {
    .examples-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Base Card Styles for Examples */
.unit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

@media (min-width: 993px) {
    .unit-card {
        flex: 1 1 300px;
        max-width: 360px;
        animation: unit-float 5s ease-in-out infinite alternate;
    }

    @keyframes unit-float {
        0% { transform: translateY(0); }
        100% { transform: translateY(-10px); }
    }

    .unit-card:nth-child(1) { animation-delay: 0s; }
    .unit-card:nth-child(2) { animation-delay: -1.3s; }
    .unit-card:nth-child(3) { animation-delay: -2.6s; }
}

.unit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--border-color);
    transition: background 0.4s;
}

.unit-card:hover {
    border-color: rgba(var(--neon-teal-rgb), 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(var(--neon-teal-rgb), 0.1);
    transform: translateY(-8px);
    z-index: 10;
}

@media (min-width: 993px) {
    .unit-card:hover {
        animation-play-state: paused;
    }
}

.unit-card:hover::before {
    background: var(--neon-teal);
    box-shadow: 0 0 20px var(--neon-teal);
}

.unit-card:hover .card-glow { opacity: 1; }
.custom-agent-banner:hover .card-glow { opacity: 1; }

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(var(--neon-teal-rgb), 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

/* Card Scanline Animation */
.card-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(var(--neon-teal-rgb), 0.2), transparent);
    transform: translateY(-100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 5;
}

.custom-agent-banner .card-scanline {
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.unit-card:hover .card-scanline,
.custom-agent-banner:hover .card-scanline {
    opacity: 1;
    animation: scan 2.5s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.unit-header {
    padding: 32px 24px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
    position: relative;
    z-index: 10;
    text-align: center;
    /* Center everything in the header */
}

.unit-icon {
    font-size: 3rem;
    color: var(--neon-teal);
    margin: 0 auto 16px;
    /* Centered with bottom margin */
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(var(--neon-teal-rgb), 0.3));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.unit-card:hover .unit-icon {
    transform: scale(1.15) translateY(-4px);
    /* Extra pop on hover */
    filter: drop-shadow(0 0 20px var(--neon-teal));
}

.unit-id {
    font-family: var(--font-mono);
    color: var(--neon-teal);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    display: block;
    /* Required for block formatting context in text-align center */
}

.unit-title {
    margin: 12px 0;
    font-size: 1.75rem;
}

.unit-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Scaling Inner content on Hover */
.unit-card>* {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.unit-card:hover>.unit-header,
.unit-card:hover>.unit-body,
.unit-card:hover>.unit-quote {
    transform: scale(1.02);
    /* Gentle zoom inside the card */
}

.unit-body {
    padding: 32px 24px;
    flex-grow: 1;
}

.spec-row {
    margin-bottom: 20px;
}

.spec-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.spec-val {
    font-size: 1rem;
    line-height: 1.5;
}

.unit-quote {
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid var(--border-color);
}

.unit-action {
    padding: 0 24px 24px;
    background: rgba(0, 0, 0, 0.3);
}

.unit-card:hover>.unit-action {
    transform: scale(1.02);
}

/* Feature Zero Day (Premium Redesign) */
.feature {
    position: relative;
    background: var(--bg-deep);
    border-top: 1px solid rgba(var(--neon-teal-rgb), 0.1);
    border-bottom: 1px solid rgba(var(--neon-teal-rgb), 0.1);
    overflow: hidden;
}

.zero-day-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(var(--neon-teal-rgb), 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.zero-day-grid {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
    animation: pan-grid 20s linear infinite;
}

@keyframes pan-grid {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.zero-day-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.feature-card-premium {
    position: relative;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(var(--neon-teal-rgb), 0.2);
    z-index: 2;
    text-align: center;
}

.float-badge {
    position: absolute;
    background: rgba(3, 7, 18, 0.9);
    border: 1px solid var(--neon-teal);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(var(--neon-teal-rgb), 0.2);
    z-index: 10;
    animation: float-badge 6s ease-in-out infinite alternate;
}

.float-badge i {
    color: var(--neon-teal);
    font-size: 1.2rem;
}

.fb-1 {
    top: -20px;
    left: 40px;
    animation-delay: -2s;
}

.fb-2 {
    top: -20px;
    right: 40px;
    animation-direction: alternate-reverse;
}

.lead-premium {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 16px;
}

.desc-premium {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.feature-list-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
    margin-bottom: 48px;
}

.feature-item-premium {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item-premium:hover {
    background: rgba(var(--neon-teal-rgb), 0.05);
    border-color: rgba(var(--neon-teal-rgb), 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.fi-icon {
    width: 48px;
    height: 48px;
    background: rgba(var(--neon-teal-rgb), 0.1);
    color: var(--neon-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(var(--neon-teal-rgb), 0.2) inset;
}

.fi-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.fi-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.feature-result-pulse {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(var(--neon-teal-rgb), 0.1);
    border: 1px solid rgba(var(--neon-teal-rgb), 0.3);
    padding: 16px 32px;
    border-radius: 50px;
    color: var(--neon-teal);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(var(--neon-teal-rgb), 0.2);
    animation: pulse-result 3s infinite alternate;
}

@keyframes pulse-result {
    0% {
        box-shadow: 0 0 15px rgba(var(--neon-teal-rgb), 0.1);
        border-color: rgba(var(--neon-teal-rgb), 0.2);
    }

    100% {
        box-shadow: 0 0 30px rgba(var(--neon-teal-rgb), 0.4);
        border-color: rgba(var(--neon-teal-rgb), 0.6);
    }
}

@media (max-width: 992px) {
    .feature-list-premium {
        grid-template-columns: 1fr;
    }
}

/* Lead Magnet */
.magnet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ipad-frame {
    background: #1E293B;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #334155;
    transform: perspective(1200px) rotateY(12deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ipad-frame:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.ipad-screen {
    background: var(--bg-deep);
    border-radius: 12px;
    height: 450px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

/* Tablet Dashboard UI */
.dashboard-ui {
    background: #0f172a;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(3, 7, 18, 0.4);
    border-bottom: 1px solid rgba(var(--neon-teal-rgb), 0.2);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 1px;
}

.dash-title {
    color: var(--text-muted);
}

.dash-status {
    color: var(--neon-teal);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.dash-status i {
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0% {
        opacity: 1;
        text-shadow: 0 0 5px var(--neon-teal);
    }

    50% {
        opacity: 0.4;
        text-shadow: none;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 5px var(--neon-teal);
    }
}

.dash-main-title {
    font-size: 0.95rem;
    color: var(--text-main);
    padding: 24px 20px 16px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
}

.magnet-mockup.active .dash-main-title {
    animation: fade-up 0.6s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dash-charts {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    flex: 1;
}

.dash-chart-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chart-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

/* Bar Chart */
.bar-chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex: 1;
    gap: 8px;
    padding-top: 20px;
}

.bar {
    width: 100%;
    background: linear-gradient(to top, rgba(var(--neon-teal-rgb), 0.2), var(--neon-teal));
    border-radius: 2px 2px 0 0;
    box-shadow: 0 0 10px rgba(var(--neon-teal-rgb), 0.3);
    transform: scaleY(0);
    transform-origin: bottom;
}

.magnet-mockup.active .bar {
    animation: bar-grow 1s ease-out forwards, bar-breathe 3s ease-in-out infinite alternate;
}

/* Staggered bar delays for initial grow and breathe phase */
.magnet-mockup.active .bar:nth-child(1) {
    animation-delay: 0.1s, 1.1s;
}

.magnet-mockup.active .bar:nth-child(2) {
    animation-delay: 0.2s, 1.2s;
}

.magnet-mockup.active .bar:nth-child(3) {
    animation-delay: 0.3s, 1.3s;
}

.magnet-mockup.active .bar:nth-child(4) {
    animation-delay: 0.4s, 1.4s;
}

.magnet-mockup.active .bar:nth-child(5) {
    animation-delay: 0.5s, 1.5s;
}

.magnet-mockup.active .bar:nth-child(6) {
    animation-delay: 0.6s, 1.6s;
}

.magnet-mockup.active .bar:nth-child(7) {
    animation-delay: 0.7s, 1.7s;
}

@keyframes bar-grow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes bar-breathe {
    from {
        transform: scaleY(1);
    }

    to {
        transform: scaleY(0.75);
    }

    /* Subtle data fluctuation */
}

/* Pie Chart */
.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: center;
}

.pie-chart {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--neon-teal) 0% 45%,
            #8b5cf6 45% 75%,
            #f97316 75% 100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.8);
    position: relative;
    transform: rotate(-90deg) scale(0);
    opacity: 0;
}

.magnet-mockup.active .pie-chart {
    animation: spin-in 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, slow-spin 10s linear infinite;
    animation-delay: 0.8s, 2.3s;
    /* Second animation starts after first finishes */
}

.pie-chart::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--bg-deep);
    border-radius: 50%;
}

@keyframes spin-in {
    from {
        transform: rotate(-90deg) scale(0);
        opacity: 0;
    }

    to {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes slow-spin {
    from {
        transform: rotate(0deg) scale(1);
    }

    to {
        transform: rotate(360deg) scale(1);
    }
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.leg-item {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot.teal {
    background: var(--neon-teal);
    box-shadow: 0 0 5px var(--neon-teal);
}

.dot.purple {
    background: #8b5cf6;
    box-shadow: 0 0 5px #8b5cf6;
}

.dot.orange {
    background: #f97316;
    box-shadow: 0 0 5px #f97316;
}

/* Critical Alert Footer */
.dash-alert {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 12px 20px;
    border-top: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    margin-top: auto;
    /* Push to bottom */
    animation: flash-alert 2s infinite;
}

.magnet-mockup.active .dash-alert {
    animation: alert-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, flash-alert 2s infinite;
    animation-delay: 1.2s, 0s;
}

@keyframes alert-pop {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flash-alert {

    0%,
    100% {
        background: rgba(239, 68, 68, 0.1);
    }

    50% {
        background: rgba(239, 68, 68, 0.2);
    }
}

.magnet-steps {
    list-style: none;
    margin-top: 40px;
}

.magnet-steps li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--neon-teal);
    background: rgba(var(--neon-teal-rgb), 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(var(--neon-teal-rgb), 0.2);
}

/* Offer */
.pricing-card {
    background: var(--bg-card);
    border-radius: 16px;
    max-width: 550px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: premium-float 6s ease-in-out infinite alternate;
}

@keyframes premium-float {
    0% {
        transform: translateY(0);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    100% {
        transform: translateY(-8px);
        box-shadow: 0 30px 60px rgba(212, 175, 55, 0.15);
    }
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(212, 175, 55, 0.25);
    animation: none;
}

.premium-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 6px;
    background: linear-gradient(90deg, #B8860B, #FFD700, #FDF5E6, #FFD700, #B8860B, #FFD700, #B8860B);
    background-size: 50% 100%;
    animation: slide-gold 3s linear infinite;
}

@keyframes slide-gold {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.pricing-header {
    text-align: center;
    padding: 48px 40px 32px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 1.25rem;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 20px 0;
}

.currency {
    font-size: 1.75rem;
    margin-top: 10px;
    margin-right: 6px;
    color: var(--text-muted);
}

.amount {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-main);
}

.period {
    align-self: flex-end;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.price-obs {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-body {
    padding: 40px;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.pricing-features i {
    font-size: 1.5rem;
    margin-top: 2px;
}

.pricing-footer {
    padding: 0 40px 40px;
    text-align: center;
}

.pricing-legal {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 9. CONTACT FORM */
.contact-section {
    background: linear-gradient(to bottom, var(--bg-deep) 0%, #050b14 100%);
    border-top: 1px solid rgba(var(--neon-teal-rgb), 0.1);
}

.contact-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(10, 17, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(var(--neon-teal-rgb), 0.1);
    position: relative;
    overflow: hidden;
    /* Removed animation: float-form because continuous transforms break native <select> option clicking on many browsers */
}

@keyframes float-form {
    0% {
        transform: translateY(0);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(var(--neon-teal-rgb), 0.1);
    }

    100% {
        transform: translateY(-8px);
        box-shadow: 0 30px 50px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(var(--neon-teal-rgb), 0.3);
    }
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--neon-teal), transparent);
    opacity: 0.8;
    animation: scanline-top 4s linear infinite;
}

@keyframes scanline-top {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.required {
    color: var(--neon-teal);
}

.squai-form input,
.squai-form select,
.squai-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 14px 16px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.squai-form input::placeholder,
.squai-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.squai-form input:focus,
.squai-form select:focus,
.squai-form textarea:focus {
    border-color: var(--neon-teal);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(var(--neon-teal-rgb), 0.2), inset 0 0 5px rgba(var(--neon-teal-rgb), 0.1);
}

.squai-form select option {
    background: var(--bg-deep);
    color: var(--text-main);
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-note i {
    color: var(--neon-teal);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px;
    background: #020409;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Exit Intent Modal */
.exit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.exit-modal.active {
    display: flex;
    opacity: 1;
}

.exit-modal-content {
    background: var(--bg-card);
    border: 1px solid rgba(var(--neon-teal-rgb), 0.3);
    border-radius: 24px;
    padding: 48px 32px;
    max-width: 550px;
    width: 100%;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(var(--neon-teal-rgb), 0.1);
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.exit-modal.active .exit-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-main);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 15px rgba(var(--neon-teal-rgb), 0.4));
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.modal-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.modal-text strong {
    color: var(--neon-teal);
}

@media (max-width: 768px) {
    .exit-modal-content {
        padding: 40px 24px;
    }

    .modal-title {
        font-size: 1.4rem;
    }

    .modal-text {
        font-size: 1rem;
    }
}

/* Hide Indicators on Desktop */
.hide-on-desktop {
    display: none;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .magnet-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .magnet-steps li {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        padding: 20px;
        border-radius: 12px;
        gap: 16px;
        margin-bottom: 16px;
    }

    .step-num {
        flex-shrink: 0;
    }

    /* Architecture Mobile Setup */
    .arch-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .arch-text {
        text-align: center;
        margin: 0 auto;
    }

    .arch-features {
        align-items: center;
        padding: 0;
        margin: 0 auto;
        width: 100%;
        gap: 20px;
    }

    .arch-features::before {
        display: none;
        /* Hide line on mobile to avoid centering issues */
    }

    .arch-feature-item {
        width: 100%;
        max-width: 400px;
        gap: 16px;
        padding: 16px;
        justify-content: flex-start;
        text-align: left;
    }

    .arch-feature-content p {
        max-width: 100%;
    }

    .arch-visual {
        height: 380px;
        /* Compress the 3D board a bit */
    }

    .visualization-stage {
        padding: 20px;
    }

    .floating-icons .icon-group {
        transform: scale(0.8);
    }

    .icon-label {
        font-size: 0.6rem;
    }

    /* Dashboard Tablet Overlay Adjustments */
    .dash-charts {
        flex-direction: column;
        gap: 30px;
    }

    .dash-main-title {
        text-align: center;
    }

    .bar-chart-container {
        padding-top: 10px;
        min-height: 100px;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .section-padding {
        padding: 60px 0;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .scroll-indicator {
        display: none;
    }

    .problem-card {
        padding: 30px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        margin-top: 24px;
    }

    .footer-brand .logo {
        display: flex;
        justify-content: center;
    }

    .footer-bottom {
        color: rgba(255, 255, 255, 0.7);
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        /* Below header */
        left: 0;
        width: 100%;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(12px);
        padding: 10px 0 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
        animation: menu-slide 0.3s ease-out forwards;
    }

    @keyframes menu-slide {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu a {
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .header-cta {
        display: none;
    }

    /* Zero Day Section Fixes */
    .zero-day-title {
        font-size: 1.8rem;
    }

    .feature-card-premium {
        padding: 40px 20px;
    }

    .feature-result-pulse {
        padding: 12px 16px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
        text-align: center;
        line-height: 1.4;
    }

    .feature-result-pulse i {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
    }

    .h1 {
        font-size: 2.5rem;
    }

    /* Fixed floating badge overlap */
    .badges-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        margin-top: -90px;
        margin-bottom: 30px;
        position: relative;
        z-index: 10;
        width: 100%;
    }

    .float-badge {
        position: relative;
        display: inline-flex;
        animation: none;
        /* Disable wide sweeping animation on small screens */
        top: auto;
        left: auto;
        right: auto;
        margin: 0;
    }

    .fb-1,
    .fb-2 {
        top: auto;
        left: auto;
        right: auto;
    }

    .hero-actions {
        width: 100%;
    }

    .btn-lg {
        width: 100%;
        font-size: 1rem;
    }

    .spec-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .spec-val {
        margin-top: 8px;
    }

    .unit-card {
        flex: 0 0 85%;
    }

    /* Disable aggressive track hover FX on touch devices */
    .unit-track:hover .unit-card {
        filter: none;
        transform: none;
    }

    .unit-track .unit-card:hover {
        transform: translateY(-8px);
        /* Basic lift only */
    }

    .unit-track .unit-card:hover~.unit-card {
        transform: none;
    }

    .unit-track:hover .unit-card:not(:hover):has(~ .unit-card:hover) {
        transform: none;
    }

    /* Architecture / Diagram Scale */
    .arch-visual {
        height: 280px;
    }

    .processor-core {
        transform: scale(0.7);
    }

    .vis-label {
        font-size: 0.55rem;
    }

    .floating-icons .icon-group {
        transform: scale(0.6);
    }

    /* Dashboard Mobile Adjustments */
    .mockup-body {
        padding: 16px;
    }

    .dash-main-title {
        font-size: 0.8rem;
    }

    .pie-chart {
        width: 80px;
        height: 80px;
    }

    .pie-chart::after {
        width: 40px;
        height: 40px;
    }

    .dash-alert {
        font-size: 0.65rem;
    }

    /* Contact Form Mobile Adjustments */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .hide-on-desktop {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 32px;
    }

    .indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--border-color);
        transition: background 0.3s;
    }

    .indicator.active {
        background: var(--neon-teal);
    }

    .feature-box {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 40px 0;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .pricing-card {
        margin: 0 16px;
    }

    .amount {
        font-size: 3.5rem;
    }

    .pricing-header,
    .pricing-body,
    .pricing-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .arch-visual {
        height: 220px;
    }

    .processor-core {
        transform: scale(0.5);
    }

    .floating-icons .icon-group {
        transform: scale(0.45);
    }

    .vis-label {
        font-size: 0.5rem;
    }

    .pie-chart {
        width: 60px;
        height: 60px;
    }

    .pie-chart::after {
        width: 30px;
        height: 30px;
    }

    .dash-alert {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
}

/* =========================================================================
   10. FLOATING WHATSAPP BUTTON
   ========================================================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: whatsapp-pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
    color: white; /* Maintain icon color */
    animation: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 32px;
    }
}