/* ═══════════════════════════════════════════════════════
   IrisLabs Enhanced — Animations & Effects v1.0
   Scroll reveals, particles, parallax, glow, marquee
   ═══════════════════════════════════════════════════════ */

/* ─── Scroll Progress Bar ─── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--iris-violet), var(--iris-teal), var(--iris-violet));
    background-size: 200% 100%;
    animation: progressShimmer 3s linear infinite;
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
}
@keyframes progressShimmer {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* ─── Scroll Reveal System ─── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.stagger-children > * {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal { transform: translateY(36px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.92); }

.is-visible,
.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children — each child delays progressively */
.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: 0.48s; }
.stagger-children.is-visible > *:nth-child(8) { transition-delay: 0.56s; }

/* ─── Hero Entrance Animations ─── */
@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes heroScaleIn {
    from { opacity: 0; transform: scale(0.88); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes heroStatPop {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.hero-entrance {
    animation: heroSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.hero-kicker-entrance {
    animation: heroScaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.hero-title-entrance {
    animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
.hero-lead-entrance {
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.hero-actions-entrance {
    animation: heroSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
.hero-stats-entrance {
    animation: heroStatPop 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}
.hero-bg-entrance {
    animation: heroFadeIn 1.5s ease 0s both;
}

/* ─── Hero Particle System ─── */
#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat linear infinite;
    pointer-events: none;
}
@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(30px) scale(0.3); opacity: 0; }
}

/* ─── Hero Parallax ─── */
.iris-hero-bg {
    will-change: transform, opacity;
    transition: transform 0.05s linear, opacity 0.05s linear;
}

/* ─── Hero Title Letter Bounce ─── */
.iris-hero-title span.iris-letter {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.iris-hero-title:hover span.iris-letter:hover {
    transform: translateY(-6px) scale(1.08);
    color: var(--iris-teal);
}

/* ─── Typing Cursor on Kicker ─── */
.hero-typing-cursor::after {
    content: '|';
    animation: blinkCursor 0.8s step-end infinite;
    margin-left: 2px;
    color: var(--iris-teal);
    font-weight: 400;
}
@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ─── Ambient Floating Orbs ─── */
.ambient-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.12;
    animation: orbFloat ease-in-out infinite;
}
.ambient-orb--1 {
    width: 320px; height: 320px;
    background: var(--iris-violet);
    top: 10%; left: -5%;
    animation-duration: 18s;
}
.ambient-orb--2 {
    width: 250px; height: 250px;
    background: var(--iris-teal);
    bottom: 15%; right: -8%;
    animation-duration: 22s;
    animation-delay: -6s;
}
.ambient-orb--3 {
    width: 200px; height: 200px;
    background: #c4b5fd;
    top: 50%; left: 40%;
    animation-duration: 25s;
    animation-delay: -12s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -25px) scale(1.08); }
    50% { transform: translate(-20px, 15px) scale(0.95); }
    75% { transform: translate(15px, 30px) scale(1.05); }
}

/* ─── Card Mouse-Follow Glow ─── */
.glow-card {
    position: relative;
    overflow: hidden;
}
.glow-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(139, 92, 246, 0.1),
        transparent 40%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.glow-card:hover::before {
    opacity: 1;
}
.glow-card > * {
    position: relative;
    z-index: 1;
}

/* ─── Service Card Image Zoom on Hover ─── */
.iris-service-card .iris-service-img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.iris-service-card:hover .iris-service-img {
    transform: scale(1.06);
    filter: brightness(1.15) saturate(1.2);
}

/* ─── Service Card Accent Glow ─── */
.iris-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--iris-violet), var(--iris-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.iris-service-card:hover::after {
    transform: scaleX(1);
}

/* ─── Product Card Hover Glow ─── */
.iris-product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(139, 92, 246, 0.08),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}
.iris-product-card:hover::after {
    opacity: 1;
}
.iris-product-card > * {
    position: relative;
    z-index: 1;
}

/* ─── Pillar Card Hover Glow + Scale ─── */
.iris-pillar {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}
.iris-pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.15),
                0 0 0 1px rgba(139, 92, 246, 0.2) inset;
}

/* Pillar icon pulse on hover */
.iris-pillar-icon {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease;
}
.iris-pillar:hover .iris-pillar-icon {
    transform: scale(1.12);
    background: rgba(139, 92, 246, 0.22);
}

/* ─── Process Timeline Animation ─── */
.iris-process::before {
    transition: opacity 0.5s ease;
}
.iris-process-step {
    transition: transform 0.3s ease;
}
.iris-process-step:hover {
    transform: translateY(-4px);
}
.iris-process-num {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
}
.iris-process-step:hover .iris-process-num {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(109, 40, 217, 0.5);
}

/* Process line animation on scroll */
.iris-process.is-visible::before {
    animation: processLineGrow 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
@keyframes processLineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ─── Tech Strip Infinite Marquee ─── */
.iris-tech-strip {
    overflow: hidden;
    position: relative;
}
.iris-tech-strip::before,
.iris-tech-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.iris-tech-strip::before {
    left: 0;
    background: linear-gradient(90deg, var(--iris-surface), transparent);
}
.iris-tech-strip::after {
    right: 0;
    background: linear-gradient(-90deg, var(--iris-surface), transparent);
}

.iris-tech-inner {
    display: flex;
    gap: 0.65rem;
    animation: techMarquee 25s linear infinite;
    width: max-content;
}
.iris-tech-inner:hover {
    animation-play-state: paused;
}
@keyframes techMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── Stats Counter Pop Animation ─── */
.stat-updated {
    animation: statPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes statPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ─── CTA Section Glow ─── */
.iris-cta {
    position: relative;
    overflow: hidden;
}
.iris-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(139, 92, 246, 0.08),
        transparent,
        rgba(45, 212, 191, 0.06),
        transparent
    );
    animation: ctaRotate 12s linear infinite;
    pointer-events: none;
}
@keyframes ctaRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ─── Magnetic Button Effect ─── */
.iris-btn--primary,
.iris-btn--ghost {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s ease;
}
.iris-btn--primary:hover {
    box-shadow: 0 12px 35px rgba(109, 40, 217, 0.55);
}

/* ─── Nav Enhanced Glassmorphism ─── */
.iris-nav {
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.iris-nav.is-scrolled {
    background: rgba(7, 6, 15, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(139, 92, 246, 0.22);
}

/* ─── About Image Parallax Float ─── */
.iris-about-visual {
    transition: transform 0.4s ease;
}
.iris-about-visual:hover {
    transform: scale(1.02);
}
.iris-about-badge {
    animation: badgeFloat 4s ease-in-out infinite;
}
@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ─── Tags Staggered Float ─── */
.iris-tag {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease,
                border-color 0.3s ease,
                color 0.3s ease;
}
.iris-tag:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    color: #e0d4ff;
}

/* ─── Checklist Item Slide-In ─── */
.iris-checklist li {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.iris-checklist li:hover {
    transform: translateX(6px);
}
.iris-checklist.is-visible li:nth-child(1) { animation: checkSlideIn 0.5s 0.1s both; }
.iris-checklist.is-visible li:nth-child(2) { animation: checkSlideIn 0.5s 0.2s both; }
.iris-checklist.is-visible li:nth-child(3) { animation: checkSlideIn 0.5s 0.3s both; }
.iris-checklist.is-visible li:nth-child(4) { animation: checkSlideIn 0.5s 0.4s both; }
.iris-checklist.is-visible li:nth-child(5) { animation: checkSlideIn 0.5s 0.5s both; }
@keyframes checkSlideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ─── Footer Glow Line ─── */
.iris-footer {
    position: relative;
}
.iris-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--iris-violet), var(--iris-teal), var(--iris-violet), transparent);
    opacity: 0.5;
}

/* ─── Section Divider Gradient ─── */
.iris-section + .iris-section {
    border-top: 1px solid rgba(139, 92, 246, 0.06);
}

/* ─── Smooth Anchor Scrolling Offset ─── */
html {
    scroll-padding-top: 80px;
}

/* ─── Kicker Animated Underline ─── */
.iris-section-kicker {
    position: relative;
    display: inline-block;
}
.iris-section-kicker::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--iris-violet), var(--iris-teal));
    border-radius: 1px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.iris-section.is-visible .iris-section-kicker::after,
.reveal.is-visible .iris-section-kicker::after {
    width: 100%;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale,
    .stagger-children > * {
        opacity: 1 !important;
        transform: none !important;
    }
    .iris-hero-bg { transform: none !important; }
    .scroll-progress { display: none; }
    .iris-tech-inner { animation: none !important; }
}

/* ─── Section Kicker Animated Dot ─── */
.iris-section-kicker::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--iris-violet);
    margin-right: 0.5rem;
    vertical-align: middle;
    animation: kickerPulse 2s ease-in-out infinite;
}
@keyframes kickerPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* ─── Hero Stats Shimmer Effect ─── */
.iris-stat {
    position: relative;
    overflow: hidden;
}
.iris-stat::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 40%,
        rgba(139, 92, 246, 0.06) 45%,
        rgba(45, 212, 191, 0.06) 55%,
        transparent 60%
    );
    animation: statShimmer 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes statShimmer {
    0% { transform: translateX(-100%) rotate(0deg); }
    100% { transform: translateX(100%) rotate(0deg); }
}

/* ─── Product Image Overlay Gradient ─── */
.iris-product-img {
    position: relative;
    overflow: hidden;
}
.iris-product-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(7, 6, 15, 0.6) 100%);
    pointer-events: none;
}

/* ─── Product Link Arrow Animation ─── */
.iris-product-link i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.iris-product-card:hover .iris-product-link i {
    transform: translateX(5px);
}

/* ─── About Visual Overlay Shimmer ─── */
.iris-about-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 30%,
        rgba(139, 92, 246, 0.08) 50%,
        transparent 70%
    );
    animation: aboutShimmer 6s ease-in-out infinite;
    pointer-events: none;
    border-radius: inherit;
}
@keyframes aboutShimmer {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

/* ═══════════════════════════════════════════════════════
   HIGH-TECH FUTURISTIC STUDIO ENHANCEMENTS (NON-PIXEL)
   ═══════════════════════════════════════════════════════ */

/* Cyber Grid Ambient Layer */
.cyber-grid-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 38%, black 35%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at 50% 38%, black 35%, transparent 85%);
}

/* Glowing Neon Text */
.iris-glow-text {
    font-style: normal;
    background: linear-gradient(135deg, #a78bfa 0%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 35px rgba(167, 139, 250, 0.45);
}

/* Hero Stats Counter Badges */
.iris-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
    gap: 1rem !important;
    width: 100% !important;
    margin-top: 2rem !important;
}

.iris-stat {
    background: rgba(18, 15, 33, 0.75) !important;
    border: 1px solid rgba(167, 139, 250, 0.22) !important;
    border-radius: 12px !important;
    padding: 1rem 0.85rem !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.iris-stat:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(167, 139, 250, 0.6) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 32px rgba(139, 92, 246, 0.3) !important;
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #c4b5fd !important;
}

/* R&D Infrastructure Terminal Deck */
.iris-terminal-box {
    background: rgba(10, 8, 22, 0.88) !important;
    border: 1px solid rgba(139, 92, 246, 0.32) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.65),
        0 0 35px rgba(139, 92, 246, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    padding: 1.5rem !important;
    margin-top: 2rem !important;
}

.iris-terminal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.18) !important;
    margin-bottom: 1.25rem !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
}

.iris-terminal-dots {
    display: flex !important;
    gap: 6px !important;
}

.iris-terminal-dots .dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
}

.iris-terminal-dots .dot.red { background: #ef4444 !important; box-shadow: 0 0 8px #ef4444 !important; }
.iris-terminal-dots .dot.yellow { background: #f59e0b !important; box-shadow: 0 0 8px #f59e0b !important; }
.iris-terminal-dots .dot.green { background: #10b981 !important; box-shadow: 0 0 8px #10b981 !important; }

.iris-terminal-title {
    font-family: 'Space Grotesk', monospace !important;
    font-size: 0.85rem !important;
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

.iris-terminal-status {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #10b981 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    background: rgba(16, 185, 129, 0.12) !important;
    padding: 0.3rem 0.75rem !important;
    border-radius: 999px !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

.pulse-green {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    box-shadow: 0 0 10px #10b981 !important;
    animation: pulseDot 1.5s infinite !important;
}

@keyframes pulseDot {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.3); }
}

.iris-terminal-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 1rem !important;
    margin-bottom: 1.25rem !important;
}

.terminal-stat-card {
    background: rgba(18, 14, 35, 0.65) !important;
    border: 1px solid rgba(167, 139, 250, 0.18) !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.terminal-stat-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(167, 139, 250, 0.5) !important;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2) !important;
}

.stat-label {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
}

.stat-val {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

.stat-val--green { color: #34d399 !important; text-shadow: 0 0 12px rgba(52, 211, 153, 0.4) !important; }
.stat-val--violet { color: #c4b5fd !important; text-shadow: 0 0 12px rgba(196, 181, 253, 0.4) !important; }
.stat-val--teal { color: #2dd4bf !important; text-shadow: 0 0 12px rgba(45, 212, 191, 0.4) !important; }
.stat-val--cyan { color: #38bdf8 !important; text-shadow: 0 0 12px rgba(56, 189, 248, 0.4) !important; }

.stat-sub {
    font-size: 0.72rem !important;
    color: #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
}

.iris-terminal-logs {
    background: rgba(5, 4, 12, 0.85) !important;
    border-radius: 10px !important;
    padding: 0.85rem 1.1rem !important;
    font-family: 'Space Grotesk', monospace !important;
    font-size: 0.78rem !important;
    line-height: 1.8 !important;
    border: 1px solid rgba(167, 139, 250, 0.15) !important;
}

.log-time { color: #64748b !important; margin-right: 0.4rem !important; }
.log-tag--sec { color: #c4b5fd !important; font-weight: bold !important; }
.log-tag--ai { color: #2dd4bf !important; font-weight: bold !important; }
.log-tag--game { color: #34d399 !important; font-weight: bold !important; }

/* Enhanced Service Card Halos */
.iris-service-card {
    background: rgba(18, 14, 33, 0.8) !important;
    border: 1px solid rgba(167, 139, 250, 0.22) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.iris-service-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(167, 139, 250, 0.55) !important;
    box-shadow: 0 16px 45px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.iris-service-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
    margin-bottom: 1rem !important;
}

.iris-service-icon--sec { background: rgba(167, 139, 250, 0.18) !important; color: #c4b5fd !important; box-shadow: 0 0 20px rgba(167, 139, 250, 0.35) !important; }
.iris-service-icon--game { background: rgba(52, 211, 153, 0.18) !important; color: #34d399 !important; box-shadow: 0 0 20px rgba(52, 211, 153, 0.35) !important; }
.iris-service-icon--ai { background: rgba(45, 212, 191, 0.18) !important; color: #2dd4bf !important; box-shadow: 0 0 20px rgba(45, 212, 191, 0.35) !important; }

/* Enhanced Tech Strip Pills */
.iris-tech-item {
    background: rgba(22, 18, 42, 0.8) !important;
    border: 1px solid rgba(167, 139, 250, 0.25) !important;
    border-radius: 999px !important;
    padding: 0.55rem 1.1rem !important;
    color: #e2e8f0 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.iris-tech-item:hover {
    transform: translateY(-2px) !important;
    border-color: #2dd4bf !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.4) !important;
}

/* Mobile Responsive Media Queries for IrisLabs Studio */
@media (max-width: 990px) {
  html.iris-page, body.iris-page {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .iris-page .iris-body,
  .iris-page .iris-section,
  .iris-page .iris-tech-strip {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .iris-nav {
    padding: 0.65rem 1rem !important;
  }

  .iris-nav-links {
    gap: 0.75rem !important;
  }

  .iris-nav-links a:not(.iris-nav-cta) {
    display: none !important; /* Keep CTA button visible and clean on mobile nav */
  }

  .iris-hero-inner {
    padding: 2.2rem 1.2rem 2.5rem !important;
  }

  .iris-hero-title {
    font-size: clamp(1.4rem, 6.5vw, 2.1rem) !important;
  }

  .iris-terminal-box {
    padding: 1rem !important;
  }

  .iris-terminal-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .terminal-stat-card {
    padding: 0.85rem 0.65rem !important;
  }

  .stat-val {
    font-size: 1rem !important;
  }

  .iris-terminal-logs {
    overflow-x: auto !important;
    white-space: nowrap !important;
    font-size: 0.72rem !important;
    padding: 0.7rem 0.85rem !important;
  }

  .iris-footer-links a {
    display: inline-block !important;
    padding: 0.45rem 0.65rem !important;
    min-height: 40px !important;
    line-height: 24px !important;
  }
}

@media (max-width: 480px) {
  .iris-terminal-grid {
    grid-template-columns: 1fr !important;
  }

  .iris-hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }

  .iris-stat {
    padding: 0.75rem 0.5rem !important;
  }

  .stat-num {
    font-size: 1rem !important;
  }
}
