:root {
    --navy: #0f172a;
    --navy-deep: #020617;
    --blue: #2563eb;
    --violet: #7c3aed;
    --cyan: #06b6d4;
    --white: #ffffff;
    --light: #f8fafc;
    --text: #1e293b;
    --muted: #64748b;
    --border: #dbeafe;
    --shadow: 0 20px 60px rgba(15, 23, 42, .12);
    --heading-font: "Montserrat", sans-serif;
    --body-font: "Inter", sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--body-font);
    color: var(--text);
    background: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    z-index: 9999;
    padding: 10px 16px;
    background: var(--white);
    color: var(--navy);
    border-radius: 6px;
}

.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

h1, h2, h3, h4, .navbar-brand {
    font-family: var(--heading-font);
    letter-spacing: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.navbar { min-height: 82px; }
.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: .28rem .55rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
}

.navbar-brand img {
    width: 210px;
    height: 64px;
    object-fit: contain;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, .86);
    font-weight: 600;
    font-size: .93rem;
    padding: .6rem .75rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--white); }

.dropdown-item {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.dropdown-menu { min-width: 17rem; }

.dropdown-item span,
.dropdown-item small {
    color: rgba(255, 255, 255, .62);
    font-size: .78rem;
}

.btn {
    min-height: 44px;
    border-radius: 7px;
    font-weight: 700;
    padding: .72rem 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    text-align: center;
    white-space: normal;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #3159ff);
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .28);
}

.btn-primary:hover { background: linear-gradient(135deg, #1d4ed8, var(--violet)); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-light { color: var(--blue); }

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 28%, rgba(37, 99, 235, .45), transparent 30%),
        radial-gradient(circle at 86% 70%, rgba(124, 58, 237, .28), transparent 24%),
        linear-gradient(135deg, #020617 0%, #071226 48%, #020617 100%);
    color: var(--white);
    min-height: 610px;
    padding: 90px 0 120px;
}

.particles,
.particles::before,
.particles::after {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(6, 182, 212, .95) 0 2px, transparent 3px),
        radial-gradient(circle, rgba(37, 99, 235, .8) 0 1px, transparent 2px);
    background-size: 130px 110px, 190px 170px;
    opacity: .55;
    animation: drift 24s linear infinite;
}

.particles::before,
.particles::after { content: ""; opacity: .35; }
.particles::before { transform: rotate(12deg); }
.particles::after { animation-duration: 35s; transform: scale(1.2); }

@keyframes drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 260px 220px, -190px 170px; }
}

.hero-container { position: relative; z-index: 1; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .2rem .55rem;
    border-radius: 6px;
    background: rgba(37, 99, 235, .16);
    color: #60a5fa;
    font-weight: 800;
    text-transform: uppercase;
    font-size: .8rem;
}

.hero-section h1,
.page-hero h1 {
    margin: 1rem 0;
    font-size: clamp(2.45rem, 5vw, 4.6rem);
    line-height: 1.08;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.hero-section h1 span { color: #3b82f6; }
.hero-section p,
.page-hero p { color: rgba(255, 255, 255, .86); font-size: 1.08rem; max-width: 680px; }

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    margin: 1.5rem 0;
    color: rgba(255,255,255,.92);
    font-size: .92rem;
}

.service-tags span { display: inline-flex; align-items: center; gap: .4rem; }
.service-tags i { color: #93c5fd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-logo {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    width: clamp(280px, 44vw, 390px);
    aspect-ratio: 1;
    color: #38bdf8;
    font-family: var(--heading-font);
    font-size: clamp(12rem, 28vw, 18rem);
    font-weight: 800;
    line-height: 1;
    text-shadow:
        0 10px 0 rgba(12, 74, 110, .24),
        0 28px 44px rgba(2, 6, 23, .5),
        0 0 36px rgba(37, 99, 235, .38);
    filter: drop-shadow(0 28px 42px rgba(2, 6, 23, .48));
    background: linear-gradient(180deg, #38bdf8 4%, #2563eb 46%, #0f2f83 94%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.platform {
    position: absolute;
    z-index: 1;
    bottom: 52px;
    width: min(380px, 70%);
    height: 74px;
    border: 2px solid rgba(6, 182, 212, .6);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(6,182,212,.28), transparent 64%);
    box-shadow: 0 0 28px rgba(6, 182, 212, .7), inset 0 0 42px rgba(37, 99, 235, .42);
}

.orbital {
    position: absolute;
    z-index: 0;
    width: min(76%, 430px);
    aspect-ratio: 1;
    border: 1px dashed rgba(96, 165, 250, .48);
    border-radius: 50%;
}

.orbital-two { width: min(60%, 330px); transform: rotate(72deg); }
.tech-icon {
    position: absolute;
    z-index: 4;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 1.7rem;
    font-weight: 800;
    background: rgba(15, 23, 42, .78);
    border: 1px solid rgba(96, 165, 250, .28);
    box-shadow: 0 0 30px rgba(37, 99, 235, .34);
}

.tech-icon.cloud { left: 8%; top: 12%; color: #67e8f9; }
.tech-icon.ai { left: 9%; top: 44%; }
.tech-icon.code { right: 8%; top: 16%; }
.tech-icon.server { right: 7%; top: 46%; color: #93c5fd; }

.stats-wrap {
    margin-top: -52px;
    position: relative;
    z-index: 2;
}

.stats-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.stat-item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .8rem;
    align-items: center;
}

.stat-item i {
    grid-row: span 2;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--blue);
    font-size: 1.7rem;
}

.stat-item strong { font-size: clamp(1.35rem, 2vw, 1.8rem); color: var(--navy); line-height: 1.08; overflow-wrap: normal; }
.stat-item span { color: var(--text); font-size: .88rem; }

.section { padding: 76px 0; }
.section-heading { margin-bottom: 2rem; }
.section-heading span,
.product-card > .row span,
.blog-card > span {
    display: block;
    color: var(--blue);
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 800;
}

.section-heading h2,
.content-panel h2,
.product-card h2 {
    color: var(--navy);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 800;
    margin: .25rem 0 0;
}

.section-heading.text-center::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--blue);
    margin: .75rem auto 0;
    border-radius: 999px;
}

.services-section { padding-top: 55px; }
.service-card,
.detail-card,
.testimonial-card,
.blog-card,
.form-card,
.content-panel,
.values-grid > div,
.industry-card,
.portfolio-detail {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.service-card {
    min-height: 270px;
    padding: 1.45rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card > i,
.detail-card > i,
.industry-card i,
.values-grid i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eef4ff;
    color: var(--blue);
    font-size: 1.65rem;
}

.service-card h3,
.detail-card h2,
.portfolio-detail h2,
.blog-card h2 {
    margin: 1rem 0 .45rem;
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 800;
}

.service-card p { flex: 1; font-size: .87rem; margin-bottom: 1rem; }
.service-card a,
.detail-card a,
.blog-card a { color: var(--blue); font-weight: 800; font-size: .9rem; }

/* Homepage service, product and platform showcase */
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: stretch;
}

.home-service-item { min-width: 0; }

.home-service-card {
    min-width: 0;
    min-height: 330px;
    height: 100%;
    padding: 1.45rem;
    align-items: flex-start;
    text-align: left;
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.home-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, .24);
    box-shadow: 0 24px 60px rgba(37, 99, 235, .18);
}

.service-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(124, 58, 237, .1));
    color: var(--blue);
    font-size: 30px;
}

.service-category {
    margin-top: 1.2rem;
    color: var(--violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1.35;
    text-transform: uppercase;
}

.home-service-card h3 {
    margin: .45rem 0 .55rem;
    font-size: clamp(1.25rem, 1.45vw, 1.375rem);
    line-height: 1.25;
}

.home-service-card p {
    display: -webkit-box;
    flex: 1;
    margin: 0 0 1.15rem;
    overflow: hidden;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.home-service-card .service-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    font-size: .92rem;
}

.home-service-card .service-cta i { transition: transform .22s ease; }
.home-service-card .service-cta:hover i { transform: translateX(5px); }

.home-products-section {
    background: linear-gradient(180deg, rgba(239, 246, 255, .75), rgba(248, 250, 252, 0));
}

.home-product-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 24px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, .09);
}

.home-product-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 138px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(6, 182, 212, .06));
    pointer-events: none;
}

.home-product-card.invogst-card::before {
    background: linear-gradient(135deg, rgba(124, 58, 237, .11), rgba(37, 99, 235, .07));
}

.home-product-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 76px;
}

.home-product-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: var(--white);
    font-size: 2rem;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 15px 30px rgba(37, 99, 235, .25);
}

.home-product-card.invogst-card .home-product-icon { background: linear-gradient(135deg, var(--violet), var(--blue)); }

.home-product-head span,
.platform-venture-label {
    display: block;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-product-head h3 {
    margin: .2rem 0 0;
    color: var(--navy);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
}

.home-product-card > p { margin: 0; color: #475569; }

.home-product-features {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.home-product-features li {
    padding: .48rem .75rem;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
}

.home-platform-section { padding-top: 44px; }

.home-platform-showcase {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 3rem);
    color: var(--white);
    border: 1px solid rgba(96, 165, 250, .2);
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 12%, rgba(6, 182, 212, .36), transparent 25%),
        radial-gradient(circle at 8% 92%, rgba(124, 58, 237, .28), transparent 26%),
        linear-gradient(135deg, #020617, #0f172a 52%, #172554);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .2);
}

.home-platform-showcase .platform-venture-label { color: #67e8f9; }
.platform-description { max-width: 720px; margin: 1rem 0; color: rgba(255, 255, 255, .84); font-size: 1.02rem; }
.home-platform-showcase .platform-feature-list { margin: 1.45rem 0 1.65rem; }
.home-platform-showcase .home-nestqube-visual { min-height: 440px; padding: 48px 38px; }

.home-about-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: #f8fafc;
    isolation: isolate;
}

.home-about-layout { --bs-gutter-x: 60px; }

.home-about-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -180px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .1), rgba(124, 58, 237, .055) 42%, transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

.home-about-heading { margin-bottom: 1.25rem; }

.home-about-heading > span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.home-about-heading h2 {
    max-width: 700px;
    margin-top: .45rem;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
}

.home-about-copy { max-width: 650px; }

.home-about-copy p {
    margin: 0 0 18px;
    color: #475569;
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.8;
}

.about-trust-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 1.6rem 0 2rem;
    list-style: none;
}

.about-trust-highlights li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    gap: 8px;
    padding: 10px 16px;
    color: #0f172a;
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.about-trust-highlights li i { color: var(--blue); font-size: .95rem; }

.about-trust-highlights li:hover {
    color: var(--blue);
    background: #dbeafe;
    border-color: rgba(37, 99, 235, .2);
    transform: translateY(-2px);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 720px;
}

.about-stat-card {
    min-width: 0;
    min-height: 122px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, .06);
}

.about-stat-card strong {
    color: var(--blue);
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.about-stat-card span {
    margin-top: .45rem;
    color: #475569;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.35;
}

.about-trust-stack {
    position: relative;
    width: min(100%, 500px);
    margin-left: auto;
}

.about-trust-stack::after {
    content: "A";
    position: absolute;
    z-index: -1;
    right: -22px;
    bottom: -48px;
    color: var(--blue);
    font-family: var(--heading-font);
    font-size: 180px;
    font-weight: 800;
    line-height: 1;
    opacity: .04;
    pointer-events: none;
}

.brand-transition-card {
    position: relative;
    z-index: 1;
    padding: 32px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(124, 58, 237, .06)), #fff;
    border: 1px solid rgba(37, 99, 235, .14);
    border-left: 5px solid var(--blue);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}

.brand-transition-icon {
    position: absolute;
    top: 22px;
    right: 24px;
    color: rgba(37, 99, 235, .16);
    font-size: 3.4rem;
    line-height: 1;
}

.continuity-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .62rem;
    color: #1d4ed8;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.brand-transition-card h3 {
    position: relative;
    margin: 1.25rem 0 .75rem;
    color: var(--navy);
    font-size: 1.45rem;
    font-weight: 800;
}

.brand-transition-card p {
    position: relative;
    margin: 0;
    color: #475569;
    font-size: .94rem;
    line-height: 1.75;
}

.brand-transition-card .former-identity {
    margin-bottom: .75rem;
    color: #1e3a8a;
    font-weight: 700;
}

.about-mini-trust-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: calc(100% - 24px);
    margin: 20px 0 0 auto;
    padding: 22px;
    color: var(--white);
    background: var(--navy);
    border: 1px solid rgba(96, 165, 250, .16);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.about-mini-trust-card > div {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--violet));
    border-radius: 13px;
    font-size: 1.25rem;
}

.about-mini-trust-card p { display: flex; flex-direction: column; gap: .2rem; margin: 0; }
.about-mini-trust-card strong { display: block; color: var(--white); font-size: .98rem; }
.about-mini-trust-card span { display: block; color: #93c5fd; font-size: .82rem; font-weight: 700; }

.split-section { padding-top: 30px; }
.mission-graphic {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.mission-graphic img {
    position: relative;
    z-index: 2;
    display: block;
    width: min(100%, 520px);
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 22px 45px rgba(15, 23, 42, .16));
}

.screen {
    position: relative;
    z-index: 2;
    width: min(390px, 90%);
    aspect-ratio: 1.45;
    background: linear-gradient(180deg, #fff, #eff6ff);
    border: 12px solid #1d4ed8;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.screen-top,
.dash-line {
    height: 18px;
    border-radius: 5px;
    background: #dbeafe;
    margin-bottom: 18px;
}

.chart {
    display: inline-block;
    width: 28%;
    margin-right: 4%;
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    border-radius: 6px 6px 0 0;
    vertical-align: bottom;
}

.chart-one { height: 70px; }
.chart-two { height: 115px; background: linear-gradient(180deg, #22d3ee, #2563eb); }
.chart-three { height: 92px; background: linear-gradient(180deg, #a78bfa, #7c3aed); }
.rocket { position: absolute; top: 12%; left: 29%; z-index: 3; color: var(--blue); font-size: 3rem; transform: rotate(25deg); }
.person { position: absolute; bottom: 28px; z-index: 3; width: 36px; height: 94px; border-radius: 999px 999px 8px 8px; background: #2563eb; }
.person::before { content: ""; position: absolute; top: -24px; left: 6px; width: 24px; height: 24px; border-radius: 50%; background: #f2b28d; }
.person-left { left: 18%; }
.person-right { right: 18%; background: #7c3aed; }

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.check-list li {
    margin: .72rem 0;
    display: flex;
    gap: .65rem;
    align-items: flex-start;
}

.check-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    color: var(--blue);
    font-weight: 400;
}

.product-section { padding-top: 15px; }
.product-card {
    overflow: hidden;
    color: var(--white);
    padding: clamp(1.4rem, 4vw, 2.2rem);
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 14%, rgba(124, 58, 237, .58), transparent 26%),
        linear-gradient(135deg, #04122d, #0f172a 50%, #24105a);
    box-shadow: var(--shadow);
}

.product-card h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.product-card h3 { font-size: 1.25rem; color: #dbeafe; }
.product-card p { color: rgba(255,255,255,.82); }
.product-card span { color: #bfdbfe; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem 1rem;
    margin-top: 1.2rem;
}

.feature-grid div { font-size: .92rem; }
.feature-grid i { color: #60a5fa; margin-right: .35rem; }

.dashboard-preview {
    min-height: 255px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.9);
    display: grid;
    grid-template-columns: 78px 1fr;
    overflow: hidden;
    box-shadow: 0 20px 42px rgba(0,0,0,.25);
    transform: perspective(900px) rotateY(-8deg);
}

.dashboard-preview.large { min-height: 330px; }
.dash-sidebar { background: #0f2b57; }
.dash-main { padding: 1.3rem; }
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1rem; }
.dash-cards span { height: 64px; border-radius: 8px; background: linear-gradient(135deg, #2563eb, #06b6d4); }
.dash-cards span:nth-child(2) { background: linear-gradient(135deg, #22c55e, #06b6d4); }
.dash-cards span:nth-child(3) { background: linear-gradient(135deg, #f59e0b, #7c3aed); }
.dash-chart { height: 112px; border-radius: 8px; background: linear-gradient(160deg, #dbeafe, #fff 42%, #bfdbfe); position: relative; }
.dash-chart::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 20px; height: 70px; border-bottom: 4px solid var(--blue); border-left: 4px solid var(--cyan); transform: skewX(-18deg); }

.software-products-section { padding-top: 32px; }

.software-card {
    min-height: 100%;
    color: var(--white);
    padding: clamp(1.4rem, 4vw, 2rem);
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 12%, rgba(6, 182, 212, .28), transparent 28%),
        linear-gradient(135deg, #04122d, #0f172a 52%, #172554);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.software-card.invogst-card {
    background:
        radial-gradient(circle at 85% 10%, rgba(124, 58, 237, .34), transparent 30%),
        linear-gradient(135deg, #0f172a, #132a57 48%, #24105a);
}

.software-card.light-card {
    color: var(--text);
    background: var(--white);
    border: 1px solid #e2e8f0;
}

.software-card-head {
    display: flex;
    gap: 1rem;
    align-items: center;
    min-width: 0;
}

.product-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    font-size: 1.9rem;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 16px 30px rgba(37, 99, 235, .25);
}

.invogst-card .product-icon { background: linear-gradient(135deg, var(--blue), var(--violet), var(--cyan)); }
.software-card h3 {
    margin: .1rem 0 0;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    font-weight: 800;
    color: inherit;
    overflow-wrap: anywhere;
}

.software-card span {
    display: block;
    color: #93c5fd;
    font-weight: 800;
    font-size: .82rem;
    text-transform: uppercase;
}

.software-card.light-card span { color: var(--blue); }
.software-card p { color: rgba(255,255,255,.82); margin: 0; }
.software-card.light-card p { color: var(--muted); }

.product-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-feature-list li {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    font-weight: 700;
    font-size: .92rem;
}

.product-feature-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    color: #67e8f9;
}

.light-card .product-feature-list li::before { color: var(--blue); }

.product-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.upcoming-card {
    min-height: 180px;
    padding: 1.5rem;
    border: 1px dashed rgba(37, 99, 235, .35);
    border-radius: 8px;
    background: #f8fbff;
}

.upcoming-card span {
    display: inline-flex;
    padding: .25rem .55rem;
    border-radius: 6px;
    color: var(--blue);
    background: #dbeafe;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.upcoming-card h3 {
    margin: 1rem 0 .4rem;
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 800;
}

.upcoming-card p { color: var(--muted); margin: 0; }

.ventures-section {
    background: linear-gradient(180deg, transparent, #eef6ff 52%, transparent);
}

.venture-card {
    overflow: hidden;
    color: var(--white);
    padding: clamp(1.4rem, 4vw, 2.3rem);
    border-radius: 8px;
    background:
        radial-gradient(circle at 85% 10%, rgba(6, 182, 212, .42), transparent 26%),
        radial-gradient(circle at 10% 85%, rgba(124, 58, 237, .28), transparent 24%),
        linear-gradient(135deg, #020617, #0f172a 52%, #172554);
    box-shadow: var(--shadow);
}

.venture-card.nestqube-card {
    overflow: visible;
}

.venture-kicker {
    display: block;
    color: #93c5fd;
    font-weight: 800;
    font-size: .8rem;
    text-transform: uppercase;
}

.venture-card h3 {
    margin: .45rem 0 0;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
}

.venture-tagline {
    color: #67e8f9;
    font-weight: 800;
}

.venture-card p { color: rgba(255,255,255,.84); }

.platform-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem 1rem;
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
}

.platform-feature-list li {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    font-weight: 700;
    font-size: .92rem;
}

.platform-feature-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    color: #67e8f9;
}

.nestqube-visual {
    position: relative;
    width: min(520px, 100%);
    min-height: 520px;
    margin-inline: auto;
    padding: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    overflow: visible;
}

.nestqube-visual.large { min-height: 520px; }

.nestqube-visual::before,
.nestqube-visual::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    opacity: .82;
    pointer-events: none;
}

.nestqube-visual::before {
    width: 280px;
    height: 280px;
    right: 10px;
    top: 36px;
    background: radial-gradient(circle, rgba(6, 182, 212, .42), transparent 68%);
}

.nestqube-visual::after {
    width: 260px;
    height: 260px;
    left: 8px;
    bottom: 28px;
    background: radial-gradient(circle, rgba(124, 58, 237, .34), transparent 70%);
}

.nestqube-card-shell {
    position: relative;
    z-index: 2;
    width: min(390px, 100%);
    border-radius: 24px;
    padding: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .36));
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 25px 60px rgba(15, 23, 42, .15);
    backdrop-filter: blur(16px);
}

.map-card {
    position: relative;
    width: 100%;
    min-height: 300px;
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 74% 18%, rgba(6, 182, 212, .16), transparent 22%),
        radial-gradient(circle at 22% 78%, rgba(37, 99, 235, .12), transparent 24%),
        linear-gradient(90deg, rgba(37,99,235,.09) 1px, transparent 1px),
        linear-gradient(0deg, rgba(6,182,212,.08) 1px, transparent 1px),
        rgba(255,255,255,.9);
    background-size: auto, auto, 56px 56px, 56px 56px, auto;
}

.map-card span {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 8px rgba(37,99,235,.14);
}

.map-card span:nth-child(1) { left: 18%; top: 32%; }
.map-card span:nth-child(2) { right: 18%; top: 36%; background: var(--cyan); }
.map-card span:nth-child(3) { left: 45%; bottom: 20%; background: var(--violet); }

.nestqube-logo-mark {
    position: relative;
    z-index: 3;
    width: min(260px, 78%);
    height: auto;
    display: block;
    border-radius: 16px;
    filter: drop-shadow(0 18px 30px rgba(15, 23, 42, .16));
}

.listing-chip {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    max-width: 250px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    color: var(--navy);
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .16);
    animation: float 5s ease-in-out infinite;
    white-space: nowrap;
}

.listing-chip i {
    flex: 0 0 auto;
    color: var(--blue);
}

.chip-one {
    left: -40px;
    top: 20px;
}

.chip-nearby {
    left: -30px;
    bottom: 30px;
    min-width: 220px;
    white-space: normal;
    animation-delay: .45s;
}

.chip-two {
    right: -40px;
    bottom: -10px;
    color: #0f8a42;
    animation-delay: .9s;
}

.chip-two i { color: #16a34a; }

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

.platform-hero {
    background:
        radial-gradient(circle at 82% 24%, rgba(6,182,212,.34), transparent 28%),
        radial-gradient(circle at 12% 82%, rgba(124,58,237,.22), transparent 24%),
        linear-gradient(135deg, #020617, #0f172a 54%, #172554);
}

.nestqube-hero h1 {
    max-width: 780px;
    font-size: clamp(2.55rem, 4.2vw, 3.65rem);
    line-height: 1.12;
}

.nestqube-hero p {
    max-width: 720px;
}

.nestqube-hero .hero-actions {
    margin-top: 1rem;
}

.powered-note {
    display: inline-flex;
    margin-top: .6rem;
    padding: .35rem .65rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 7px;
    color: #bfdbfe;
    background: rgba(255,255,255,.08);
    font-weight: 800;
    font-size: .84rem;
}

.platform-about-section {
    background: linear-gradient(180deg, transparent, #edf5ff);
}

.technology-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.technology-grid span {
    display: inline-flex;
    padding: .55rem .75rem;
    border-radius: 7px;
    background: #eff6ff;
    color: var(--navy);
    font-weight: 800;
    border: 1px solid #dbeafe;
}

.product-hero .hero-actions { margin-top: 1.5rem; }

.invoice-visual {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
}

.invoice-sheet {
    width: min(390px, 100%);
    border-radius: 8px;
    padding: 1.4rem;
    background: rgba(255,255,255,.96);
    color: var(--navy);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
}

.invoice-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.invoice-top span {
    color: var(--blue);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.invoice-top strong { font-size: 1.4rem; }
.invoice-row {
    height: 14px;
    border-radius: 5px;
    background: #dbeafe;
    margin-bottom: .65rem;
}

.invoice-row.short { width: 58%; }
.invoice-table {
    display: grid;
    grid-template-columns: 1.4fr 1fr .8fr;
    gap: .5rem;
    margin: 1.2rem 0;
}

.invoice-table span {
    min-height: 34px;
    border-radius: 6px;
    background: #eff6ff;
}

.invoice-table span:nth-child(3n) { background: #dcfce7; }
.invoice-total {
    width: 45%;
    height: 42px;
    margin-left: auto;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--violet));
}

.invoice-badge {
    position: absolute;
    right: 0;
    bottom: 44px;
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    padding: .7rem .9rem;
    border-radius: 8px;
    background: #06b6d4;
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 18px 35px rgba(6, 182, 212, .3);
}

.institute-visual {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
}

.institute-visual .dashboard-preview {
    width: min(430px, 100%);
}

.institute-badge {
    background: linear-gradient(135deg, var(--blue), var(--violet));
}

.invogst-audience { background: linear-gradient(180deg, transparent, #edf5ff); }
.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.audience-grid div {
    display: flex;
    gap: .55rem;
    align-items: center;
    padding: .9rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    font-weight: 800;
    color: var(--navy);
}

.audience-grid i { color: var(--blue); }

.industries-section { background: linear-gradient(180deg, transparent, #edf5ff); }
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.industry-card { min-height: 105px; display: grid; place-items: center; text-align: center; padding: .8rem; font-weight: 800; color: var(--navy); }
.industry-card span { font-size: .9rem; }

.project-card,
.portfolio-detail .project-screen {
    overflow: hidden;
    border-radius: 8px;
    min-height: 210px;
    box-shadow: 0 15px 34px rgba(15, 23, 42, .09);
}

.project-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 24px 60px rgba(37, 99, 235, .18);
}

.portfolio-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--light);
}

.portfolio-section .section-heading {
    max-width: 780px;
    margin-bottom: 1.5rem;
}

.portfolio-intro {
    max-width: 720px;
    margin: .8rem 0 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

.portfolio-filters {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.portfolio-filters::-webkit-scrollbar { display: none; }

.portfolio-filter {
    flex: 0 0 auto;
    min-height: 40px;
    padding: .55rem 1rem;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 999px;
    color: #475569;
    background: var(--white);
    font: 700 .84rem/1 var(--body-font);
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.portfolio-filter:hover {
    color: var(--blue);
    border-color: rgba(37, 99, 235, .4);
}

.portfolio-filter.is-active {
    color: var(--white);
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 10px 22px rgba(37, 99, 235, .24);
}

.portfolio-item[hidden] { display: none !important; }

.project-card-visual {
    position: relative;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #eef2ff);
}

.project-card-heading {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: var(--blue);
}

.project-category {
    padding: .42rem .68rem;
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.project-visual-link {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--navy);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
    transition: color .2s ease, transform .2s ease;
}

.project-visual-link:hover { color: var(--blue); transform: translateY(-2px); }

.project-card-icon {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-top: 1.15rem;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 24px rgba(37, 99, 235, .22);
    font-size: 1.55rem;
}

.project-visual-lines {
    position: absolute;
    right: -18px;
    bottom: -14px;
    width: 52%;
    display: grid;
    gap: .55rem;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 8px;
    background: rgba(255, 255, 255, .42);
    transform: rotate(-5deg);
}

.project-visual-lines span {
    height: 8px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .14);
}

.project-visual-lines span:nth-child(2) { width: 78%; }
.project-visual-lines span:nth-child(3) { width: 56%; }

.project-card-body {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
}

.project-card-body h3 {
    margin: 0 0 .55rem;
    color: var(--navy);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.32;
    overflow-wrap: anywhere;
}

.project-card-body .project-domain {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--blue);
    font-size: .875rem;
    overflow-wrap: anywhere;
}

.project-card-body p {
    margin: .9rem 0 1rem;
    color: #475569;
    font-size: .9375rem;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.15rem;
}

.project-tags span {
    padding: .32rem .55rem;
    border: 1px solid rgba(37, 99, 235, .1);
    border-radius: 999px;
    color: #475569;
    background: #f8fafc;
    font-size: .7rem;
    font-weight: 700;
}

.project-card-action {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    padding-bottom: .2rem;
    border-bottom: 1px solid rgba(37, 99, 235, .28);
    color: var(--blue);
    font-size: .9rem;
    font-weight: 800;
}

.project-card-action i { transition: transform .2s ease; }
.project-card:hover .project-card-action i { transform: translateX(4px); }

.portfolio-empty {
    margin: 1rem 0 0;
    padding: 1.5rem;
    border: 1px dashed rgba(37, 99, 235, .24);
    border-radius: 8px;
    color: #475569;
    text-align: center;
    background: rgba(255, 255, 255, .7);
}

.portfolio-view-all-wrap { margin-top: 2.25rem; text-align: center; }

.portfolio-view-all {
    border-radius: 999px;
    padding-inline: 1.5rem;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    transition: transform .2s ease, box-shadow .2s ease;
}

.portfolio-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(37, 99, 235, .3);
}

.project-screen {
    position: relative;
    min-height: 150px;
    padding: 1rem;
    color: var(--navy);
    background:
        radial-gradient(circle at 84% 20%, rgba(37,99,235,.2), transparent 25%),
        linear-gradient(135deg, #f8fafc, #dbeafe);
}

.project-browser-bar {
    height: 32px;
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: 0 .75rem;
    border-radius: 8px 8px 0 0;
    background: rgba(15, 23, 42, .82);
}

.project-browser-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #60a5fa;
}

.project-browser-bar span:nth-child(2) { background: #22d3ee; }
.project-browser-bar span:nth-child(3) { background: #a78bfa; }

.project-preview-body {
    min-height: 120px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid rgba(148, 163, 184, .26);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(8px);
}

.project-preview-icon {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 14px 28px rgba(37, 99, 235, .25);
    font-size: 2rem;
}

.project-preview-copy strong,
.project-preview-copy span {
    display: block;
}

.project-preview-copy strong {
    color: var(--navy);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    line-height: 1.18;
}

.project-preview-copy span {
    margin-top: .3rem;
    color: var(--muted);
    font-weight: 700;
    font-size: .86rem;
}

.project-preview-lines {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr .75fr .5fr;
    gap: .5rem;
    opacity: .72;
}

.project-preview-lines span {
    height: 7px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .24);
}

.education .project-screen { background: radial-gradient(circle at 88% 18%, rgba(245, 158, 11, .22), transparent 26%), linear-gradient(135deg, #ecfeff, #dbeafe 58%, #fef3c7); }
.education .project-preview-icon { background: linear-gradient(135deg, #0e7490, #2563eb); }
.education .project-card-visual { background: linear-gradient(135deg, #e0f2fe, #eef2ff); }
.education .project-card-icon { background: linear-gradient(135deg, #0e7490, #2563eb); }
.ecommerce .project-screen { background: linear-gradient(145deg, #fff7ed, #fef3c7); }
.ecommerce .project-card-visual { background: linear-gradient(135deg, #fef3c7, #ffe4e6); }
.ecommerce .project-card-icon { background: linear-gradient(135deg, #c2410c, #ea580c); }
.media .project-screen { background: linear-gradient(145deg, #f5f3ff, #ede9fe); }
.media .project-card-visual { background: linear-gradient(135deg, #ede9fe, #dbeafe); }
.media .project-card-icon { background: linear-gradient(135deg, #6d28d9, #db2777); }
.construction-materials .project-screen { background: linear-gradient(145deg, #f8fafc, #e2e8f0); }
.construction-materials .project-card-visual { background: linear-gradient(135deg, #e2e8f0, #fef3c7); }
.construction-materials .project-card-icon { background: linear-gradient(135deg, #334155, #b45309); }
.legal-services .project-screen { background: linear-gradient(145deg, #f0fdf4, #dcfce7); }
.legal-services .project-card-visual { background: linear-gradient(135deg, #dcfce7, #e0f2fe); }
.legal-services .project-card-icon { background: linear-gradient(135deg, #166534, #0f766e); }
.healthcare .project-screen { background: radial-gradient(circle at 88% 18%, rgba(14, 165, 233, .22), transparent 26%), linear-gradient(135deg, #ecfeff, #e0f2fe); }
.healthcare .project-card-visual { background: linear-gradient(135deg, #dcfce7, #e0f2fe); }
.healthcare .project-preview-icon { background: linear-gradient(135deg, #0891b2, #14b8a6); }
.furniture .project-screen { background: radial-gradient(circle at 88% 18%, rgba(146, 64, 14, .22), transparent 26%), linear-gradient(135deg, #fafaf9, #fed7aa); }
.furniture .project-card-visual { background: linear-gradient(135deg, #fef3c7, #ffe4e6); }
.furniture .project-preview-icon { background: linear-gradient(135deg, #92400e, #0f172a); }
.furniture .project-card-icon { background: linear-gradient(135deg, #92400e, #0f172a); }
.mobile .project-screen { background: radial-gradient(circle at 88% 18%, rgba(124, 58, 237, .18), transparent 26%), linear-gradient(135deg, #eff6ff, #dbeafe); }
.mobile .project-card-visual { background: linear-gradient(135deg, #dbeafe, #ede9fe); }
.mobile .project-preview-icon { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.mobile .project-card-icon { background: linear-gradient(135deg, #2563eb, #7c3aed); }

.testimonial-card {
    min-height: 190px;
    padding: 1.4rem;
}

.testimonial-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-head > i { color: var(--blue); font-size: 2rem; }
.testimonial-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 24px rgba(37, 99, 235, .18);
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-card p { margin: .2rem 0 1rem; }
.testimonial-card strong { display: block; color: var(--navy); }
.testimonial-card span { color: var(--muted); font-size: .9rem; }
.swiper { padding-bottom: 42px; }
.swiper-pagination-bullet-active { background: var(--blue); }

.cta-banner { padding: 0 0 48px; }
.cta-inner {
    border-radius: 8px;
    padding: clamp(1.4rem, 4vw, 2.2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    color: var(--white);
    background:
        radial-gradient(circle at 90% 90%, rgba(6,182,212,.55), transparent 20%),
        linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
}

.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; margin: 0; }
.cta-inner p { margin: .2rem 0 0; }

.footer {
    --footer-bg: #020617;
    --footer-panel: rgba(15, 23, 42, .72);
    --footer-text: rgba(255,255,255,.88);
    --footer-muted: rgba(203, 213, 225, .78);
    --footer-line: rgba(148, 163, 184, .16);
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .18), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(124, 58, 237, .14), transparent 28%),
        var(--footer-bg);
    color: var(--footer-muted);
    padding: 54px 0 0;
    border-top: 1px solid rgba(37, 99, 235, .28);
}

.footer-main {
    row-gap: 2.2rem;
    padding-bottom: 34px;
}

.footer-brand-col {
    padding-right: clamp(1rem, 3vw, 2.4rem);
}

.footer-logo {
    width: clamp(220px, 18vw, 260px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    padding: .5rem .7rem;
    border: 1px solid rgba(219, 234, 254, .42);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,246,255,.95));
    box-shadow: 0 18px 44px rgba(0, 0, 0, .2), 0 0 0 1px rgba(37,99,235,.08);
    margin-bottom: 1.15rem;
}

.footer h3 {
    position: relative;
    color: var(--white);
    font-size: .98rem;
    font-weight: 800;
    margin-bottom: 1.15rem;
    padding-bottom: .65rem;
}

.footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--violet));
}

.footer p {
    max-width: 340px;
    margin-bottom: 1.15rem;
    color: var(--footer-muted);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: .62rem;
    line-height: 1.42;
}

.footer a {
    color: var(--footer-muted);
    transition: color .2s ease, transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.footer li a {
    display: inline-flex;
}

.footer a:hover {
    color: var(--white);
}

.footer li a:hover {
    transform: translateX(3px);
    color: #93c5fd;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(15, 23, 42, .78);
    border: 1px solid rgba(96, 165, 250, .24);
    color: var(--white);
}

.social-links a:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--blue), var(--violet));
    border-color: transparent;
}

.contact-list li {
    display: flex;
    gap: .72rem;
    align-items: flex-start;
    min-width: 0;
}

.contact-list i {
    color: #60a5fa;
    margin-top: .05rem;
    flex: 0 0 auto;
}

.contact-list a,
.contact-list span {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.footer-contact-list li {
    margin-bottom: .82rem;
}

.footer-contact-list a,
.footer-contact-list span {
    line-height: 1.45;
}

.footer-contact-list i {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(37, 99, 235, .14);
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--footer-line);
    padding: 18px 0 20px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(280px, 1fr);
    align-items: center;
    gap: 1.2rem;
    font-size: .88rem;
}

.footer-bottom p {
    margin: 0;
    max-width: none;
}

.footer-copy {
    color: var(--footer-text);
}

.footer-former {
    display: inline-flex;
    justify-content: center;
    padding: .35rem .7rem;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 999px;
    background: rgba(15, 23, 42, .62);
    color: rgba(203, 213, 225, .74);
    text-align: center;
    white-space: nowrap;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem 1rem;
}

.footer-legal a {
    display: inline-flex;
    color: rgba(203, 213, 225, .82);
}

.footer-legal a:hover {
    color: #93c5fd;
}

.page-hero {
    color: var(--white);
    padding: 110px 0 76px;
    background:
        radial-gradient(circle at 78% 20%, rgba(37,99,235,.42), transparent 28%),
        linear-gradient(135deg, #020617, #0f172a);
}

.content-panel,
.form-card,
.detail-card,
.blog-card,
.portfolio-detail { padding: clamp(1.3rem, 3vw, 2rem); }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.values-grid > div { padding: 1.2rem; }
.values-grid strong { display: block; margin: .75rem 0 .25rem; color: var(--navy); }
.values-grid span { color: var(--muted); }
.detail-card { min-height: 260px; }
.contact-panel {
    background: linear-gradient(135deg, var(--navy), #172554);
    color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
}

.contact-panel p,
.contact-list.light a,
.contact-list.light span { color: rgba(255,255,255,.82); }

.legacy-note {
    border: 1px solid rgba(37, 99, 235, .18);
    border-left: 4px solid var(--blue);
    border-radius: 8px;
    background: #eff6ff;
    padding: 1.1rem 1.2rem;
    color: var(--text);
}

.legacy-note strong {
    display: block;
    color: var(--navy);
    margin-bottom: .35rem;
}

.legacy-note p { margin: 0; color: var(--text); }
.product-note { margin: 1rem 0; background: rgba(255, 255, 255, .1); border-color: rgba(255,255,255,.32); color: var(--white); }
.product-note strong,
.product-note p { color: var(--white); }

.section-note {
    color: var(--muted);
    max-width: 760px;
    margin: .5rem 0 0;
}

.process-card {
    min-height: 230px;
    border-radius: 8px;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.process-card span {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    color: var(--white);
    font-weight: 800;
}

.process-card h3 {
    margin: 1rem 0 .5rem;
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 800;
}

.process-card p { margin: 0; color: var(--muted); }

.policy-content h2 {
    margin-top: 1.4rem;
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 800;
}
.form-control,
.form-select {
    min-height: 48px;
    border-radius: 7px;
    border-color: #cbd5e1;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 .25rem rgba(37,99,235,.16);
}

.crm-section {
    background: #f8fafc;
}

.crm-login {
    max-width: 720px;
    margin: 0 auto;
}

.crm-login h2,
.crm-panel h2,
.crm-item h3 {
    color: var(--navy);
    font-weight: 800;
}

.crm-toolbar {
    position: sticky;
    top: 92px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    padding: .9rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.crm-panel {
    padding: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
    scroll-margin-top: 170px;
}

.crm-item {
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
}

.crm-item h3 {
    margin-bottom: 1rem;
    font-size: 1.08rem;
}

.crm-panel table {
    min-width: 920px;
}

.narrow { max-width: 840px; }

@media (max-width: 1199.98px) {
    .industry-grid { grid-template-columns: repeat(3, 1fr); }
    .home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0 1.2rem;
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .hero-section { padding-top: 70px; }
    .stats-card { grid-template-columns: repeat(2, 1fr); }
    .hero-visual { min-height: 380px; }
    .hero-logo { width: min(340px, 68vw); }
    .platform { bottom: 34px; width: min(340px, 70%); height: 66px; }
    .nestqube-visual {
        width: min(500px, 100%);
        min-height: 500px;
        padding: 54px;
    }
    .chip-one { left: -18px; top: 24px; }
    .chip-nearby { left: -14px; bottom: 42px; }
    .chip-two { right: -14px; bottom: 10px; }
    .cta-inner { align-items: flex-start; flex-direction: column; }
    .footer {
        padding-top: 44px;
    }
    .footer-bottom {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
    .footer-former {
        text-align: left;
        white-space: normal;
    }
    .footer-legal {
        justify-content: flex-start;
    }
    .footer p { max-width: 360px; }
    .home-about-heading h2 { font-size: clamp(1.875rem, 5vw, 2.25rem); }
    .home-about-layout { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2.5rem; }
    .about-trust-stack { width: 100%; margin-left: 0; }
}

@media (max-width: 767.98px) {
    .navbar { min-height: 74px; }
    .navbar-brand { padding: .22rem .42rem; }
    .navbar-brand img { width: 162px; height: 50px; }
    .hero-section { min-height: auto; padding: 54px 0 96px; }
    .page-hero { padding: 78px 0 54px; }
    .hero-section h1, .page-hero h1 { font-size: clamp(2rem, 10vw, 2.35rem); }
    .nestqube-hero h1 { font-size: clamp(2rem, 8.5vw, 2.65rem); }
    .hero-actions .btn { width: 100%; }
    .hero-visual { min-height: 310px; margin-top: 1rem; }
    .hero-logo { width: min(280px, 74vw); }
    .platform { bottom: 26px; width: min(280px, 70%); height: 56px; }
    .stats-card { grid-template-columns: 1fr; }
    .stat-item { grid-template-columns: auto 1fr; }
    .section { padding: 56px 0; }
    .home-about-section { padding: 60px 0; }
    .portfolio-section { padding-top: 50px; padding-bottom: 50px; }
    .portfolio-intro { font-size: .94rem; }
    .portfolio-filters {
        margin-right: -12px;
        margin-bottom: 1.5rem;
        padding-right: 12px;
        padding-bottom: .35rem;
    }
    .project-card-visual { height: 150px; padding: 1rem; }
    .project-card-icon {
        width: 48px;
        height: 48px;
        margin-top: .8rem;
        font-size: 1.3rem;
    }
    .project-card-body { min-height: 0; padding: 1.2rem; }
    .project-card-body h3 { font-size: 1.25rem; }
    .project-card-body p { font-size: .92rem; }
    .service-card,
    .detail-card,
    .process-card,
    .testimonial-card,
    .upcoming-card { min-height: auto; }
    .home-services-grid { grid-template-columns: minmax(0, 1fr); }
    .home-service-card { min-height: 310px; }
    .home-product-card { border-radius: 20px; }
    .home-product-head { align-items: flex-start; }
    .home-product-icon { width: 64px; height: 64px; flex-basis: 64px; border-radius: 17px; }
    .home-platform-showcase { border-radius: 22px; }
    .home-platform-showcase .home-nestqube-visual { min-height: auto; padding: 0; }
    .home-about-copy p { font-size: 1rem; line-height: 1.75; }
    .about-trust-highlights { margin: 1.35rem 0 1.65rem; }
    .about-stat-card { min-height: 105px; }
    .brand-transition-card { padding: 22px; }
    .brand-transition-icon { top: 18px; right: 18px; font-size: 2.8rem; }
    .about-mini-trust-card { width: 100%; }
    .feature-grid,
    .product-feature-list,
    .platform-feature-list,
    .values-grid,
    .industry-grid,
    .audience-grid { grid-template-columns: 1fr; }
    .product-actions .btn,
    .cta-inner .btn,
    .cta-inner .d-flex { width: 100%; }
    .cta-inner .d-flex {
        flex-direction: column;
        align-items: stretch;
    }
    .software-card-head { align-items: flex-start; }
    .software-card { gap: .95rem; }
    .dashboard-preview { transform: none; }
    .dashboard-preview.large { min-height: 280px; }
    .invoice-visual { min-height: 320px; }
    .invoice-sheet { transform: none; }
    .invoice-badge { position: static; margin-top: 1rem; justify-self: start; }
    .nestqube-visual,
    .nestqube-visual.large {
        width: 100%;
        min-height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: .85rem;
        overflow: visible;
    }
    .nestqube-visual::before,
    .nestqube-visual::after {
        opacity: .5;
        filter: blur(24px);
    }
    .nestqube-card-shell {
        width: min(390px, 100%);
        order: 2;
        padding: 12px;
        border-radius: 20px;
    }
    .map-card {
        min-height: 250px;
        border-radius: 18px;
        padding: 1.35rem;
    }
    .nestqube-logo-mark {
        width: min(220px, 76%);
    }
    .listing-chip {
        position: static;
        width: min(100%, 320px);
        max-width: none;
        justify-content: center;
        animation: none;
        transform: none;
        margin: 0;
    }
    .chip-one { order: 1; align-self: flex-start; }
    .chip-nearby { order: 3; align-self: flex-start; min-width: 0; }
    .chip-two { order: 4; align-self: flex-end; }
    .tech-icon { width: 56px; height: 56px; font-size: 1.2rem; }
    .orbital { width: min(82%, 300px); }
    .orbital-two { width: min(64%, 230px); }
    .project-screen { min-height: 180px; }
    .footer-main { padding-bottom: 28px; }
    .footer-logo { width: min(100%, 240px); }
    .footer-legal { gap: .55rem 1rem; }
}

@media (max-width: 420px) {
    .navbar-brand img { width: 142px; height: 44px; }
    .quote-btn { width: 100%; }
    .hero-visual { min-height: 260px; }
    .hero-logo { width: min(235px, 74vw); }
    .platform { bottom: 24px; height: 46px; width: 68%; }
    .tech-icon.cloud { left: 2%; }
    .tech-icon.ai { left: 0; }
    .tech-icon.code { right: 0; }
    .tech-icon.server { right: 0; }
}

@media (max-width: 374.98px) {
    .about-stats-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
