:root {
    --bg-dark: #0a0a0c;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #10b981;
    --secondary-hover: #059669;
    --danger: #ef4444;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 16px;
    --font-sans: 'Inter', sans-serif;
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* UI/UX Showcase Section (Bento Grid) */
.showcase-section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.showcase-section .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.bento-item {
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(99, 102, 241, 0.3);
}
.bento-large {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}
.bento-content {
    flex: 1;
    z-index: 2;
}
.bento-content .badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}
.bento-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.bento-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Interactive Component Cloud 3D */
.cloud-scene {
    position: relative;
    height: 500px;
    width: 100%;
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cloud-trigger-zone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    /* border: 2px dashed rgba(255, 255, 255, 0.1); -> Removed border for pure invisible magnetism */
    z-index: 10;
    transition: all 0.3s ease;
}

.cloud-components {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    width: 0; 
    height: 0;
    pointer-events: none;
}
.cloud-part {
    position: absolute;
    transform-style: preserve-3d;
    transition: box-shadow 0.6s ease, background 0.6s ease, border-color 0.6s ease, opacity 0.6s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1) inset;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05); /* slightly more visible */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0.8;
}
.cloud-part.assembled {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3) inset, 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(20, 20, 30, 0.8); /* Solidify on assembly */
    opacity: 1;
}

/* Specific UI Part Sizes & Realism */
.part-nav { width: 320px; height: 40px; border-radius: 20px; margin-left: -160px; margin-top: -15px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px;}
.mock-nav-logo { width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.mock-nav-link { width: 30px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.2); }

.part-hero { width: 360px; height: 160px; padding: 20px; border-radius: 12px; margin-left: -180px; margin-top: -80px; display: flex; flex-direction: column; align-items: center; justify-content: center;}
.hero-badge { background: rgba(6, 182, 212, 0.2); color: #06b6d4; font-size: 8px; font-weight: bold; padding: 4px 8px; border-radius: 10px; margin-bottom: 15px; letter-spacing: 1px; }
.hero-skeleton-title { width: 60%; height: 24px; background: linear-gradient(90deg, #fff, rgba(255,255,255,0.5)); border-radius: 4px; margin-bottom: 20px; }
.hero-skeleton-line { width: 90%; height: 8px; background: rgba(255,255,255,0.15); border-radius: 4px; margin-bottom: 8px; }

.part-card { width: 140px; height: 140px; padding: 15px; border-radius: 12px; }
.child-card-1 { margin-left: -70px; margin-top: -65px; }
.child-card-2 { margin-left: -70px; margin-top: -65px; }
.card-skeleton-img { width: 100%; height: 60px; background: rgba(0,0,0,0.3); border-radius: 8px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.card-skeleton-text { width: 80%; height: 8px; background: rgba(255,255,255,0.25); border-radius: 4px; }

.part-btn { width: 150px; height: 45px; background: linear-gradient(135deg, var(--primary), #a855f7); color: white; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; border: none; box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4); border-radius: 25px; margin-left: -75px; margin-top: -22px; cursor: pointer;}
.part-btn:hover { transform: scale(1.05) translate3d(-100px, 40px, 30px); }

.part-floating-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--secondary); background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.4); border-width: 2px; margin-left: -30px; margin-top: -30px; box-shadow: 0 0 20px rgba(16, 185, 129, 0.2); }

@media (max-width: 900px) {
    .cloud-scene { height: 350px; margin-top: 3rem; }
}

/* Data Node Cloud Specifics (Software Dev Page) */
.part-database { width: 120px; height: 160px; border-radius: 12px; margin-left: -60px; margin-top: -80px; display: flex; flex-direction: column; padding: 10px; gap: 8px; background: rgba(10, 15, 30, 0.7); border: 2px solid rgba(16, 185, 129, 0.3); }

.part-node { width: 100px; height: 40px; border-radius: 8px; margin-left: -50px; margin-top: -20px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; font-weight: bold; color: var(--text-muted); background: rgba(255,255,255,0.02); }
.part-node svg { width: 16px; color: var(--primary); }
.child-node-1 { border-color: rgba(59, 130, 246, 0.4); box-shadow: 0 0 15px rgba(59, 130, 246, 0.1); }
.child-node-2 { border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 0 15px rgba(16, 185, 129, 0.1); }

.part-floating-shield { width: 70px; height: 70px; border-radius: 50%; margin-left: -35px; margin-top: -35px; display: flex; align-items: center; justify-content: center; background: rgba(6, 182, 212, 0.05); border: 2px solid rgba(6, 182, 212, 0.4); box-shadow: 0 0 25px rgba(6, 182, 212, 0.2); }

.part-connection { position: absolute; height: 2px; background: linear-gradient(90deg, rgba(16,185,129,0.5), rgba(59,130,246,0.5)); transform-origin: left center; opacity: 0; transition: opacity 0.5s ease; z-index: -1; }
.part-connection.assembled { opacity: 1; box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); }

/* CSS UI Mockups */
.bento-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}
.ui-mockup {
    width: 100%;
    max-width: 350px;
    background: rgba(10, 10, 15, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.ui-mockup-img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.bento-item:hover .ui-mockup-img {
    transform: scale(1.05);
}
.bento-item:hover .ui-mockup {
    transform: rotateY(0deg) rotateX(0deg);
}
.mockup-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 6px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.close { background: #ff5f56; }
.dot.minimize { background: #ffbd2e; }
.dot.expand { background: #27c93f; }

.mockup-body { padding: 1.5rem; }
.mockup-ecommerce {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ecom-card {
    height: 120px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(16, 185, 129, 0.1));
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}
.ecom-btn {
    height: 40px;
    background: var(--primary);
    border-radius: 6px;
    width: 100%;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .bento-large {
        grid-column: span 1;
        flex-direction: column;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .ui-mockup {
        transform: none;
        margin-top: 2rem;
    }
}
.spinner {
    animation: rotate 2s linear infinite;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}
.spinner .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}
@keyframes rotate {
    100% { transform: rotate(360deg); }
}
@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

.success-message {
    text-align: center;
    padding: 2rem 1rem;
    animation: fadeInScale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.15); /* emerald */
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}
.success-icon svg {
    width: 40px;
    height: 40px;
}
.success-message h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}
.success-message p {
    color: var(--text-muted);
    font-size: 1.125rem;
}
@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

/* Background Gradients */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}
.bg-glow-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 60%);
    animation: drift 20s ease-in-out infinite alternate;
}
.bg-glow-2 {
    top: 20%;
    right: -20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 60%);
    animation: drift 25s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 10%); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.btn-small { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-large { padding: 1rem 2rem; font-size: 1.125rem; border-radius: 12px; }
.btn-full { width: 100%; padding: 1rem; border-radius: 10px; }

.btn-primary {
    background-color: var(--primary);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 100;
    border-radius: 16px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--text-main);
}
.nav-actions { display: flex; gap: 1rem; }

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 8.5rem 5% 4rem; /* Restored top padding to account for floating navbar */
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    min-width: 0; /* Prevent grid blowout */
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 999px;
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 600;
}
.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--secondary);
}
.pulse-border {
    position: relative;
}
.pulse-border::after {
    content: '';
    position: absolute;
    left: 10px; /* Aligned with dot roughly */
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary);
    opacity: 0.8;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: translateY(-50%) scale(2.5);
        opacity: 0;
    }
}

.main-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Speed Animation */
.speed-slide-up {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
}
@keyframes slide-up-fast {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sub-headline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
}
.hero-actions { display: flex; gap: 1rem; }
.social-proof {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}
.social-proof p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.logos {
    display: flex;
    gap: 2rem;
    opacity: 0.6;
}
.company-logo {
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.05em;
    filter: grayscale(100%);
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}
.mockup-window {
    width: 100%;
    height: 80%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.mockup-header {
    background: rgba(0,0,0,0.4);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.close { background: #ff5f56; }
.minimize { background: #ffbd2e; }
.expand { background: #27c93f; }
.mockup-body {
    height: 100%;
    background: #111116; /* Fallback */
    display: flex;
    align-items: center;
    justify-content: center;
}
.mockup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.floating-card {
    position: absolute;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10;
}
.float-anim-1 {
    top: 15%;
    left: -10%;
    animation: float 6s ease-in-out infinite;
}
.float-anim-2 {
    bottom: 20%;
    right: -5%;
    animation: float 8s ease-in-out infinite reverse;
}
.float-anim-3 {
    top: 35%;
    right: 5%;
    animation: float 7s ease-in-out infinite 1s;
}
.float-anim-4 {
    bottom: 5%;
    left: 10%;
    animation: float 9s ease-in-out infinite reverse 2s;
}
.float-anim-5 {
    top: 45%;
    left: -20%;
    animation: float 6.5s ease-in-out infinite 0.5s;
    transform: scale(0.9);
}

/* Trust Bar / Logo Ticker */
.trust-bar {
    padding: 1.5rem 0;
    margin: 4rem auto;
    width: 90%;
    max-width: 1200px;
    border-radius: 20px;
    z-index: 20;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}
.trust-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}
.trust-label {
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}
.logo-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.ticker-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}
.ticker-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    opacity: 0.6;
    white-space: nowrap;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Stats Section */
.stats-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}
.stat-card {
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 32px;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid var(--glass-border);
}
.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-glow);
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    letter-spacing: -0.04em;
    line-height: 1;
}
.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.icon-lucide-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.icon-indigo { background: rgba(99, 102, 241, 0.15); color: #8b5cf6; }
.icon-warning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.float-title {
    font-weight: 600;
    font-size: 0.875rem;
}
.float-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Sections Common */
section {
    padding: 6rem 5%;
    position: relative;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.vs-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    z-index: 10;
    background: rgba(255,255,255,0.05);
}
.card {
    border-radius: 20px;
    padding: 3.5rem;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-left: 0.5rem;
}
.card-header h3 {
    margin: 0;
    font-size: 1.85rem;
    color: var(--text-main);
    line-height: 1.2;
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    border-radius: 50px; /* Capsule shape */
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}
.badge-red { 
    background: rgba(239, 68, 68, 0.1); 
    color: #f87171; 
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}
.badge-green { 
    background: rgba(16, 185, 129, 0.15); 
    color: #34d399; 
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}
.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comparison-list li {
    padding: 1.25rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}
.comparison-list li:hover {
    transform: translateX(5px);
}
.comparison-list li:last-child { border-bottom: none; }

.comp-icon {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}
.negative .comp-icon { 
    color: #ef4444; 
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.5));
}
.positive .comp-icon { 
    color: #10b981; 
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
}
.comparison-list span {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-main);
}

/* Products Section */
.products-section {
    position: relative;
    padding: 6rem 5%;
    overflow: hidden;
    background-color: var(--bg-dark);
}
.products-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='rgba(139, 92, 246, 0.15)' stroke-width='2' d='M0,160 C320,300 420,-60 720,100 C1020,260 1120,-60 1440,160' /%3E%3Cpath fill='none' stroke='rgba(139, 92, 246, 0.12)' stroke-width='2' d='M0,192 C320,332 420,-28 720,132 C1020,292 1120,-28 1440,192' /%3E%3Cpath fill='none' stroke='rgba(139, 92, 246, 0.09)' stroke-width='2' d='M0,224 C320,364 420,4 720,164 C1020,324 1120,4 1440,224' /%3E%3Cpath fill='none' stroke='rgba(139, 92, 246, 0.06)' stroke-width='2' d='M0,256 C320,396 420,36 720,196 C1020,356 1120,36 1440,256' /%3E%3Cpath fill='none' stroke='rgba(16, 185, 129, 0.08)' stroke-width='2' d='M0,128 C320,268 420,-92 720,68 C1020,228 1120,-92 1440,128' /%3E%3Cpath fill='none' stroke='rgba(16, 185, 129, 0.05)' stroke-width='2' d='M0,96 C320,236 420,-124 720,36 C1020,196 1120,-124 1440,96' /%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}
.container-relative {
    position: relative;
    z-index: 1;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.product-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(20, 20, 30, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(30, 30, 45, 0.6);
}

/* Marketing Highlights & Glow Effects */
.neon-highlight {
    color: var(--primary);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.icon-glow {
    position: relative;
    z-index: 1;
}

.icon-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow, rgba(6, 182, 212, 0.4)) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.product-card:hover .icon-glow::after {
    opacity: 0.8;
}

.icon-cyan .icon-glow::after { --accent-glow: rgba(6, 182, 212, 0.4); }
.icon-indigo .icon-glow::after { --accent-glow: rgba(99, 102, 241, 0.5); }
.icon-emerald .icon-glow::after { --accent-glow: rgba(16, 185, 129, 0.4); }

/* Availability Pulse Dot */
.status-pulse-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(10, 15, 30, 0.9);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10;
}

.status-pulse {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--emerald);
    position: relative;
}

.status-pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--emerald);
    animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.status-text {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--emerald);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    80%, 100% { transform: scale(2.5); opacity: 0; }
}
.cap-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    stroke-width: 1.5;
    transition: all 0.3s ease;
}
.product-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}
.product-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1; /* Pushes the link to the bottom */
}
.product-features {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-main);
}
.feature-check {
    width: 20px;
    height: 20px;
    stroke: var(--secondary);
    stroke-width: 2;
    flex-shrink: 0;
}
.product-card:nth-child(2) .feature-check { stroke: #10b981; } /* Emerald */
.product-card:nth-child(3) .feature-check { stroke: #06b6d4; } /* Cyan */

.product-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}
.product-link:hover { color: var(--primary-hover); }

/* CTA Section */
.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.1), rgba(0,0,0,0));
}
.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta-container p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}
.cta-form-advanced {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
}
.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-body);
    width: 100%;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    outline: none;
}
.form-input:focus {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.05);
}
.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--glass-border);
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.link-group h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}
.link-group a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}
.link-group a:hover { color: var(--text-main); }
.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }
    .hero-content {
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .vs-circle {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .main-title { font-size: 2.5rem; }
    .hero-visual { height: 400px; }
    .float-anim-1 { left: 0; }
    .float-anim-2 { right: 0; }
    .float-anim-3 { top: 5%; right: 0; transform: scale(0.8); }
    .float-anim-4 { bottom: 0; left: 0; transform: scale(0.8); }
    .float-anim-5 { display: none; }
    .cta-container { padding: 2rem; }
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.product-header .product-title {
    margin-bottom: 0;
}

/* =====================================================================
   BB Agents Command Center (ready-to-use.html)
   ===================================================================== */
/* Hero Ready (Specific for ready-to-use.html) */
.hero-ready {
    min-height: auto !important;
    padding-top: 12rem !important;
    padding-bottom: 6rem !important;
}

.command-center-wrapper {
    position: relative;
    width: 600px;
    height: 450px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.cc-neural-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cc-neural-line {
    stroke-width: 2;
    stroke-dasharray: 10;
    animation: dash-flow 2s linear infinite;
    opacity: 0.5;
    transition: all 0.3s ease;
}

@keyframes dash-flow {
    from { stroke-dashoffset: 20; }
    to { stroke-dashoffset: 0; }
}

.cc-tablet {
    position: relative;
    width: 480px;
    height: 320px;
    border-radius: 20px;
    padding: 10px;
    background: rgba(20, 25, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.15);
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Parallax smooth */
}

/* Neon pulsing border for the tablet */
.cc-tablet::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), transparent 50%, rgba(6, 182, 212, 0.5));
    z-index: -1;
    opacity: 0.5;
    animation: neon-pulse 4s ease-in-out infinite alternate;
}

.cc-tablet-inner {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #0d1117;
}

/* Equivalent to AnimatePresence */
.cc-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.cc-screen.active {
    opacity: 1;
    transform: scale(1);
}

.cc-capsule {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 90px;
    height: 90px;
    border-radius: 20px;
    background: rgba(15, 20, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float-capsule 6s ease-in-out infinite alternate;
}

.cc-capsule:hover, .cc-capsule.active {
    transform: scale(1.1) translateY(-5px) !important;
    background: rgba(25, 30, 50, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cc-capsule.active {
    border-color: var(--neon-color, rgba(255,255,255,0.2));
    box-shadow: 0 0 20px var(--neon-color, rgba(255,255,255,0.1));
}

.cc-capsule span {
    font-size: 0.65rem;
    font-weight: 600;
    color: #9ca3af;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.cc-capsule.active span, .cc-capsule:hover span {
    color: #fff;
}

@keyframes float-capsule {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(2deg); }
}

/* Add slight delays to capsules to make them float organically and asynchronously */
.cc-capsule:nth-child(2) { animation-delay: -1s; animation-duration: 7s; }
.cc-capsule:nth-child(3) { animation-delay: -2s; animation-duration: 5s; }
.cc-capsule:nth-child(4) { animation-delay: -3s; animation-duration: 6.5s; }
.cc-capsule:nth-child(5) { animation-delay: -4s; animation-duration: 5.5s; }

/* =====================================================================
   Main Page Interactive Hero (index.html)
   ===================================================================== */
#hero-interactive {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    z-index: 10;
}

.hero-neural-lines {
    position: absolute;
    top: -50px;
    left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    pointer-events: none;
    z-index: 1;
}

.hero-neural-line {
    stroke-width: 2;
    stroke-dasharray: 10;
    animation: dash-flow 2s linear infinite;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.mockup-3d {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Parallax smooth */
    z-index: 2;
    position: relative;
}

.mockup-body-interactive {
    position: relative;
    width: 100%;
    height: 400px; /* Force height so absolute images fit */
    overflow: hidden;
    background: #0d1117;
}

/* Equivalent to AnimatePresence for the main hero */
.hero-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.hero-screen.active {
    opacity: 1;
    transform: scale(1);
}

.hero-capsule {
    cursor: pointer;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-capsule:hover, .hero-capsule.active {
    transform: scale(1.05) translateY(-5px) !important;
    background: rgba(25, 30, 50, 0.95);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.hero-capsule.active {
    border-color: var(--neon-color, rgba(255,255,255,0.2));
    box-shadow: 0 0 25px var(--neon-color, rgba(255,255,255,0.1));
}

.parallax-reverse {
    transition: transform 0.1s ease-out;
}

/* =====================================================================
   Cloudinary Video Modal (Lightbox)
   ===================================================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: var(--bg-dark);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.video-modal.active .video-modal-content {
    transform: scale(1) translateY(0);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close svg {
    width: 32px;
    height: 32px;
}

.video-modal-close:hover {
    color: var(--danger);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect Ratio 16:9 */
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 100%;
        border-radius: 0;
    }
    .video-modal-close {
        top: 10px;
        right: 10px;
        color: #fff;
        background: rgba(0,0,0,0.5);
        border-radius: 50%;
        padding: 5px;
    }
}

/* =====================================================================
   Extreme VS Glow for "După OptiBase" Card
   ===================================================================== */
.card-after {
    position: relative;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    z-index: 5;
    background: rgba(10, 25, 20, 0.6) !important;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(16, 185, 129, 0.1),
        inset 0 0 20px rgba(16, 185, 129, 0.05) !important;
}

/* Layered glow effect */
.card-after::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.card-after::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Optional: Punct central de lumina foarte saturat deasupra cardului */
.card-after::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* =====================================================================
   Mobile Optimization (Responsive Design)
   ===================================================================== */
@media (max-width: 768px) {
    /* Global Spacing */
    section {
        padding: 3rem 1.5rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Hero Section */
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Features Grid (Servicii) */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Comparison Section */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .vs-circle {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: -1.5rem auto;
        z-index: 10;
        background: var(--bg-dark);
        border: 2px solid var(--glass-border);
    }
    .card {
        padding: 1.5rem !important;
    }
    .card-header h3 {
        font-size: 1.4rem;
    }
    .comparison-list {
        padding-left: 0 !important;
    }
    .comparison-list li {
        font-size: 0.9rem;
    }

    /* UI Mockups Overflow Fix */
    .ui-mockup, .ui-mockup-img {
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
    }
    .bento-visual {
        overflow: hidden;
        border-radius: 12px;
    }

    /* Command Center (ready-to-use / BB Agents) */
    .command-center-wrapper {
        width: 100% !important;
        max-width: 320px;
        height: 300px !important;
        margin: 0 auto 2rem; /* Added margin bottom to separate from text */
        transform: scale(0.85); /* Slightly scale down to fit comfortably */
    }
    .cc-tablet {
        width: 100% !important;
        height: 180px !important;
    }
    .cc-capsule {
        width: 70px !important;
        height: 70px !important;
        left: 0 !important;
        right: 0 !important;
    }
    /* Re-distribute the 4 capsules so they don't overlap too much inside the tighter space */
    .cc-capsule:nth-child(3) { top: -15% !important; left: -10% !important; right: auto !important; } /* Top Left */
    .cc-capsule:nth-child(4) { top: -10% !important; right: -10% !important; left: auto !important; } /* Top Right */
    .cc-capsule:nth-child(5) { bottom: -15% !important; right: -10% !important; left: auto !important; } /* Bottom Right */
    .cc-capsule:nth-child(6) { bottom: -10% !important; left: -10% !important; right: auto !important; } /* Bottom Left */
    
    .cc-capsule span {
        font-size: 0.5rem;
    }

    .mobile-interaction-hint {
        display: block !important;
        text-align: center;
        color: var(--secondary);
        font-size: 0.85rem;
        margin-top: 2rem;
        animation: bounce-hint 2s infinite;
        font-weight: 600;
        width: 100%;
    }

    @keyframes bounce-hint {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-5px); }
    }

    /* Footer & CTA */
    .cta-container {
        padding: 2.5rem 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .cta-container h2 {
        font-size: 1.8rem;
    }
    .cta-form-advanced {
        width: 100%;
        max-width: 100%;
        margin-top: 1.5rem;
    }
    .navbar {
        width: 95%;
        padding: 0.75rem 1rem;
        top: 0.5rem;
    }
    .logo {
        font-size: 1.1rem;
    }
    .logo-icon {
        width: 24px;
        height: 24px;
    }
    .btn-small {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        text-align: left;
    }
    .link-group h4 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        color: var(--text-main);
    }
    .link-group a {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    .footer-brand {
        align-items: center;
        margin-bottom: 1rem;
    }
    .footer-brand p {
        font-size: 0.8rem;
        margin: 0.5rem auto 0;
        max-width: 250px;
    }
    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 1.5rem;
    }
}

/* =========================================
   OPTIBASE AI CHATBOT (GLASSMORPHISM)
   ========================================= */

#optibase-chatbot-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999999;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

#ob-chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

#ob-chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.6);
}

#ob-chat-toggle svg {
    width: 28px;
    height: 28px;
}

#ob-chat-window {
    width: 350px;
    height: 500px;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
}

.ob-chat-header {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    justify-content: space-between;
}

#ob-chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}
#ob-chat-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.ob-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.ob-avatar svg {
    width: 20px;
    height: 20px;
}

.ob-pulse {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background-color: var(--emerald);
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
}

.ob-chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.ob-chat-body::-webkit-scrollbar {
    width: 6px;
}
.ob-chat-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.ob-msg {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: slide-up-fast 0.3s ease forwards;
}

.ob-msg.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-bottom-left-radius: 4px;
    color: var(--text-main);
}

.ob-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Typing indicator */
.typing-indicator span {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--text-muted);
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.ob-chat-input-area {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
}

#ob-chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: 20px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

#ob-chat-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

#ob-chat-send {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#ob-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Interactive Options (Buttons inside chat) */
.ob-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.8rem;
}
.ob-options button {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s ease;
}
.ob-options button:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    color: white;
}
.ob-options button:disabled {
    cursor: default;
}

/* Quick-reply option buttons (greeting flow) */
.ob-quick-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.8rem;
}
.ob-quick-btn {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s ease;
    width: 100%;
}
.ob-quick-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(59, 130, 246, 0.2));
    border-color: rgba(99, 102, 241, 0.6);
    color: white;
    transform: translateX(3px);
}
.ob-quick-btn:disabled {
    cursor: default;
    opacity: 0.45;
}

/* Responsive constraints */
@media (max-width: 480px) {
    #optibase-chatbot-wrapper {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        align-items: flex-end;
    }
    #ob-chat-window {
        width: 100%;
        height: 65vh;
        max-height: 500px;
    }
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: none; /* Hidden by default */
    justify-content: center;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }
    .footer {
        padding-bottom: 8rem;
    }
    #optibase-chatbot-wrapper {
        bottom: 6rem !important;
    }
    .trust-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    .trust-label {
        font-size: 0.75rem;
        text-align: center;
        width: 100%;
        white-space: normal;
    }
    .logo-ticker {
        width: 100%;
        max-width: 100%;
    }
    .trust-bar {
        margin: 2rem auto;
        border-radius: 12px;
        width: 95%;
    }
}

/* Trust Badges Section */
.trust-badges-section {
    padding: 4rem 5% 6rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.trust-mini-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}
.trust-mini-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.badge-item {
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}
.badge-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}
.badge-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px currentColor);
}
.badge-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}