/* ============================================
   Keydata AI — Dark Theme Stylesheet
   ============================================ */

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

:root {
    --bg-primary: #050505;
    --bg-card: #0d0d0d;
    --bg-card-hover: #141414;
    --bg-nav: rgba(5, 5, 5, 0.8);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #6e6e73;
    --accent-blue: #2997ff;
    --accent-purple: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #2997ff, #8b5cf6);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(41, 151, 255, 0.3);
    --glow-blue: rgba(41, 151, 255, 0.15);
    --glow-purple: rgba(139, 92, 246, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --font-stack: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-purple);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

/* --- Animations --- */
.animate-in {
    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);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.services-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }
.services-grid .animate-in:nth-child(4) { transition-delay: 0.3s; }

.work-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.work-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }
.work-grid .animate-in:nth-child(4) { transition-delay: 0.3s; }
.work-grid .animate-in:nth-child(5) { transition-delay: 0.15s; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-stack);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 0 20px var(--glow-blue), 0 0 40px rgba(41, 151, 255, 0.1);
}

.btn-primary:hover {
    color: white;
    box-shadow: 0 0 30px var(--glow-blue), 0 0 60px rgba(41, 151, 255, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(41, 151, 255, 0.05);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(41, 151, 255, 0.4)) drop-shadow(0 0 20px rgba(139, 92, 246, 0.15));
    transition: filter 0.3s ease;
}

.nav-logo:hover .logo-icon {
    filter: drop-shadow(0 0 12px rgba(41, 151, 255, 0.6)) drop-shadow(0 0 30px rgba(139, 92, 246, 0.25));
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo-ai {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 8px 20px;
    background: var(--accent-gradient);
    border-radius: var(--radius-xl);
    color: white !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    color: white !important;
    box-shadow: 0 0 20px var(--glow-blue);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.12) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    animation: glowPulse 6s ease-in-out 3s infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 140px 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(41, 151, 255, 0.2), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--glow-blue);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 151, 255, 0.06);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Work / Showcase Section
   ============================================ */
.work {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0a0a0f 50%, var(--bg-primary) 100%);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px var(--glow-purple);
    border-color: rgba(139, 92, 246, 0.2);
}

.work-image {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.05), rgba(139, 92, 246, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.05);
}

.work-info {
    padding: 28px;
}

.work-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.work-info p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    background: rgba(41, 151, 255, 0.08);
    color: var(--accent-blue);
    border: 1px solid rgba(41, 151, 255, 0.15);
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 140px 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.stat {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.stat:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 30px var(--glow-blue);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0a0a0f 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-stack);
    font-size: 1rem;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px var(--glow-blue), 0 0 20px var(--glow-blue);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--accent-blue);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .services-grid,
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    /* Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-nav);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-cta {
        text-align: center;
        margin-top: 8px;
        border-bottom: none !important;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 1.0625rem;
    }

    .hero-glow {
        width: 350px;
        height: 350px;
    }

    .hero-glow-2 {
        width: 250px;
        height: 250px;
    }

    /* Sections */
    .services,
    .work,
    .about,
    .contact {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .services-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-card {
        padding: 28px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .stat {
        padding: 24px 16px;
    }
}

/* ============================================
   Mars Browser — Product Page Styles
   ============================================ */

/* --- Section Alternating Backgrounds --- */
.mars-section {
    padding: 140px 0;
    position: relative;
}

.mars-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.mars-section-alt {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0a0a0f 50%, var(--bg-primary) 100%);
    position: relative;
}

/* --- Hero Icon --- */
.mars-hero-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

/* --- Capability Cards (3x2 and 2x2 grids) --- */
.mars-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mars-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mars-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.mars-capability {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mars-capability::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(41, 151, 255, 0.2), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mars-capability:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--glow-blue);
}

.mars-capability:hover::before {
    opacity: 1;
}

.mars-capability h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.mars-capability p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stagger animations for capability grids */
.mars-capability-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.mars-capability-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }
.mars-capability-grid .animate-in:nth-child(4) { transition-delay: 0.3s; }
.mars-capability-grid .animate-in:nth-child(5) { transition-delay: 0.4s; }
.mars-capability-grid .animate-in:nth-child(6) { transition-delay: 0.5s; }

.mars-feature-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.mars-feature-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }

.mars-tools-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.mars-tools-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }
.mars-tools-grid .animate-in:nth-child(4) { transition-delay: 0.3s; }

/* --- Multi-Split Layout --- */
.mars-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mars-split-text p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.mars-split-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mars-split-pane {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mars-split-pane-bar {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
}

.mars-split-pane-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-tertiary);
    opacity: 0.5;
}

.mars-split-pane-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mars-split-line {
    height: 6px;
    background: rgba(41, 151, 255, 0.1);
    border-radius: 3px;
}

/* --- Audience Tags --- */
.mars-audience {
    text-align: center;
}

.mars-audience-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.mars-audience-tag {
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    background: rgba(41, 151, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid rgba(41, 151, 255, 0.15);
    transition: all 0.3s ease;
}

.mars-audience-tag:hover {
    border-color: var(--border-hover);
    background: rgba(41, 151, 255, 0.1);
    box-shadow: 0 0 20px var(--glow-blue);
}

/* --- Quote --- */
.mars-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    border-left: 3px solid var(--accent-blue);
    padding-left: 24px;
    margin: 0;
    max-width: 600px;
}

.mars-audience .mars-quote {
    margin: 0 auto;
    text-align: left;
}

/* --- Enterprise Layout --- */
.mars-enterprise-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.mars-enterprise-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mars-enterprise-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.mars-enterprise-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 30px var(--glow-blue);
}

.mars-enterprise-number {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 2px;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.mars-enterprise-number.animate-number {
    transform: scale(1);
    opacity: 1;
}

.mars-enterprise-item h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.mars-enterprise-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.mars-enterprise-aside {
    padding-top: 24px;
}

/* --- What Makes It Different --- */
.mars-different {
    text-align: center;
    padding: 40px 0;
}

.mars-diff-headline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.mars-diff-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.mars-diff-item {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mars-diff-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.mars-diff-item strong {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- CTA --- */
.mars-cta {
    text-align: center;
    padding: 40px 0;
}

.mars-cta .section-subtitle {
    margin-bottom: 0;
}

/* --- Featured Work Card --- */
.work-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
}

.work-card-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px var(--glow-purple);
    border-color: rgba(139, 92, 246, 0.2);
    color: inherit;
}

.work-card-featured-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.05), rgba(139, 92, 246, 0.08));
    border-right: 1px solid var(--border-color);
}

.work-card-featured .work-info {
    padding: 36px;
}

.work-card-featured .work-info h3 {
    font-size: 1.25rem;
}

.work-card-featured-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-purple);
    margin-bottom: 8px;
}

/* --- Interactive Demo Tabs --- */
.mars-demo-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.mars-demo-tab {
    font-family: var(--font-stack);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mars-demo-tab:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(41, 151, 255, 0.05);
}

.mars-demo-tab.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 20px var(--glow-blue);
}

.mars-demo-content {
    position: relative;
    min-height: 400px;
}

.mars-demo-panel {
    display: none;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: center;
    animation: fadeSlideIn 0.4s ease;
}

.mars-demo-panel.active {
    display: grid;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mars-demo-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.mars-demo-info p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.mars-demo-screenshot {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    line-height: 0;
}

.mars-demo-screenshot:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-blue);
}

.mars-demo-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 64px;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--accent-gradient);
    z-index: 999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--glow-blue);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    line-height: 1;
    font-family: var(--font-stack);
}

.lightbox-close:hover {
    opacity: 1;
}

/* --- Hero Icon Spin Animation --- */
.mars-icon-spin {
    animation: iconFloat 6s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-6px) rotate(3deg); }
    75% { transform: translateY(4px) rotate(-2deg); }
}

/* --- Audience Tag Active State --- */
.mars-audience-tag {
    cursor: pointer;
}

.mars-audience-tag.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 20px var(--glow-blue);
}

.mars-quote {
    transition: opacity 0.2s ease;
}

/* --- Desktop Device Frame --- */
.device-desktop {
    margin-top: 60px;
}

.device-desktop-frame {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(41, 151, 255, 0.08);
}

.device-desktop-frame-sm {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(41, 151, 255, 0.06);
}

.device-desktop-notch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.device-dot.red { background: #ff5f57; }
.device-dot.yellow { background: #febc2e; }
.device-dot.green { background: #28c840; }

.device-desktop-screen {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.device-desktop-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- iPhone Device Frame (Apple-style) --- */
.device-iphone {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.device-iphone-frame {
    position: relative;
    width: 300px;
    background: #1a1a1a;
    border-radius: 48px;
    padding: 14px;
    border: 3px solid #333;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(41, 151, 255, 0.08),
        inset 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.device-iphone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 18px 18px;
    z-index: 2;
}

.device-iphone-screen {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9 / 19.5;
}

.device-iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.device-iphone-bar {
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 10px auto 0;
}

.device-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Devices Showcase (iPhone + Desktop side by side) --- */
.mars-devices-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.device-desktop-showcase {
    flex: 1;
    max-width: 780px;
}

/* --- Screenshot Gallery --- */
.mars-screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 80px;
}

.mars-screenshot-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
}

.mars-screenshot-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px var(--glow-blue);
    transform: translateY(-4px);
}

.mars-screenshot-img {
    overflow: hidden;
    line-height: 0;
    border-bottom: 1px solid var(--border-color);
}

.mars-screenshot-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.mars-screenshot-card:hover .mars-screenshot-img img {
    transform: scale(1.03);
}

.mars-screenshot-label {
    padding: 16px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* --- Mars Browser Responsive --- */
@media (max-width: 768px) {
    .mars-section,
    .mars-section-alt {
        padding: 80px 0;
    }

    .mars-capability-grid,
    .mars-feature-grid {
        grid-template-columns: 1fr;
    }

    .mars-tools-grid {
        grid-template-columns: 1fr;
    }

    .mars-split-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .mars-enterprise-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .mars-capability {
        padding: 28px;
    }

    .work-card-featured {
        grid-template-columns: 1fr;
    }

    .work-card-featured-icon {
        width: 100%;
        height: 160px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .mars-devices-showcase {
        flex-direction: column;
        gap: 40px;
    }

    .device-iphone-frame {
        width: 260px;
    }

    .device-desktop-frame {
        border-radius: 12px;
    }

    .device-desktop-notch {
        padding: 8px 12px;
    }

    .device-dot {
        width: 10px;
        height: 10px;
    }

    .mars-demo-panel {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mars-demo-tabs {
        gap: 6px;
    }

    .mars-demo-tab {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .mars-demo-content {
        min-height: auto;
    }

    .device-desktop {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .mars-audience-tags {
        gap: 8px;
    }

    .mars-audience-tag {
        font-size: 0.8125rem;
        padding: 8px 16px;
    }

    .mars-diff-headline {
        font-size: 1.25rem;
    }

    .mars-enterprise-item {
        flex-direction: column;
        gap: 12px;
    }

    .device-iphone-frame {
        width: 220px;
        border-radius: 36px;
        padding: 10px;
    }

    .device-iphone-screen {
        border-radius: 28px;
    }

    .device-iphone-notch {
        width: 100px;
        height: 24px;
        top: 10px;
    }
}

/* ============================================
   VaultIQ — Product Page Styles
   ============================================ */

/* --- Hero Stats Bar --- */
.vaultiq-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 80px;
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.vaultiq-stat-item {
    text-align: center;
}

.vaultiq-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.vaultiq-stat-label {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* --- Demo Visual Panels --- */
.vaultiq-demo-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    overflow: hidden;
}

/* File Scan Animation */
.vaultiq-file-scan {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vaultiq-scan-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(41, 151, 255, 0.03);
    border: 1px solid rgba(41, 151, 255, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    animation: scanSlideIn 0.5s ease both;
    animation-delay: var(--delay);
}

@keyframes scanSlideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.vaultiq-file-ext {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    min-width: 44px;
    text-align: center;
    flex-shrink: 0;
}

.ext-video { background: rgba(41, 151, 255, 0.15); color: #5bb8ff; }
.ext-3d { background: rgba(139, 92, 246, 0.15); color: #b49afc; }
.ext-audio { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.ext-cache { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.ext-render { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.ext-color { background: rgba(236, 72, 153, 0.15); color: #f472b6; }

.vaultiq-file-path {
    color: var(--text-tertiary);
    flex: 1;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vaultiq-file-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: var(--radius-xl);
    flex-shrink: 0;
}

.badge-editorial { background: rgba(41, 151, 255, 0.12); color: #5bb8ff; }
.badge-vfx { background: rgba(139, 92, 246, 0.12); color: #b49afc; }
.badge-audio { background: rgba(16, 185, 129, 0.12); color: #34d399; }
.badge-cache { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.badge-render { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.badge-color { background: rgba(236, 72, 153, 0.12); color: #f472b6; }

/* Project List */
.vaultiq-project-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vaultiq-project-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(41, 151, 255, 0.03);
    border: 1px solid rgba(41, 151, 255, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.vaultiq-project-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-active { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
.status-idle { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.5); }
.status-wrapped { background: #6b7280; }

.vaultiq-project-name {
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vaultiq-project-disciplines {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.vaultiq-project-disciplines span {
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: var(--radius-xl);
    background: rgba(41, 151, 255, 0.08);
    color: var(--accent-blue);
    border: 1px solid rgba(41, 151, 255, 0.12);
}

.vaultiq-project-size {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
    min-width: 50px;
    text-align: right;
}

.vaultiq-legend {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.vaultiq-legend > span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Cost Breakdown */
.vaultiq-cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vaultiq-cost-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vaultiq-cost-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 120px;
    flex-shrink: 0;
}

.vaultiq-cost-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.vaultiq-cost-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.cost-active { background: linear-gradient(90deg, #2997ff, #5bb8ff); }
.cost-idle { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.cost-wrapped { background: linear-gradient(90deg, #8b5cf6, #b49afc); }

.vaultiq-cost-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 90px;
    text-align: right;
    flex-shrink: 0;
}

.vaultiq-cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.vaultiq-cost-total .gradient-text {
    font-size: 1.5rem;
}

.vaultiq-cost-savings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: #34d399;
    font-weight: 500;
}

/* Recommendations */
.vaultiq-recommendations {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vaultiq-rec-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(41, 151, 255, 0.03);
    border: 1px solid rgba(41, 151, 255, 0.08);
    border-radius: var(--radius-sm);
}

.vaultiq-rec-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.rec-archive { background: rgba(41, 151, 255, 0.12); color: #5bb8ff; }
.rec-clean { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.rec-alert { background: rgba(239, 68, 68, 0.12); color: #f87171; }

.vaultiq-rec-text {
    flex: 1;
    min-width: 0;
}

.vaultiq-rec-text strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.vaultiq-rec-text span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.vaultiq-rec-btn {
    font-family: var(--font-stack);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(41, 151, 255, 0.3);
    background: rgba(41, 151, 255, 0.08);
    color: var(--accent-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.vaultiq-rec-btn:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

/* Live Feed */
.vaultiq-live-feed {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
}

.vaultiq-feed-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-stack);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.vaultiq-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.vaultiq-feed-item {
    padding: 6px 0;
    color: var(--text-tertiary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-time {
    color: var(--text-tertiary);
    opacity: 0.6;
    min-width: 50px;
    display: inline-block;
}

.feed-action {
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.6875rem;
    margin: 0 6px;
}

.feed-create { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.feed-modify { background: rgba(41, 151, 255, 0.15); color: #5bb8ff; }
.feed-delete { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.vaultiq-response-badge {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    text-align: right;
}

.vaultiq-response-badge strong {
    color: #34d399;
}

/* --- Numbers Grid --- */
.vaultiq-numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vaultiq-number-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.vaultiq-number-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 30px var(--glow-blue);
}

.vaultiq-big-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.1;
}

.vaultiq-number-label {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* --- VaultIQ Responsive --- */
@media (max-width: 768px) {
    .vaultiq-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 48px;
    }

    .vaultiq-stat-number {
        font-size: 1.5rem;
    }

    .vaultiq-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .vaultiq-big-number {
        font-size: 1.75rem;
    }

    .vaultiq-number-card {
        padding: 24px 16px;
    }

    .vaultiq-project-disciplines {
        display: none;
    }

    .vaultiq-cost-label {
        min-width: 80px;
        font-size: 0.75rem;
    }

    .vaultiq-cost-value {
        font-size: 0.75rem;
        min-width: 70px;
    }

    .vaultiq-rec-text span {
        display: none;
    }
}

@media (max-width: 480px) {
    .vaultiq-stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .vaultiq-numbers-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vaultiq-cost-bar {
        flex-wrap: wrap;
        gap: 6px;
    }

    .vaultiq-cost-label {
        width: 100%;
    }
}
