/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #594ee4;
}*/

/* Hide built-in Blazor reconnect UI */
#components-reconnect-modal {
    display: none !important;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: rgba(88, 96, 149, 0.6); /* 60% opacity */
    margin: 0;
    padding: 0;
    min-height: 100%;
    max-width: 100%;
    overscroll-behavior-y: none;
}
/* Disable horizontal scroll only on mobile */
@media (max-width: 768px) {
    html, body {
  
        width: 100%;
        max-width: 100%;
    }

    /* Universal safeguard */
    * {
        box-sizing: border-box;
    }

    /* Clamp containers that often overflow */
    .container,
    .row,
    .section,
    .slide-up-section {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

img, canvas, iframe, video {
    max-width: 100%;
    height: auto;
}
body {
    overflow-x: hidden;
    box-sizing: border-box;
    overscroll-behavior-y: none;
}

a, .btn-link {
    color: #55b5f5ac;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


.text-primary{
    background: #a0cfff;
    border:medium;
    border-radius: 6px;
}

/*Coming Soon badge*/

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 165, 0, 0.9); /* fancy orange */
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

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

.btn-light-blue {
    background-color: #5bc0eb;
    color: #fff;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

    .btn-light-blue:hover {
        background-color: #4aa1d8;
        color: #fff;
        transform: translateY(-2px);
    }
/*Nav Items design*/
.navbar-logo {
    height: 120px; /* adjust size */
    width: auto;
    align-content: center;
}

.logo-circle {
    background-color: rgba(160, 207, 255, 0.5);
    border-radius: 50%;
    width: 90px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    cursor: pointer; /* shows interactivity */
}

.navbar-logo-test {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    transition: transform 0.6s ease; /* smooth base transition */
}

/* Trigger animation on hover */
.logo-circle:hover .navbar-logo-test {
    animation: flipflop 1s ease-in-out;
}

/* Keyframes for flip-flop effect */
@keyframes flipflop {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

/*button to get in touch*/
/* Black pill button style (desktop + mobile) */
.btn-black-pill {
    background-color: rgba(160, 207, 255, 0.2);
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: bold;
    text-align: center;
    border: none;
    transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3); /* subtle shadow */
}

    .btn-black-pill:hover {
        background-color: rgba(160, 207, 255, 0.9);
        color: #0d6efd; /* same as Bootstrap primary */
        transform: scale(1.05);
    }

/* Optional: slightly smaller on mobile */
@media (max-width: 991px) {
    .btn-black-pill {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Mobile circle */
.logo-circle-mobile {
    background-color: rgba(160, 207, 255, 0.5);
    border-radius: 50%;
    width: 70px; /* smaller than desktop */
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* simpler for mobile */
    margin: 0 auto; /* keeps it centered */
    z-index: 1;
    cursor: pointer;
}

.navbar-logo-test-mobile {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    transition: transform 0.6s ease;
}

/* Apply same flip-flop animation */
.logo-circle-mobile:hover .navbar-logo-test-mobile {
    animation: flipflop 1s ease-in-out;
}

/* Reuse same keyframes */
@keyframes flipflop {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

/* Make navbar links consistent and styled like your logo/button theme */
/* Force styling on Blazor NavLink inside navbar */
/* Target all NavLink anchors inside navbar */
.navbar-nav > .nav-item > a.nav-link {
    color: #fff8e7 !important;
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

    .navbar-nav > .nav-item > a.nav-link:hover,
    .navbar-nav > .nav-item > a.nav-link.active {
        color: #ffffff !important;
        text-decoration: underline !important;
        text-underline-offset: 4px !important;
    }


/* Icy Blue-Grey Navbar */
.navbar-icy-blue {
    background-color: rgba(200, 210, 220, 0.08); /* lighter / more transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(180, 190, 200, 0.15); /* lighter border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* softer shadow */
    transition: all 0.3s ease;
}

    /* Navbar links hover effect */
    .navbar-icy-blue .nav-link {
        color: #d0e7f9;
        transition: all 0.3s ease;
    }

        .navbar-icy-blue .nav-link:hover,
        .navbar-icy-blue .nav-link.active {
            color: #a0cfff;
            text-shadow: 0 0 6px rgba(160, 207, 255, 0.6);
        }

/* NodeBloom title icy gradient */
.icy-title {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: linear-gradient(90deg, #a0cfff, #d0d3d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: whitesmoke;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-size: 1.7rem;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Dropdown menu hover */
.navbar-icy-blue .dropdown-menu .dropdown-item:hover {
    background-color: rgba(160, 207, 255, 0.1);
    color: #a0cfff;
}

/* Call-to-action button hover */
.navbar-icy-blue .btn-outline-light:hover {
    background-color: rgba(160, 207, 255, 0.2);
    border-color: #a0cfff;
    color: #fff;
    box-shadow: 0 0 6px rgba(160, 207, 255, 0.4);
}

/* Services Section with Fancy Animated Background + Glow */
.services-section {
    position: relative;
    overflow: hidden;
    z-index: 0;
    color: white;
    padding: 5rem 0;
    background: transparent;
}

/* Flowing gradient waves */
.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        270deg,
        rgba(13, 110, 253, 0.5),
        rgba(160, 207, 255, 0.3),
        rgba(13, 110, 253, 0.5)
    );
    background-size: 600% 600%;
    animation: waveGradient 10s ease infinite;
    z-index: -2; /* keep behind glow + content */
}

/* Subtle glowing particles */
.services-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(160, 207, 255, 0.25) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: driftParticles 15s linear infinite;
    pointer-events: none;
    z-index: -3; /* furthest back */
}

/* Rotating glow effect (new layer) */
.services-section .rotating-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
        rgba(160, 207, 255, 0.2) 0%,
        rgba(13, 110, 253, 0.1) 40%,
        transparent 70%);
    animation: rotateGlow 20s linear infinite;
    z-index: -1; /* sits between waves and content */
    pointer-events: none;
}

/* Service Cards */
.services-section .service-card {
    position: relative;
    z-index: 1;
    background: rgba(17, 24, 39, 0.85);
    color: white;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
    border: 1px solid transparent;
    backdrop-filter: blur(6px); /* borrowed from stats style */
}

/* Hover effect */
.services-section .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(160, 207, 255, 0.8);
    outline: 2px solid rgba(160, 207, 255, 0.6);
    outline-offset: -6px;
}

/* Animations */
@keyframes waveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes driftParticles {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hero Section with Animated Background */
.hero-section {
    position: relative;
    padding-top: 2rem;
    min-height: 80vh;
    margin-top: -40px;
    background: linear-gradient(135deg, #1f2937, #0d6efd);
    color: white;
    overflow: hidden;
    z-index: 1;
}

    /* Glowing rotating gradient */
    .hero-section::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, rgba(160, 207, 255, 0.35) 0%, rgba(13, 110, 253, 0.15) 40%, transparent 70%);
        animation: rotateGlow 30s linear infinite;
        z-index: -1;
    }

    /* Floating particles (like icy snow/stars) */
    .hero-section::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(160, 207, 255, 0.5) 1px, transparent 1px);
        background-size: 60px 60px;
        animation: floatParticles 12s linear infinite;
        z-index: -1;
    }

/* Animations */
@keyframes rotateGlow {
    from {
        transform: rotate(0deg) scale(1);
    }

    to {
        transform: rotate(360deg) scale(1.2);
    }
}

@keyframes floatParticles {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 60px 60px;
    }
}


.card-canvas {
    width: 100%;
    height: 200px; /* adjust as needed */
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1); /* transparent white */
    backdrop-filter: blur(10px); /* frosted glass blur */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3); /* subtle glass border */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* soft shadow for depth */
}

/* Add spacing between navbar items in desktop mode */
/* Spacing between navbar items on desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-item {
        margin-left: 3rem; /* spacing between links */
    }

        .navbar-nav .nav-item:first-child {
            margin-left: 0; /* remove margin for first item */
        }

    /* Push Get Started button further right */
    .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: flex-end; /* right align items in desktop */
    }

    .btn-black-pill {
        margin-left: 2rem; /* extra space from links */
    }
}

/* Social Media Sidebar - Horizontal */
.social-sidebar {
    position: fixed;
    top: 50%; /* vertically centered */
    left: 10px; /* close to left edge */
    transform: translateY(-50%);
    display: flex;
    flex-direction: row; /* icons side by side */
    gap: 12px; /* spacing between icons */
    z-index: 1000;
}

    .social-sidebar .social-icon {
        font-size: 1.5rem;
        color: #d0e7f9;
        background: rgba(200, 210, 220, 0.15);
        border: 1px solid rgba(180, 190, 200, 0.3);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        text-decoration: none;
    }

        .social-sidebar .social-icon:hover {
            color: #a0cfff;
            background: rgba(160, 207, 255, 0.2);
            box-shadow: 0 0 8px rgba(160, 207, 255, 0.4);
            transform: scale(1.1);
        }
        /*News letter section*/

/* Background: icy effect */
.newsletter-section {
    background: url("https://www.transparenttextures.com/patterns/ice-age.png"), linear-gradient(135deg, rgba(173, 216, 230, 0.4), rgba(224, 255, 255, 0.3));
    background-size: cover;
    background-blend-mode: overlay;
    color: #eaf6fb;
    position: relative;
}

/* Frosted glass container */
.frosted-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Fancy input */
.glass-input {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 12px;
}

    .glass-input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

/* Button with icy gradient */
.btn-subscribe {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    border: none;
    color: white;
    border-radius: 12px;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 136, 209, 0.4);
    transition: all 0.3s ease;
}

    .btn-subscribe:hover {
        background: linear-gradient(135deg, #81d4fa, #03a9f4);
        box-shadow: 0 6px 20px rgba(3, 169, 244, 0.5);
    }
    /*why choose us*/

.why-choose-us-section{
    background: linear-gradient(135deg, #1f2937, #0d6efd);
    color: white;

}

.choose-card{
    background: rgba(200, 210, 220, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(180, 190, 200, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .choose-card:hover{
        transform: translateY(-6px);
        box-shadow: 0 0 12px rgba(160, 207, 255, 0.4);
    }


/* Keep the "Why choose us" decorative glow contained so the section cannot create its own scroll area on mobile. */
.why-choose-us-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.why-choose-us-section > .container {
    position: relative;
    z-index: 1;
}

.why-choose-us-section .row {
    align-items: stretch;
}

.why-choose-us-section .col-md-3 {
    display: flex;
}

.why-choose-us-section .choose-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
}

@media (max-width: 767.98px) {
    .why-choose-us-section {
        overscroll-behavior: contain;
    }

    .why-choose-us-section .container {
        padding-inline: 1.25rem;
    }

    .why-choose-us-section .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 1rem;
        margin-inline: 0;
    }

    .why-choose-us-section .col-md-3 {
        padding-inline: 0;
    }

    .why-choose-us-section .choose-card {
        min-height: auto;
        padding: 1.35rem;
        border-radius: 22px;
    }

    .why-choose-us-section .choose-card:hover {
        transform: none;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #1f2937, #0d6efd);
    color: white;
}

.stat-card {
    background: rgba(200, 210, 220, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(180, 190, 200, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .stat-card h2 {
        color: #a0cfff;
        text-shadow: 0 0 8px rgba(160, 207, 255, 0.7);
    }

    .stat-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 12px rgba(160, 207, 255, 0.4);
    }

/* Testimonials Section */
.testimonials-section {
    background: rgba(200, 210, 220, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial-card {
    background: rgba(200, 210, 220, 0.15);
    border: 1px solid rgba(180, 190, 200, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    color: #f0f6ff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 100%;
}

    .testimonial-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 10px rgba(160, 207, 255, 0.5);
    }

    .testimonial-card h6 {
        color: #a0cfff;
        margin-top: 1rem;
    }
/* Tech Stack Section (reuses testimonial glass style) */
.techstack-section {
    background: rgba(200, 210, 220, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tech-card {
    background: rgba(200, 210, 220, 0.12);
    border: 1px solid rgba(180, 190, 200, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    color: #f0f6ff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 100%;
}

    .tech-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 12px rgba(160, 207, 255, 0.5);
    }

    .tech-card h6 {
        color: #a0cfff;
        margin-top: 0.5rem;
    }

.tech-icon {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 0 6px rgba(160, 207, 255, 0.6));
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1) rotate(-3deg);
}

.about-section {
    z-index: 3;
    position: relative;
    overflow: hidden;
}

.cta-section {
    z-index: 3;
    position: relative;
    overflow: hidden;
}
/* Shared Background Glow Effect */
.stats-section,
.testimonials-section,
.why-choose-us-section,
.service-card,
.techstack-section,
.tech-section {
    position: relative;
    overflow: hidden;
    z-index: 1; /* make sure content is above */
}
    .why-choose-us-section::before,
    .stats-section::before,
    .techstack-section::before,
    .service-card::before,
    .testimonials-section::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, rgba(160, 207, 255, 0.2) 0%, rgba(13, 110, 253, 0.1) 40%, transparent 70%);
        animation: rotateGlow 20s linear infinite;
        z-index: -1; /* sits behind */
    }

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*Behind all background*/

.global-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* instead of 100vw */
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

/*Floating the sections*/
/* Start hidden, slightly below original position */
/* Base style for slide-up sections */
.slide-up-section {
    opacity: 0;
    transform: translateY(0); /* no visual shift for layout */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    min-height: 50px; /* reserve some space to avoid scroll gaps */
}

    /* When visible */
    .slide-up-section.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Animate children inside services section */
.services-section .col {
    opacity: 0;
    transform: translateY(20px); /* small visual shift */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: calc(var(--i) * 0.1s); /* stagger effect */
}

.services-section.visible .col {
    opacity: 1;
    transform: translateY(0);
}


/*New's letter teck show up*/

.newsletter-form {
    position: relative;
    width: 400px;
    max-width: 90vw;
    margin: 0 auto;
}

.newsletter-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 100;
    border-radius: 12px;
    pointer-events: none; /* allows interacting with input above */
}

.newsletter-form input,
.newsletter-form button {
    position: relative;
    z-index: 120;
}
/* Chat Popup Wrapper */
.chat-popup-wrapper {
    position: fixed;
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 1050;
    font-family: 'Poppins', sans-serif;
    --chat-primary: #38bdf8;
    --chat-secondary: #7c3aed;
    --chat-ink: #f8fafc;
    --chat-muted: #9fb0c9;
    --chat-panel: rgba(8, 18, 39, 0.92);
}

/* Chat toggle button */
.chat-toggle-btn {
    position: relative;
    width: 66px;
    height: 66px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 48%, #7c3aed 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 45px rgba(14, 165, 233, 0.35), 0 10px 25px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    isolation: isolate;
    overflow: visible;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-radius 0.25s ease;
}

.chat-toggle-btn::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 20px;
    background: radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.42), transparent 28%);
    opacity: 0.85;
    z-index: -1;
}

.chat-toggle-btn:hover,
.chat-toggle-btn:focus-visible {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 24px 56px rgba(14, 165, 233, 0.42), 0 16px 34px rgba(0, 0, 0, 0.34);
}

.chat-toggle-btn:focus-visible {
    outline: 3px solid rgba(125, 211, 252, 0.5);
    outline-offset: 4px;
}

.chat-open .chat-toggle-btn {
    border-radius: 22px;
    transform: rotate(90deg) scale(0.95);
}

.chat-toggle-icon {
    font-size: 1.65rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.chat-toggle-btn:hover .chat-toggle-icon {
    transform: rotate(-8deg) scale(1.06);
}

.chat-toggle-ring {
    position: absolute;
    inset: -9px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 28px;
    animation: chatPulse 2.4s ease-out infinite;
    pointer-events: none;
    z-index: -2;
}

.chat-toggle-ring.delayed {
    animation-delay: 1.2s;
}

.notification-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 16px;
    height: 16px;
    border: 3px solid #071326;
    border-radius: 50%;
    background: #fb7185;
    box-shadow: 0 0 0 5px rgba(251, 113, 133, 0.18);
    animation: badgeBounce 1.6s ease-in-out infinite;
}

/* Chat Menu */
.chat-menu {
    position: absolute;
    right: 0;
    bottom: 82px;
    width: min(420px, calc(100vw - 2rem));
    height: min(680px, calc(100vh - 7.5rem));
    height: min(680px, calc(100dvh - 7.5rem));
    min-height: min(440px, calc(100vh - 7.5rem));
    min-height: min(440px, calc(100dvh - 7.5rem));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(8, 18, 39, 0.96), rgba(15, 23, 42, 0.94));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46), 0 0 60px rgba(56, 189, 248, 0.16);
    color: var(--chat-ink);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    transform-origin: bottom right;
    animation: chatPanelIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.chat-menu-glow {
    position: absolute;
    inset: -30% -20% auto auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.32), transparent 66%);
    pointer-events: none;
}

/* Chat Header */
.chat-header {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem 0.95rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(124, 58, 237, 0.24));
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.chat-agent {
    display: flex;
    align-items: center;
    gap: 0.78rem;
    min-width: 0;
}

.chat-agent-avatar,
.chat-avatar {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.chat-agent-avatar {
    width: 46px;
    height: 46px;
    box-shadow: 0 0 26px rgba(56, 189, 248, 0.26);
}

.chat-agent-avatar img,
.chat-avatar {
    width: 34px;
    height: 34px;
    object-fit: cover;
}

.chat-kicker {
    margin: 0 0 0.1rem;
    color: #bae6fd;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chat-header h6 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.chat-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    font-size: 0.72rem;
    white-space: nowrap;
}

.chat-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
}

.chat-header .close-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.chat-header .close-btn:hover,
.chat-header .close-btn:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(90deg);
}

/* Chat Body */
.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.1rem;
    overflow-y: auto;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.11), transparent 32%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.82));
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.6) transparent;
}

.chat-body::-webkit-scrollbar {
    width: 8px;
}

.chat-body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.55);
}

.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    width: 100%;
    padding: 0;
    animation: messageIn 0.28s ease both;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-message.user .chat-avatar {
    display: none;
}

.chat-text {
    max-width: min(78%, 320px);
    padding: 0.75rem 0.9rem;
    border-radius: 20px 20px 20px 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #e5eefc;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.45;
    font-size: 0.92rem;
}

.chat-message.bot .chat-text {
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.chat-message.user .chat-text {
    border-radius: 20px 20px 6px 20px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb 58%, #7c3aed);
    color: white;
}

/* Chat Footer */
.chat-footer {
    display: flex;
    gap: 0.7rem;
    padding: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(2, 6, 23, 0.84);
}

.chat-input-shell {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 0 0.85rem;
    background: rgba(15, 23, 42, 0.9);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-input-shell:focus-within {
    border-color: rgba(56, 189, 248, 0.72);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.chat-input-shell i {
    color: #7dd3fc;
}

.chat-footer input {
    flex: 1;
    min-width: 0;
    height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
    font-size: 0.92rem;
}

.chat-footer input::placeholder {
    color: rgba(203, 213, 225, 0.7);
}

.chat-footer input:disabled {
    opacity: 0.72;
}

.chat-footer button {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #38bdf8, #2563eb 55%, #7c3aed);
    color: white;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.chat-footer button:hover:not(:disabled),
.chat-footer button:focus-visible:not(:disabled) {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.08);
}

.chat-footer button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    box-shadow: none;
}

@media (max-width: 576px) {
    .chat-popup-wrapper {
        right: 0.85rem;
        bottom: calc(0.85rem + env(safe-area-inset-bottom));
    }

    .chat-toggle-btn {
        width: 58px;
        height: 58px;
        border-radius: 21px;
    }

    .chat-menu {
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(4.85rem + env(safe-area-inset-bottom));
        width: auto;
        height: min(72vh, 620px);
        height: min(72dvh, 620px);
        min-height: 0;
        max-height: calc(100vh - 6rem);
        max-height: calc(100dvh - 6rem);
        border-radius: 26px;
        transform-origin: bottom right;
    }

    .chat-header {
        grid-template-columns: 1fr auto;
        padding: 0.9rem;
    }

    .chat-status {
        display: none;
    }

    .chat-body {
        padding: 0.85rem;
    }

    .chat-text {
        max-width: 84%;
        font-size: 0.88rem;
    }

    .chat-footer {
        padding: 0.75rem;
        gap: 0.55rem;
    }

    .chat-footer button {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .chat-footer input {
        height: 44px;
    }
}

@media (max-width: 380px) {
    .chat-menu {
        left: 0.5rem;
        right: 0.5rem;
        bottom: calc(4.55rem + env(safe-area-inset-bottom));
    }

    .chat-agent-avatar {
        width: 40px;
        height: 40px;
    }

    .chat-header h6 {
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-menu,
    .chat-message,
    .chat-toggle-ring,
    .notification-badge {
        animation: none !important;
    }

    .chat-toggle-btn,
    .chat-header .close-btn,
    .chat-footer button,
    .chat-input-shell {
        transition: none !important;
    }
}

@keyframes chatPanelIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.92);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes chatPulse {
    0% {
        opacity: 0.7;
        transform: scale(0.88);
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes badgeBounce {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-3px) scale(1.1);
    }
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



/*Service section*/
.service-card-solg {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 200px; /* fixed height */
    object-fit: cover; /* keeps aspect ratio, crops overflow */
    width: 100%; /* fills card width */
    border-radius: 8px; /* optional: rounded corners */
}

    .service-card-solg:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

.section-title {
    font-size: 2.2rem; /* slightly smaller than before */
    font-weight: 600; /* strong but not too bold */
    color: #e0e0e0; /* light grey for professional look */
    text-transform: none; /* keep normal capitalization */
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif; /* clean professional font */
}

    .section-title span {
        color: #fff; /* white or subtle accent color */
        font-weight: 700;
    }

    /* underline */
    .section-title::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 60px;
        height: 3px;
        background-color: #00bcd4; /* subtle accent color */
        border-radius: 2px;
        transform: translateX(-50%);
        box-shadow: 0 2px 6px rgba(0, 188, 212, 0.4);
    }

.service-img {
    width: 100%; /* Full width of the card */
    height: 200px; /* Keep consistent height for all cards */
    object-fit: contain; /* Keep entire image visible */
    background-color: #f8f9fa; /* Optional: fill the empty space with card background */
    display: block;
}

/*Footer design*/
.footer {
    background-color: #212529;
    color: #f8f9fa;
    position: relative;
    z-index: 5;
    margin: 0;
    padding: 0;
    overscroll-behavior-y: none;
    box-shadow: 0 100vmax 0 100vmax #212529;
    clip-path: inset(0 -100vmax -100vmax -100vmax);
}

    .footer a {
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: #0d6efd; /* Bootstrap primary blue */
        }

    .footer .social-icon {
        font-size: 1.2rem;
        transition: transform 0.3s, color 0.3s;
    }

        .footer .social-icon:hover {
            transform: scale(1.2);
            color: #0d6efd;
        }
/*About Us section design*/

/* Section with animated gradient */
.about-us-section {
    position: relative;
    min-height: 80vh; /* instead of 100vh */
    padding-top: 4rem; /* tweak until it feels right */
    display: flex;
    align-items: flex-start; /* content near top */
    align-items: center;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #222831, #0d1b2a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    margin-top: -40px; /* pulls section closer to navbar */
}

/* Animated gradient movement */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating particles */
.about-us-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 2px, transparent 2px), radial-gradient(circle, rgba(0,200,255,0.1) 2px, transparent 2px);
    background-size: 80px 80px;
    animation: floatParticles 25s linear infinite;
    z-index: 0;
}

/* Particle float animation */
@keyframes floatParticles {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

/* Content should appear above animation */
.about-us-section .container {
    position: relative;
    z-index: 2;
}

/* Mobile tweaks */
/* Mobile tweaks */
@media (max-width: 576px) {
    .about-us-section {
        min-height: 80vh; /* taller section for mobile */
        padding: 2rem 0; /* vertical padding */
    }

        .about-us-section .container {
            width: 100% !important; /* full width */
            max-width: 100% !important; /* remove desktop constraints */
            padding: 0 1rem; /* small padding for content */
            margin: 0 auto; /* center content */
        }

        .about-us-section h1 {
            font-size: 1.6rem; /* smaller heading for mobile */
        }

        .about-us-section h2 {
            font-size: 1.3rem;
        }

        .about-us-section p {
            font-size: 1rem;
        }
}

/* Frosted Glass Card */
.about-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

    /* Title Gradient */
    .about-card h2 {
        font-weight: 600;
        font-size: 2.2rem;
        background: linear-gradient(90deg, #4fc3f7, #81d4fa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Paragraph Styling */
    .about-card p {
        color: #d9d9d9;
        line-height: 1.7;
    }

/* Image Hover */
.image-card img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .image-card img:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(0, 200, 255, 0.3);
    }


/* Section with animated gradient */
.contact-section {
    position: relative;
    padding-top: 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #222831, #0d1b2a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    margin-top: -40px;
}

/* Animated gradient movement */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating particles */
.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 2px, transparent 2px), radial-gradient(circle, rgba(0,200,255,0.1) 2px, transparent 2px);
    background-size: 80px 80px;
    animation: floatParticles 25s linear infinite;
    z-index: 0;
}

@keyframes floatParticles {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

/* Content above animation */
.contact-section .container {
    position: relative;
    z-index: 2;
}

/* Contact Card */
.contact-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    /* remove max-width or make it larger */
    width: 100%;
    max-width: 100%; /* more natural width */
    margin: 0 auto; /* keeps it centered */
}


@media (max-width: 992px) {
    .contact-card {
        max-width: 100%;
    }
}

    /* Title */
    .contact-card h2 {
        font-weight: 600;
        font-size: 2.2rem;
        background: linear-gradient(90deg, #4fc3f7, #81d4fa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

/* Glass Inputs */
.glass-input {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 12px;
    padding: 0.8rem;
}

    .glass-input:focus {
        outline: none;
        border-color: #4fc3f7;
        box-shadow: 0 0 10px rgba(79, 195, 247, 0.6);
    }

    .glass-input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

/* Button */
.btn-contact {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    border: none;
    color: white;
    border-radius: 12px;
    padding: 0.8rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 136, 209, 0.4);
    transition: all 0.3s ease;
}

    .btn-contact:hover {
        background: linear-gradient(135deg, #81d4fa, #03a9f4);
        box-shadow: 0 6px 20px rgba(3, 169, 244, 0.5);
    }

/* Mobile tweaks for Contact Section */
/* Mobile tweaks for Contact Section */
@media (max-width: 576px) {
    .contact-section {
        min-height: 80vh; /* adjust height for mobile */
        padding: 20rem 0; /* no horizontal padding */
        width: 100%; /* full viewport width */
        overflow-x: hidden; /* prevent horizontal scroll */
        margin-left:3px;
    }

        .contact-section .container {
            width: 100%; /* full width */
            max-width: 100%; /* no max-width constraint */
            padding: 0; /* remove container padding */
            margin: 0 auto; /* center content */
        }

    .contact-card {
        width: 100%; /* full width */
        max-width: 100%; /* ensure no restriction */
        padding: 1rem; /* internal spacing */
        border-radius: 12px; /* slightly smaller corners */
    }

        .contact-card h2 {
            font-size: 1.6rem; /* smaller heading */
        }

        .contact-card p,
        .contact-card label,
        .contact-card input,
        .contact-card textarea,
        .contact-card button {
            font-size: 0.79rem; /* smaller text for mobile */
        }
}





.blog-section {
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    z-index: 3;
    position: relative;
}

.blog-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 30px rgba(0,200,255,0.3);
    }
    /*Services szolg section page*/

/* Fade-in animation */
/* Fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Service description popup */
.service-selected-description {
    background: rgba(200, 200, 200, 0.1); /* Slightly grey transparent */
    border: 1px solid rgba(255, 255, 255, 0.2); /* subtle light border */
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 1rem;
}

/* Book Consultation Button Styling */
.btn-consult {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(3,169,244,0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

    .btn-consult:hover {
        background: linear-gradient(135deg, #81d4fa, #03a9f4);
        box-shadow: 0 8px 25px rgba(3,169,244,0.6);
        transform: translateY(-2px);
    }

/* Price tag styling */
.price-tag {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    color: white;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 6px 0 6px 6px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(3, 169, 244, 0.5);
}

    /* Small triangular notch to mimic a price tag */
    .price-tag::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -10px; /* outside the tag */
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 10px solid #0288d1; /* matches tag gradient end color */
    }

/* Hover effect */
.service-card-solg:hover .price-tag {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(3, 169, 244, 0.7);
}

/*Consultation*/

/* Section with animated gradient */
.contact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #222831, #0d1b2a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    padding: 4rem 0;
}

/* Animated gradient movement */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating particles */
.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 2px, transparent 2px), radial-gradient(circle, rgba(0,200,255,0.1) 2px, transparent 2px);
    background-size: 80px 80px;
    animation: floatParticles 25s linear infinite;
    z-index: 0;
}

@keyframes floatParticles {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

/* Content above animation */
.contact-section .container {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

/* Consultation form styling */
.consultation-form .form-label {
    font-weight: 600;
}

.consultation-form .form-control,
.consultation-form .form-select,
.consultation-form textarea {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

    .consultation-form .form-control::placeholder,
    .consultation-form textarea::placeholder {
        color: #ccc;
    }

/* Submit button */
.btn-consult {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(3,169,244,0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

    .btn-consult:hover {
        background: linear-gradient(135deg, #81d4fa, #03a9f4);
        box-shadow: 0 8px 25px rgba(3,169,244,0.6);
        transform: translateY(-2px);
    }

/* Service dropdown with black text */
#serviceSelect {
    color: #000 !important; /* text inside the select */
    background-color: rgba(255,255,255,0.9); /* optional: light background */
    border-radius: 8px;
    border: 1px solid #ccc;
}

    /* Options text */
    #serviceSelect option {
        color: #000; /* ensure options are black */
    }
.status-message {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-left: 5px solid #28a745; /* green pipe */
    background-color: rgba(40, 167, 69, 0.3); /* light green background */
    color: #0af53a; /* dark green text */
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


.contact-form-container {
    max-width: 600px; /* wider than default (Bootstrap often uses 400-500px) */
    width: 100%; /* allow it to stretch */
    margin: 0 auto; /* keep it centered */
}

/*Loading*/

.loading-circle {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #4fc3f7;
    border-radius: 50%;
    width: 1.2rem;
    height: 1.2rem;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


/* Language selector container shared defaults.
   Layout-specific positioning is handled by the navbar component so the flags
   stay inside the mobile menu instead of floating over the logo. */
.culture-selector-container {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 991px) {
    .culture-selector-container {
        width: 100%;
        justify-content: center;
    }
}


.flag-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.language-flag {
    transition: transform 0.6s; /* smooth flip */
    transform-style: preserve-3d;
    cursor: pointer;
}

    /* Flip on hover */
    .language-flag:hover {
        transform: rotateY(180deg);
    }

    /* Flip when selected */
    .language-flag.selected {
        transform: rotateY(180deg);
    }


/* Hover effect */
.flag-container:hover .language-flag {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Selected flag border */
.language-flag.selected {
    border: 2px solid #007bff;
}

/* Tooltip */
.tooltip-text {
    visibility: hidden;
    width: max-content;
    background-color: rgba(0,0,0,0.75);
    color: #fff;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
    position: absolute;
    bottom: 125%; /* above the flag */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 10;
}

.flag-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


/*Fix in bugs on the main form*/

/*.hero-section, .services-section, .about-us-section, .contact-section {
    max-width: 100vw;
    box-sizing: border-box;
}

.some-card, .frosted-card {
    max-width: 100%;*/ /* Prevent overflow from wide cards */
/*}

.glow-element {
    transform: translateX(-50%) translateY(-50%);
    max-width: 100vw;*/ /* Ensure it doesn't exceed viewport */
/*}*/

/** {
    outline: 1px solid red;*/ /* Shows boundaries of all elements */
/*}*/

/* Optional: make sure all containers respect viewport */
/* Professional redesign refresh */
:root {
    --nb-bg: #07111f;
    --nb-surface: rgba(8, 22, 41, 0.78);
    --nb-surface-strong: rgba(12, 28, 52, 0.92);
    --nb-border: rgba(148, 197, 255, 0.22);
    --nb-text: #eef7ff;
    --nb-muted: #b8c7da;
    --nb-accent: #66d9ff;
    --nb-accent-2: #7c5cff;
    --nb-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

html, body {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--nb-bg);
    color: var(--nb-text);
}

main.container {
    max-width: 100%;
    padding: 0;
    margin-top: 0 !important;
}

main.container > .content {
    padding: 0 !important;
}

.professional-page,
.hero-section,
.services-section,
.stats-section,
.testimonials-section,
.techstack-section,
.about-section,
.why-choose-us-section,
.newsletter-section,
.cta-section {
    isolation: isolate;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--nb-accent);
    border: 1px solid var(--nb-border);
    background: rgba(102, 217, 255, .08);
    border-radius: 999px;
    padding: .45rem .85rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page-title,
.hero-title {
    color: #fff;
    letter-spacing: -.05em;
    line-height: .98;
    margin-bottom: 1.25rem;
}

.page-title {
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    font-weight: 800;
}

.page-subtitle,
.hero-lead {
    color: var(--nb-muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.8;
    max-width: 760px;
}

.btn-gradient,
.btn-contact,
.btn-consult,
.btn-subscribe {
    background: linear-gradient(135deg, var(--nb-accent), var(--nb-accent-2)) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 800;
    border-radius: 999px !important;
    box-shadow: 0 16px 36px rgba(102, 217, 255, .22);
}

.btn-gradient:hover,
.btn-contact:hover,
.btn-consult:hover,
.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(124, 92, 255, .32);
}

.btn-soft {
    border-radius: 999px !important;
    border-color: rgba(255,255,255,.24) !important;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(12px);
}

.text-primary {
    background: transparent;
    border: 0;
    color: var(--nb-accent) !important;
}

.hero-section {
    min-height: 86vh;
    margin-top: -40px;
    padding: 7rem 0 5rem;
    background:
        radial-gradient(circle at 15% 20%, rgba(102, 217, 255, .26), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(124, 92, 255, .28), transparent 30%),
        linear-gradient(135deg, #07111f 0%, #0c1c34 55%, #07111f 100%);
}

.hero-section::before {
    background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: none;
    inset: 0;
    width: auto;
    height: auto;
    top: 0;
    left: 0;
    transform: none;
    opacity: .5;
}

.hero-section::after {
    background: radial-gradient(circle at center, rgba(102,217,255,.18), transparent 58%);
    animation: none;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.hero-title span {
    display: block;
    background: linear-gradient(90deg, #66d9ff, #ffffff, #9b8cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    max-width: 620px;
}

.hero-proof-grid div,
.mini-feature-grid div,
.info-tile,
.selected-service-note {
    border: 1px solid var(--nb-border);
    background: rgba(255,255,255,.06);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

.hero-proof-grid div {
    padding: 1rem;
}

.hero-proof-grid strong {
    display: block;
    color: #fff;
    font-size: 1.5rem;
}

.hero-proof-grid span {
    color: var(--nb-muted);
    font-size: .82rem;
}

.hero-visual-card,
.professional-form-card,
.contact-card,
.about-card,
.auth-card,
.service-selected-description,
.service-card-solg,
.services-section .service-card,
.testimonial-card,
.tech-card,
.stat-card,
.choose-card,
.frosted-card {
    border: 1px solid var(--nb-border) !important;
    background: var(--nb-surface) !important;
    box-shadow: var(--nb-shadow) !important;
    backdrop-filter: blur(18px);
}

.hero-visual-card {
    border-radius: 30px;
    overflow: hidden;
    transform: rotate(1deg);
}

.hero-visual-header {
    display: flex;
    gap: .5rem;
    padding: 1rem;
    border-bottom: 1px solid var(--nb-border);
    background: rgba(255,255,255,.06);
}

.hero-visual-header span {
    width: .75rem;
    height: .75rem;
    border-radius: 50%;
    background: var(--nb-accent);
}

.hero-visual-header span:nth-child(2) { background: #ffd166; }
.hero-visual-header span:nth-child(3) { background: #7c5cff; }

.hero-visual-body {
    padding: 2rem;
    display: grid;
    gap: 1rem;
}

.metric-pill {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255,255,255,.07);
    color: #eaf7ff;
}

.metric-pill i,
.info-tile i,
.mini-feature-grid i {
    color: var(--nb-accent);
    font-size: 1.25rem;
}

.code-panel {
    border-radius: 20px;
    background: #050b13;
    border: 1px solid rgba(255,255,255,.08);
    padding: 1.4rem;
}

.code-panel span {
    display: block;
    color: var(--nb-accent);
    font-size: .85rem;
    margin-bottom: .5rem;
}

.code-panel strong {
    color: #fff;
    font-size: 1.35rem;
}

.services-section,
.stats-section,
.why-choose-us-section,
.testimonials-section,
.techstack-section,
.about-section,
.newsletter-section,
.cta-section,
.services-catalog-section,
.page-shell,
.auth-page,
.process-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(102,217,255,.16), transparent 26%),
        radial-gradient(circle at 90% 0%, rgba(124,92,255,.15), transparent 30%),
        linear-gradient(135deg, #07111f, #0b1b32) !important;
    color: var(--nb-text) !important;
}

.services-section::before,
.services-section::after,
.about-us-section::before,
.contact-section::before,
.contact-section::after {
    opacity: .2;
}

.service-img,
.services-section .service-card img,
.service-card-solg img,
.professional-image-card img {
    border-radius: 22px;
    object-fit: cover;
}

.services-section .service-card,
.service-card-solg {
    border-radius: 26px !important;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.services-section .service-card:hover,
.service-card-solg:hover,
.testimonial-card:hover,
.tech-card:hover,
.stat-card:hover,
.choose-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102,217,255,.55) !important;
}

.page-shell,
.auth-page,
.services-catalog-section,
.process-section {
    min-height: 100vh;
    padding: 7rem 0 5rem;
    margin-top: -40px;
    position: relative;
    overflow: hidden;
}

.contact-section .container,
.consultation-section .container {
    max-width: 1140px;
}

.contact-info-stack {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.info-tile {
    color: var(--nb-text);
    text-decoration: none;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-tile:hover {
    color: #fff;
    border-color: rgba(102,217,255,.55);
}

.glass-input,
.consultation-form .form-control,
.consultation-form .form-select,
.consultation-form textarea,
.auth-form .form-control {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    color: #fff !important;
    border-radius: 16px !important;
    padding: .9rem 1rem !important;
}

.form-label {
    color: #eaf7ff;
    font-weight: 700;
}

#serviceSelect,
#serviceSelect option {
    color: #fff !important;
    background-color: #0b1b32 !important;
}

.selected-service-note {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem;
    margin-top: 1.5rem;
}

.consultation-duration-note {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #c9eaff;
    font-size: .95rem;
}

.free-spots-panel {
    background: rgba(6, 20, 40, .52);
    border: 1px solid rgba(102, 217, 255, .18);
    border-radius: 18px;
    padding: 1rem;
}

.free-spots-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: .9rem;
}

.free-spots-kicker {
    display: block;
    color: #8bdfff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.availability-badge {
    border: 1px solid rgba(67, 255, 194, .32);
    border-radius: 999px;
    color: #adffe7;
    font-size: .78rem;
    font-weight: 700;
    padding: .32rem .7rem;
    white-space: nowrap;
}

.free-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    gap: .7rem;
}

.free-slot-button {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    color: #fff;
    cursor: pointer;
    display: grid;
    gap: .12rem;
    padding: .78rem .7rem;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.free-slot-button:hover,
.free-slot-button.selected {
    background: linear-gradient(135deg, rgba(31, 198, 255, .32), rgba(67, 255, 194, .18));
    border-color: rgba(102, 217, 255, .72);
    transform: translateY(-2px);
}

.free-slot-button span {
    font-weight: 800;
}

.free-slot-button small,
.free-spots-empty {
    color: #c9eaff;
}

.mini-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}

.mini-feature-grid div {
    padding: 1rem;
    display: grid;
    gap: .55rem;
    min-height: 110px;
}

.professional-image-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--nb-border);
    box-shadow: var(--nb-shadow);
}

.professional-image-card img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.image-card-badge {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    background: rgba(5,11,19,.78);
    border: 1px solid var(--nb-border);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 1rem 1.2rem;
}

.image-card-badge strong,
.image-card-badge span { display: block; }
.image-card-badge span { color: var(--nb-muted); font-size: .85rem; }

.auth-card {
    max-width: 520px;
    border-radius: 30px;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.services-catalog-section .catalog-hero .page-subtitle {
    max-width: 680px;
}

.service-card-solg .card-img-top {
    height: 220px;
    width: 100%;
    object-fit: contain;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(225,240,255,.88));
}

.price-tag {
    border-radius: 999px;
}

.price-tag::after { display: none; }

.process-heading { margin-bottom: 2rem; }
.process-section .container { position: relative; z-index: 2; }
.process-steps { gap: .75rem; margin-bottom: 2rem; }
.process-indicator {
    border: 1px solid var(--nb-border);
    background: rgba(255,255,255,.06);
    color: var(--nb-text);
    border-radius: 18px;
    padding: 1rem;
    text-align: left;
    display: grid;
    gap: .35rem;
}
.process-indicator span {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(102,217,255,.14);
    color: var(--nb-accent);
    font-weight: 800;
}
.process-indicator.active {
    background: linear-gradient(135deg, rgba(102,217,255,.22), rgba(124,92,255,.22));
    border-color: rgba(102,217,255,.55);
}
.process-carousel { gap: 1rem; }
.step-slide {
    border: 1px solid var(--nb-border);
    background: var(--nb-surface);
    border-radius: 30px;
    padding: clamp(1.25rem, 4vw, 3rem);
    min-height: 380px;
}
.step-icon {
    width: 180px;
    height: 180px;
    border-radius: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    background: linear-gradient(135deg, rgba(102,217,255,.2), rgba(124,92,255,.2));
    border: 1px solid var(--nb-border);
    flex-shrink: 0;
}
.step-icon i { font-size: 4.5rem; color: var(--nb-accent); }
.step-text p { color: var(--nb-muted); font-size: 1.08rem; line-height: 1.8; }
.btn-action {
    display: inline-flex;
    text-decoration: none;
    background: linear-gradient(135deg, var(--nb-accent), var(--nb-accent-2));
    border-radius: 999px;
    font-weight: 800;
}

@media (max-width: 991px) {
    .hero-proof-grid,
    .mini-feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual-card {
        transform: none;
    }

    .page-shell,
    .auth-page,
    .services-catalog-section,
    .process-section,
    .hero-section {
        padding-top: 6rem;
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .contact-section,
    .about-us-section {
        padding: 5rem 0 3rem !important;
        margin-left: 0;
    }

    .contact-section .container,
    .about-us-section .container {
        padding: 0 1rem;
    }

    .hero-proof-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        display: grid;
        grid-template-columns: 1fr;
    }

    .step-slide {
        flex-direction: column;
        text-align: center;
    }

    .step-icon {
        margin: 0 0 1.5rem;
        width: 130px;
        height: 130px;
    }

    .step-icon i {
        font-size: 3.2rem;
    }
}

/* Final process/catalog interaction tuning */
.process-section .step-content {
    width: 100%;
}

.service-card-solg {
    cursor: pointer;
}

/* Professional type and media scale polish */
:root {
    --nb-body-size: 15px;
    --nb-body-line-height: 1.68;
    --nb-heading-line-height: 1.12;
    --nb-card-radius: 22px;
}

html {
    font-size: var(--nb-body-size);
}

body {
    font-size: 1rem;
    line-height: var(--nb-body-line-height);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.page-title,
.hero-title,
.icy-title,
.section-title {
    line-height: var(--nb-heading-line-height);
    letter-spacing: -0.025em;
}

p,
.card-text,
.page-subtitle,
.hero-lead,
.lead,
.info-tile,
.metric-pill,
.form-label,
.form-control,
.btn {
    font-size: 0.95rem;
}

.lead,
.hero-lead,
.page-subtitle {
    font-size: clamp(0.98rem, 1.45vw, 1.08rem) !important;
    line-height: 1.72;
}

.hero-title {
    font-size: clamp(2.35rem, 5.1vw, 4.65rem) !important;
    max-width: 820px;
}

.page-title {
    font-size: clamp(2.05rem, 4.2vw, 3.85rem) !important;
}

.icy-title,
.section-title,
.cta-section h2,
.newsletter-section h2,
.why-choose-us-section h2,
.about-section h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.25rem) !important;
    font-weight: 750;
}

.card-title,
.choose-card h5,
.services-section .service-card h5,
.service-card-solg h5 {
    font-size: 1.08rem;
    font-weight: 750;
    letter-spacing: -0.015em;
}

.services-section,
.stats-section,
.testimonials-section,
.techstack-section,
.about-section,
.why-choose-us-section,
.newsletter-section,
.cta-section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.hero-section {
    min-height: 78vh;
    padding: 6rem 0 4.25rem !important;
}

.page-shell,
.auth-page,
.services-catalog-section,
.process-section {
    padding: 6rem 0 4rem !important;
}

.hero-visual-body,
.about-card,
.contact-card,
.professional-form-card,
.auth-card,
.frosted-card {
    padding: clamp(1.35rem, 3vw, 2.35rem) !important;
}

.services-section .service-card,
.service-card-solg,
.testimonial-card,
.tech-card,
.stat-card,
.choose-card,
.about-card,
.contact-card,
.professional-image-card,
.hero-visual-card {
    border-radius: var(--nb-card-radius) !important;
}

.services-section .service-card .card-body,
.service-card-solg .card-body {
    padding: 1.15rem 1.1rem 1.25rem;
}

.services-section .service-card .card-text,
.service-card-solg .card-text,
.choose-card p,
.testimonial-card p,
.tech-card h6,
.about-card p,
.newsletter-section p {
    color: var(--nb-muted);
    line-height: 1.62;
}

.service-img,
.services-section .service-card img {
    height: 170px !important;
    object-fit: contain !important;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(227,241,255,.9));
    border-radius: 18px 18px 0 0 !important;
}

.service-card-solg {
    height: 100% !important;
    min-height: 0;
}

.service-card-solg .card-img-top {
    height: 175px !important;
    object-fit: contain !important;
    padding: 1rem;
    border-radius: 18px 18px 0 0 !important;
}

.professional-image-card img,
.about-section img {
    min-height: 0 !important;
    max-height: 360px;
    width: 100%;
    object-fit: cover;
}

.about-section img {
    border-radius: var(--nb-card-radius) !important;
    box-shadow: var(--nb-shadow) !important;
}

.tech-icon {
    width: 42px !important;
    max-height: 42px;
    object-fit: contain;
}

.stat-card,
.choose-card,
.tech-card,
.testimonial-card {
    padding: 1.35rem !important;
}

.stat-card h2 {
    font-size: clamp(2rem, 3vw, 3rem) !important;
}

.btn-lg {
    --bs-btn-padding-y: 0.65rem;
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-font-size: 1rem;
}

.btn,
.btn-contact,
.btn-consult,
.btn-subscribe {
    letter-spacing: 0.01em;
}

@media (max-width: 991px) {
    html {
        font-size: 14.5px;
    }

    .hero-section,
    .page-shell,
    .auth-page,
    .services-catalog-section,
    .process-section {
        padding-top: 5.5rem !important;
    }

    .professional-image-card img,
    .about-section img {
        max-height: 320px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: clamp(2rem, 12vw, 3rem) !important;
    }

    .page-title {
        font-size: clamp(1.8rem, 10vw, 2.6rem) !important;
    }

    .services-section,
    .stats-section,
    .testimonials-section,
    .techstack-section,
    .about-section,
    .why-choose-us-section,
    .newsletter-section,
    .cta-section,
    .page-shell,
    .auth-page,
    .services-catalog-section,
    .process-section {
        padding-top: 3.5rem !important;
        padding-bottom: 3rem !important;
    }

    .service-img,
    .services-section .service-card img,
    .service-card-solg .card-img-top {
        height: 145px !important;
        padding: .85rem;
    }

    .professional-image-card img,
    .about-section img {
        max-height: 260px;
    }
}

/* Modern services catalog refresh */
.services-catalog-section .services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.services-catalog-section .services-showcase-centered {
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
}

.services-catalog-section .service-modern-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    color: #fff8e7;
    border: 1px solid rgba(255, 248, 231, 0.14);
    border-radius: 1.6rem;
    background:
        linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(14, 116, 144, 0.45)),
        rgba(15, 23, 42, 0.84);
    box-shadow: 0 24px 60px rgba(2, 8, 23, 0.32);
    cursor: default;
    transform: translateY(0);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.services-catalog-section .service-modern-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 18% 12%, rgba(255, 248, 231, 0.24), transparent 30%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.services-catalog-section .service-modern-card:hover,
.services-catalog-section .service-modern-card:focus-within,
.services-catalog-section .service-modern-card.is-selected {
    border-color: rgba(255, 248, 231, 0.42);
    box-shadow: 0 30px 70px rgba(8, 47, 73, 0.42);
    transform: translateY(-6px);
}

.services-catalog-section .service-modern-card:hover::before,
.services-catalog-section .service-modern-card:focus-within::before,
.services-catalog-section .service-modern-card.is-selected::before {
    opacity: 1;
}

.services-catalog-section .service-media-wrap {
    position: relative;
    min-height: 230px;
    padding: 0.85rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(227,241,255,.9));
}

.services-catalog-section .service-card-image {
    width: 100%;
    height: 210px;
    object-fit: contain;
    display: block;
    border-radius: 1rem;
    filter: saturate(0.92) contrast(1.05);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.services-catalog-section .service-modern-card:hover .service-card-image {
    filter: saturate(1.08) contrast(1.08);
    transform: scale(1.05);
}

.services-catalog-section .service-price-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: 0.5rem 0.8rem;
    color: #082f49;
    font-size: 0.86rem;
    font-weight: 850;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff8e7, #bae6fd);
    box-shadow: 0 12px 26px rgba(2, 8, 23, 0.25);
}

.services-catalog-section .service-media-wrap .service-price-chip {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.services-catalog-section .service-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.services-catalog-section .service-card-title {
    margin: 0 0 0.75rem;
    color: #fff8e7;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 850;
}

.services-catalog-section .service-card-copy {
    color: rgba(255, 248, 231, 0.82);
    line-height: 1.7;
}

.services-catalog-section .service-card-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: auto;
}

.services-catalog-section .service-details-button,
.services-catalog-section .service-pay-button {
    width: 100%;
    min-height: 2.85rem;
    border-radius: 999px;
    font-weight: 800;
}

.services-catalog-section .service-pay-button {
    color: rgba(255, 248, 231, 0.76);
    border: 1px solid rgba(255, 248, 231, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.service-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: rgba(2, 8, 23, 0.74);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.service-detail-modal {
    position: relative;
    width: min(980px, 100%);
    max-height: min(86vh, 760px);
    overflow: auto;
    color: #fff8e7;
    border: 1px solid rgba(255, 248, 231, 0.22);
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at top left, rgba(125, 211, 252, 0.24), transparent 34%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(8, 47, 73, 0.96));
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
}

.service-modal-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
}

.service-modal-media {
    display: grid;
    place-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(227,241,255,.9));
}

.service-modal-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: contain;
    display: block;
    border-radius: 1rem;
}

.service-modal-content {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.service-modal-content h3 {
    margin: 0.75rem 0 1rem;
    color: #fff8e7;
    font-size: clamp(1.8rem, 4vw, 3.1rem);
    font-weight: 900;
}

.service-modal-content p {
    color: rgba(255, 248, 231, 0.84);
    font-size: 1.04rem;
    line-height: 1.8;
}

.service-modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.service-price-chip-static {
    box-shadow: none;
}

.service-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    color: #fff8e7;
    font-size: 1.6rem;
    line-height: 1;
    border: 1px solid rgba(255, 248, 231, 0.22);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.service-modal-close:hover,
.service-modal-close:focus-visible {
    background: rgba(255, 248, 231, 0.16);
    transform: rotate(90deg);
}

@media (max-width: 767.98px) {
    .services-catalog-section .services-showcase,
    .services-catalog-section .services-showcase-centered {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .services-catalog-section .service-media-wrap {
        min-height: 190px;
        padding: 0.7rem;
    }

    .services-catalog-section .service-card-image {
        height: 170px;
    }

    .services-catalog-section .service-card-content {
        padding: 1rem;
    }

    .services-catalog-section .service-card-title {
        font-size: 1.05rem;
    }

    .services-catalog-section .service-card-copy,
    .services-catalog-section .service-price-chip,
    .services-catalog-section .service-details-button,
    .services-catalog-section .service-pay-button {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    .service-modal-grid {
        grid-template-columns: 1fr;
    }

    .service-modal-backdrop {
        z-index: 3000;
        padding: 0.75rem;
    }

    .service-detail-modal {
        width: min(100%, 34rem);
        max-height: calc(100dvh - 1.5rem);
        border-radius: 1.25rem;
    }

    .service-modal-content {
        padding: 0.95rem;
    }

    .service-modal-content .section-kicker {
        font-size: 0.68rem;
    }

    .service-modal-content h3 {
        margin: 0.55rem 0 0.7rem;
        font-size: 1.25rem;
    }

    .service-modal-content p {
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .service-modal-media {
        padding: 0.55rem;
    }

    .service-modal-media img {
        min-height: 150px;
        max-height: 200px;
    }

    .service-modal-footer {
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .service-modal-footer,
    .service-modal-footer .btn-consult {
        width: 100%;
        font-size: 0.84rem;
    }

    .service-modal-close {
        top: 0.7rem;
        right: 0.7rem;
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.35rem;
    }
}

/* Dashboard-inspired login backdrop */
.auth-page--dashboard {
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 18% 18%, rgba(102, 217, 255, .24), transparent 24%),
        radial-gradient(circle at 82% 10%, rgba(124, 92, 255, .26), transparent 28%),
        linear-gradient(135deg, #06101d 0%, #0b1c34 52%, #07111f 100%) !important;
}

.auth-page--dashboard::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .35));
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .35));
    pointer-events: none;
}

.auth-page--dashboard::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 48% 56%, rgba(102, 217, 255, .13), transparent 30%),
        linear-gradient(90deg, rgba(7, 17, 31, .18), rgba(7, 17, 31, .72));
    pointer-events: none;
}

.auth-page--dashboard .container {
    position: relative;
    z-index: 2;
}

.auth-page--dashboard .auth-card {
    max-width: 520px;
    margin-left: 0 !important;
    background: rgba(7, 17, 31, .74) !important;
    border-color: rgba(102, 217, 255, .32) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .46), 0 0 60px rgba(102, 217, 255, .12) !important;
}

.login-dashboard-backdrop {
    position: absolute;
    inset: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 6rem) clamp(3rem, 5vw, 5rem) auto;
    width: min(58vw, 780px);
    z-index: 1;
    pointer-events: none;
}

.dashboard-window {
    border: 1px solid rgba(148, 197, 255, .24);
    background: linear-gradient(145deg, rgba(9, 25, 47, .86), rgba(11, 28, 52, .62));
    box-shadow: 0 28px 80px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
}

.dashboard-window--main {
    min-height: 470px;
    border-radius: 30px;
    overflow: hidden;
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}

.dashboard-window__topbar {
    display: flex;
    gap: .55rem;
    padding: 1.05rem 1.25rem;
    border-bottom: 1px solid rgba(148, 197, 255, .16);
    background: rgba(255, 255, 255, .05);
}

.dashboard-window__topbar span {
    width: .72rem;
    height: .72rem;
    border-radius: 50%;
    background: #66d9ff;
    box-shadow: 0 0 18px rgba(102, 217, 255, .55);
}

.dashboard-window__topbar span:nth-child(2) {
    background: #ffd166;
    box-shadow: 0 0 18px rgba(255, 209, 102, .45);
}

.dashboard-window__topbar span:nth-child(3) {
    background: #7c5cff;
    box-shadow: 0 0 18px rgba(124, 92, 255, .5);
}

.dashboard-window__body {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1.25rem;
    padding: 1.35rem;
}

.dashboard-sidebar {
    display: grid;
    align-content: start;
    gap: .85rem;
    padding: .95rem .75rem;
    min-height: 380px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .055);
}

.dashboard-sidebar span,
.dashboard-stat-row span,
.dashboard-table-lines span {
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}

.dashboard-sidebar span {
    height: 14px;
}

.dashboard-sidebar span:first-child {
    height: 42px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(102, 217, 255, .42), rgba(124, 92, 255, .34));
}

.dashboard-content {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
}

.dashboard-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem;
}

.dashboard-stat-row span {
    height: 72px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(102, 217, 255, .22), rgba(124, 92, 255, .11)),
        rgba(255, 255, 255, .075);
}

.dashboard-chart {
    display: flex;
    align-items: end;
    gap: .85rem;
    min-height: 190px;
    padding: 1.2rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, .06);
}

.dashboard-chart span {
    flex: 1;
    min-height: 42px;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(180deg, rgba(102, 217, 255, .88), rgba(124, 92, 255, .58));
    box-shadow: 0 10px 30px rgba(102, 217, 255, .18);
}

.dashboard-chart span:nth-child(1) { height: 38%; }
.dashboard-chart span:nth-child(2) { height: 62%; }
.dashboard-chart span:nth-child(3) { height: 48%; }
.dashboard-chart span:nth-child(4) { height: 78%; }
.dashboard-chart span:nth-child(5) { height: 55%; }

.dashboard-table-lines {
    display: grid;
    gap: .8rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, .045);
}

.dashboard-table-lines span {
    height: 12px;
}

.dashboard-table-lines span:nth-child(2) {
    width: 78%;
}

.dashboard-table-lines span:nth-child(3) {
    width: 58%;
}

.dashboard-window--floating {
    position: absolute;
    right: 3%;
    bottom: -2.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    width: min(330px, 54%);
    padding: 1.15rem;
    border-radius: 24px;
    transform: rotate(3deg);
}

.dashboard-ring {
    width: 86px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(from 25deg, #66d9ff 0 72%, rgba(255, 255, 255, .12) 72% 100%);
    position: relative;
}

.dashboard-ring::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: inherit;
    background: rgba(7, 17, 31, .92);
}

.dashboard-sparkline {
    display: flex;
    align-items: end;
    gap: .5rem;
    height: 74px;
}

.dashboard-sparkline span {
    flex: 1;
    border-radius: 999px;
    background: rgba(102, 217, 255, .75);
}

.dashboard-sparkline span:nth-child(1) { height: 44%; }
.dashboard-sparkline span:nth-child(2) { height: 84%; }
.dashboard-sparkline span:nth-child(3) { height: 62%; }

@media (max-width: 991px) {
    .auth-page--dashboard .auth-card {
        margin-left: auto !important;
    }

    .login-dashboard-backdrop {
        inset: 4rem 1rem auto 1rem;
        width: auto;
        opacity: .42;
    }

    .dashboard-window--main {
        min-height: 360px;
    }
}

@media (max-width: 576px) {
    .login-dashboard-backdrop {
        display: none;
    }

    .auth-page--dashboard::before {
        background-size: 38px 38px;
    }
}

/* NodeBloom authenticated dashboard preview */
.nb-panel-hero,
.nb-panel-section-hero,
.nb-panel-card,
.nb-panel-stat-card,
.nb-panel-page-tile {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(160, 207, 255, 0.18);
    background: linear-gradient(145deg, rgba(14, 31, 55, 0.88), rgba(9, 20, 36, 0.72));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.nb-panel-hero::before,
.nb-panel-section-hero::before,
.nb-panel-card::before,
.nb-panel-page-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(130, 247, 255, 0.16), transparent 16rem);
    pointer-events: none;
}

.nb-panel-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.5rem;
    align-items: center;
    min-height: 360px;
    padding: clamp(1.4rem, 4vw, 3rem);
    border-radius: 2rem;
}

.nb-panel-section-hero {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.4rem;
    padding: clamp(1.4rem, 4vw, 2.5rem);
    border-radius: 2rem;
}

.nb-panel-kicker {
    display: inline-flex;
    margin-bottom: 0.65rem;
    color: #82f7ff;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nb-panel-hero h2,
.nb-panel-section-hero h2 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.8rem);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.nb-panel-section-hero h2 {
    font-size: clamp(2rem, 4vw, 3.9rem);
}

.nb-panel-hero p,
.nb-panel-section-hero p {
    max-width: 760px;
    margin: 1rem 0 0;
    color: #b9cbda;
    font-size: 1.03rem;
}

.nb-panel-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.45rem;
}

.nb-panel-primary-action,
.nb-panel-secondary-action,
.nb-panel-ghost-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.9rem;
    padding: 0 1rem;
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none;
}

.nb-panel-primary-action {
    color: #04111f;
    background: linear-gradient(135deg, #82f7ff, #7dffbe);
}

.nb-panel-secondary-action,
.nb-panel-ghost-button {
    border: 1px solid rgba(160, 207, 255, 0.22);
    color: #eff8ff;
    background: rgba(255, 255, 255, 0.06);
}

.nb-panel-orb-card {
    display: grid;
    place-items: center;
    min-height: 250px;
    padding: 1.2rem;
    border: 1px solid rgba(130, 247, 255, 0.22);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.055);
    text-align: center;
}

.nb-panel-orb {
    width: 8.5rem;
    height: 8.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #fff, transparent 0.8rem),
        radial-gradient(circle at 35% 30%, #82f7ff, #55b5f5 38%, #142a58 70%);
    box-shadow: 0 0 44px rgba(85, 181, 245, 0.65), inset -18px -20px 35px rgba(0, 0, 0, 0.3);
    animation: nbPanelFloat 4s ease-in-out infinite;
}

@keyframes nbPanelFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.nb-panel-orb-card span,
.nb-panel-orb-card small,
.nb-panel-stat-card span,
.nb-panel-stat-card small,
.nb-panel-page-tile span,
.nb-panel-page-tile small,
.nb-panel-pipeline-row small,
.nb-panel-feature-card small {
    color: #9fb7cc;
}

.nb-panel-orb-card strong {
    display: block;
    font-size: 1.4rem;
}

.nb-panel-stats-grid,
.nb-panel-page-grid,
.nb-panel-grid,
.nb-panel-feature-grid {
    display: grid;
    gap: 1rem;
}

.nb-panel-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 1rem 0;
}

.nb-panel-stat-card {
    padding: 1.15rem;
    border-radius: 1.4rem;
}

.nb-panel-stat-icon,
.nb-panel-section-icon {
    display: grid;
    place-items: center;
    color: #04111f;
    background: linear-gradient(135deg, #82f7ff, #7dffbe);
}

.nb-panel-stat-icon {
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 1.1rem;
    border-radius: 0.95rem;
}

.nb-panel-stat-card strong {
    display: block;
    color: #eff8ff;
    font-size: 2rem;
    line-height: 1;
}

.nb-panel-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
    margin: 1rem 0;
}

.nb-panel-card {
    padding: 1.3rem;
    border-radius: 1.5rem;
}

.nb-panel-card-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.nb-panel-card-header h3 {
    margin: 0;
    color: #eff8ff;
    font-weight: 850;
}

.nb-panel-badge,
.nb-panel-status {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    color: #82f7ff;
    background: rgba(130, 247, 255, 0.1);
    border: 1px solid rgba(130, 247, 255, 0.22);
    font-size: 0.78rem;
    font-weight: 800;
}

.nb-panel-pipeline,
.nb-panel-action-list,
.nb-panel-progress-stack {
    position: relative;
}

.nb-panel-pipeline-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(160, 207, 255, 0.12);
}

.nb-panel-pipeline-row strong,
.nb-panel-pipeline-row small {
    display: block;
}

.nb-panel-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #7dffbe;
    box-shadow: 0 0 18px rgba(125, 255, 190, 0.8);
}

.nb-panel-action-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nb-panel-action-list li {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: 1rem;
    color: #d8e8f4;
    background: rgba(255, 255, 255, 0.045);
}

.nb-panel-action-list i {
    color: #7dffbe;
}

.nb-panel-page-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}

.nb-panel-page-tile {
    min-height: 190px;
    padding: 1.15rem;
    border-radius: 1.45rem;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.nb-panel-page-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(130, 247, 255, 0.38);
}

.nb-panel-page-tile i {
    display: inline-grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    margin-bottom: 1rem;
    border-radius: 0.9rem;
    color: #82f7ff;
    background: rgba(85, 181, 245, 0.15);
}

.nb-panel-page-tile strong,
.nb-panel-page-tile small {
    display: block;
}

.nb-panel-page-tile strong {
    color: #eff8ff;
    font-size: 1.1rem;
}

.nb-panel-section-icon {
    width: 6rem;
    height: 6rem;
    flex: 0 0 auto;
    border-radius: 1.6rem;
    font-size: 2.35rem;
    box-shadow: 0 20px 60px rgba(85, 181, 245, 0.28);
}

.nb-panel-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nb-panel-feature-card {
    position: relative;
    padding: 1rem;
    border: 1px solid rgba(160, 207, 255, 0.14);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.045);
}

.nb-panel-feature-card i {
    color: #82f7ff;
}

.nb-panel-feature-card strong,
.nb-panel-feature-card small,
.nb-panel-progress-stack span,
.nb-panel-progress-stack strong {
    display: block;
}

.nb-panel-progress-stack {
    display: grid;
    gap: 0.8rem;
}

.nb-panel-progress-stack > div:not(.nb-panel-progress) {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.nb-panel-progress {
    height: 0.65rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.nb-panel-progress span {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #55b5f5, #7dffbe);
}

.nb-panel-table-wrap {
    position: relative;
    overflow-x: auto;
}

.nb-panel-table {
    width: 100%;
    border-collapse: collapse;
    color: #d8e8f4;
}

.nb-panel-table th,
.nb-panel-table td {
    padding: 1rem;
    border-top: 1px solid rgba(160, 207, 255, 0.12);
    text-align: left;
}

.nb-panel-table th {
    color: #82f7ff;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 1180px) {
    .nb-panel-stats-grid,
    .nb-panel-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nb-panel-grid,
    .nb-panel-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .nb-panel-stats-grid,
    .nb-panel-page-grid,
    .nb-panel-feature-grid {
        grid-template-columns: 1fr;
    }

    .nb-panel-section-hero {
        display: block;
    }

    .nb-panel-section-icon {
        margin-top: 1rem;
    }
}

/* NodeBloom create app wizard */
.nb-product-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.nb-product-action-card {
    position: relative;
    display: grid;
    gap: 0.35rem;
    min-height: 9.5rem;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid rgba(130, 247, 255, 0.24);
    border-radius: 1.25rem;
    color: #eff8ff;
    background: linear-gradient(145deg, rgba(85, 181, 245, 0.18), rgba(125, 255, 190, 0.08));
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nb-product-action-card:hover {
    transform: translateY(-5px);
    border-color: rgba(130, 247, 255, 0.48);
    background: linear-gradient(145deg, rgba(85, 181, 245, 0.25), rgba(125, 255, 190, 0.13));
}

.nb-product-action-card i {
    display: inline-grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.85rem;
    color: #04111f;
    background: linear-gradient(135deg, #82f7ff, #7dffbe);
}

.nb-product-action-card span {
    color: #eff8ff;
    font-size: 1.1rem;
    font-weight: 900;
}

.nb-product-action-card small,
.nb-wizard-muted,
.nb-review-card span {
    color: #9fb7cc;
}

.nb-wizard-card {
    display: grid;
    gap: 1.3rem;
}

.nb-wizard-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.nb-wizard-step {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 4rem;
    padding: 0.75rem;
    border: 1px solid rgba(160, 207, 255, 0.16);
    border-radius: 1rem;
    color: #d8e8f4;
    background: rgba(255, 255, 255, 0.045);
    text-align: left;
}

.nb-wizard-step span {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #82f7ff;
    background: rgba(130, 247, 255, 0.11);
    font-weight: 900;
}

.nb-wizard-step strong {
    font-size: 0.95rem;
}

.nb-wizard-step.is-active,
.nb-wizard-step.is-complete {
    border-color: rgba(130, 247, 255, 0.38);
    background: rgba(130, 247, 255, 0.1);
}

.nb-wizard-step.is-active span,
.nb-wizard-step.is-complete span {
    color: #04111f;
    background: linear-gradient(135deg, #82f7ff, #7dffbe);
}

.nb-wizard-form,
.nb-wizard-step-panel,
.nb-wizard-field-grid,
.nb-app-type-grid,
.nb-review-grid {
    position: relative;
}

.nb-wizard-form h3 {
    margin: 0;
    color: #eff8ff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
}

.nb-wizard-muted {
    margin: 0.35rem 0 1rem;
}

.nb-wizard-field-grid,
.nb-app-type-grid,
.nb-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.nb-app-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
}

.nb-app-type-card {
    display: grid;
    gap: 0.6rem;
    padding: 1rem;
    border: 1px solid rgba(160, 207, 255, 0.16);
    border-radius: 1.15rem;
    color: #d8e8f4;
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
}

.nb-app-type-card:has(input:checked) {
    border-color: rgba(125, 255, 190, 0.48);
    background: rgba(125, 255, 190, 0.11);
}

.nb-app-type-card-disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.nb-app-type-card-disabled input {
    cursor: not-allowed;
}

.nb-app-type-card-restriction {
    color: #ffd98a;
    font-weight: 800;
}

.nb-app-type-card-restriction i {
    color: #ffd98a;
    font-size: 0.95rem;
}

.nb-app-type-card i {
    color: #82f7ff;
    font-size: 1.6rem;
}

.nb-app-type-card strong,
.nb-app-type-card small {
    display: block;
}

.nb-wizard-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #82f7ff;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nb-wizard-input {
    width: 100%;
    min-height: 3.1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(160, 207, 255, 0.18);
    border-radius: 0.95rem;
    color: #eff8ff;
    background: rgba(255, 255, 255, 0.055);
    outline: none;
}

.nb-wizard-input:focus {
    border-color: rgba(130, 247, 255, 0.5);
    box-shadow: 0 0 0 0.18rem rgba(130, 247, 255, 0.12);
}

.nb-wizard-textarea {
    min-height: 7rem;
}

.nb-wizard-wide-field,
.nb-review-card-wide {
    grid-column: 1 / -1;
}

.nb-review-card {
    padding: 1rem;
    border: 1px solid rgba(160, 207, 255, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.045);
}

.nb-review-card span,
.nb-review-card strong {
    display: block;
}

.nb-review-card strong {
    color: #eff8ff;
    overflow-wrap: anywhere;
}

.nb-wizard-status {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(125, 255, 190, 0.28);
    border-radius: 1rem;
    color: #d9ffeb;
    background: rgba(125, 255, 190, 0.1);
}

.nb-wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

button.nb-panel-primary-action,
button.nb-panel-secondary-action {
    cursor: pointer;
}

button.nb-panel-primary-action {
    border: 0;
}

button.nb-panel-secondary-action {
    border: 1px solid rgba(160, 207, 255, 0.22);
}

button.nb-panel-primary-action:disabled,
button.nb-panel-secondary-action:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

@media (max-width: 900px) {
    .nb-product-action-grid,
    .nb-app-type-grid,
    .nb-wizard-steps,
    .nb-wizard-field-grid,
    .nb-review-grid {
        grid-template-columns: 1fr;
    }
}

/* NodeBloom app management pages */
.nb-app-list-tile small + small {
    margin-top: 0.2rem;
}

.nb-dashboard-empty-state {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
}

.nb-dashboard-summary {
    position: relative;
    margin: 0;
    color: #d8e8f4;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.nb-stat-url {
    font-size: clamp(1rem, 1.5vw, 1.35rem) !important;
    overflow-wrap: anywhere;
}

.nb-dashboard-settings-grid {
    margin-bottom: 1rem;
}

.nb-dashboard-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.6rem 0;
    padding: 0.85rem;
    border: 1px solid rgba(160, 207, 255, 0.14);
    border-radius: 1rem;
    color: #d8e8f4;
    background: rgba(255, 255, 255, 0.045);
}

.nb-dashboard-toggle input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #82f7ff;
}

/* Dashboard app management workspace */
.nb-panel-status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0;
}

.nb-deployment-orb-card strong {
    color: #eff8ff;
}

.nb-dashboard-management-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
}

.nb-dashboard-side-panels {
    display: grid;
    gap: 1rem;
}

.nb-panel-card-link {
    min-height: 2.35rem;
    padding: 0 0.8rem;
    font-size: 0.82rem;
}

.nb-dashboard-app-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.nb-dashboard-app-card {
    position: relative;
    overflow: hidden;
    padding: 1rem;
    border: 1px solid rgba(160, 207, 255, 0.16);
    border-radius: 1.2rem;
    background:
        radial-gradient(circle at top right, rgba(130, 247, 255, 0.12), transparent 12rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.nb-dashboard-app-card::after {
    content: "";
    position: absolute;
    inset: auto 1rem 0 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(130, 247, 255, 0.32), transparent);
}

.nb-dashboard-app-card-topline,
.nb-dashboard-app-actions,
.nb-dashboard-deployment-row,
.nb-dashboard-suggestion-row {
    position: relative;
    display: flex;
    gap: 0.7rem;
}

.nb-dashboard-app-card-topline {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}

.nb-dashboard-app-type {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #9fb7cc;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nb-dashboard-app-type i {
    color: #82f7ff;
}

.nb-dashboard-app-card h4 {
    position: relative;
    margin: 0;
    color: #eff8ff;
    font-size: 1.25rem;
    font-weight: 900;
}

.nb-dashboard-app-card p {
    position: relative;
    min-height: 3.5rem;
    margin: 0.65rem 0 1rem;
    color: #b9cbda;
}

.nb-dashboard-app-meta {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 0 1rem;
}

.nb-dashboard-app-meta div {
    min-width: 0;
    padding: 0.7rem;
    border: 1px solid rgba(160, 207, 255, 0.1);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.045);
}

.nb-dashboard-app-meta dt,
.nb-dashboard-app-meta dd {
    margin: 0;
}

.nb-dashboard-app-meta dt {
    color: #82f7ff;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nb-dashboard-app-meta dd {
    overflow: hidden;
    color: #eff8ff;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nb-dashboard-app-actions {
    flex-wrap: wrap;
}

.nb-dashboard-app-actions a,
.nb-dashboard-app-actions button {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 2.35rem;
    padding: 0 0.7rem;
    border: 1px solid rgba(130, 247, 255, 0.18);
    border-radius: 999px;
    color: #eff8ff;
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.8rem;
    font-weight: 850;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nb-dashboard-app-actions button {
    cursor: pointer;
}

.nb-dashboard-app-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.nb-dashboard-app-actions a:hover,
.nb-dashboard-app-actions button:not(:disabled):hover {
    border-color: rgba(130, 247, 255, 0.44);
    background: rgba(130, 247, 255, 0.12);
    transform: translateY(-2px);
}

.nb-app-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 1.85rem;
    padding: 0 0.68rem;
    border: 1px solid rgba(160, 207, 255, 0.18);
    border-radius: 999px;
    color: #d8e8f4;
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.75rem;
    font-weight: 900;
    white-space: nowrap;
}

.nb-app-status-draft {
    color: #d7e6ff;
    border-color: rgba(160, 207, 255, 0.28);
    background: rgba(160, 207, 255, 0.1);
}

.nb-app-status-waiting {
    color: #ffe7a6;
    border-color: rgba(255, 201, 99, 0.34);
    background: rgba(255, 201, 99, 0.11);
}

.nb-app-status-deploying {
    color: #82f7ff;
    border-color: rgba(130, 247, 255, 0.38);
    background: rgba(130, 247, 255, 0.12);
}

.nb-app-status-deploying i {
    animation: nbDeploySpin 1.5s linear infinite;
}

.nb-app-status-live {
    color: #7dffbe;
    border-color: rgba(125, 255, 190, 0.38);
    background: rgba(125, 255, 190, 0.12);
}

.nb-app-status-failed {
    color: #ffb4c0;
    border-color: rgba(255, 118, 145, 0.38);
    background: rgba(255, 118, 145, 0.12);
}

@keyframes nbDeploySpin {
    to { transform: rotate(360deg); }
}

.nb-dashboard-deployment-list,
.nb-dashboard-suggestion-list {
    position: relative;
    display: grid;
    gap: 0.75rem;
}

.nb-dashboard-deployment-row,
.nb-dashboard-suggestion-row {
    align-items: center;
    padding: 0.78rem;
    border: 1px solid rgba(160, 207, 255, 0.11);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.045);
}

.nb-dashboard-deployment-row {
    justify-content: space-between;
}

.nb-dashboard-deployment-row strong,
.nb-dashboard-deployment-row small,
.nb-dashboard-suggestion-row strong,
.nb-dashboard-suggestion-row small {
    display: block;
}

.nb-dashboard-deployment-row strong {
    color: #eff8ff;
    text-align: right;
    font-size: 1.4rem;
    line-height: 1;
}

.nb-dashboard-deployment-row small,
.nb-dashboard-suggestion-row small {
    color: #9fb7cc;
}

.nb-dashboard-suggestion-row {
    align-items: flex-start;
}

.nb-dashboard-suggestion-row > i {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 2.4rem;
    border-radius: 0.82rem;
    color: #04111f;
    background: linear-gradient(135deg, #82f7ff, #7dffbe);
}

.nb-dashboard-suggestion-row strong {
    color: #eff8ff;
}

.nb-dashboard-loading-state,
.nb-dashboard-app-empty-state {
    position: relative;
}

.nb-dashboard-app-empty-state {
    padding: 1rem;
    border: 1px solid rgba(130, 247, 255, 0.14);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 1180px) {
    .nb-dashboard-management-grid,
    .nb-dashboard-app-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .nb-dashboard-app-card-topline,
    .nb-dashboard-deployment-row,
    .nb-panel-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .nb-dashboard-app-meta {
        grid-template-columns: 1fr;
    }
}

/* Dashboard AI live-site builder */

.nb-app-ai-context-hero {
    margin-bottom: 1rem;
}

.nb-app-ai-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
    color: #82f7ff;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
}

.nb-app-ai-back-link:hover {
    color: #eff8ff;
}

.nb-app-ai-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
}

.nb-app-ai-form {
    gap: 1rem;
}

.nb-app-ai-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.6fr);
    gap: 1rem;
    align-items: start;
}

.nb-app-ai-sidebar,
.nb-app-ai-main {
    display: grid;
    gap: 1rem;
}

.nb-app-ai-summary-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.nb-app-ai-summary-list div {
    padding: 0.85rem;
    border: 1px solid rgba(160, 207, 255, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.045);
}

.nb-app-ai-summary-list dt,
.nb-app-ai-summary-list dd {
    margin: 0;
}

.nb-app-ai-summary-list dt {
    margin-bottom: 0.35rem;
    color: #82f7ff;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.nb-app-ai-summary-list dd {
    color: #eff8ff;
    font-weight: 800;
}

.nb-app-ai-section-card {
    display: grid;
    gap: 0.25rem;
}

.nb-app-ai-card-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    margin: 0;
}

.nb-app-ai-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 0.85rem;
    margin: 0;
}

.nb-app-ai-nested-header {
    margin-bottom: 0.5rem;
}


.nb-app-ai-feedback {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(130, 247, 255, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    color: #eff8ff;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.45;
}

.nb-app-ai-feedback i {
    margin-top: 0.1rem;
}

.nb-app-ai-feedback-info {
    border-color: rgba(130, 247, 255, 0.35);
    color: #b9f7ff;
}

.nb-app-ai-feedback-success {
    border-color: rgba(64, 214, 128, 0.45);
    background: rgba(64, 214, 128, 0.12);
    color: #bfffd5;
}

.nb-app-ai-feedback-warning {
    border-color: rgba(255, 196, 87, 0.45);
    background: rgba(255, 196, 87, 0.12);
    color: #ffe2a8;
}

.nb-app-ai-feedback-error {
    border-color: rgba(255, 111, 111, 0.45);
    background: rgba(255, 111, 111, 0.12);
    color: #ffd0d0;
}

.nb-app-ai-inline-action {
    justify-content: center;
    width: 100%;
    margin-top: 0.9rem;
    text-decoration: none;
}

.nb-app-ai-cta {
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid rgba(130, 247, 255, 0.16);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 1100px) {
    .nb-app-ai-layout,
    .nb-app-ai-card-grid {
        grid-template-columns: 1fr;
    }

    .nb-app-ai-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .nb-app-ai-sidebar,
    .nb-app-ai-toggle-grid {
        grid-template-columns: 1fr;
    }

    .nb-app-ai-cta {
        align-items: stretch;
    }
}

.nb-ai-builder-panel {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(130, 247, 255, 0.16);
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at top left, rgba(130, 247, 255, 0.12), transparent 16rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.028));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nb-ai-builder-header {
    align-items: flex-start;
}

.nb-ai-deployment-required {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid rgba(255, 201, 99, 0.24);
    border-radius: 1rem;
    color: #ffe7a6;
    background: rgba(255, 201, 99, 0.09);
}

.nb-ai-deployment-required > i {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.85rem;
    color: #271a03;
    background: linear-gradient(135deg, #ffe7a6, #ffc963);
}

.nb-ai-deployment-required strong,
.nb-ai-deployment-required span {
    display: block;
}

.nb-ai-deployment-required span {
    color: #d9cfae;
    font-size: 0.9rem;
}

.nb-ai-builder-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.nb-ai-builder-card {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    padding: 1rem;
    border: 1px solid rgba(160, 207, 255, 0.14);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.045);
}

.nb-ai-builder-icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    color: #04111f;
    background: linear-gradient(135deg, #82f7ff, #7dffbe);
    box-shadow: 0 12px 28px rgba(125, 255, 190, 0.18);
}

.nb-ai-builder-card h4 {
    margin: 0.15rem 0;
    color: #eff8ff;
    font-size: 1.12rem;
    font-weight: 900;
}

.nb-ai-builder-card p {
    margin: 0;
    color: #b9cbda;
}

.nb-file-drop {
    position: relative;
    display: grid;
    gap: 0.45rem;
    place-items: center;
    min-height: 6.5rem;
    padding: 1rem;
    border: 1px dashed rgba(130, 247, 255, 0.38);
    border-radius: 1rem;
    color: #d8e8f4;
    background: rgba(130, 247, 255, 0.07);
    text-align: center;
    cursor: pointer;
}

.nb-file-drop i {
    color: #82f7ff;
    font-size: 1.45rem;
}

.nb-file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.nb-template-preview {
    display: grid;
    gap: 0.7rem;
    padding: 0.85rem;
    border: 1px solid rgba(130, 247, 255, 0.16);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(4, 17, 31, 0.9), rgba(17, 39, 66, 0.78));
}

.nb-template-browserbar {
    display: flex;
    gap: 0.35rem;
}

.nb-template-browserbar span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(130, 247, 255, 0.5);
}

.nb-template-hero-line {
    min-height: 4.5rem;
    border-radius: 0.8rem;
    background:
        linear-gradient(90deg, rgba(130, 247, 255, 0.24), transparent),
        radial-gradient(circle at 80% 30%, rgba(125, 255, 190, 0.34), transparent 4rem);
}

.nb-template-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
}

.nb-template-content-grid span {
    min-height: 2.7rem;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.09);
}

@media (max-width: 1180px) {
    .nb-ai-builder-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .nb-ai-deployment-required {
        grid-template-columns: 1fr;
    }
}

/* Dashboard AI management landing page */
.nb-ai-management-app-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nb-ai-management-app-card:hover {
    border-color: rgba(130, 247, 255, 0.36);
    background:
        radial-gradient(circle at top right, rgba(130, 247, 255, 0.18), transparent 12rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
    transform: translateY(-2px);
}

.nb-ai-management-status-stack {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.nb-ai-management-cta {
    position: relative;
    width: fit-content;
}

.nb-public-app {
    min-height: 100vh;
    background: var(--app-secondary, #f4f1ff);
    color: #162033;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nb-public-app-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.nb-public-app-section span {
    color: var(--app-primary, #6d5dfc);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nb-public-app-section h1 {
    max-width: 760px;
    margin: 1rem 0;
    font-size: clamp(2.25rem, 6vw, 5rem);
    line-height: .95;
}

.nb-public-app-subheading {
    max-width: 720px;
    font-size: 1.25rem;
    color: #44516c;
}
