﻿.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-conic-gradient(from -20deg at 50% -10%, rgba(255,255,255,0.08) 0deg, rgba(255,255,255,0.0) 8deg 16deg);
    opacity: .12;
    filter: blur(6px);
    transform: rotate(0.5deg);
    mask-image: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.0) 55%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.0) 55%);
    animation: sunRays 12s ease-in-out infinite alternate;
}

@keyframes sunRays {
    from { transform: translateY(0) rotate(0.5deg); opacity: .12; }
    to   { transform: translateY(-6px) rotate(-0.5deg); opacity: .16; }
}

to   { opacity: .18; }
}
/* =========================================================
   AI Orchestra — Cover Styles (full file)
   ========================================================= */

:root {
    --bg: #050810;
    --fg: #f0f7ff;
    --muted: #7a8ba3;
    --primary: #00d4ff;
    --primary-2: #6366f1;
    --card: #0a0f1a;
    --accent: #1a2332;
    /* inputs */
    --input-bg: #2B4D76; /* bumped lighter for stronger contrast */
    --input-border: rgba(110,231,255,.50);
    --input-focus: rgba(0,212,255,.70);
    --input-radius: .8rem;
    --input-pad: .9rem 1rem;
    --input-color: var(--fg);
    --input-placeholder: #C2CCDA;
}


* {
    box-sizing: border-box
}

html {
    background: #00040D;
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
    background: transparent;
    color: var(--fg);
    min-height: 100vh;
}

/* ---------------------------------------------------------
   Landing layout chrome
   --------------------------------------------------------- */
.landing-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: none;
    border-bottom: none;
    background: transparent;
    pointer-events: none;
}

.landing-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    pointer-events: none;
}

.landing-nav .brand {
    font-weight: 800;
    text-decoration: none;
    color: var(--fg)
}

.landing-nav .links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap
}

    .landing-nav .links a {
        color: var(--fg);
        text-decoration: none;
        opacity: .9
    }

    .landing-nav .links .btn { opacity: 1; pointer-events: auto; }

        .landing-nav .links a:hover {
            opacity: 1
        }

        .landing-nav .links a.active {
            border-bottom: 2px solid var(--primary);
            padding-bottom: .2rem
        }

.btn.btn-sm {
    padding: .4rem .7rem;
    border-radius: .6rem;
    border: 1px solid rgba(255,255,255,.15)
}

.landing-main {
    flex: 1;
    padding: 0;
    background: #00040D;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 2rem 1.25rem 8rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0a1428 0%, #00040D 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: .30;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 900px 600px at 30% 60%, rgba(16, 45, 78, 0.4) 0%, transparent 65%),
        radial-gradient(ellipse 700px 500px at 70% 70%, rgba(12, 35, 65, 0.3) 0%, transparent 55%),
        radial-gradient(ellipse 800px 400px at 50% 90%, rgba(8, 28, 52, 0.5) 0%, transparent 50%);
    filter: blur(30px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) calc(100% - 80px), rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) calc(100% - 80px), rgba(0,0,0,0) 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 600px 300px at 50% 80%, rgba(5, 15, 28, 0.8) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 30% 75%, rgba(3, 12, 25, 0.9) 0%, transparent 60%);
    filter: blur(5px);
    animation: oceanCurrent 8s ease-in-out infinite alternate;
}

@keyframes oceanCurrent {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-15px, -8px) scale(1.05); }
}

.underwater-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 5;
}

.underwater-particles .bubble {
    position: absolute;
    background: radial-gradient(circle, rgba(110, 231, 255, 0.75) 0%, rgba(110, 231, 255, 0.40) 40%, rgba(110, 231, 255, 0.20) 70%, transparent 100%);
    border-radius: 50%;
    border: 1px solid rgba(110, 231, 255, 0.28);
    box-shadow: 0 0 8px rgba(110, 231, 255, 0.18);
    animation: bubbleFloat 6s ease-in-out infinite;
    z-index: 5;
}

.underwater-particles .bubble-1 {
    width: 8px;
    height: 8px;
    left: 20%;
    bottom: -10px;
    animation-delay: 0s;
    animation-duration: 8s;
}

.underwater-particles .bubble-2 {
    width: 12px;
    height: 12px;
    left: 60%;
    bottom: -15px;
    animation-delay: 2s;
    animation-duration: 10s;
}

.underwater-particles .bubble-3 {
    width: 6px;
    height: 6px;
    left: 80%;
    bottom: -5px;
    animation-delay: 4s;
    animation-duration: 7s;
}

.underwater-particles .bubble-4 {
    width: 10px;
    height: 10px;
    left: 10%;
    bottom: -12px;
    animation-delay: 1s;
    animation-duration: 9s;
}

.underwater-particles .bubble-5 {
    width: 14px;
    height: 14px;
    left: 40%;
    bottom: -18px;
    animation-delay: 3s;
    animation-duration: 11s;
}

.underwater-particles .bubble-6 {
    width: 7px;
    height: 7px;
    left: 90%;
    bottom: -8px;
    animation-delay: 5s;
    animation-duration: 6s;
}

/* Additional, subtle bubbles for a bit more presence */
.underwater-particles .bubble-7 {
    width: 10px;
    height: 10px;
    left: 25%;
    bottom: -12px;
    animation-delay: 1.5s;
    animation-duration: 9s;
}

.underwater-particles .bubble-8 {
    width: 6px;
    height: 6px;
    left: 55%;
    bottom: -6px;
    animation-delay: 2.5s;
    animation-duration: 7s;
}

.underwater-particles .bubble-9 {
    width: 12px;
    height: 12px;
    left: 72%;
    bottom: -14px;
    animation-delay: 3.5s;
    animation-duration: 10s;
}

.underwater-particles .bubble-10 {
    width: 8px;
    height: 8px;
    left: 15%;
    bottom: -10px;
    animation-delay: 4.5s;
    animation-duration: 8s;
}

.underwater-particles .bubble-11 {
    width: 18px;
    height: 18px;
    left: 48%;
    bottom: -20px;
    animation-delay: 0.8s;
    animation-duration: 12s;
}

.underwater-particles .bubble-12 {
    width: 6px;
    height: 6px;
    left: 85%;
    bottom: -6px;
    animation-delay: 5.2s;
    animation-duration: 6.5s;
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(0.8);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-120vh) translateX(60px) scale(1.2);
        opacity: 0;
    }
}




.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-conic-gradient(from -20deg at 50% -10%, rgba(255,255,255,0.08) 0deg, rgba(255,255,255,0.0) 8deg 16deg);
    opacity: .12;
    filter: blur(6px);
    transform: rotate(0.5deg);
    mask-image: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.0) 55%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.0) 55%);
    animation: none;
}

@keyframes sunRays {
    from { transform: translateY(0) rotate(0.5deg); opacity: .12; }
    to   { transform: translateY(-6px) rotate(-0.5deg); opacity: .16; }
}

to   { opacity: .18; }
}
.hero-inner {
    position: relative;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.hero-logo {
    animation: logoFadeIn 0.4s ease-out 0.1s both;
}

.emerging-logo {
    max-width: 520px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: emergeFromDepths 0.6s ease-out forwards;
    filter: drop-shadow(0 0 30px rgba(110, 231, 255, 0.5));
}

@keyframes emergeFromDepths {
    0% { 
        opacity: 0;
        transform: translateY(80px) scale(0.7);
        filter: drop-shadow(0 0 30px rgba(110, 231, 255, 0.5)) blur(12px) brightness(0.4);
    }
    25% {
        opacity: 0.3;
        transform: translateY(50px) scale(0.8);
        filter: drop-shadow(0 0 25px rgba(110, 231, 255, 0.6)) blur(8px) brightness(0.6);
    }
    50% {
        opacity: 0.6;
        transform: translateY(25px) scale(0.9);
        filter: drop-shadow(0 0 20px rgba(110, 231, 255, 0.7)) blur(4px) brightness(0.8);
    }
    75% {
        opacity: 0.9;
        transform: translateY(10px) scale(0.95);
        filter: drop-shadow(0 0 25px rgba(110, 231, 255, 0.6)) blur(1px) brightness(0.95);
    }
    100% { 
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 30px rgba(110, 231, 255, 0.5)) blur(0px) brightness(1);
    }
}

@keyframes logoFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes taglineGlow {
    0% { 
        opacity: 0; 
        transform: translateY(15px);
        text-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
        text-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
    }
}

@keyframes ctaFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(20px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

@keyframes badgesFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(15px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.headline {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.08;
    margin: 0 0 1rem
}

.subhead {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: #fff;
    margin: 0 auto 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-align: center;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
    animation: taglineGlow 1s ease-out 1.5s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: ctaFadeIn 1s ease-out 2s both;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(22, 28, 45, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    color: #e8ecf2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.22);
}

    .btn:hover {
        background: rgba(255,255,255,.06);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateY(-1px);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
        color: #e8ecf2;
    }

    .btn:hover i {
        transform: translateX(4px);
    }

    .btn:active {
        transform: translateY(0);
    }

    .btn i {
        transition: transform 0.2s ease;
        font-size: 0.9em;
    }

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: badgesFadeIn 1s ease-out 2.5s both;
    position: relative;
    z-index: 12;
}

.ocean-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px; /* standard width */
    height: 40px; /* standard height */
    padding: 0 16px; /* horizontal only; height controls vertical */
    background: rgba(5, 20, 40, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    color: rgba(0, 212, 255, 1);
    font-size: 0.85rem;
    font-weight: 500;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    box-shadow: 0 4px 20px rgba(5, 20, 40, 0.6);
    transition: all 0.3s ease;
    filter: hue-rotate(22deg) saturate(1.1); /* match Streaming Insights */
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

/* Unified to Streaming Insights color scheme */

.ocean-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 8px 30px rgba(5, 20, 40, 0.8);
}

.ocean-badge.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.6);
    color: rgba(0, 212, 255, 1);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.2);
}

.scroll-hint {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    color: var(--primary);
    opacity: .55;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 11;
}

.scroll-hint .bi {
    font-size: 1rem;
    filter: drop-shadow(0 0 4px rgba(0,212,255,.25));
    animation: scrollBounce 2.2s ease-in-out infinite;
}

/* Hidden state for scroll hint (no animation) */
.scroll-hint.hide { opacity: 0 !important; }

/* Prevent reveal system from forcing full opacity on the hint */
.reveal.scroll-hint { opacity: .55; }
.reveal.scroll-hint.show { opacity: .55; }

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-hint .bi { animation: none; }
}

.feature-cards-container {
    /* Default: compact until a feature is active */
    margin-top: 1rem;
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    min-height: 0;
}

/* Expand spacing only when a card is active */
.feature-cards-container.has-active,
.feature-cards-container:has(.feature-detail-card.active) {
    margin-top: 3rem;
    min-height: 200px;
}

.feature-detail-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.feature-detail-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.feature-detail-content {
    background: rgba(3, 12, 25, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(3, 12, 25, 0.8);
    backdrop-filter: blur(10px);
}

.feature-detail-icon {
    font-size: 2.5rem;
    color: rgba(0, 212, 255, 0.9);
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.feature-detail-content h3 {
    color: var(--fg);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-detail-content p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.btn-primary {
    background: rgba(22, 28, 45, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #e8ecf2;
}

    .btn-primary:hover {
        background: rgba(255,255,255,.06);
        border-color: rgba(59, 130, 246, 0.3);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
        color: #e8ecf2;
    }

.btn-ghost {
    background: rgba(22, 28, 45, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #e8ecf2;
}

    .btn-ghost:hover {
        background: rgba(255,255,255,.06);
        border-color: rgba(59, 130, 246, 0.3);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
        color: #e8ecf2;
    }

/* ---------------------------------------------------------
   Ocean Sections
   --------------------------------------------------------- */
.ocean-section {
    position: relative;
    padding: 4rem 1.25rem;
    background: #00040D; /* static deep dark blue below hero */
    overflow: hidden;
}

.ocean-section::before {
    content: none !important; /* disable shimmer overlay */
}

.ocean-section:first-of-type::before { animation: none; }

@keyframes oceanShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ocean-section:nth-child(even)::after {
    content: none !important; /* disable extra radial overlays */
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ocean-section-title {
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--fg);
    margin-bottom: 1.75rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(110, 231, 255, 0.2);
}

.section {
    padding: 3rem 1.25rem
}

/* Avoid stacked paddings when a component section is nested inside an ocean-section */
.ocean-section .section {
    padding: 0;
}

    .section.narrow {
        max-width: 980px;
        margin: 0 auto
    }

    .section.wide {
        max-width: 1200px;
        margin: 0 auto
    }

.lede {
    color: var(--muted);
    font-size: 1.1rem
}

/* ---------------------------------------------------------
   Feature cards
   --------------------------------------------------------- */
.feature-grid {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
    background: rgba(16, 45, 78, 0.4);
    border: 1px solid rgba(110, 231, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(110, 231, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(110, 231, 255, 0.3);
    box-shadow: 0 12px 35px rgba(16, 45, 78, 0.6);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 1.6rem;
    color: rgba(110, 231, 255, 0.8);
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: rgba(110, 231, 255, 1);
    text-shadow: 0 0 15px rgba(110, 231, 255, 0.4);
    transform: scale(1.1);
}

/* ---------------------------------------------------------
   Services
   --------------------------------------------------------- */
/* Disable hover effects for services list */
.services.no-hover .service,
.services.no-hover .service * {
    transition: none !important;
}
.services.no-hover .service:hover,
.services.no-hover .service:focus-within {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(0, 212, 255, 0.2) !important; /* keep default border */
    background: inherit !important;
    filter: none !important;
}
.services.no-hover .service:hover::before,
.services.no-hover .service:focus-within::before {
    opacity: 0 !important;
}
.services {
    display: grid;
    gap: 1rem;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    overflow-x: auto;
    padding-bottom: .5rem;
    scrollbar-width: thin;
}

.service {
    background: rgba(3, 12, 25, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 1.5rem;
    border-radius: 1rem;
    min-height: 150px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.service::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(110, 231, 255, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(3, 12, 25, 0.8);
}

.service:hover::before {
    opacity: 1;
}

.service > * {
    position: relative;
    z-index: 2;
}

/* Coming soon overlay for selected services */
.service.coming-soon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 18, 0.55);
    -webkit-backdrop-filter: blur(3px) saturate(0.2) brightness(0.85);
            backdrop-filter: blur(3px) saturate(0.2) brightness(0.85);
    z-index: 3;
    opacity: 1;
    transition: none;
}
.service.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    color: #e8ecf2; /* matches --text in app.css */
    background: rgba(3, 12, 25, 0.65);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    padding: .35rem .6rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

/* Neutralize hover effects on coming soon cards */
.service.coming-soon:hover,
.service.coming-soon:focus-within {
    transform: none;
    box-shadow: none;
    border-color: rgba(0, 212, 255, 0.2);
}
.service.coming-soon,
.service.coming-soon *,
.service.coming-soon::before,
.service.coming-soon::after {
    transition: none !important;
}
.service.coming-soon {
    cursor: default;
    pointer-events: none;
}
.service.coming-soon > * {
    filter: blur(1.2px) saturate(0.5) brightness(0.85);
}

/* ---------------------------------------------------------
   Stats
   --------------------------------------------------------- */
.stats {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
    max-width: 980px;
    margin: 0 auto;
}

.stat {
    background: rgba(3, 12, 25, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(110, 231, 255, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(3, 12, 25, 0.8);
}

.stat:hover::before {
    opacity: 1;
}

.stat-num {
    font-weight: 800;
    font-size: 2rem;
    color: rgba(0, 212, 255, 1);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    position: relative;
    z-index: 2;
}

.stat-label {
    color: var(--muted);
    margin-top: .35rem;
    position: relative;
    z-index: 2;
}

/* ---------------------------------------------------------
   Contact section + unified input styling
   --------------------------------------------------------- */
.contact .contact-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.1fr .9fr;
    max-width: 1100px;
    margin: 0 auto;
}

/* Stronger contrast specifically within the contact section */
.contact .input,
.contact .form-control,
.contact textarea.form-control,
.contact select.form-control,
.contact textarea.input,
.contact select.input,
.contact input.form-control {
    background: #091425 !important;
    color: var(--input-color) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: var(--input-radius) !important;
    padding: var(--input-pad) !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    background-clip: padding-box !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
}

.contact .input::placeholder,
.contact .form-control::placeholder {
    color: #E3ECF7;
    opacity: .95;
}

.contact .input:focus-visible,
.contact .form-control:focus-visible {
    border-color: rgba(255,255,255,.24) !important;
    box-shadow: 0 0 0 .14rem rgba(255,255,255,.06) !important;
}

@media (max-width: 900px) {
    .contact .contact-grid {
        grid-template-columns: 1fr
    }
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.hp {
    display: none
}
/* honeypot */
.success {
    color: #9effa1;
    margin-top: .75rem
}

.link {
    color: var(--primary)
}

/* Unified input styling (applies to our .input AND Bootstrap .form-control) */
.input,
.form-control,
textarea.form-control,
select.form-control,
textarea.input,
select.input,
input.form-control {
    background: var(--input-bg) !important;
    color: var(--input-color) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: var(--input-radius) !important;
    padding: var(--input-pad) !important;
    box-shadow: none !important;
    outline: none !important;
}

    .input::placeholder,
    .form-control::placeholder {
        color: var(--input-placeholder);
        opacity: .9;
    }

    /* Focus */
    .input:focus-visible,
    .form-control:focus-visible {
        border-color: var(--input-focus) !important;
        box-shadow: 0 0 0 .2rem rgba(110,231,255,.06) !important; /* subtle glow */
    }

    /* Disabled / read-only */
    .input:disabled,
    .form-control:disabled,
    .input[readonly],
    .form-control[readonly] {
        opacity: .75;
        cursor: not-allowed;
    }

    /* Validation states (Bootstrap classes) */
    .form-control.is-invalid,
    .input.is-invalid {
        border-color: #ff6b6b !important;
    }

    .form-control.is-valid,
    .input.is-valid {
        border-color: #51d88a !important;
    }

/* Input groups (Bootstrap) — keep rounded corners consistent */
.input-group > .form-control,
.input-group > .form-select {
    border-radius: var(--input-radius) !important;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer {
    background: rgba(8, 15, 25, 0.8);
    border-top: 1px solid rgba(110, 231, 255, 0.2);
    margin-top: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(110, 231, 255, 0.3) 50%, transparent 100%);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap
}

/* Increase separation between footer links */
.footer-inner .links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}
.footer-inner .links a {
    color: var(--fg);
    opacity: .9;
    text-decoration: none;
    position: relative;
}
.footer-inner .links a:hover { opacity: 1; }

/* Subtle dividers centered within the gap between links */
.footer-inner .links a + a::before {
    content: '';
    position: absolute;
    left: -0.625rem; /* half of the gap to center the divider */
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(110, 231, 255, 0.22);
}

.brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700
}

.logo-dot {
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--primary), var(--primary-2))
}

/* ---------------------------------------------------------
   Reveal animations (fail-open by default)
   --------------------------------------------------------- */
.reveal {
    opacity: 1;
    transform: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.js .reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none
    }

    .hero-bg {
        display: none
    }
}


/* Contact form grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

    /* Make certain items span both columns */
    .form-grid .span-2 {
        grid-column: 1 / -1;
    }

    /* Button row layout */
    .form-grid .actions {
        display: flex;
        align-items: center;
        gap: .75rem;
    }

/* Ensure inputs fill their grid cell and textareas look tidy */
.input, .form-control {
    width: 100%
}

textarea.input, textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

/* Keep the honeypot completely hidden without affecting grid flow */
.hp {
    display: none !important;
}





.contact-left {
    background: rgba(3,12,25,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1.25rem;
    backdrop-filter: blur(6px);
}




