@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
    --bg-dark: #070913;
    --bg-card: rgba(18, 22, 43, 0.7);
    --bg-card-hover: rgba(28, 34, 64, 0.95);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.2);
    
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.3);
    --secondary: #00d2ff;
    --secondary-glow: rgba(0, 210, 255, 0.3);
    --violet: #7c3aed;
    --violet-glow: rgba(124, 58, 237, 0.3);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --brand-gradient: linear-gradient(135deg, #00d2ff 0%, #2563eb 50%, #7c3aed 100%);
    --brand-gradient-hover: linear-gradient(135deg, #00e5ff 0%, #3b82f6 50%, #8b5cf6 100%);
    --text-gradient: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    --text-gradient-brand: linear-gradient(135deg, #00d2ff 0%, #60a5fa 50%, #a78bfa 100%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.2);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 99, 235, 0.5);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   CUSTOM MOUSE CURSOR
   ========================================================================== */
.custom-cursor-enabled * {
    cursor: none !important;
}

.custom-cursor-dot {
    width: 8px;
    height: 8px;
    background: #00d2ff;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: difference;
    opacity: 0;
}

.custom-cursor-ring {
    width: 30px;
    height: 30px;
    border: 1.5px solid rgba(0, 210, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.3s, 
                background-color 0.3s, 
                border-radius 0.3s;
}

/* Hover state changes */
.custom-cursor-ring.cursor-hover {
    width: 50px;
    height: 50px;
    border-color: rgba(124, 58, 237, 0.8);
    background-color: rgba(124, 58, 237, 0.05);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.custom-cursor-dot.cursor-hover {
    background-color: #7c3aed;
    width: 4px;
    height: 4px;
}

/* Magnetic active snap state */
.custom-cursor-ring.magnetic-active {
    border-color: rgba(0, 210, 255, 0.9);
    background-color: rgba(37, 99, 235, 0.15);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.4);
    border-width: 2px;
}

/* Hide on mobile devices */
@media (max-width: 1024px) {
    .custom-cursor-enabled * {
        cursor: auto !important;
    }
    .custom-cursor-dot, .custom-cursor-ring {
        display: none !important;
    }
}

/* ==========================================================================
   DYNAMIC BACKGROUNDS & GLOW EFFECT
   ========================================================================== */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
    animation: drift 25s infinite alternate ease-in-out;
}

.glow-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 80%);
    top: -100px;
    left: -100px;
}

.glow-circle-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--violet) 0%, transparent 80%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.glow-circle-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 80%);
    top: 40%;
    left: 50%;
    opacity: 0.15;
    animation-duration: 35s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(100px, 80px) scale(1.2) rotate(180deg);
    }
    100% {
        transform: translate(-50px, -50px) scale(0.9) rotate(360deg);
    }
}

/* Grid overlay */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Section Utility */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: var(--text-gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--brand-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--brand-gradient-hover);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

/* Glassmorphic Card Base */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(37, 99, 235, 0.1);
    transform: translateY(-5px);
}

/* Custom Gradient text helper */
.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   NAVBAR STYLING
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(7, 9, 19, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 44px;
    width: auto;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.logo-img:hover {
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

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

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: var(--transition-fast);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 6px 16px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #00d2ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00d2ff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(to right, #ffffff, #a5b4fc, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 440px;
}

/* ---------- Hologram stage ---------- */
.holo-stage {
    position: relative;
    width: min(360px, 86vw);
    height: min(360px, 86vw);
    display: flex;
    align-items: center;
    justify-content: center;
}

.holo-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.holo-ring-outer {
    inset: -14%;
    border: 1px dashed rgba(125, 211, 252, 0.28);
    animation: holoSpin 28s linear infinite;
}

.holo-ring-mid {
    inset: -6%;
    border: 1px solid rgba(37, 99, 235, 0.22);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.15) inset;
    animation: holoSpin 18s linear infinite reverse;
}

.holo-ring-inner {
    inset: 4%;
    border: 1px solid rgba(0, 210, 255, 0.18);
    animation: holoSpin 12s linear infinite;
}

.holo-orb {
    position: relative;
    width: 78%;
    height: 78%;
    border-radius: 50%;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 35% 28%, rgba(125, 211, 252, 0.35), transparent 42%),
        radial-gradient(circle at 70% 70%, rgba(124, 58, 237, 0.35), transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.2), rgba(7, 9, 19, 0.92));
    border: 1px solid rgba(125, 211, 252, 0.35);
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.15),
        0 0 60px rgba(37, 99, 235, 0.35),
        0 0 120px rgba(0, 210, 255, 0.12),
        inset 0 0 40px rgba(0, 210, 255, 0.08);
    animation: holoFloat 6s ease-in-out infinite;
}

.holo-grid {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0 14px,
            rgba(125, 211, 252, 0.07) 14px 15px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0 14px,
            rgba(125, 211, 252, 0.07) 14px 15px
        );
    mask-image: radial-gradient(circle at center, #000 35%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at center, #000 35%, transparent 72%);
    opacity: 0.85;
    animation: holoGridDrift 10s linear infinite;
}

.holo-scan {
    position: absolute;
    left: 8%;
    right: 8%;
    height: 28%;
    top: -30%;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(0, 210, 255, 0.08),
        rgba(125, 211, 252, 0.35),
        rgba(0, 210, 255, 0.08),
        transparent
    );
    animation: holoScan 4.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.holo-glow {
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.2), transparent 70%);
    filter: blur(12px);
    z-index: 0;
    animation: holoPulse 3.2s ease-in-out infinite;
}

.holo-core {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px;
}

.holo-terminal {
    width: min(210px, 72%);
    background: rgba(7, 12, 28, 0.72);
    border: 1px solid rgba(125, 211, 252, 0.28);
    border-radius: 12px;
    padding: 10px 12px 12px;
    box-shadow:
        0 0 24px rgba(37, 99, 235, 0.2),
        inset 0 0 20px rgba(0, 210, 255, 0.05);
    backdrop-filter: blur(8px);
    transform: perspective(600px) rotateX(8deg);
}

.holo-term-bar {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}

.holo-term-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.holo-term-bar span:nth-child(1) { background: #f87171; }
.holo-term-bar span:nth-child(2) { background: #fbbf24; }
.holo-term-bar span:nth-child(3) { background: #34d399; }

.holo-code {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(0.58rem, 1.5vw, 0.72rem);
    line-height: 1.45;
    color: #cbd5e1;
    white-space: pre;
    overflow: hidden;
}

.holo-code .c-kw { color: #7dd3fc; }
.holo-code .c-fn { color: #c4b5fd; }
.holo-code .c-str { color: #86efac; }
.holo-code .c-ret { color: #f9a8d4; }

.holo-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #7dd3fc;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.15);
}

.holo-label i {
    font-size: 0.75rem;
}

.holo-orbit {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    animation: holoSpin 16s linear infinite;
    pointer-events: none;
}

.holo-node-slot {
    position: absolute;
    width: 42px;
    height: 42px;
}

.hn-1 { top: 0; left: 50%; margin-left: -21px; margin-top: -21px; }
.hn-2 { top: 50%; right: 0; margin-right: -21px; margin-top: -21px; }
.hn-3 { bottom: 0; left: 50%; margin-left: -21px; margin-bottom: -21px; }
.hn-4 { top: 50%; left: 0; margin-left: -21px; margin-top: -21px; }

.holo-node {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0f2fe;
    font-size: 0.9rem;
    background: rgba(18, 28, 58, 0.92);
    border: 1px solid rgba(125, 211, 252, 0.35);
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.35);
    animation: holoSpin 16s linear infinite reverse;
}

.holo-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7dd3fc;
    box-shadow: 0 0 10px #00d2ff;
    opacity: 0.7;
}

.hp-1 { top: 12%; left: 18%; animation: holoParticle 5s ease-in-out infinite; }
.hp-2 { top: 22%; right: 12%; animation: holoParticle 6.5s ease-in-out infinite 0.6s; }
.hp-3 { bottom: 18%; left: 14%; animation: holoParticle 4.8s ease-in-out infinite 1.1s; }
.hp-4 { bottom: 28%; right: 18%; animation: holoParticle 7s ease-in-out infinite 0.3s; }
.hp-5 { top: 48%; left: 6%; animation: holoParticle 5.5s ease-in-out infinite 1.6s; }

.visual-card {
    position: absolute;
    z-index: 5;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1rem;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}

.vc-icon-violet {
    color: #a78bfa;
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.25);
}

.vc-title {
    font-weight: 700;
    font-size: 0.9rem;
}

.vc-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.vc-1 {
    top: 6%;
    right: -8px;
    animation: floatDelayed 8s infinite ease-in-out;
}

.vc-2 {
    bottom: 8%;
    left: -8px;
    animation: float 7s infinite ease-in-out;
}

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

@keyframes floatDelayed {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

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

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

@keyframes holoScan {
    0% { top: -35%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 105%; opacity: 0; }
}

@keyframes holoGridDrift {
    from { transform: translateY(0); }
    to { transform: translateY(15px); }
}

@keyframes holoPulse {
    0%, 100% { opacity: 0.55; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes holoParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.45; }
    50% { transform: translateY(-14px) scale(1.25); opacity: 1; }
}

/* ==========================================================================
   ABOUT / STATISTICS SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content-left h3 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
    text-align: justify;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    padding: 24px;
    text-align: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   SERVICES SECTION — modern showcase panels
   ========================================================================== */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 32px;
    position: relative;
}

.services-showcase::before {
    content: '';
    position: absolute;
    inset: -10% 10% auto;
    height: 220px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.service-panel {
    position: relative;
    z-index: 1;
    padding: 32px 8px 28px 20px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 55%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease,
                background 0.4s ease;
    overflow: hidden;
}

.service-panel-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--brand-gradient);
    transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-panel:hover {
    transform: translateY(-8px);
    border-left-color: transparent;
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
}

.service-panel:hover .service-panel-accent {
    height: 100%;
}

.service-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.service-index {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-smooth);
}

.service-panel:hover .service-index {
    background: var(--text-gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7dd3fc;
    font-size: 1.15rem;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.18);
    transition: var(--transition-smooth);
}

.service-panel:hover .service-icon-wrap {
    color: #ffffff;
    background: var(--brand-gradient);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transform: rotate(-6deg) scale(1.05);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 28px;
}

.service-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    position: relative;
    padding-bottom: 4px;
}

.service-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--brand-gradient);
    transition: width 0.35s ease;
}

.service-panel:hover .service-link::after {
    width: 100%;
}

.service-link i {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    color: #00d2ff;
    font-size: 0.8rem;
}

.service-panel:hover .service-link i {
    transform: translateX(6px);
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: var(--transition-smooth);
}

.product-card {
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-badge {
    background: rgba(124, 58, 237, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    flex-grow: 1;
}

/* ==========================================================================
   CLIENTS & PARTNERS
   ========================================================================== */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 28px 0;
    margin-bottom: 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker {
    display: flex;
    width: max-content;
    animation: tickerLoop 35s linear infinite;
    gap: 72px;
    align-items: center;
}

.ticker-item {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.ticker-item:hover {
    color: var(--text-primary);
}

.ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

@keyframes tickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.partners-section .section-header {
    margin-bottom: 40px;
}

/* ==========================================================================
   CONTACT PAGE DETAILS & FORM
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-header-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.contact-detail-card {
    padding: 30px;
    display: flex;
    gap: 20px;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.contact-detail-content h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-detail-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    word-break: break-all;
}

.contact-detail-content address {
    font-style: normal;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-card {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.8);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

textarea.form-input {
    resize: none;
    height: 150px;
}

.form-label {
    position: absolute;
    left: 20px;
    top: 16px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    color: #60a5fa;
    background: #0f1225;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Validation styling */
.form-input.error {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: #f87171;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

/* Submission states */
.form-success-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 24px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.success-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 400px;
}

/* Mock Map Card */
.map-card {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #1a1e36 0%, #0d0f1f 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(37, 99, 235, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(rgba(255,255,255,0.005) 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-marker {
    width: 16px;
    height: 16px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(0, 210, 255, 0.2),
                0 0 0 20px rgba(0, 210, 255, 0.1);
    position: relative;
    z-index: 2;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { box-shadow: 0 0 0 0px rgba(0, 210, 255, 0.4), 0 0 0 0px rgba(0, 210, 255, 0.2); }
    100% { box-shadow: 0 0 0 15px rgba(0, 210, 255, 0), 0 0 0 30px rgba(0, 210, 255, 0); }
}

.map-label {
    margin-top: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    z-index: 2;
}

.map-sublabel {
    font-size: 0.85rem;
    color: var(--text-muted);
    z-index: 2;
}

/* ==========================================================================
   FOOTER STYLING
   ========================================================================== */
.footer {
    background: #04050a;
    border-top: 1px solid var(--border-color);
    padding: 80px 20px 40px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

.footer-logo-desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
}

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

.footer-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-contact-item i {
    color: var(--secondary);
    margin-top: 4px;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    position: relative;
}

.newsletter-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-btn {
    padding: 0 16px;
    background: var(--brand-gradient);
    border: none;
    color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    transform: scale(1.05);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   FADE IN ON SCROLL ANIMATIONS + SECTION TRANSITIONS
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.85s ease;
    filter: blur(4px);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.page-section {
    position: relative;
}

.js-anim .page-section {
    opacity: 0;
    transform: translateY(48px) scale(0.985);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.9s ease;
    will-change: opacity, transform, filter;
}

.js-anim .page-section.section-in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .page-section,
    .service-panel,
    .ticker,
    .holo-orb,
    .holo-ring,
    .holo-orbit,
    .holo-node,
    .holo-scan,
    .holo-particle,
    .holo-glow,
    .holo-grid,
    .visual-card {
        transition: none !important;
        animation: none !important;
        filter: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .section {
        padding: 80px 20px;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .services-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-visual {
        min-height: 340px;
        margin: 8px auto 20px;
        max-width: 360px;
        width: 100%;
    }

    .holo-stage {
        width: min(300px, 78vw);
        height: min(300px, 78vw);
    }

    .holo-node-slot,
    .holo-node {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }

    .hn-1 { margin-left: -17px; margin-top: -17px; }
    .hn-2 { margin-right: -17px; margin-top: -17px; }
    .hn-3 { margin-left: -17px; margin-bottom: -17px; }
    .hn-4 { margin-left: -17px; margin-top: -17px; }

    .holo-terminal {
        width: min(180px, 70%);
        padding: 8px 10px 10px;
    }

    .holo-label {
        font-size: 0.58rem;
        padding: 5px 10px;
        letter-spacing: 0.1em;
    }

    .visual-card {
        padding: 10px 12px;
        gap: 8px;
    }

    .vc-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    .vc-title {
        font-size: 0.78rem;
    }

    .vc-sub {
        font-size: 0.68rem;
    }

    .vc-1 {
        top: 0;
        right: -4px;
    }

    .vc-2 {
        bottom: 0;
        left: -4px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(7, 9, 19, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--border-color);
        padding: 40px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-panel {
        min-height: auto;
        padding: 28px 8px 28px 18px;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .service-panel-accent {
        width: 0;
        height: 2px;
        left: 0;
        top: auto;
        bottom: 0;
        right: auto;
    }

    .service-panel:hover .service-panel-accent {
        width: 100%;
        height: 2px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-visual {
        min-height: 300px;
        max-width: 300px;
    }

    .holo-stage {
        width: min(260px, 82vw);
        height: min(260px, 82vw);
    }

    .holo-code {
        font-size: 0.52rem;
        line-height: 1.4;
    }

    .holo-label {
        display: none;
    }

    .vc-1 {
        right: -10px;
    }

    .vc-2 {
        left: -10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
