/* ==========================================================================
   Design Tokens & CSS Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-primary: #080a10;
    --bg-secondary: #0d111d;
    --bg-card: rgba(18, 24, 38, 0.65);
    --bg-card-hover: rgba(28, 36, 56, 0.8);

    /* Brand Accent Gradients */
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #a855f7;
    --accent: #06b6d4;

    --gradient-brand: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
    --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0.15) 45%, transparent 70%);
    --gradient-text: linear-gradient(135deg, #ffffff 10%, #c7d2fe 50%, #818cf8 100%);

    /* Neutral Shades */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.35);

    /* Typography */
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout & Transitions */
    --nav-height: 80px;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: dark;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

img,
svg {
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Ambient Background Effects
   ========================================================================== */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(120px);
    opacity: 0.45;
    animation: pulseAmbient 10s ease-in-out infinite alternate;
}

.glow-1 {
    top: -150px;
    right: 5%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(168, 85, 247, 0.2) 60%, transparent 80%);
}

.glow-2 {
    top: 40%;
    left: -150px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(99, 102, 241, 0.15) 60%, transparent 80%);
    animation-delay: -5s;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulseAmbient {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.15) translate(20px, 30px);
        opacity: 0.6;
    }

    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.4;
    }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
/* ==========================================================================
   Anime Mascot Floating Navigation Bar
   ========================================================================== */
.anime-nav-header {
    position: fixed;
    top: 1.5rem;
    left: 0;
    right: 0;
    z-index: 9999;
    pointer-events: none;
}

.anime-nav-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 2.75rem;
    /* Plenty of headroom so the cartoon mascot is never cut off */
    pointer-events: auto;
}

.anime-navbar-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(8, 10, 16, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.45rem 0.55rem;
    border-radius: var(--radius-full);
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: animeNavEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes animeNavEnter {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.anime-nav-item {
    position: relative;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.45rem;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    user-select: none;
    z-index: 2;
    overflow: hidden;
    /* Keeps the active glow & shine shader strictly inside the tab */
}

.anime-nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.anime-nav-item.active {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.22);
    border: 1px solid rgba(99, 102, 241, 0.45);
}

/* Contained active glow shader (does NOT leak outside the navbar) */
.anime-nav-item.active::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background: radial-gradient(circle at center, rgba(129, 140, 248, 0.45) 0%, rgba(99, 102, 241, 0.2) 65%, transparent 100%);
    pointer-events: none;
    z-index: -1;
    animation: activePillGlow 2.5s ease-in-out infinite alternate;
}

/* Shine animation overlay strictly contained inside */
.anime-nav-item.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
    animation: shine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes activePillGlow {
    0% {
        transform: scale(0.98);
        opacity: 0.7;
    }

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

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

    50% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ==========================================================================
   Services Hover Dropdown Panel & Megamenu
   ========================================================================== */
.anime-nav-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-chevron {
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.7;
}

.anime-nav-dropdown-wrapper.open .dropdown-chevron,
.anime-nav-dropdown-wrapper:hover .dropdown-chevron,
.anime-nav-dropdown-wrapper:focus-within .dropdown-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.services-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: rgba(12, 15, 23, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.2s;
    z-index: 1000;
    pointer-events: none;
}

/* Invisible bridge so mouse hover never drops between pill & dropdown */
.services-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}

.anime-nav-dropdown-wrapper.open .services-dropdown-panel,
.anime-nav-dropdown-wrapper:hover .services-dropdown-panel,
.anime-nav-dropdown-wrapper:focus-within .services-dropdown-panel {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.services-dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.16s ease;
    cursor: pointer;
}

.service-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(3px);
}

.service-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.16s ease;
    flex-shrink: 0;
}

.service-dropdown-item:hover .service-item-icon {
    color: #c084fc;
}

.service-item-text {
    flex: 1;
    white-space: nowrap;
}

.service-item-card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 4px 6px;
    display: block;
}

/* ==========================================================================
   Anime Mascot (Cute Bunny / Cat with Animations)
   ========================================================================== */
.anime-mascot {
    position: absolute;
    top: -46px;
    left: 0;
    width: 48px;
    height: 48px;
    pointer-events: none;
    z-index: 20;
    transition: transform 0.45s cubic-bezier(0.34, 1.45, 0.64, 1);
    display: flex;
    justify-content: center;
}

.mascot-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
}

.mascot-head {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    animation: mascotIdle 2s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-head.hovered {
    animation: mascotHoverWiggle 0.5s ease-in-out;
    transform: translateX(-50%) scale(1.12) rotate(-3deg);
}

@keyframes mascotIdle {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-4px);
    }
}

@keyframes mascotHoverWiggle {
    0% {
        transform: translateX(-50%) scale(1) rotate(0deg);
    }

    25% {
        transform: translateX(-50%) scale(1.12) rotate(-6deg);
    }

    75% {
        transform: translateX(-50%) scale(1.12) rotate(6deg);
    }

    100% {
        transform: translateX(-50%) scale(1.12) rotate(0deg);
    }
}

/* Mascot Eyes */
.mascot-eye {
    position: absolute;
    width: 7px;
    height: 7px;
    background-color: #111827;
    border-radius: 50%;
    top: 38%;
    transition: transform 0.2s ease;
}

.mascot-eye-left {
    left: 24%;
}

.mascot-eye-right {
    right: 24%;
}

.mascot-head.hovered .mascot-eye {
    transform: scaleY(0.25);
}

/* Mascot Blush */
.mascot-blush {
    position: absolute;
    width: 8px;
    height: 5px;
    background-color: #f472b6;
    border-radius: 50%;
    top: 55%;
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mascot-blush-left {
    left: 14%;
}

.mascot-blush-right {
    right: 14%;
}

.mascot-head.hovered .mascot-blush {
    opacity: 0.95;
    transform: scale(1.2);
}

/* Mascot Mouth */
.mascot-mouth {
    position: absolute;
    width: 13px;
    height: 7px;
    border-bottom: 2px solid #111827;
    border-radius: 50%;
    left: 34%;
    top: 58%;
    transition: transform 0.2s ease;
}

.mascot-head.hovered .mascot-mouth {
    transform: scaleY(1.5) translateY(-1px);
}

/* Mascot Sparkles */
.mascot-sparkle {
    position: absolute;
    font-size: 11px;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    line-height: 1;
}

.sparkle-top-right {
    top: -5px;
    right: -4px;
}

.sparkle-top-left {
    top: -8px;
    left: -4px;
    transition-delay: 0.08s;
}

.mascot-head.hovered .mascot-sparkle {
    opacity: 1;
    transform: scale(1);
    animation: sparkleFloat 1.2s ease-in-out infinite alternate;
}

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

    100% {
        transform: scale(1.2) translateY(-3px);
    }
}

/* Mascot Bottom Pointer */
.mascot-pointer {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    animation: pointerHop 1.5s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.pointer-diamond {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    transform: rotate(45deg);
    border-radius: 2px;
}

.mascot-head.hovered+.mascot-pointer {
    animation: pointerBounceQuick 0.4s infinite alternate;
}

@keyframes pointerHop {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

@keyframes pointerBounceQuick {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    100% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* Mobile Responsiveness for Anime Navbar */
@media (max-width: 768px) {
    .anime-nav-header {
        top: 1rem;
    }

    .anime-nav-wrapper {
        padding-top: 2.25rem;
    }

    .anime-navbar-pill {
        padding: 0.35rem 0.45rem;
        gap: 0.35rem;
    }

    .anime-nav-item {
        padding: 0.6rem 0.9rem;
    }

    .anime-nav-item .nav-label {
        display: none;
    }

    .anime-nav-item .nav-icon {
        display: inline-block;
    }

    .anime-mascot {
        top: -42px;
    }
}

@media (min-width: 769px) {
    .anime-nav-item .nav-icon {
        display: none;
    }

    .anime-nav-item .nav-label {
        display: inline-block;
    }
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #ffffff;
    padding: 0.9rem 2.2rem;
    box-shadow: 0 4px 20px -2px rgba(99, 102, 241, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px 0 rgba(99, 102, 241, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-icon {
    transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 0.9rem 2.2rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-play-icon {
    color: #818cf8;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    color: #ffffff;
}

/* ==========================================================================
   Fullpage Hero Section with TechText
   ========================================================================== */
.hero-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--nav-height) + 3.5rem) 1.5rem 3rem;
    text-align: center;
    overflow: hidden;
}

/* Background PlasmaWave Canvas */
.plasma-wave-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: auto;
}

.plasma-wave-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

/* Soft Contrast Vignette Scrim between PlasmaWave and TechText */
.hero-backdrop-scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(8, 10, 16, 0.72) 0%, rgba(8, 10, 16, 0.45) 50%, transparent 85%),
        linear-gradient(to bottom, rgba(8, 10, 16, 0.5) 0%, transparent 25%, transparent 75%, rgba(8, 10, 16, 0.85) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 1;
}

.hero-techtext-wrapper {
    width: 100%;
    max-width: 1400px;
    height: clamp(240px, 45vh, 480px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.9));
}

.tech-text {
    position: relative;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
    user-select: none;
}

.tech-text-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Dedicated Page Empty Hero Section */
.page-hero-section {
    min-height: 80vh;
    min-height: 80dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 4rem;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
    animation: fadeInPage 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.65) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.page-hero-title:last-child {
    margin-bottom: 0;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* Badge Pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1.1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: #c7d2fe;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.hero-badge:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

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

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.badge-arrow {
    color: #a5b4fc;
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    max-width: 950px;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 40%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.7;
    margin-bottom: 2.75rem;
    font-weight: 400;
}

/* CTA Group */
.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

/* Metrics Bar */
.hero-metrics {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metric-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

.metric-divider {
    width: 1px;
    height: 38px;
    background-color: var(--border-color);
}

/* Scroll Mouse Indicator */
.hero-scroll {
    position: relative;
    margin-top: 1rem;
}

.scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
}

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

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: #818cf8;
    border-radius: 2px;
    animation: scrollAnim 1.8s infinite ease-in-out;
}

@keyframes scrollAnim {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

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

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

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

/* ==========================================================================
   Animated Wave Footer
   ========================================================================== */
.animated-wave-footer {
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(99, 102, 241, 0.12) 100%);
    padding-top: 6rem;
    overflow: hidden;
    z-index: 10;
}

/* Flowing SVG Wave Track in the background */
.wave-bg-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.wave-track {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 480px;
    width: 3600px;
    display: flex;
    animation: waveTranslate 16s linear infinite;
    opacity: 0.85;
}

.wave-svg {
    width: 1800px;
    height: 100%;
    flex-shrink: 0;
}

.wave-path-1 {
    color: rgba(99, 102, 241, 0.12);
}

.wave-path-2 {
    color: rgba(168, 85, 247, 0.18);
}

@keyframes waveTranslate {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Content Container */
.footer-content-container {
    position: relative;
    z-index: 2;
    padding-bottom: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.footer-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 320px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    height: 42px;
    padding: 0.5rem 0.9rem;
    background: rgba(18, 24, 38, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    outline: none;
    transition: all var(--transition-fast);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
    background: rgba(24, 32, 50, 0.85);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.footer-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.925rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-secondary);
    font-size: 0.925rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
}

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

.footer-address {
    font-style: normal;
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.8;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.social-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-icon-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.45);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    text-align: center;
}

.copyright-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Footer Brand & Bio */
.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.brand-sparkle {
    font-size: 1.35rem;
    animation: sparklePulse 2s ease-in-out infinite alternate;
}

@keyframes sparklePulse {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.18) rotate(10deg);
        opacity: 1;
    }
}

.footer-brand-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0;
}

.footer-bio-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.footer-input-btn-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.heading-accent {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #06b6d4);
    margin-right: 0.45rem;
    vertical-align: middle;
}

.footer-link-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    margin-right: 0.5rem;
    transition: all 0.2s ease;
}

.footer-link:hover .footer-link-dot {
    background: #a855f7;
    transform: scale(1.6);
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.65rem;
}

.footer-address-link {
    color: #c084fc;
    transition: color 0.2s ease;
}

.footer-address-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-social-wrapper {
    margin-top: 1.25rem;
}

.footer-social-label {
    display: block;
    font-size: 0.775rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.65rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legal-link {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.legal-separator {
    color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1rem;
    }

    .footer-brand-col {
        grid-column: span 2;
    }

    .footer-col {
        min-width: 0;
    }

    .footer-heading {
        font-size: 0.95rem;
        margin-bottom: 0.85rem;
    }

    .footer-link {
        font-size: 0.82rem;
    }

    .animated-wave-footer {
        padding-top: 3.5rem;
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .hero-metrics {
        gap: 1.5rem;
        padding: 1rem 1.75rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: rgba(8, 10, 16, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem 1.5rem 2rem;
        display: none;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.open {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        background: transparent;
        border: none;
        padding: 0;
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.85rem 1rem;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-cta {
        display: none;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 320px;
    }

    .metric-divider {
        width: 80%;
        height: 1px;
    }

    .hero-cta-group {
        width: 100%;
        flex-direction: column;
        gap: 0.85rem;
    }

    .btn-primary,
    .btn-glass {
        width: 100%;
        max-width: 320px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 1;
    }

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

/* ==========================================================================
   Scanner Component (React Bits)
   ========================================================================== */
.scanner-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.scanner-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-scanner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

.page-hero-section.has-scanner {
    position: relative;
    overflow: hidden;
    background: #06060c;
}

.page-hero-section.has-scanner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(6, 6, 12, 0.35) 0%, rgba(6, 6, 12, 0.75) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-hero-section.has-scanner .page-hero-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.page-hero-section.has-scanner .page-hero-content a,
.page-hero-section.has-scanner .page-hero-content button,
.page-hero-section.has-scanner .page-hero-content .hero-badge {
    pointer-events: auto;
}

/* ==========================================================================
   FlexCarousel Component (React Bits + OGL)
   ========================================================================== */
.flex-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: contain;
    outline: none;
}

.flex-carousel[data-hover='open'] {
    cursor: zoom-in;
}

.flex-carousel[data-hover='close'] {
    cursor: zoom-out;
}

.flex-carousel[data-dragging] {
    cursor: grabbing;
}

.flex-carousel:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(128, 128, 140, 0.55);
}

.flex-carousel__caption {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% + var(--flex-carousel-half) * var(--flex-carousel-lift, 1) + 24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    pointer-events: none;
    text-align: center;
    animation: flex-carousel-reveal 900ms ease both;
    z-index: 10;
}

.flex-carousel__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    animation: flex-carousel-title 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.flex-carousel__subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    color: #a5b4fc;
    margin-top: 0.2rem;
    opacity: 0.9;
}

.flex-carousel__count {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #c7d2fe;
    opacity: 0.75;
    transition: opacity 400ms ease;
    margin-top: 0.25rem;
}

.flex-carousel__count[data-hidden] {
    opacity: 0;
}

.flex-carousel__digits {
    display: inline-flex;
}

.flex-carousel__digit {
    display: inline-block;
    height: 1em;
    overflow: hidden;
}

.flex-carousel__reel {
    display: flex;
    flex-direction: column;
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.flex-carousel__reel span {
    height: 1em;
}

.flex-carousel__slash {
    opacity: 0.6;
    margin: 0 2px;
}

.flex-carousel__live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes flex-carousel-title {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

@keyframes flex-carousel-reveal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .flex-carousel__caption,
    .flex-carousel__title {
        animation: none;
    }

    .flex-carousel__reel {
        transition: none;
    }
}

.portfolio-hero-section.has-carousel-bg {
    position: relative;
    min-height: 85vh;
    min-height: 85dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #06060c;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 3rem;
}

.portfolio-hero-carousel-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

/* Contrast scrim to ensure title and badge are crisp, vibrant, and 100% legible */
.portfolio-hero-section.has-carousel-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(6, 6, 12, 0.4) 0%, rgba(6, 6, 12, 0.82) 100%);
    pointer-events: none;
    z-index: 1;
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.portfolio-hero-content a,
.portfolio-hero-content button,
.portfolio-hero-content .hero-badge {
    pointer-events: auto;
}

/* ==========================================================================
   PatternWaves Component (Website & Software Development Heroes)
   ========================================================================== */
.pattern-waves {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-pattern-waves-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

.page-hero-section.has-pattern-waves {
    position: relative;
    overflow: hidden;
    background: #000000;
}

.page-hero-section.has-pattern-waves::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-hero-section.has-pattern-waves .page-hero-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.page-hero-section.has-pattern-waves .page-hero-content a,
.page-hero-section.has-pattern-waves .page-hero-content button,
.page-hero-section.has-pattern-waves .page-hero-content .hero-badge {
    pointer-events: auto;
}

/* ==========================================================================
   GradientASCII Component (Application Development Hero)
   ========================================================================== */
.gradient-ascii-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gradient-ascii-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-gradient-ascii-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

.page-hero-section.has-gradient-ascii {
    position: relative;
    overflow: hidden;
    background: #04040a;
}

.page-hero-section.has-gradient-ascii::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(4, 4, 10, 0.35) 0%, rgba(4, 4, 10, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-hero-section.has-gradient-ascii .page-hero-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.page-hero-section.has-gradient-ascii .page-hero-content a,
.page-hero-section.has-gradient-ascii .page-hero-content button,
.page-hero-section.has-gradient-ascii .page-hero-content .hero-badge {
    pointer-events: auto;
}

/* ==========================================================================
   GridMotion Component (Graphic Designing Hero)
   ========================================================================== */
.grid-motion {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-motion__plane {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
}

.grid-motion__row {
    position: absolute;
    left: 0;
    display: flex;
    gap: var(--gm-gap);
    will-change: transform;
}

.grid-motion__tile {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: var(--gm-tile-w);
    height: var(--gm-tile-h);
    overflow: hidden;
    border-radius: var(--gm-radius);
    background: var(--gm-tile);
    color: var(--gm-text);
    font-size: var(--gm-font);
    line-height: 1.2;
    text-align: center;
    opacity: calc(1 - var(--gm-dim) * (1 - var(--spot, 0)));
}

.grid-motion__tile::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px var(--gm-border);
    pointer-events: none;
}

.grid-motion--gray .grid-motion__tile {
    filter: grayscale(calc(1 - var(--spot, 0)));
}

.grid-motion__tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.grid-motion__text {
    padding: 0 1em;
    font-weight: 600;
}

.hero-grid-motion-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

.page-hero-section.has-grid-motion {
    position: relative;
    overflow: hidden;
    background: #09080f;
}

.page-hero-section.has-grid-motion::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(9, 8, 15, 0.42) 0%, rgba(9, 8, 15, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-hero-section.has-grid-motion .page-hero-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.page-hero-section.has-grid-motion .page-hero-content a,
.page-hero-section.has-grid-motion .page-hero-content button,
.page-hero-section.has-grid-motion .page-hero-content .hero-badge {
    pointer-events: auto;
}

/* ==========================================================================
   LiquidChrome Component (React Bits + WebGL2)
   ========================================================================== */
.liquid-chrome {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.liquid-chrome__canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-liquid-chrome-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

.page-hero-section.has-liquid-chrome {
    position: relative;
    overflow: hidden;
    background: #050508;
}

.page-hero-section.has-liquid-chrome::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(5, 5, 8, 0.38) 0%, rgba(5, 5, 8, 0.82) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-hero-section.has-liquid-chrome .page-hero-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.page-hero-section.has-liquid-chrome .page-hero-content a,
.page-hero-section.has-liquid-chrome .page-hero-content button,
.page-hero-section.has-liquid-chrome .page-hero-content .hero-badge {
    pointer-events: auto;
}

/* ==========================================================================
   Page Body Sections & Components Design System
   ========================================================================== */
.content-section {
    position: relative;
    padding: 6rem 0;
    z-index: 2;
}

.content-section.alt-bg {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0.035) 50%, rgba(255, 255, 255, 0.015) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-header.left-aligned {
    text-align: left;
    margin: 0 0 2.5rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.section-tag .tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a78bfa;
    box-shadow: 0 0 8px #a78bfa;
}

.section-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
}

/* Glass Card */
.glass-card {
    background: rgba(15, 14, 23, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.25rem;
    padding: 2.25rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, 0.35);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 30px -10px rgba(167, 139, 250, 0.15);
}

/* Split Rows & Visual Placeholders */
.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.split-row.reverse {
    direction: rtl;
}

.split-row.reverse>* {
    direction: ltr;
}

@media (max-width: 900px) {

    .split-row,
    .split-row.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        direction: ltr;
    }
}

.visual-mockup-frame {
    background: linear-gradient(145deg, rgba(28, 25, 45, 0.7) 0%, rgba(13, 12, 22, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 24px 48px -12px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.visual-mockup-frame:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, 0.35);
    box-shadow: 0 28px 56px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(129, 140, 248, 0.15);
}

.visual-mockup-frame::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at center, rgba(167, 139, 250, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.mockup-window-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(10, 9, 18, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.mockup-dot.red {
    background: #ff5f56;
}

.mockup-dot.yellow {
    background: #ffbd2e;
}

.mockup-dot.green {
    background: #27c93f;
}

.mockup-window-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
    margin-left: auto;
    letter-spacing: 0.05em;
}

.mockup-media-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #090810;
}

.mockup-media {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-mockup-frame:hover .mockup-media {
    transform: scale(1.03);
}

.mockup-caption-bar {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(180deg, rgba(20, 18, 33, 0.92) 0%, rgba(13, 12, 22, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
    text-align: left;
}

.mockup-caption-bar .visual-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.mockup-caption-bar .visual-desc {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {

    .grid-3,
    .grid-2,
    .grid-4 {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.85rem !important;
    }

    /* 1. Architected for Ambitious Visionaries - 1 Column Gridding on Mobile */
    #services-overview .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    #services-overview .glass-card {
        padding: 1.6rem 1.2rem !important;
    }

    /* Clean, brief card look across mobile */
    .glass-card,
    .service-cat-card,
    .feature-card,
    .feature-clean-card {
        padding: 1.15rem 0.85rem !important;
        min-width: 0 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        background: rgba(18, 16, 28, 0.65) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 1.15rem !important;
    }

    .feature-clean-card {
        padding: 1.25rem 0.85rem !important;
    }

    .feature-card-num {
        font-size: 1.5rem !important;
        margin-bottom: 0.35rem !important;
    }

    .feature-card-title {
        font-size: 0.95rem !important;
        margin-bottom: 0.35rem !important;
        line-height: 1.25 !important;
    }

    .feature-card-desc {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
    }

    .service-cat-icon {
        width: 2.75rem;
        height: 2.75rem;
        margin-bottom: 0.85rem;
        border-radius: 0.75rem;
    }

    .service-cat-icon svg {
        width: 1.35rem;
        height: 1.35rem;
    }

    .service-cat-title {
        font-size: 1.05rem;
        margin-bottom: 0.45rem;
        line-height: 1.25;
    }

    .service-cat-desc {
        font-size: 0.82rem;
        line-height: 1.45;
        margin-bottom: 0.85rem;
    }

    .service-sublist {
        gap: 0.35rem;
        margin-bottom: 1rem;
    }

    .service-subitem {
        font-size: 0.78rem;
    }

    .service-subitem svg {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 380px) {

    .grid-3,
    .grid-2,
    .grid-4 {
        gap: 0.65rem;
    }

    .glass-card,
    .service-cat-card,
    .feature-card {
        padding: 1rem 0.65rem;
    }

    .service-cat-title {
        font-size: 0.95rem;
    }

    .service-cat-desc {
        font-size: 0.78rem;
    }
}

/* Service Category Cards */
.service-cat-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: #c4b5fd;
    margin-bottom: 1.5rem;
}

.service-cat-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.service-cat-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.service-cat-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-sublist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-sublist li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}

.service-sublist li svg {
    width: 1rem;
    height: 1rem;
    color: #a78bfa;
    flex-shrink: 0;
}

/* Process Timeline (4 Steps) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process-step-card {
    background: rgba(18, 16, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    padding: 2.25rem 1.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.process-step-card:hover {
    border-color: rgba(167, 139, 250, 0.4);
    background: rgba(25, 22, 38, 0.8);
    transform: translateY(-4px);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.9) 0%, rgba(255, 255, 255, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 580px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .process-step-card {
        padding: 1.25rem 0.85rem;
        min-width: 0;
        word-break: break-word;
    }

    .step-num {
        font-size: 1.5rem !important;
        margin-bottom: 0.35rem !important;
    }

    .step-title {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
        line-height: 1.25;
    }

    .step-desc {
        font-size: 0.78rem;
        line-height: 1.4;
    }
}

@media (max-width: 380px) {
    .process-grid {
        gap: 0.65rem;
    }

    .process-step-card {
        padding: 1rem 0.65rem;
    }

    .step-title {
        font-size: 0.88rem;
    }

    .step-desc {
        font-size: 0.74rem;
    }
}

/* Feature Clean Cards (From Code to Comics Under One Roof) */
.feature-clean-card {
    background: rgba(18, 16, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    padding: 2.25rem 1.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-clean-card:hover {
    border-color: rgba(167, 139, 250, 0.4);
    background: rgba(25, 22, 38, 0.8);
    transform: translateY(-4px);
}

.feature-card-num {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.9) 0%, rgba(255, 255, 255, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.85rem;
}

.feature-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.feature-card-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(15, 14, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

@media (max-width: 800px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .stat-card {
        padding: 1.5rem 0.85rem;
        min-width: 0;
    }

    .stat-number {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 0.35rem;
    }

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

@media (max-width: 380px) {
    .stats-grid {
        gap: 0.5rem;
    }

    .stat-card {
        padding: 1.25rem 0.5rem;
    }

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

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

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(18, 16, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item.active {
    border-color: rgba(167, 139, 250, 0.4);
    background: rgba(24, 21, 37, 0.7);
}

.faq-question {
    width: 100%;
    padding: 1.4rem 1.75rem;
    text-align: left;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question:hover {
    color: #c4b5fd;
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #a78bfa;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.75rem 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Banner */
.cta-banner {
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.25) 0%, rgba(15, 14, 23, 0.9) 70%);
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: 1.75rem;
    padding: 4.5rem 2.5rem;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px -15px rgba(124, 58, 237, 0.3);
}

.cta-banner-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-banner-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 2.25rem;
    line-height: 1.6;
}

.cta-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Tech Pills */
.tech-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.tech-pill {
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Case Study Cards */
.case-study-card {
    background: rgba(18, 16, 28, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    border-color: rgba(167, 139, 250, 0.4);
    transform: translateY(-4px);
}

.case-study-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a78bfa;
    margin-bottom: 0.85rem;
}

.case-study-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.case-study-metric {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.case-study-metric-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #34d399;
}

.case-study-metric-lbl {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Specific UI */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-card {
    background: rgba(18, 16, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group-field {
    margin-bottom: 1.25rem;
}

.form-group-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

.form-group-field input,
.form-group-field select,
.form-group-field textarea {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group-field select option {
    background: #12101c;
    color: #ffffff;
}

.form-group-field input:focus,
.form-group-field select:focus,
.form-group-field textarea:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

.contact-channel-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(18, 16, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.contact-channel-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(167, 139, 250, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4b5fd;
    flex-shrink: 0;
}

.contact-channel-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==========================================
   React Bits - FadeContent Styles
   ========================================== */
.fade-content {
    will-change: opacity, transform, filter;
}

@media (prefers-reduced-motion: reduce) {

    .fade-content,
    main>section:not(#hero):not(.page-hero) .section-header,
    main>section:not(#hero):not(.page-hero) .split-row,
    main>section:not(#hero):not(.page-hero) .grid-3,
    main>section:not(#hero):not(.page-hero) .grid-4,
    main>section:not(#hero):not(.page-hero) .grid-2,
    main>section:not(#hero):not(.page-hero) .process-grid,
    main>section:not(#hero):not(.page-hero) .faq-list,
    main>section:not(#hero):not(.page-hero) .cta-banner {
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        transform: none !important;
    }
}

/* ==========================================
   React Bits - CrystalizedBall Component
   ========================================== */
.crystalized-ball {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.crystalized-ball canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* ==========================================
   React Bits - DitherVeil Component
   ========================================== */
.dither-veil {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.dither-veil canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* ==========================================
   React Bits - HalftoneReveal Component
   ========================================== */
.halftone-reveal {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.halftone-reveal-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

/* ==========================================
   Contact With Globe Component Styles
   ========================================== */
.contact-globe-section {
    position: relative;
    width: 100%;
    background: #09090b;
    overflow: hidden;
    padding: 5rem 1.5rem;
}

.contact-globe-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.contact-header-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.contact-badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(251, 113, 133, 0.3);
}

.contact-badge-text {
    font-size: 0.875rem;
    color: #f43f5e;
    font-weight: 500;
}

.contact-heading-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0;
}

.contact-heading-desc {
    font-size: 1rem;
    color: #a1a1aa;
    max-width: 28rem;
    line-height: 1.6;
    margin: 0;
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 64rem;
    margin: 0 auto;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-grid-layout {
        grid-template-columns: 1fr 1.15fr;
        gap: 3.5rem;
    }
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-col h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.contact-info-col p {
    font-size: 0.875rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin: 0;
    max-width: 22rem;
}

.contact-channels-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.contact-channel-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    width: fit-content;
    font-size: 0.875rem;
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-channel-item:hover {
    color: #ffffff;
}

.contact-channel-badge {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(39, 39, 42, 0.8);
    border: 1px solid rgba(63, 63, 70, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #a1a1aa;
    transition: all 0.2s ease;
}

.contact-channel-item:hover .contact-channel-badge {
    border-color: rgba(244, 63, 94, 0.4);
    background: rgba(244, 63, 94, 0.1);
    color: #fb7185;
}

.contact-globe-frame {
    position: relative;
    overflow: hidden;
    height: 16rem;
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 1rem;
    background: radial-gradient(circle at center, rgba(244, 63, 94, 0.05) 0%, transparent 70%);
}

.contact-globe-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-globe-fade {
    pointer-events: none;
    position: absolute;
    inset: auto 0 0 0;
    height: 50%;
    background: linear-gradient(to top, #09090b, transparent);
}

.contact-card-box {
    border-radius: 1rem;
    border: 1px solid rgba(39, 39, 42, 0.9);
    background: #18181b;
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.contact-card-header p {
    font-size: 0.875rem;
    color: #a1a1aa;
    margin: 0;
}

.form-dots-separator {
    width: 100%;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.form-dots-bg {
    position: absolute;
    inset: 0;
    color: rgba(255, 255, 255, 0.2);
    background-image: radial-gradient(circle, currentColor 0.8px, transparent 0.8px);
    background-size: 6px 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.contact-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-field-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #71717a;
}

.contact-input-control {
    width: 100%;
    background: rgba(39, 39, 42, 0.6);
    border: 1px solid rgba(63, 63, 70, 0.8);
    border-radius: 0.75rem;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    color: #e4e4e7;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contact-input-control::placeholder {
    color: #52525b;
}

.contact-input-control:focus {
    border-color: rgba(244, 63, 94, 0.5);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

.contact-textarea-control {
    resize: none;
    line-height: 1.5;
}

.contact-submit-btn {
    width: fit-content;
    height: 2.75rem;
    padding: 0 2rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: #ffffff;
    color: #09090b;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.contact-submit-btn:hover {
    background: #f4f4f5;
    transform: translateY(-1px);
}

.contact-submit-btn svg {
    transition: transform 0.2s ease;
}

.contact-submit-btn:hover svg {
    transform: translateX(4px);
}

/* React Bits: DitherVeil Component */
.dither-veil {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.dither-veil canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* React Bits: HalftoneReveal Component */
.halftone-reveal {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.halftone-reveal canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ==========================================================================
   Universal Device Responsiveness & Mobile 2-Column Grid Optimizations
   ========================================================================== */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {

    /* Prevent oversized WebGL containers on mobile phones and give generous space for 2-line hero title */
    .hero-techtext-wrapper {
        height: clamp(300px, 48vh, 420px) !important;
    }

    .hero-techtext-wrapper #tech-text {
        height: 100% !important;
        width: 100% !important;
    }

    .split-visual>div[style*="height: 600px"] {
        height: clamp(320px, 48vh, 440px) !important;
    }

    /* Section padding on mobile */
    .content-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.35rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Interactive button group on mobile */
    .split-content .btn,
    .hero-cta-group .btn {
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }

    /* Feature checklists in 2 columns on mobile */
    .feature-checklist {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .feature-item {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .feature-item strong {
        display: block;
        font-size: 0.85rem;
    }

    /* 3. Mobile view hero titles increase on all non-homepage pages */
    .page-hero-title {
        font-size: clamp(2.85rem, 11vw, 4.25rem) !important;
        line-height: 1.12 !important;
        letter-spacing: -0.035em !important;
        text-align: center !important;
        margin-bottom: 0.75rem !important;
    }

    .services-dropdown-panel {
        right: -10px;
        width: 250px;
        max-width: 90vw;
    }
}

@media (max-width: 480px) {

    /* Compact navbar for smaller mobile devices */
    .anime-nav-header {
        top: 0.5rem;
    }

    .anime-navbar-pill {
        padding: 0.3rem 0.4rem;
        gap: 0.25rem;
    }

    .anime-nav-item {
        padding: 0.5rem 0.75rem;
    }

    .anime-mascot {
        display: none;
    }

    .page-hero-title {
        font-size: clamp(2.45rem, 12vw, 3.5rem) !important;
    }
}

/* ==========================================================================
   Ultra-Premium Floating WhatsApp Widget
   ========================================================================== */
.wa-floating-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: auto;
    font-family: var(--font-main);
}

/* Floating Greeting Tooltip Card */
.wa-tooltip {
    background: rgba(14, 18, 26, 0.88);
    border: 1px solid rgba(37, 211, 102, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    padding: 12px 16px;
    max-width: 260px;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(37, 211, 102, 0.15);
    transform-origin: bottom right;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    position: relative;
}

.wa-floating-widget:hover .wa-tooltip,
.wa-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-tooltip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.wa-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 10px #25D366;
    animation: waDotPulse 2s infinite;
}

@keyframes waDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.wa-tooltip-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.wa-tooltip-msg {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    margin: 0;
}

/* WhatsApp Circular Action Button */
.wa-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5), 0 0 30px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.wa-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 15px 35px -4px rgba(37, 211, 102, 0.65), 0 0 45px rgba(37, 211, 102, 0.45);
}

/* Radar Pulse Rings */
.wa-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: waPulseRadar 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    pointer-events: none;
}

.wa-pulse-ring-2 {
    animation-delay: 1.2s;
}

@keyframes waPulseRadar {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.wa-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.wa-btn:hover .wa-icon-box {
    transform: scale(1.1) rotate(8deg);
}

.wa-badge-online {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border: 2.5px solid #080a10;
    border-radius: 50%;
    z-index: 3;
}

@media (max-width: 480px) {
    .wa-floating-widget {
        bottom: 20px;
        right: 20px;
    }
    .wa-btn {
        width: 52px;
        height: 52px;
    }
    .wa-btn svg {
        width: 24px;
        height: 24px;
    }
}