:root {
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-color: #ffffff;
    --accent-color: #00d2ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    /* background: var(--bg-gradient); Moved to ::before */
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    /* Ensure pseudo-elements are positioned relative to body */
}

/* Background Gradient on Pseudo-element */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    z-index: -2;
    transition: filter 0.5s ease;
}

/* Body Processing Animation (Applied to Background) */
@keyframes pulse-bg {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(0.8);
        /* Subtle dark pulse */
    }

    100% {
        filter: brightness(1);
    }
}

body.body-processing::before {
    animation: pulse-bg 4s infinite ease-in-out;
    /* Slower, softer pulse */
}

/* Floating Orbs Background */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #ff0080;
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #00d2ff;
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: #7928ca;
    top: 40%;
    left: 40%;
    animation-delay: -2s;
}

@keyframes float {

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

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

@keyframes kaiju-shake {

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

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Modal Animations */
@keyframes popIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

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

    60% {
        transform: translateY(-10px);
    }
}

.container {
    max-width: 1200px;
    /* Match header width */
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Glass Card Utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* 2. Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 1rem;
    z-index: 1000;
    margin: 0 auto;
    max-width: 1200px;
    /* 20% wider */
    border-radius: 16px;
    gap: 1rem;
    /* Prevent touching */
}

.brand-name {
    font-weight: 900;
    font-size: 1.5rem;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Contrast */
    white-space: nowrap;
    /* Prevent wrapping */
}

/* Ensure menu doesn't overlap on smaller screens */
@media (max-width: 900px) {
    .brand-name {
        font-size: 1.2rem;
    }

    header {
        padding: 0.8rem 1rem;
    }
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

nav a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin: 0;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    flex: 1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #e0e0e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Drag & Drop Zone */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.upload-zone:hover,
.upload-zone.dragover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
    backdrop-filter: blur(4px);
    margin-top: 1rem;
    cursor: pointer;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Console */
.console-wrapper {
    padding: 2rem;
    height: 450px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.console-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.console-log {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.console-log li {
    margin-bottom: 8px;
    padding: 4px 8px;
    border-radius: 4px;
}

.console-log li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.log-valid {
    color: #4ade80;
    text-shadow: 0 0 5px rgba(74, 222, 128, 0.5);
}

.log-invalid {
    color: #f87171;
    text-shadow: 0 0 5px rgba(248, 113, 113, 0.5);
}

.log-info {
    color: #00d2ff;
}

/* Stats Overlay */
#stats-overlay {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-bottom: 15px;
}

.stat-val {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.stat-lbl {
    font-size: 0.8rem;
    opacity: 0.85;
    text-transform: uppercase;
}

/* Features / SEO Section */
.features-section {
    margin-bottom: 6rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* RESTORED GRID LAYOUT */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Enforce 3 columns */
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    /* Removed flex properties */
}

.feature-card h2,
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Fixed 4 columns for footer */
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.legal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    padding-top: 1rem;
    color: rgba(255, 255, 255, 0.85);
    flex-wrap: wrap;
    gap: 1rem;
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Stack on mobile */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    nav {
        display: none;
        /* Hide desktop nav */
    }

    .mobile-menu-btn {
        display: block;
        /* Show hamburger */
    }

    .legal-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* Console Copy Button */
.console-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-copy {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(0, 161, 224, 0.2));
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.1);
}

.btn-copy:hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.3), rgba(0, 161, 224, 0.3));
    border-color: #4ade80;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

.btn-copy:active {
    transform: translateY(0);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    /* Hidden by default on Desktop */
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    z-index: 1001;
    background: var(--accent-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* display: flex; REMOVED - Controlled by media query */
    justify-content: center;
    align-items: center;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fixed Position Bottom Right */
    position: fixed;
    bottom: 2rem;
    right: 2rem;
}

/* Show on Mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
        /* Force flex on mobile */
    }
}

.mobile-menu-btn:hover {
    transform: scale(1.1) rotate(90deg);
    /* Rotate effect */
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 20, 0.98);
    /* Darker, more solid background */
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    color: #fff;
    font-size: 1.8rem;
    /* Larger font */
    text-decoration: none;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Staggered Animation for Menu Items */
.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active a:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active a:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active a:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.active a:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu.active a:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu.active a:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-menu a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.mobile-menu .btn {
    margin-top: 1rem;
    background: var(--accent-color);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

/* Progress Bar */
.progress-container {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #4ade80 25%, #22c55e 25%, #22c55e 50%, #4ade80 50%, #4ade80 75%, #22c55e 75%, #22c55e 100%);
    background-size: 20px 20px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 0;
    }
}

#progress-text {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.9;
    font-family: monospace;
}

/* Console Accordion */
.console-accordion {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}



.console-header-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.console-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.console-content.open {
    max-height: 300px;
    /* Fixed height when open */
    overflow-y: auto;
    /* Enable scroll */
}

.console-log {
    padding: 2rem;
    padding-left: 3rem;
    /* Align with "Live Logs" text */
    margin: 0;
    list-style: none;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #a0aec0;
    user-select: text;
    /* Enable text selection */
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    cursor: text;
}

/* Processing Animation */
/* Processing Animation */
@keyframes pulse-glass {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.1);
        background: rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 15px 0 rgba(0, 210, 255, 0.1);
        background: rgba(0, 210, 255, 0.05);
        border-color: rgba(0, 210, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.1);
        background: rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

.console-accordion.processing {
    animation: pulse-glass 3s infinite ease-in-out;
}

.console-header-tab {
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: inherit;
    font: inherit;
}

/* Download Grid */
.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns */
    gap: 1.5rem;
    margin-top: 2rem;
}

.download-card.full-width {
    grid-column: 1 / -1;
    /* Span all columns */
    background: rgba(0, 210, 255, 0.1);
    /* Highlighted background */
    border-color: rgba(0, 210, 255, 0.3);
}

.download-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.download-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.download-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.download-card.valid i {
    color: #4ade80;
}

.download-card.invalid i {
    color: #f87171;
}

.download-card.cleaned i {
    color: #00d2ff;
}

.download-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.download-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

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

/* =========================================
   SHOCKING VISUAL EFFECTS (SEO SAFE)
   ========================================= */

/* 1. Multilayer 3D Stack Effect */
.layer-stack-container {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.layer-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotateX(0deg) translateY(0);
    opacity: 0;
    /* Hidden initially for scroll reveal */
    animation: none;
}

.layer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(74, 222, 128, 0.2);
    z-index: 10;
    border-color: #4ade80;
}

/* 2. Advanced Filtering Scanner */
.scanner-container {
    position: relative;
    overflow: hidden;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.1), transparent);
    animation: scan 3s infinite linear;
    pointer-events: none;
}

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

    100% {
        left: 100%;
    }
}

/* 3. Smart Processing Pulse */
.pulse-card {
    position: relative;
}

.pulse-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    animation: pulse-green 2s infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.pulse-card:hover::after {
    opacity: 1;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

/* 4. Deliverability Shield/Rocket */
.deliverability-card {
    border-top: 4px solid transparent;
    transition: all 0.4s ease;
}

.deliverability-card:hover {
    border-top-color: #00A1E0;
    transform: translateY(-5px);
    background: linear-gradient(180deg, rgba(0, 161, 224, 0.1), rgba(255, 255, 255, 0.02));
}

/* Scroll Reveal Animation Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Table of Contents Styles */
.toc-container {
    background: rgba(255, 255, 255, 0.02);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0 1rem 1.5rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 6rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
}

.toc-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: block;
    padding: 0.25rem 0;
    line-height: 1.5;
    position: relative;
}

.toc-list a:hover {
    color: #fff;
    transform: translateX(5px);
}

.toc-list a.active {
    color: #4ade80;
    font-weight: 500;
}

.toc-list a.active::before {
    content: '•';
    position: absolute;
    left: -1.25rem;
    color: #4ade80;
}

.toc-list ul {
    padding-left: 1rem;
    margin-top: 0.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    margin-left: 0.25rem;
}

.toc-list ul a {
    font-size: 0.9rem;
    padding-left: 0.5rem;
}

/* =========================================
   IMPACTFUL VISUAL EFFECTS (V2)
   ========================================= */

/* 1. Multi-Layer 3D Pipeline */
.pipeline-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding: 2rem 0;
}

.pipeline-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-left: 4px solid transparent;
}

.pipeline-step:hover {
    transform: translateX(10px);
    background: linear-gradient(90deg, rgba(74, 222, 128, 0.05), transparent);
    border-left-color: #4ade80;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pipeline-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.pipeline-step:hover::before {
    transform: translateX(100%);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 0rem;
    opacity: 0.05;
    color: #fff;
}

/* 2. Advanced Filtering Radar */
.radar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.radar-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.radar-card:hover {
    border-color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}

.radar-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}

.radar-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #4ade80;
    box-shadow: 0 0 15px #4ade80;
    opacity: 0;
    animation: scan-vertical 3s infinite linear;
}

.radar-card:hover .radar-scan-line {
    opacity: 0.5;
}

@keyframes scan-vertical {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

/* 3. Smart Processing Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.dashboard-widget {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

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

.status-dot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* 4. Deliverability Shield */
.shield-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.shield-card {
    flex: 1 1 300px;
    background: linear-gradient(180deg, rgba(0, 161, 224, 0.05), transparent);
    border: 1px solid rgba(0, 161, 224, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shield-card:hover {
    transform: translateY(-10px);
    border-color: #00A1E0;
    box-shadow: 0 15px 30px rgba(0, 161, 224, 0.15);
}

.shield-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 161, 224, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #00A1E0;
    font-size: 1.5rem;
}

/* =========================================
   ENHANCED VISUALS V3 (Smart Processing & Deliverability)
   ========================================= */

/* 3. Smart Processing - Terminal/Dashboard Effect */
.dashboard-widget {
    background: #0d1117;
    /* Darker terminal background */
    border: 1px solid rgba(74, 222, 128, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-widget:hover {
    border-color: #4ade80;
    box-shadow: 0 0 25px rgba(74, 222, 128, 0.1);
    transform: translateY(-5px);
}

/* Terminal Scanline Background */
.dashboard-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.2) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
    opacity: 0.3;
}

/* Code Stream Effect */
.code-stream {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: rgba(74, 222, 128, 0.1);
    line-height: 1;
    pointer-events: none;
    text-align: right;
    white-space: pre;
}

/* Progress Bar Animation */
.widget-progress {
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.widget-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #4ade80;
    width: 0%;
    box-shadow: 0 0 10px #4ade80;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-widget:hover .widget-progress-bar {
    width: 100% !important;
    /* Force animate on hover */
    transition: width 1s ease-in-out;
}

/* Status Dot Pulse */
.status-dot {
    background: #4ade80;
    box-shadow: 0 0 0 rgba(74, 222, 128, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}


/* 4. Deliverability Protection - Holographic Shield */
.shield-card {
    background: radial-gradient(circle at center, rgba(0, 161, 224, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    border: 1px solid rgba(0, 161, 224, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 161, 224, 0.05);
    overflow: visible;
    /* Allow glow to spill */
}

.shield-card:hover {
    border-color: #00A1E0;
    box-shadow: inset 0 0 30px rgba(0, 161, 224, 0.2), 0 0 20px rgba(0, 161, 224, 0.3);
    transform: translateY(-10px) scale(1.02);
}

/* Rotating Shield Ring */
.shield-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    border: 1px dashed rgba(0, 161, 224, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate-slow 10s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.shield-card:hover .shield-ring {
    opacity: 1;
}

@keyframes rotate-slow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.shield-icon {
    background: rgba(0, 161, 224, 0.15);
    color: #00A1E0;
    box-shadow: 0 0 15px rgba(0, 161, 224, 0.3);
    position: relative;
    z-index: 2;
}

.shield-card:hover .shield-icon {
    background: #00A1E0;
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 161, 224, 0.6);
}

/* Kaiju Easter Eggs */
.kaiju-easter-egg {
    transition: all 0.3s ease;
    cursor: pointer;
}

@keyframes kaiju-breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes kaiju-pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes kaiju-shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

.kaiju-footer-egg {
    position: absolute;
    bottom: 10px;
    right: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.legal-bar:hover .kaiju-footer-egg {
    opacity: 0.3;
}

.kaiju-footer-egg:hover {
    opacity: 0.8 !important;
    animation: kaiju-shake 0.5s ease;
}

.kaiju-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
}

.kaiju-scroll-top.visible {
    display: flex;
}

.kaiju-scroll-top:hover {
    background: rgba(74, 222, 128, 0.2);
    border-color: #4ade80;
    transform: translateY(-5px);
}

.kaiju-scroll-top:active {
    animation: kaiju-shake 0.5s ease;
}

.kaiju-404 {
    animation: kaiju-breathe 3s ease-in-out infinite;
}

.kaiju-pricing {
    animation: kaiju-pulse 3s ease-in-out infinite;
}

/* Accessibility Focus Styles */
*:focus-visible {
    outline: 3px solid #4ade80;
    outline-offset: 2px;
}

.btn:focus,
button:focus,
a:focus {
    outline: 3px solid #4ade80;
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #4ade80;
    color: #000;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
    font-weight: bold;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* Accessibility Contrast Fixes */
.glass-card p,
.feature-card p,
.dashboard-widget p {
    opacity: 0.9 !important;
}