/* ==========================================================================
   NovaZphere Solutions – Marketing Site Stylesheet
   Design System: Deep-space infinite background, glassmorphism, floating layout
   ========================================================================== */

/* ── Google Fonts ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@300;400;500&display=swap');

/* ── Utility Animations ───────────────────────────────────────────────────── */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

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

/* ── Custom Properties (Design Tokens) ────────────────────────────────────── */
:root {
    /* NovaZphere Palette */
    --nz-deep-navy: #112d4e;
    --nz-blue: #1a4578;
    --nz-bright-blue: #2563a8;
    --nz-grey: #aaabab;
    --nz-light-grey: #c4c4c4;
    --nz-grey-blue: #c1c6c6;
    --nz-white: #f0f2f5;
    --nz-black: #050a12;

    /* Derived Colors */
    --nz-glow: rgba(26, 69, 120, 0.6);
    --nz-glow-soft: rgba(26, 69, 120, 0.15);
    --nz-glass-bg: rgba(17, 45, 78, 0.25);
    --nz-glass-border: rgba(170, 171, 171, 0.12);
    --nz-glass-hover: rgba(17, 45, 78, 0.4);
    --nz-accent: #3b8beb;
    --nz-accent-light: #6cb4f0;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-xxl: 12rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--nz-light-grey);
    background: var(--nz-black);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Infinite Deep-Space Background ───────────────────────────────────────── */
.universe {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(17, 45, 78, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(26, 69, 120, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(59, 139, 235, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #050a12 0%, #0a1628 40%, #0d1f3c 70%, #050a12 100%);
}

.stars,
.stars-mid,
.stars-far {
    position: absolute;
    inset: 0;
    background-repeat: repeat;
}

.stars {
    background-image:
        radial-gradient(1.5px 1.5px at 100px 50px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 250px 150px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1.2px 1.2px at 400px 80px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 550px 200px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.5px 1.5px at 700px 120px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(0.8px 0.8px at 850px 250px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1.2px 1.2px at 150px 300px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 350px 350px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.5px 1.5px at 600px 280px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 50px 180px, rgba(255, 255, 255, 0.5), transparent);
    background-size: 900px 400px;
    animation: drift-stars 60s linear infinite;
}

.stars-mid {
    background-image:
        radial-gradient(1px 1px at 80px 120px, rgba(170, 171, 171, 0.5), transparent),
        radial-gradient(1px 1px at 300px 60px, rgba(170, 171, 171, 0.4), transparent),
        radial-gradient(1px 1px at 520px 200px, rgba(170, 171, 171, 0.5), transparent),
        radial-gradient(1px 1px at 180px 280px, rgba(170, 171, 171, 0.3), transparent),
        radial-gradient(1px 1px at 700px 160px, rgba(170, 171, 171, 0.4), transparent),
        radial-gradient(1px 1px at 450px 320px, rgba(170, 171, 171, 0.5), transparent);
    background-size: 800px 360px;
    animation: drift-stars 90s linear infinite;
    opacity: 0.6;
}

.stars-far {
    background-image:
        radial-gradient(0.7px 0.7px at 50px 100px, rgba(193, 198, 198, 0.3), transparent),
        radial-gradient(0.7px 0.7px at 250px 50px, rgba(193, 198, 198, 0.2), transparent),
        radial-gradient(0.7px 0.7px at 450px 180px, rgba(193, 198, 198, 0.3), transparent),
        radial-gradient(0.7px 0.7px at 650px 100px, rgba(193, 198, 198, 0.2), transparent),
        radial-gradient(0.7px 0.7px at 150px 250px, rgba(193, 198, 198, 0.25), transparent);
    background-size: 700px 300px;
    animation: drift-stars 150s linear infinite;
    opacity: 0.35;
}

@keyframes drift-stars {
    from {
        transform: translateY(0);
    }

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

/* Floating nebula blobs */
.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: nebula-float 25s ease-in-out infinite alternate;
}

.nebula--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 69, 120, 0.5), transparent 70%);
    top: -10%;
    left: -5%;
    animation-duration: 30s;
}

.nebula--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 139, 235, 0.3), transparent 70%);
    top: 40%;
    right: -8%;
    animation-duration: 22s;
    animation-delay: -8s;
}

.nebula--3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(17, 45, 78, 0.5), transparent 70%);
    bottom: -5%;
    left: 30%;
    animation-duration: 28s;
    animation-delay: -15s;
}

@keyframes nebula-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, -30px) scale(1.1);
    }

    100% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Infinite grid overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 69, 120, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 69, 120, 0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: grid-scroll 40s linear infinite;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}

@keyframes grid-scroll {
    from {
        transform: translateY(0);
    }

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

/* ── Scrollable Content Layer ─────────────────────────────────────────────── */
.content-layer {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* ── Glass Card Base ──────────────────────────────────────────────────────── */
.glass {
    background: var(--nz-glass-bg);
    border: 1px solid var(--nz-glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    padding: var(--space-md);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass:hover {
    background: var(--nz-glass-hover);
    border-color: rgba(170, 171, 171, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 40px var(--nz-glow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ── Section Headers ──────────────────────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--nz-accent);
    margin-bottom: 0.75rem;
    padding: 0.35rem 1rem;
    background: rgba(59, 139, 235, 0.08);
    border: 1px solid rgba(59, 139, 235, 0.2);
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--nz-white);
    line-height: 1.15;
}

/* ── Accent Gradient Text ─────────────────────────────────────────────────── */
.accent {
    background: linear-gradient(135deg, var(--nz-accent), var(--nz-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════════ */
.hero-zone {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    background: rgba(26, 69, 120, 0.2);
    border: 1px solid rgba(26, 69, 120, 0.4);
    color: var(--nz-accent);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: var(--space-md);
    animation: fade-in-up 0.8s ease-out both;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--nz-accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(59, 139, 235, 0.4);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 0 6px rgba(59, 139, 235, 0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(3.5rem, 10vw, 7rem);
    line-height: 0.95;
    color: var(--nz-white);
    margin-bottom: var(--space-md);
    max-width: 800px;
}

.hero-line {
    display: block;
    animation: hero-line-in 0.6s ease-out both;
}

.hero-line:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-line:nth-child(2) {
    animation-delay: 0.25s;
}

.hero-line:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes hero-line-in {
    from {
        opacity: 0;
        transform: translateY(40px) skewY(2deg);
    }

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

.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--nz-grey);
    max-width: 620px;
    line-height: 1.9;
    margin-bottom: var(--space-md);
    animation: fade-in-up 0.8s ease-out 0.55s both;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
    animation: fade-in-up 0.8s ease-out 0.7s both;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.btn--lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn--primary {
    background: linear-gradient(135deg, var(--nz-blue), var(--nz-accent));
    color: white;
    box-shadow: 0 4px 20px rgba(26, 69, 120, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 139, 235, 0.5);
}

.btn--glow {
    animation: btn-glow-pulse 3s ease-in-out infinite;
}

@keyframes btn-glow-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(26, 69, 120, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(59, 139, 235, 0.6), 0 0 40px rgba(59, 139, 235, 0.15);
    }
}

.btn--outline {
    background: transparent;
    color: var(--nz-light-grey);
    border: 1px solid var(--nz-glass-border);
    backdrop-filter: blur(10px);
}

.btn--outline:hover {
    background: var(--nz-glass-bg);
    border-color: var(--nz-grey);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════════════════
   SERVICE CARDS – FLOATING GRID
   ══════════════════════════════════════════════════════════════════════════ */
.float-zone {
    position: relative;
    padding: var(--space-xl) var(--space-md);
}

.float-cluster {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
}

.float-card {
    position: relative;
}

.float-card:nth-child(1) {
    grid-column: 1 / 5;
    transform: rotate(-0.8deg) translateY(15px);
}

.float-card:nth-child(2) {
    grid-column: 5 / 9;
    transform: rotate(0.5deg) translateY(-25px);
}

.float-card:nth-child(3) {
    grid-column: 9 / 13;
    transform: rotate(-0.5deg) translateY(10px);
}

.float-card:nth-child(4) {
    grid-column: 1 / 5;
    transform: rotate(0.4deg) translateY(-10px);
}

.float-card:nth-child(5) {
    grid-column: 5 / 9;
    transform: rotate(-0.6deg) translateY(20px);
}

.float-card:nth-child(6) {
    grid-column: 9 / 13;
    transform: rotate(0.7deg) translateY(-15px);
}

.float-card .glass {
    height: 100%;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(26, 69, 120, 0.4), rgba(59, 139, 235, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    color: var(--nz-accent);
    border: 1px solid rgba(59, 139, 235, 0.15);
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--nz-white);
    margin-bottom: 0.4rem;
}

.card-text {
    font-size: 0.92rem;
    color: var(--nz-grey);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════════
   SHOWCASE – OPEN HOLOGRAPHIC LAYOUT
   ══════════════════════════════════════════════════════════════════════════ */
.showcase-zone {
    padding: var(--space-xl) var(--space-md);
    overflow: hidden;
    /* Prevent glow overflow */
}

.showcase-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-xxl);
}

.showcase-item {
    display: flex;
    align-items: center;
    position: relative;
    /* We'll use negative margins for overlap */
}

.showcase-item--reverse {
    flex-direction: row-reverse;
}

/* ── Visual Side ───────────────────── */
.sc-visual-wrapper {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

/* Image container with tech border */
.sc-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(59, 139, 235, 0.2);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(59, 139, 235, 0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.9) contrast(1.1);
}

.showcase-item:hover .sc-img {
    transform: scale(1.02) translateY(-10px);
    filter: brightness(1) contrast(1);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 120px rgba(59, 139, 235, 0.2);
}

/* Back Glow */
.sc-visual-glow {
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle, rgba(59, 139, 235, 0.15), transparent 70%);
    filter: blur(50px);
    z-index: 0;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.showcase-item:hover .sc-visual-glow {
    opacity: 1;
}

/* Huge Number Badge floating behind */
.sc-badge {
    position: absolute;
    top: -60px;
    left: -40px;
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.showcase-item--reverse .sc-badge {
    left: auto;
    right: -40px;
}

/* ── Content Side ──────────────────── */
.sc-content-wrapper {
    flex: 1;
    position: relative;
    z-index: 5;
    /* Above image */
    max-width: 550px;
}

.showcase-item .sc-content-wrapper {
    margin-left: -80px;
    /* Overlap left */
}

.showcase-item--reverse .sc-content-wrapper {
    margin-left: 0;
    margin-right: -80px;
    /* Overlap right */
}

.sc-content {
    /* Glass overrides */
    background: rgba(13, 25, 43, 0.85);
    /* Slightly more opaque for readability */
    border: 1px solid rgba(170, 171, 171, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    padding: var(--space-lg);
    border-radius: 24px;
    transform: translateY(20px);
    /* Offset downwards slightly */
}

.sc-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--nz-white);
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.sc-desc {
    font-size: 1.05rem;
    color: var(--nz-grey);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

/* Feature pills */
.showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: var(--space-md);
}

.feature-pill {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(59, 139, 235, 0.08);
    /* Blue tint */
    border: 1px solid rgba(59, 139, 235, 0.2);
    color: var(--nz-grey-blue);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background: rgba(59, 139, 235, 0.2);
    color: var(--nz-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 139, 235, 0.2);
}

/* ══════════════════════════════════════════════════════════════════════════
   STATS RIBBON
   ══════════════════════════════════════════════════════════════════════════ */
.stats-ribbon {
    display: flex;
    justify-content: center;
    padding: var(--space-xl) var(--space-md);
}

.stats-glass {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    max-width: 1000px;
    width: 100%;
    padding: var(--space-lg);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(var(--space-lg) / -2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(transparent, var(--nz-glass-border), transparent);
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--nz-white), var(--nz-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--nz-grey);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.25rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   MANIFESTO
   ══════════════════════════════════════════════════════════════════════════ */
.manifesto {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    text-align: center;
}

.manifesto-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    line-height: 1.4;
    color: var(--nz-grey-blue);
}

.manifesto-text .highlight {
    color: var(--nz-white);
    position: relative;
}

.manifesto-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--nz-accent), transparent);
    border-radius: 2px;
}

.manifesto-sub {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--nz-accent);
    margin-top: var(--space-md);
    opacity: 0.9;
}

/* ══════════════════════════════════════════════════════════════════════════
   CTA ZONE
   ══════════════════════════════════════════════════════════════════════════ */
.cta-zone {
    display: flex;
    justify-content: center;
    padding: var(--space-xl) var(--space-md) var(--space-xxl);
}

.cta-card {
    max-width: 700px;
    width: 100%;
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 139, 235, 0.08), transparent 60%);
    animation: cta-glow 6s ease-in-out infinite alternate;
}

@keyframes cta-glow {
    from {
        opacity: 0.5;
        transform: scale(1);
    }

    to {
        opacity: 1;
        transform: scale(1.1);
    }
}

.cta-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--nz-white);
    margin-bottom: var(--space-sm);
    position: relative;
}

.cta-text {
    color: var(--nz-grey);
    font-size: 1.05rem;
    margin-bottom: var(--space-md);
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    position: relative;
}

.cta-footnote {
    font-size: 0.78rem;
    color: rgba(170, 171, 171, 0.5);
    margin-top: var(--space-sm);
    position: relative;
    letter-spacing: 0.05em;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
    text-align: center;
    padding: var(--space-md);
    color: rgba(170, 171, 171, 0.4);
    font-size: 0.8rem;
    position: relative;
    border-top: 1px solid rgba(26, 69, 120, 0.1);
}

/* ══════════════════════════════════════════════════════════════════════════
   ANIMATIONS & TRANSITIONS
   ══════════════════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] {
    transition-delay: 0.1s;
}

.reveal[data-delay="2"] {
    transition-delay: 0.2s;
}

.reveal[data-delay="3"] {
    transition-delay: 0.3s;
}

.reveal[data-delay="4"] {
    transition-delay: 0.4s;
}

.reveal[data-delay="5"] {
    transition-delay: 0.5s;
}

/* ── Decorative Geometry ─────────────────────────────────────────────────── */
.geo-float {
    position: absolute;
    border: 1px solid rgba(26, 69, 120, 0.15);
    border-radius: 4px;
    pointer-events: none;
    animation: geo-drift 20s ease-in-out infinite alternate;
}

.geo-float--1 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 8%;
    transform: rotate(45deg);
    animation-duration: 18s;
}

.geo-float--2 {
    width: 60px;
    height: 60px;
    top: 55%;
    left: 5%;
    transform: rotate(30deg);
    border-radius: 50%;
    animation-duration: 24s;
    animation-delay: -7s;
}

.geo-float--3 {
    width: 90px;
    height: 90px;
    bottom: 20%;
    right: 12%;
    transform: rotate(15deg);
    animation-duration: 22s;
    animation-delay: -12s;
}

@keyframes geo-drift {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.3;
    }

    50% {
        transform: rotate(50deg) translate(15px, -20px);
        opacity: 0.5;
    }

    100% {
        transform: rotate(40deg) translate(-10px, 10px);
        opacity: 0.3;
    }
}

/* ── Logo ─────────────────────────────────────────────────────────────────── */
/* ── Site Header & Logo ───────────────────────────────────────────────────── */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-sm) var(--space-md);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 10, 18, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

#site-header.scrolled {
    background: rgba(5, 10, 18, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(59, 139, 235, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 0.4rem var(--space-md);
}

.site-logo {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-logo:hover {
    opacity: 0.8;
}

.site-logo img {
    height: 100px;
    /* Reduced from 180px */
    width: auto;
    filter: brightness(1.2);
    display: block;
    transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#site-header.scrolled .site-logo img {
    height: 60px;
    /* Shrink on scroll */
}

/* ── Nav Dots ─────────────────────────────────────────────────────────────── */
.nav-dots {
    position: fixed;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(170, 171, 171, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-dot:hover,
.nav-dot.active {
    background: var(--nz-accent);
    box-shadow: 0 0 12px rgba(59, 139, 235, 0.5);
    transform: scale(1.3);
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE – Comprehensive Breakpoints
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Large Tablets & Small Laptops (max-width: 1200px) ─────────────────── */
@media (max-width: 1200px) {
    .showcase-list {
        max-width: 100%;
        padding: 0 var(--space-sm);
    }

    .sc-content-wrapper {
        max-width: 480px;
    }
}

/* ── Tablets (max-width: 1024px) ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .float-card:nth-child(n) {
        grid-column: 1 / 7;
        transform: none !important;
    }

    .float-card:nth-child(2n) {
        grid-column: 7 / 13;
    }

    .showcase-item .sc-content-wrapper {
        margin-left: -40px;
    }

    .showcase-item--reverse .sc-content-wrapper {
        margin-right: -40px;
    }

    .sc-img {
        max-width: 450px;
    }

    .sc-title {
        font-size: 2rem;
    }

    .stats-glass {
        gap: var(--space-md);
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    /* Contact form layout */
    .content-block .glass {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .contact-form {
        max-width: 100%;
    }
}

/* ── Mobile Landscape & Small Tablets (max-width: 768px) ───────────────── */
@media (max-width: 768px) {

    /* Global spacing */
    :root {
        --space-xl: 4rem;
        --space-xxl: 6rem;
    }

    /* Header */
    #site-header {
        padding: 0.6rem var(--space-sm);
    }

    .site-logo img {
        height: 60px;
    }

    #site-header.scrolled .site-logo img {
        height: 45px;
    }

    /* Hero */
    .hero-zone {
        padding: var(--space-lg) var(--space-sm);
        min-height: 85vh;
    }

    .hero-title {
        font-size: clamp(2.8rem, 10vw, 5rem);
        max-width: 100%;
    }

    .hero-sub {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 var(--space-xs);
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--space-sm);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Service Cards */
    .float-zone {
        padding: var(--space-lg) var(--space-sm);
    }

    .float-card:nth-child(n),
    .float-card:nth-child(2n) {
        grid-column: 1 / -1;
    }

    /* Showcase */
    .showcase-zone {
        padding: var(--space-md) var(--space-sm);
    }

    .showcase-list {
        gap: var(--space-lg);
    }

    .showcase-item,
    .showcase-item--reverse {
        flex-direction: column !important;
        align-items: stretch;
    }

    .sc-visual-wrapper {
        margin-bottom: -40px;
        z-index: 1;
    }

    .sc-img {
        max-width: 100%;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .sc-badge {
        font-size: 6rem;
        top: -30px;
        left: 0;
        right: auto;
    }

    .showcase-item--reverse .sc-badge {
        right: 0;
        left: auto;
    }

    .sc-content-wrapper {
        margin: 0 !important;
        max-width: 100%;
        z-index: 2;
    }

    .sc-content {
        padding: var(--space-md);
        background: rgba(13, 25, 43, 0.95);
        transform: translateY(0);
        border-radius: 16px;
    }

    .sc-title {
        font-size: 1.8rem;
    }

    .sc-desc {
        font-size: 0.95rem;
    }

    /* Stats */
    .stats-ribbon {
        padding: var(--space-lg) var(--space-sm);
    }

    .stats-glass {
        padding: var(--space-md);
        gap: var(--space-md);
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    /* Manifesto */
    .manifesto {
        padding: var(--space-lg) var(--space-sm);
    }

    .manifesto-text {
        font-size: clamp(1.3rem, 4vw, 2rem);
    }

    /* CTA */
    .cta-zone {
        padding: var(--space-lg) var(--space-sm);
    }

    .cta-card {
        padding: var(--space-md);
    }

    .cta-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .cta-text {
        font-size: 0.95rem;
    }

    .cta-buttons {
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Nav dots */
    .nav-dots {
        display: none;
    }

    /* Geo floats */
    .geo-float {
        display: none;
    }

    /* Content blocks (About/Contact) */
    .content-block {
        max-width: 100%;
        padding: 0 var(--space-sm);
    }

    .content-block .glass {
        padding: var(--space-md) !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .content-text {
        font-size: 1rem;
    }

    /* Contact form */
    .contact-form {
        max-width: 100%;
    }

    .form-input,
    .form-textarea {
        padding: 0.85rem;
        font-size: 1rem;
    }

    /* Footer */
    .site-footer {
        padding: var(--space-md) var(--space-sm);
        font-size: 0.8rem;
    }

    .site-footer p {
        text-align: center;
        line-height: 1.6;
    }
}

/* ── Mobile Portrait (max-width: 480px) ────────────────────────────────── */
@media (max-width: 480px) {
    #site-header {
        padding: 0.5rem 0.75rem;
    }

    .site-logo img {
        height: 45px;
    }

    #site-header.scrolled .site-logo img {
        height: 35px;
    }

    .hero-zone {
        min-height: 80vh;
        padding: var(--space-lg) 0.75rem;
    }

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

    .hero-sub {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .sc-title {
        font-size: 1.5rem;
    }

    .sc-desc {
        font-size: 0.9rem;
    }

    .sc-content {
        padding: var(--space-sm);
    }

    .feature-pill {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .sc-visual-wrapper {
        margin-bottom: -20px;
    }

    .sc-badge {
        font-size: 4rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-text {
        font-size: 0.85rem;
    }

    .manifesto-text {
        font-size: 1.2rem;
    }

    .glass {
        padding: var(--space-sm);
        border-radius: 14px;
    }

    .card-icon {
        width: 44px;
        height: 44px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.85rem;
    }

    /* Content blocks */
    .content-block .glass {
        padding: var(--space-sm) !important;
    }

    .content-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Contact form */
    .form-input,
    .form-textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .form-label {
        font-size: 0.8rem;
    }

    .btn--lg {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ── Very Small Screens (max-width: 360px) ─────────────────────────────── */
@media (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 0.85rem;
    }

    .site-logo img {
        height: 38px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .cta-title {
        font-size: 1.3rem;
    }

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

    .nav-link {
        font-size: 0.8rem;
    }
}

/* ── Navigation Menu ──────────────────────────────────────────────────────── */
.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--nz-grey);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nz-accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--nz-accent);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--nz-white);
    z-index: 1002;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.mobile-toggle svg line {
    transform-origin: center;
    transition: all 0.3s ease;
}

.mobile-toggle.active svg line:nth-child(1) {
    transform: rotate(45deg) translateY(6px) translateX(6px);
}

.mobile-toggle.active svg line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active svg line:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px) translateX(6px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 10, 18, 0.85);
        backdrop-filter: blur(30px) saturate(120%);
        -webkit-backdrop-filter: blur(30px) saturate(120%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1001;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.5rem;
        color: var(--nz-white);
    }

    .site-logo img {
        height: 50px;
        /* Smaller logo on mobile */
    }

    #site-header {
        padding: 0.8rem var(--space-sm);
    }
}

/* ── Form Styles ──────────────────────────────────────────────────────────── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-label {
    font-size: 0.9rem;
    color: var(--nz-grey);
    font-weight: 500;
    margin-left: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(5, 10, 18, 0.6);
    border: 1px solid rgba(59, 139, 235, 0.2);
    border-radius: 12px;
    color: var(--nz-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--nz-accent);
    box-shadow: 0 0 0 3px rgba(59, 139, 235, 0.2);
    background: rgba(5, 10, 18, 0.9);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ── Content Text Styles ──────────────────────────────────────────────────── */
.content-block {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--nz-grey);
    margin-bottom: var(--space-lg);
}

.content-text p {
    margin-bottom: 1.5rem;
}

.content-text h3 {
    font-family: var(--font-heading);
    color: var(--nz-white);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}