:root {
    --bg-obsidian: #05060A;
    --bg-surface: #0A0D14;
    --bg-elevated: rgba(15, 19, 28, 0.78);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);
    --primary: #2563EB;
    --primary-glow: rgba(56, 189, 248, 0.35);
    --accent-cyan: #38BDF8;
    --accent-emerald: #10B981;
    --text-pure: #FFFFFF;
    --text-bright: #F1F5F9;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(56, 189, 248, 0.38);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-obsidian);
    color: var(--text-pure);
    line-height: 1.65;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-obsidian);
    color: var(--text-pure);
    position: relative;
}

/* ==================== ANIMATED AMBIENT AURORA BACKGROUND ==================== */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
    animation: floatAurora 18s ease-in-out infinite alternate;
}

body::before {
    top: -180px;
    right: -120px;
    background: radial-gradient(circle, #1D4ED8 0%, #0EA5E9 50%, transparent 70%);
}

body::after {
    bottom: -200px;
    left: -140px;
    background: radial-gradient(circle, #0284C7 0%, #1E3A8A 55%, transparent 70%);
    animation-duration: 24s;
    animation-direction: alternate-reverse;
}

@keyframes floatAurora {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-60px, 50px, 0) scale(1.12);
    }
    100% {
        transform: translate3d(50px, -40px, 0) scale(0.94);
    }
}

main, header, footer {
    position: relative;
    z-index: 2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== HEADER / GLASS NAVBAR ==================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 6, 10, 0.78);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
    gap: 20px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.brand-logo-img {
    height: 44px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    display: block;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
    filter: brightness(1.1) drop-shadow(0 0 16px rgba(56, 189, 248, 0.45));
    transform: scale(1.02);
}

.brand-logo svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.45));
}

.brand-text-esdi {
    color: #FFFFFF;
}

.brand-text-soft {
    background: linear-gradient(135deg, #FFFFFF 0%, #7DD3FC 55%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes textShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #94A3B8;
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFFFFF;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    border-radius: 4px;
    background: linear-gradient(90deg, #38BDF8, #93C5FD);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 3px;
    font-size: 0.78rem;
    font-weight: 700;
}

.lang-switch a {
    padding: 5px 11px;
    border-radius: 999px;
    color: #94A3B8;
}

.lang-switch a.active {
    background: linear-gradient(135deg, #1E40AF, #0284C7);
    color: #FFFFFF;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

/* ==================== SHIMMER & GLOW BUTTONS ==================== */
.btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1D4ED8 0%, #0284C7 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid rgba(186, 230, 253, 0.28);
    box-shadow: 0 10px 28px -6px rgba(2, 132, 199, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-25deg);
    animation: btnShimmer 4.5s infinite;
}

@keyframes btnShimmer {
    0% { left: -120%; }
    35%, 100% { left: 160%; }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -6px rgba(56, 189, 248, 0.48);
    color: #FFFFFF;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline-dark:hover {
    border-color: #38BDF8;
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px -8px rgba(56, 189, 248, 0.28);
}

/* ==================== HERO SECTION (OBSIDIAN + WARP SPEED STARFIELD) ==================== */
.hero-section {
    position: relative;
    padding: 84px 0 96px;
    background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(29, 78, 216, 0.22), transparent 70%), var(--bg-obsidian);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.hero-stars-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Subtle Animated Cyber Grid Floor */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 35%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 35%, transparent 100%);
    animation: gridDrift 24s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes gridDrift {
    0% { background-position: 0 0; }
    100% { background-position: 56px 56px; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 54px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #7DD3FC;
    background: rgba(56, 189, 248, 0.08);
    padding: 7px 15px;
    border-radius: 999px;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 189, 248, 0.24);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.10);
}

.eyebrow span:first-child {
    color: #38BDF8;
    animation: blinkDot 2s infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.8); }
}

.eyebrow-light {
    color: #93C5FD;
    background: rgba(59, 130, 246, 0.10);
    border-color: rgba(59, 130, 246, 0.26);
}

.hero-title {
    font-size: clamp(2.45rem, 4.4vw, 3.85rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 22px;
}

.hero-title .accent-gradient {
    display: block;
    background: linear-gradient(90deg, #FFFFFF 0%, #BAE6FD 38%, #38BDF8 72%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 7s linear infinite;
}

#hero-kinetic-word {
    white-space: nowrap;
    min-height: 1.15em;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-lead {
    font-size: 1.12rem;
    color: #CBD5E1;
    max-width: 600px;
    margin-bottom: 34px;
    line-height: 1.72;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 44px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
}

.metric-item {
    border-left: 3px solid #38BDF8;
    padding-left: 14px;
    transition: transform 0.3s ease;
}

.metric-item:hover {
    transform: translateX(4px);
    border-left-color: #BAE6FD;
}

.metric-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
}

.metric-label {
    font-size: 0.83rem;
    color: #94A3B8;
    margin-top: 4px;
}

/* ==================== INTERACTIVE PARTICLE CANVAS ==================== */
#esdi-particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.65;
}

/* ==================== INTERACTIVE LIVE COMMAND CENTER (HERO SHOWCASE) ==================== */
.hero-visual {
    position: relative;
}

.command-center-shell {
    position: relative;
    background: linear-gradient(155deg, rgba(13, 17, 26, 0.92) 0%, rgba(6, 8, 13, 0.97) 100%);
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 24px;
    box-shadow:
        0 35px 80px -15px rgba(0, 0, 0, 0.95),
        0 0 48px -12px rgba(2, 132, 199, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    overflow: hidden;
    backdrop-filter: blur(24px);
    transition: transform 0.2s ease-out;
}

/* Animated Glowing Laser Border Line at Top */
.command-center-shell::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38BDF8, #BAE6FD, transparent);
    animation: laserScan 3.8s linear infinite;
}

@keyframes laserScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cc-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.cc-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.35);
}

.cc-dots span:nth-child(3) {
    background: #38BDF8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.65);
}

.cc-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #CBD5E1;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #7DD3FC;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.32);
    padding: 4px 11px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cc-status-badge .pulse-ring {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38BDF8;
    box-shadow: 0 0 10px #38BDF8;
    animation: blinkDot 1.4s infinite;
}

/* Interactive Mode Switcher Tabs */
.cc-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 12px 16px 0;
}

.cc-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 9px 6px;
    border-radius: 11px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    font-family: inherit;
}

.cc-tab-btn:hover {
    color: #FFFFFF;
    border-color: rgba(56, 189, 248, 0.35);
}

.cc-tab-btn.active {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.32), rgba(56, 189, 248, 0.18));
    border-color: #38BDF8;
    color: #FFFFFF;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.22);
}

.cc-body {
    padding: 18px 20px;
}

.cc-panel {
    display: none;
    animation: panelFadeIn 0.35s ease;
}

.cc-panel.active {
    display: block;
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Visual Pipeline Nodes inside Command Center */
.cc-pipeline-visual {
    background: rgba(5, 6, 10, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
}

.cc-node-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.cc-node {
    flex: 1;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    position: relative;
}

.cc-node-icon {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.cc-node-title {
    font-size: 0.73rem;
    font-weight: 800;
    color: #FFFFFF;
}

.cc-node-sub {
    font-size: 0.66rem;
    color: #7DD3FC;
    font-weight: 600;
}

.cc-connector {
    width: 28px;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.cc-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #38BDF8, #FFFFFF, transparent);
    animation: packetFlow 1.4s linear infinite;
}

@keyframes packetFlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cc-progress-bar {
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}

.cc-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #1D4ED8, #38BDF8, #BAE6FD);
    background-size: 200% 100%;
    animation: progressPulse 2.5s linear infinite;
}

@keyframes progressPulse {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.cc-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cc-kpi-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 10px 12px;
}

.cc-kpi-val {
    font-size: 1.08rem;
    font-weight: 800;
    color: #FFFFFF;
}

.cc-kpi-lbl {
    font-size: 0.68rem;
    color: #94A3B8;
    margin-top: 2px;
}

/* Live Real-Time Stream Ticker at Bottom of Command Center */
.cc-live-stream {
    background: rgba(3, 4, 8, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cc-stream-text {
    color: #93C5FD;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cc-stream-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: #38BDF8;
    flex-shrink: 0;
}

/* ==================== INFINITE ANIMATED MARQUEE STRIP ==================== */
.marquee-strip {
    background: rgba(8, 10, 16, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
}

.marquee-strip::before,
.marquee-strip::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-strip::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-obsidian), transparent);
}

.marquee-strip::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-obsidian), transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 42px;
    animation: marqueeScroll 32s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #CBD5E1;
    white-space: nowrap;
}

.marquee-item span.m-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38BDF8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.65);
}

/* ==================== SECTIONS & SPOTLIGHT CARDS ==================== */
.section-light-wave {
    position: relative;
    background: linear-gradient(180deg, #06080E 0%, #090C14 100%);
    color: #FFFFFF;
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.section-dark-cosmos {
    position: relative;
    background:
        radial-gradient(circle at 50% 0%, rgba(29, 78, 216, 0.13) 0%, transparent 60%),
        var(--bg-obsidian);
    color: #FFFFFF;
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.services-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 48px;
    align-items: start;
}

.section-heading-dark,
.section-heading-white {
    font-size: clamp(2rem, 3.3vw, 2.85rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin-bottom: 18px;
}

.section-heading-dark span,
.section-heading-white span {
    background: linear-gradient(90deg, #E2E8F0, #7DD3FC, #38BDF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc-dark {
    font-size: 1.05rem;
    color: #94A3B8;
    margin-bottom: 28px;
    line-height: 1.72;
}

.glass-monolith-art {
    margin-top: 32px;
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(29, 78, 216, 0.12), rgba(11, 14, 22, 0.92));
    border: 1px solid rgba(56, 189, 248, 0.22);
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.7);
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.services-cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Interactive Cursor Spotlight Effect on Cards */
.service-card-light,
.project-glass-card,
.process-step-card,
.form-card {
    position: relative;
    background: linear-gradient(165deg, rgba(16, 20, 30, 0.82) 0%, rgba(8, 10, 16, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

/* Dynamic mouse glow overlay driven by JS (--mouse-x, --mouse-y) */
.service-card-light::before,
.project-glass-card::before,
.process-step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
        rgba(56, 189, 248, 0.12),
        transparent 45%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card-light:hover::before,
.project-glass-card:hover::before,
.process-step-card:hover::before {
    opacity: 1;
}

.service-card-light > *,
.project-glass-card > *,
.process-step-card > * {
    position: relative;
    z-index: 1;
}

.service-card-light:hover,
.project-glass-card:hover,
.process-step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow:
        0 24px 52px -12px rgba(0, 0, 0, 0.88),
        0 0 28px -8px rgba(56, 189, 248, 0.25);
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.26);
    color: #38BDF8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.service-card-light:hover .service-icon-box {
    background: linear-gradient(135deg, #1D4ED8, #0284C7);
    color: #FFFFFF;
    transform: scale(1.06);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
}

.service-icon-box svg {
    width: 24px;
    height: 24px;
}

.service-card-light h3 {
    font-size: 1.28rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.service-card-light p {
    font-size: 0.95rem;
    color: #CBD5E1;
    margin-bottom: 22px;
    line-height: 1.65;
}

.service-card-light {
    border-top: 1px solid rgba(56, 189, 248, 0.22);
}

.service-card-light:hover {
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 
        0 24px 52px -12px rgba(0, 0, 0, 0.9),
        0 0 32px -6px rgba(56, 189, 248, 0.32);
}

.card-image-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(8, 12, 22, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7DD3FC;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.section-portfolio-ambient {
    position: relative;
    background:
        radial-gradient(circle at 50% 15%, rgba(14, 165, 233, 0.10) 0%, transparent 55%),
        radial-gradient(circle at 100% 80%, rgba(29, 78, 216, 0.08) 0%, transparent 50%),
        var(--bg-obsidian);
    color: #FFFFFF;
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.circle-arrow-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    color: #38BDF8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s ease;
}

.service-card-light:hover .circle-arrow-link,
.project-glass-card:hover .circle-arrow-link {
    background: linear-gradient(135deg, #1D4ED8, #0284C7);
    border-color: transparent;
    color: #FFFFFF;
    transform: translateX(3px);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}

/* ==================== PORTFOLIO CARDS ==================== */
.section-header-split {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 50px;
}

.projects-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.project-art-frame {
    height: 185px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #070A12;
    border-radius: 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    overflow: hidden;
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.6);
}

.project-art-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 10, 0.55) 100%);
    pointer-events: none;
}

.card-preview-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.service-card-light:hover .card-preview-photo,
.project-glass-card:hover .card-preview-photo {
    transform: scale(1.06);
    filter: brightness(1.08);
}

.proj-art-svg {
    width: 170px;
    height: 128px;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-glass-card:hover .proj-art-svg {
    transform: scale(1.08) translateY(-3px);
}

.project-cat-badge {
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #7DD3FC;
    margin-bottom: 6px;
}

.project-glass-card h3 {
    font-size: 1.32rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.project-subtitle {
    font-size: 0.88rem;
    font-weight: 700;
    color: #93C5FD;
    margin-bottom: 10px;
}

.project-desc {
    font-size: 0.91rem;
    color: #94A3B8;
    margin-bottom: 20px;
    line-height: 1.62;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-pill {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
}

/* ==================== PROCESS TIMELINE ==================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
}

.process-step-num {
    font-size: 0.84rem;
    font-weight: 800;
    color: #7DD3FC;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.26);
    padding: 5px 13px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 14px;
}

.process-step-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.process-step-card p {
    font-size: 0.92rem;
    color: #94A3B8;
    line-height: 1.62;
}

/* ==================== FOCUS BADGES ==================== */
.tech-showcase-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: center;
}

.tech-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.tech-badge-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 0.9rem;
    color: #F8FAFC;
    transition: all 0.25s ease;
}

.tech-badge-lg:hover {
    border-color: #38BDF8;
    transform: translateY(-3px);
    background: rgba(56, 189, 248, 0.1);
    box-shadow: 0 10px 24px -8px rgba(56, 189, 248, 0.3);
}

.tech-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38BDF8;
    box-shadow: 0 0 10px #38BDF8;
}

/* ==================== CTA HORIZON BANNER ==================== */
.cta-horizon-section {
    position: relative;
    padding: 96px 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(29, 78, 216, 0.30) 0%, rgba(14, 165, 233, 0.12) 40%, rgba(5, 6, 10, 0.98) 75%),
        var(--bg-obsidian);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.cta-horizon-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}

.cta-value-list {
    list-style: none;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-value-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #F8FAFC;
}

.cta-value-list li span.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* ==================== SUB-PAGE HERO & PROSE ==================== */
.page-hero {
    padding: 72px 0 60px;
    background:
        radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.20) 0%, transparent 50%),
        linear-gradient(180deg, #05060A 0%, #090C15 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 16px;
    font-weight: 600;
}

.breadcrumb-nav a:hover {
    color: #22D3EE;
}

.prose-dark {
    color: #CBD5E1;
    font-size: 1.04rem;
    line-height: 1.78;
}

.prose-dark h3 {
    color: #FFFFFF;
    font-size: 1.42rem;
    font-weight: 800;
    margin: 28px 0 12px;
}

.prose-dark h4 {
    color: #E2E8F0;
    font-size: 1.12rem;
    font-weight: 700;
    margin: 20px 0 8px;
}

.prose-dark p {
    margin-bottom: 16px;
}

.prose-dark ul, .prose-dark ol {
    margin: 14px 0 24px 22px;
    color: #CBD5E1;
}

.prose-dark li {
    margin-bottom: 10px;
}

/* ==================== FORMS ==================== */
.form-card {
    padding: 36px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #E2E8F0;
    margin-bottom: 7px;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    background: rgba(5, 5, 8, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #22D3EE;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

/* ==================== SCROLL REVEAL ANIMATION CLASSES ==================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: #030305;
    padding: 72px 0 36px;
    color: #94A3B8;
    font-size: 0.92rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: #38BDF8;
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-size: 0.84rem;
}

/* ==================== KINETIC HERO TEXT TRANSITION ==================== */
#hero-kinetic-word {
    transition: opacity 0.26s ease, transform 0.26s ease;
}

/* ==================== LINEAR / VERCEL INTERACTIVE BENTO GRID ==================== */
.bento-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.bento-span-2 {
    grid-column: span 2;
}

.bento-cell {
    position: relative;
    background: linear-gradient(165deg, rgba(15, 19, 29, 0.86) 0%, rgba(7, 9, 15, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 28px 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.bento-cell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        520px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
        rgba(56, 189, 248, 0.11),
        transparent 45%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.bento-cell:hover::before {
    opacity: 1;
}

.bento-cell > * {
    position: relative;
    z-index: 1;
}

.bento-cell:hover {
    border-color: rgba(56, 189, 248, 0.38);
    box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.9), 0 0 26px -10px rgba(56, 189, 248, 0.22);
    transform: translateY(-4px);
}

.bento-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.bento-tag {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #7DD3FC;
    margin-bottom: 6px;
}

.bento-cell h3 {
    font-size: 1.28rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 8px;
}

.bento-desc {
    font-size: 0.92rem;
    color: #94A3B8;
    line-height: 1.62;
    margin-bottom: 18px;
}

.bento-action-btn {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.bento-action-btn:hover {
    background: linear-gradient(135deg, #1D4ED8, #0284C7);
    border-color: #7DD3FC;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
}

/* Interactive Terminal inside Bento */
.bento-terminal-window {
    background: rgba(3, 4, 8, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    overflow: hidden;
    font-family: 'Consolas', 'Monaco', monospace;
}

.bento-term-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.73rem;
}

.bento-term-title {
    color: #64748B;
}

.bento-term-state {
    color: #7DD3FC;
    font-weight: 700;
    font-size: 0.7rem;
}

.bento-term-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 118px;
    font-size: 0.78rem;
}

.term-line {
    color: #CBD5E1;
    animation: panelFadeIn 0.28s ease;
}

.term-time {
    color: #64748B;
    margin-right: 6px;
}

.term-cmd {
    color: #7DD3FC;
    font-weight: 700;
}

.term-ok {
    color: #BAE6FD;
    font-weight: 700;
}

/* Animated Radar inside Bento Cell 2 */
.bento-radar-box {
    position: relative;
    height: 175px;
    background: radial-gradient(circle at 50% 50%, rgba(29, 78, 216, 0.18), rgba(4, 6, 11, 0.9) 75%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(125, 211, 252, 0.18);
}

.radar-c1 { width: 56px; height: 56px; }
.radar-c2 { width: 108px; height: 108px; }
.radar-c3 { width: 158px; height: 158px; }

.radar-sweep {
    position: absolute;
    width: 158px;
    height: 158px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 70%, rgba(56, 189, 248, 0.28) 100%);
    animation: radarSpin 5s linear infinite;
}

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

.radar-center-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 12px #38BDF8;
    z-index: 2;
}

.radar-node {
    position: absolute;
    background: rgba(8, 12, 22, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #E2E8F0;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    z-index: 3;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

/* Before / After Switcher inside Bento Cell 3 */
.ba-switch-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: rgba(4, 6, 10, 0.85);
    padding: 5px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 10px 0 14px;
}

.ba-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 8px 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.ba-btn.active {
    background: linear-gradient(135deg, #1D4ED8, #0284C7);
    color: #FFFFFF;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
}

.ba-content-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ba-stat-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.ba-stat-row span {
    color: #94A3B8;
    font-size: 0.72rem;
}

/* Bento Cell 4 Mini Cards */
.bento-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 10px;
}

.bento-mini-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 15px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.bento-mini-item:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.04);
}

.bmi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
}

.bmi-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: #FFFFFF;
}

.bmi-badge {
    font-size: 0.66rem;
    font-weight: 800;
    color: #7DD3FC;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.24);
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.bento-mini-item p {
    font-size: 0.8rem;
    color: #94A3B8;
    line-height: 1.52;
}

/* ==================== RAYCAST / LINEAR COMMAND PALETTE (Ctrl + K) ==================== */
.cmd-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.cmd-trigger-btn:hover {
    border-color: #38BDF8;
    color: #FFFFFF;
    background: rgba(56, 189, 248, 0.08);
}

.cmd-trigger-btn kbd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.68rem;
    font-family: inherit;
    color: #7DD3FC;
}

.cmd-palette-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 4, 8, 0.78);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 11vh;
}

.cmd-palette-backdrop.open {
    display: flex;
    animation: panelFadeIn 0.2s ease;
}

.cmd-palette-modal {
    width: 92%;
    max-width: 620px;
    background: linear-gradient(165deg, #0D111C 0%, #070910 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 20px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(56, 189, 248, 0.18);
    overflow: hidden;
}

.cmd-palette-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cmd-palette-header span {
    font-size: 1.15rem;
    color: #7DD3FC;
}

.cmd-palette-header input {
    flex: 1;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.96rem;
    outline: none;
}

.cmd-palette-header kbd {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #94A3B8;
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.cmd-palette-list {
    padding: 10px;
    max-height: 360px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cmd-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #E2E8F0;
    transition: all 0.18s ease;
}

.cmd-item:hover {
    background: rgba(56, 189, 248, 0.12);
    color: #FFFFFF;
}

.cmd-hint {
    font-size: 0.75rem;
    color: #7DD3FC;
    font-weight: 700;
}

/* ==================== HERO VISUAL IMAGE STAGE & FLOATING GLASS BADGES ==================== */
.hero-image-stage {
    position: relative;
    padding: 12px;
}

.hero-img-frame {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.25);
    box-shadow:
        0 35px 80px -15px rgba(0, 0, 0, 0.95),
        0 0 50px -12px rgba(2, 132, 199, 0.35);
    background: #06080E;
    animation: gentleFloat 7s ease-in-out infinite;
}

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

.hero-main-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img-frame:hover .hero-main-photo {
    transform: scale(1.03);
}

.hero-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(8, 12, 22, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(125, 211, 252, 0.3);
    padding: 11px 16px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75);
    z-index: 3;
}

.float-badge-top {
    top: -10px;
    left: -14px;
    animation: gentleFloat 6s ease-in-out infinite 0.5s;
}

.float-badge-bottom {
    bottom: 24px;
    left: -18px;
    animation: gentleFloat 6.5s ease-in-out infinite 1.2s;
}

.float-badge-right {
    bottom: -12px;
    right: -10px;
    animation: gentleFloat 5.8s ease-in-out infinite 2s;
}

.float-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1D4ED8, #0284C7);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.float-badge-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
}

.float-badge-sub {
    font-size: 0.7rem;
    color: #7DD3FC;
    font-weight: 600;
    margin-top: 2px;
}

/* ==================== VISUAL STORY SHOWCASE GRID ==================== */
.visual-story-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 24px;
    align-items: stretch;
}

.visual-story-main {
    background: linear-gradient(165deg, rgba(15, 19, 29, 0.88) 0%, rgba(7, 9, 15, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.visual-story-main:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 25px 55px -15px rgba(0, 0, 0, 0.9), 0 0 30px -10px rgba(56, 189, 248, 0.22);
}

.visual-story-img-wrap {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #05060A;
}

.visual-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-story-main:hover .visual-story-img {
    transform: scale(1.04);
}

.visual-story-content {
    padding: 28px 30px;
}

.visual-story-content h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.28;
}

.visual-story-content p {
    font-size: 0.98rem;
    color: #94A3B8;
    line-height: 1.68;
}

.visual-story-side {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* ==================== SUBPAGE & ROW LAYOUT CLASSES ==================== */
.service-row-card {
    padding: 32px;
    display: grid;
    grid-template-columns: 320px 1fr auto;
    gap: 32px;
    align-items: center;
}

.service-row-thumb {
    margin-bottom: 0;
    height: 190px;
    display: block;
}

.service-row-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
}

.detail-split-layout {
    display: grid;
    grid-template-columns: 1.32fr 0.68fr;
    gap: 48px;
    align-items: start;
}

/* ==================== MOBILE HAMBURGER & GLASS DRAWER ==================== */
.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.mobile-menu-toggle:hover {
    border-color: #38BDF8;
    background: rgba(56, 189, 248, 0.1);
}

.hamburger-bar {
    width: 18px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
    display: none;
    background: rgba(6, 8, 14, 0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.22);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.mobile-nav-drawer.open {
    max-height: 520px;
    opacity: 1;
}

.mobile-nav-inner {
    padding: 20px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #E2E8F0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38BDF8;
}

.mobile-nav-footer {
    padding-top: 6px;
}

/* ==================== RESPONSIVE (TABLET & MOBILE) ==================== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle,
    .mobile-nav-drawer {
        display: flex;
    }

    .mobile-nav-drawer {
        display: block;
    }

    .hero-grid,
    .services-layout,
    .tech-showcase-grid,
    .cta-horizon-grid,
    .bento-showcase-grid,
    .bento-mini-cards,
    .visual-story-grid,
    .detail-hero-grid,
    .detail-split-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-row-card {
        grid-template-columns: 260px 1fr;
        gap: 24px;
    }

    .service-row-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .bento-span-2 {
        grid-column: span 1;
    }

    .projects-grid-6,
    .services-cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .hero-cosmic {
        padding: 56px 0 72px;
    }

    .section-light-wave,
    .section-dark-cosmos,
    .cta-horizon {
        padding: 72px 0;
    }

    .float-badge-top {
        top: 10px;
        left: 10px;
    }

    .float-badge-bottom {
        bottom: 14px;
        left: 10px;
    }

    .float-badge-right {
        bottom: 14px;
        right: 10px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    .nav-inner {
        height: 68px;
    }

    .nav-cta-desktop,
    .cmd-trigger-btn,
    .hero-float-badge {
        display: none !important;
    }

    .hero-cosmic,
    .page-hero {
        padding: 38px 0 52px;
    }

    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.4rem) !important;
        line-height: 1.18;
    }

    .hero-lead {
        font-size: 0.98rem;
        margin-bottom: 24px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-glass {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-image-stage {
        padding: 0;
    }

    .hero-img-frame {
        border-radius: 18px;
        animation: none;
    }

    .section-light-wave,
    .section-dark-cosmos,
    .cta-horizon {
        padding: 56px 0;
    }

    .section-header-split {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 32px;
    }

    .section-heading-dark,
    .section-heading-white {
        font-size: clamp(1.65rem, 6vw, 2.15rem);
    }

    .services-cards-grid,
    .services-cards-grid-3,
    .projects-grid-6,
    .process-timeline,
    .form-grid-2,
    .footer-grid,
    .hero-metrics,
    .service-row-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-row-card {
        padding: 22px 18px;
    }

    .service-row-thumb {
        height: 175px;
    }

    .service-row-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .service-row-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .visual-story-img-wrap {
        height: 215px;
    }

    .visual-story-content {
        padding: 22px 20px;
    }

    .visual-story-content h3 {
        font-size: 1.24rem;
    }

    .service-card-light,
    .project-glass-card,
    .process-step-card,
    .form-card {
        padding: 22px 18px !important;
        border-radius: 18px;
    }

    .project-art-frame {
        height: 175px;
    }

    .cta-horizon-box {
        padding: 32px 22px;
        border-radius: 22px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        font-size: 1.22rem;
        gap: 9px;
    }

    .brand-logo-img {
        height: 36px;
        max-width: 140px;
    }

    .brand-logo svg {
        width: 32px;
        height: 32px;
    }

    .lang-switch a {
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    .hero-title {
        font-size: 1.72rem !important;
    }

    .eyebrow {
        font-size: 0.68rem;
        padding: 5px 11px;
    }

    .project-art-frame {
        height: 160px;
    }
}

