/* ============================================
   ADVENNO - Premium Software House
   Design System & Global Styles
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================
   CSS Custom Properties (Theme Variables)
   ============================================ */
:root {
    /* Dark Theme (Default) */
    --bg-primary: #0B0F1A;
    --bg-secondary: #11162A;
    --bg-card: rgba(17, 22, 42, 0.8);
    --bg-glass: rgba(11, 15, 26, 0.7);

    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    --accent-blue: #3B82F6;
    --accent-cyan: #22D3EE;
    --accent-violet: #8B5CF6;

    --glow-blue: rgba(59, 130, 246, 0.4);
    --glow-cyan: rgba(34, 211, 238, 0.4);
    --glow-violet: rgba(139, 92, 246, 0.4);

    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);

    --gradient-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
    --gradient-accent: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    --gradient-dark: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--glow-blue);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --space-xs: 0.2rem;
    --space-sm: 0.4rem;
    --space-md: 0.75rem;
    --space-lg: 1.1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2.25rem;
    --space-3xl: 3rem;
    --space-4xl: 4.5rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-theme: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F7FB;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.8);

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;

    --accent-blue: #2563EB;
    --accent-cyan: #06B6D4;
    --accent-violet: #7C3AED;

    --glow-blue: rgba(37, 99, 235, 0.2);
    --glow-cyan: rgba(6, 182, 212, 0.2);
    --glow-violet: rgba(124, 58, 237, 0.2);

    --border-color: #E2E8F0;
    --border-hover: #CBD5E1;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 11px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    /* FIXED: Use normal OS cursor */
    cursor: auto !important;
    transition: background var(--transition-theme), color var(--transition-theme);
}

/* CURSOR FIX: Force default cursor and hide custom elements */
* {
    cursor: auto !important;
}

.cursor-dot,
.cursor-circle,
.custom-cursor,
.magic-cursor {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

input,
textarea,
select {
    cursor: text !important;
}


/* Selection */
::selection {
    background: var(--accent-blue);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: var(--radius-full);
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    transition: color var(--transition-theme);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    transition: color var(--transition-theme);
}

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

a:hover {
    color: var(--accent-cyan);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 30px var(--glow-blue);
}

.mono {
    font-family: var(--font-mono);
}

/* ============================================
   Layout Components
   ============================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.grid {
    display: grid;
    gap: var(--space-xl);
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-theme);
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    gap: var(--space-lg);
    flex-wrap: nowrap;
}

.nav-links {
    flex: 1;
    min-width: 0;
}

.nav-actions {
    flex-shrink: 0;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast);
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-actions .auth-guest,
.nav-actions .auth-user {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-actions .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    padding: 3px;
}

.theme-toggle:hover {
    border-color: var(--accent-blue);
}

.theme-toggle-circle {
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: transform var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-circle svg {
    width: 12px;
    height: 12px;
    color: white;
}

[data-theme="light"] .theme-toggle-circle {
    transform: translateX(24px);
}

.theme-toggle .icon-moon,
[data-theme="light"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    margin-top: 0.5rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: translateX(4px);
}

.dropdown-icon {
    font-size: 1.5rem;
    min-width: 24px;
}

.dropdown-content h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.dropdown-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}


/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 20px var(--glow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px var(--glow-blue);
    color: white;
}

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

.btn-secondary:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

.btn-icon {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: var(--radius-md);
}

/* Button Shine Effect */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    opacity: 1;
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: max(600px, 75vh);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

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

.hero-title {
    margin-bottom: var(--space-xl);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* Hero 3D Background - FIXED: Stay in view specifically */
.hero-bg {
    position: fixed;
    /* FIXED: Viewed on each window view specifically */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    /* Dynamic viewport height - respects browser UI */
    background-size: cover;
    background-attachment: fixed;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Fallback for browsers that don't support dvh */
@supports not (height: 100dvh) {
    .hero-bg {
        height: 100vh;
    }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float-gentle 8s ease-in-out infinite;
    will-change: transform;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-violet);
    top: 40%;
    right: 30%;
    animation-delay: -2s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-cyan);
    top: 60%;
    right: 5%;
    animation-delay: -4s;
}

[data-theme="light"] .hero-orb {
    opacity: 0.3;
    filter: blur(100px);
}

/* Floating 3D Shapes */
.floating-shape {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.shape-cube {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), transparent);
    border: 1px solid var(--accent-cyan);
    transform: rotate(45deg);
    animation: rotate-float 10s linear infinite;
}

.shape-ring {
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent-violet);
    border-radius: 50%;
    animation: rotate-reverse 15s linear infinite;
}

.shape-dots {
    display: grid;
    grid-template-columns: repeat(3, 8px);
    gap: 12px;
}

.shape-dots span {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.shape-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.shape-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.shape-dots span:nth-child(4) {
    animation-delay: 0.6s;
}

.shape-dots span:nth-child(5) {
    animation-delay: 0.8s;
}

.shape-dots span:nth-child(6) {
    animation-delay: 1s;
}

.shape-dots span:nth-child(7) {
    animation-delay: 1.2s;
}

.shape-dots span:nth-child(8) {
    animation-delay: 1.4s;
}

/* ============================================
   Custom Cursor
   ============================================ */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-blue);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

.cursor-hover .cursor-dot {
    width: 0;
    height: 0;
    opacity: 0;
}

.cursor-hover .cursor-circle {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-color: transparent;
    backdrop-filter: blur(2px);
}

.cursor-text .cursor-dot {
    display: none;
}

.cursor-text .cursor-circle {
    width: 4px;
    height: 24px;
    border-radius: 4px;
    background: var(--accent-cyan);
    border: none;
}

/* ============================================
   Interactive Canvas Background
   ============================================ */
.neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ============================================
   Card Glare Effect
   ============================================ */
.card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* ============================================
   Cinematic Page Transitions
   ============================================ */
body {
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    /* FIXED: Removed transform: scale(1) to avoid breaking position: fixed for backgrounds */
}

body.page-exit {
    opacity: 0;
    transform: scale(0.98);
}

body.page-enter {
    animation: pageEnter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

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

/* ============================================
   Persona Selector
   ============================================ */
.persona-selector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.persona-selector:hover {
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.1);
}

.persona-select {
    background: transparent;
    border: none;
    color: var(--accent-cyan);
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    appearance: none;
    /* Hide default arrow */
    padding-right: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.persona-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* ============================================
   Conversational Contact UI
   ============================================ */
.conversation-ui {
    max-width: 600px;
    margin: 0 auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
}

.chat-bubble {
    max-width: 80%;
    padding: 16px 24px;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    opacity: 0;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bot-bubble {
    align-self: flex-start;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border-color);
}

.user-bubble {
    align-self: flex-end;
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: var(--shadow-md);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 20px;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

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

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

.chat-input-area {
    margin-top: auto;
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.chat-input {
    flex: 1;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 30px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

.chat-send {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chat-send:hover {
    transform: scale(1.1);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.chat-option-btn {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.chat-option-btn:hover {
    background: var(--accent-blue);
    color: white;
}

.shape-dots span:nth-child(9) {
    animation-delay: 1.6s;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-lg);
}

.section-description {
    color: var(--text-secondary);
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    padding: var(--space-2xl);
    height: 100%;
}

.service-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.service-card .card-icon {
    transition: all var(--transition-normal);
}

.service-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-bottom: var(--space-md);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    color: var(--accent-blue);
    font-weight: 500;
}

.service-link svg {
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(5px);
}

/* ============================================
   Portfolio Grid
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 26, 0.95), transparent);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tags {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.portfolio-tag {
    padding: var(--space-xs) var(--space-sm);
    background: var(--accent-blue);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
}

.portfolio-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: white;
}

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

/* ============================================
   Tech Stack Grid
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-lg);
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.tech-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.tech-name {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-xl);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
    padding: var(--space-2xl);
    text-align: center;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-blue);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    text-align: center;
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    margin-bottom: var(--space-lg);
}

.cta-text {
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0 var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.footer-logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

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

/* ============================================
   Form Elements
   ============================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px var(--glow-blue);
}

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

/* ============================================
   Animations
   ============================================ */
/* FIXED: Gentle float animation - no scaling/expansion */
@keyframes float-gentle {

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

    50% {
        transform: translateY(-20px) scale(1);
    }
}

@keyframes float {

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

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

@keyframes rotate-float {
    0% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(-15px);
    }

    100% {
        transform: rotate(405deg) translateY(0);
    }
}

@keyframes rotate-reverse {
    from {
        transform: rotate(0deg);
    }

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

@keyframes pulse {

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

    50% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

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

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

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px var(--glow-blue);
    }

    50% {
        box-shadow: 0 0 40px var(--glow-blue), 0 0 60px var(--glow-cyan);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger children */
.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-children.active>*:nth-child(1) {
    animation: slide-up 0.6s 0.1s forwards;
}

.stagger-children.active>*:nth-child(2) {
    animation: slide-up 0.6s 0.2s forwards;
}

.stagger-children.active>*:nth-child(3) {
    animation: slide-up 0.6s 0.3s forwards;
}

.stagger-children.active>*:nth-child(4) {
    animation: slide-up 0.6s 0.4s forwards;
}

.stagger-children.active>*:nth-child(5) {
    animation: slide-up 0.6s 0.5s forwards;
}

.stagger-children.active>*:nth-child(6) {
    animation: slide-up 0.6s 0.6s forwards;
}

/* ============================================
   Process/Timeline
   ============================================ */
.process-timeline {
    position: relative;
    padding-left: var(--space-3xl);
}



.process-step {
    position: relative;
    padding-bottom: var(--space-2xl);
}



.process-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-bottom: var(--space-sm);
}

.process-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.process-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   Page Header (Inner Pages)
   ============================================ */
.page-header {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header .section-label {
    margin-bottom: var(--space-lg);
}

.page-header-title {
    margin-bottom: var(--space-lg);
}

.page-header-description {
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .hero-bg {
        width: 100%;
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 10px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 9.5px;
    }

    .container {
        padding: 0 var(--space-lg);
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
    }

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

    /* Stack hero actions vertically on tiny screens */
    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        font-size: 1rem;
    }
}

/* Extra Small Phones (iPhone SE, etc.) */
@media (max-width: 375px) {
    html {
        font-size: 9px;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px var(--space-md);
    }

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

    .btn {
        padding: 12px var(--space-md);
    }

    /* Tighter spacing */
    .grid {
        gap: var(--space-lg);
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }
}

/* Very Small Phones (320px) */
@media (max-width: 320px) {
    html {
        font-size: 8px;
    }

    .container {
        padding: 0 12px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .btn-lg {
        padding: 12px var(--space-md);
        font-size: 0.95rem;
    }

    .card {
        padding: 16px;
    }

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

/* Small Tablets / Large Phones (576px - 768px) */
@media (min-width: 576px) and (max-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero {
        min-height: 70vh;
    }
}

/* Large Desktops (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1600px;
    }

    .section {
        padding: var(--space-4xl) 0;
    }

    h1 {
        font-size: 5rem;
    }

    h2 {
        font-size: 3.75rem;
    }
}

/* 4K Displays (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }

    html {
        font-size: 12px;
    }

    .grid {
        gap: var(--space-3xl);
    }
}

/* Mega Menu Mobile Responsive Fix */
@media (max-width: 992px) {

    /* Hide mega menus on mobile, they'll be replaced by accordion */
    .mega-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.has-mega-menu.open .mega-menu {
        max-height: 1000px;
        margin-top: var(--space-md);
    }

    .mega-menu-inner {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .mega-col {
        width: 100%;
        padding: 0;
    }

    .mega-heading {
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-bottom: var(--space-sm);
    }

    .mega-links {
        padding-left: var(--space-md);
    }

    .mega-links li {
        padding: var(--space-sm) 0;
    }

    .mega-links a {
        font-size: 0.95rem;
        color: var(--text-secondary);
        display: block;
        padding: var(--space-xs) 0;
    }

    .mega-view-all {
        margin-top: var(--space-sm);
    }

    /* Submenu arrow visibility on mobile */
    .submenu-arrow {
        display: flex !important;
        padding: var(--space-sm);
        cursor: pointer;
    }

    .submenu-arrow svg {
        transition: transform 0.3s ease;
    }

    .nav-item.has-mega-menu.open .submenu-arrow svg {
        transform: rotate(180deg);
    }

    /* Nav link container for mobile */
    .nav-link-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .nav-link-container .nav-link {
        flex: 1;
    }
}

/* Tablet Specific Adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: 75vh;
        padding-top: 120px;
    }

    .hero-content {
        max-width: 90%;
    }

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

    /* Smaller gaps on tablets */
    .grid {
        gap: var(--space-xl);
    }
}

/* Fix for process timeline on mobile */
@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .process-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .step-number {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-right: var(--space-lg);
        margin-bottom: 0;
    }

    .step-content {
        flex: 1;
    }
}

/* Tech Grid Responsive */
@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .tech-item {
        padding: var(--space-md);
    }

    .tech-icon {
        font-size: 1.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   🪐 ANTI-GRAVITY / FLOATING ANIMATIONS
   ============================================ */

/* Anti-Gravity Float */
@keyframes anti-gravity-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(1deg);
    }

    50% {
        transform: translateY(-25px) rotate(-1deg);
    }

    75% {
        transform: translateY(-10px) rotate(0.5deg);
    }
}

.anti-gravity {
    animation: anti-gravity-float 8s ease-in-out infinite;
}

/* Zero-G Drift - Side-to-side ambient motion */
@keyframes zero-g-drift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(15px, -10px) rotate(2deg);
    }

    50% {
        transform: translate(-10px, -20px) rotate(-1deg);
    }

    75% {
        transform: translate(5px, -8px) rotate(1deg);
    }
}

.zero-g-drift {
    animation: zero-g-drift 12s ease-in-out infinite;
}

/* Orbital Hover - Gentle rotation around invisible axis */
@keyframes orbital-hover {
    0% {
        transform: rotateY(0deg) rotateX(10deg) translateZ(0);
    }

    50% {
        transform: rotateY(180deg) rotateX(-10deg) translateZ(20px);
    }

    100% {
        transform: rotateY(360deg) rotateX(10deg) translateZ(0);
    }
}

.orbital-hover {
    animation: orbital-hover 20s linear infinite;
    transform-style: preserve-3d;
}

/* Magnetic Levitation - Lift on hover, snap back */
.magnetic-levitate {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease;
}

.magnetic-levitate:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 40px var(--glow-blue);
}

/* Suspended Depth Motion - Multi-layer parallax */
.depth-layer-1 {
    animation: anti-gravity-float 6s ease-in-out infinite;
}

.depth-layer-2 {
    animation: anti-gravity-float 8s ease-in-out infinite 0.5s;
}

.depth-layer-3 {
    animation: anti-gravity-float 10s ease-in-out infinite 1s;
}

/* Neural Flow Animation */
@keyframes neural-pulse {

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

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes neural-flow {
    0% {
        stroke-dashoffset: 100;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Ambient Space Loop */
@keyframes space-drift {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.ambient-space {
    background: radial-gradient(ellipse at 20% 50%, var(--glow-blue), transparent 50%),
        radial-gradient(ellipse at 80% 20%, var(--glow-violet), transparent 50%),
        radial-gradient(ellipse at 60% 80%, var(--glow-cyan), transparent 50%);
    background-size: 200% 200%;
    animation: space-drift 20s ease-in-out infinite;
}

/* ============================================
   ✨ ENTRANCE & SCROLL ANIMATIONS
   ============================================ */

/* Fade-Up Reveal */
@keyframes fade-up-reveal {
    from {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(10px);
    }

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

.fade-up-reveal {
    opacity: 0;
    animation: fade-up-reveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Depth Rise In */
@keyframes depth-rise {
    from {
        opacity: 0;
        transform: translateY(80px) translateZ(-100px) scale(0.9);
    }

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

.depth-rise {
    opacity: 0;
    animation: depth-rise 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-style: preserve-3d;
}

/* Soft Slide + Blur In */
@keyframes slide-blur-in {
    from {
        opacity: 0;
        transform: translateX(-50px);
        filter: blur(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.slide-blur-in {
    animation: slide-blur-in 0.8s ease-out forwards;
}

/* Scale-In with Ease */
@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

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

.scale-in {
    animation: scale-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ============================================
   🧠 ENHANCED HERO COMPONENTS
   ============================================ */

/* Animated Gradient Background */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient-bg {
    background: linear-gradient(-45deg,
            var(--bg-primary),
            #1a1f3a,
            #0d1a2d,
            var(--bg-secondary));
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: gradient-shift 15s ease infinite;
}

[data-theme="light"] .animated-gradient-bg {
    background: linear-gradient(-45deg,
            #ffffff,
            #f0f4ff,
            #e8f4fc,
            #f5f7fb);
    background-size: 400% 400%;
}

/* Glowing Text Animation */
@keyframes text-glow-pulse {

    0%,
    100% {
        text-shadow: 0 0 20px var(--glow-blue),
            0 0 40px var(--glow-blue),
            0 0 60px var(--glow-violet);
    }

    50% {
        text-shadow: 0 0 40px var(--glow-cyan),
            0 0 80px var(--glow-blue),
            0 0 100px var(--glow-violet);
    }
}

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

/* Animated Underline */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    animation: underline-grow 1.5s ease forwards 0.5s;
}

@keyframes underline-grow {
    to {
        transform: scaleX(1);
        transform-origin: left;
    }
}

/* ============================================
   🧩 ENHANCED UI COMPONENTS
   ============================================ */

/* Hover-Lift Feature Cards */
.hover-lift-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.hover-lift-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.hover-lift-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.hover-lift-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px var(--glow-blue);
}

.hover-lift-card:hover::before {
    opacity: 0.05;
}

.hover-lift-card:hover::after {
    left: 100%;
}

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Neural Network Background */
.neural-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
    overflow: hidden;
}

.neural-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: neural-pulse 3s ease-in-out infinite;
    box-shadow: 0 0 15px var(--glow-cyan);
}

.neural-node:nth-child(odd) {
    animation-delay: -1.5s;
}

/* Ambient Grid Overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

/* ============================================
   🚀 ENHANCED CTA COMPONENTS
   ============================================ */

/* Pulsing CTA Button */
.btn-pulse {
    position: relative;
    animation: cta-pulse 2s ease-in-out infinite;
}

@keyframes cta-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 var(--glow-blue),
            var(--shadow-md);
    }

    50% {
        box-shadow: 0 0 0 15px transparent,
            var(--shadow-lg),
            0 0 40px var(--glow-blue);
    }
}

/* Glowing Border CTA */
.btn-glow-border {
    background: var(--bg-primary);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-primary), var(--bg-primary)),
        var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.4s ease;
}

.btn-glow-border:hover {
    box-shadow: 0 0 30px var(--glow-blue),
        0 0 60px var(--glow-violet);
    transform: translateY(-3px);
}

/* Floating CTA with Particles */
.cta-floating {
    position: relative;
}

.cta-floating::before,
.cta-floating::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 3s ease-in-out infinite;
}

.cta-floating::before {
    top: -20px;
    left: 20%;
    animation-delay: 0s;
}

.cta-floating::after {
    top: -15px;
    right: 25%;
    animation-delay: 1.5s;
    background: var(--accent-violet);
}

@keyframes particle-float {

    0%,
    100% {
        opacity: 0;
        transform: translateY(20px) scale(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-30px) scale(1);
    }
}

/* ============================================
   📊 ENHANCED STATS & COUNTERS
   ============================================ */

.stat-item-enhanced {
    text-align: center;
    padding: var(--space-2xl);
    position: relative;
}

.stat-item-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: stat-pulse 3s ease-in-out infinite;
}

@keyframes stat-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.05;
    }
}

.stat-number-glow {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-glow-pulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* ============================================
   🎨 CURSOR REACTIVE LAYER
   ============================================ */

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-blue), transparent 70%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.15;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

[data-theme="light"] .cursor-glow {
    opacity: 0.08;
    mix-blend-mode: multiply;
}

/* ============================================
   🌟 TESTIMONIAL CAROUSEL ENHANCEMENTS
   ============================================ */

.testimonial-card-enhanced {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.testimonial-card-enhanced::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 8rem;
    font-family: serif;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px var(--glow-violet);
    border-color: var(--accent-violet);
}

/* ============================================
   🔄 LOADING & TRANSITION EFFECTS
   ============================================ */

/* Page Transition Overlay */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg,
            var(--bg-secondary) 25%,
            var(--bg-card) 50%,
            var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   📱 ENHANCED MOBILE INTERACTIONS  
   ============================================ */

@media (max-width: 768px) {
    .anti-gravity {
        animation-duration: 12s;
    }

    .zero-g-drift {
        animation-duration: 16s;
    }

    .cursor-glow {
        display: none;
    }

    .hover-lift-card:hover {
        transform: translateY(-5px);
    }

    .magnetic-levitate:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

/* ============================================
   ✨ EXTRA VISUAL POLISH
   ============================================ */

/* Rainbow Gradient Border */
@keyframes rainbow-border {
    0% {
        border-color: #3B82F6;
    }

    25% {
        border-color: #22D3EE;
    }

    50% {
        border-color: #8B5CF6;
    }

    75% {
        border-color: #EC4899;
    }

    100% {
        border-color: #3B82F6;
    }
}

.rainbow-border {
    border: 2px solid;
    animation: rainbow-border 4s linear infinite;
}

/* Shimmer Text Effect */
@keyframes shimmer-text {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.shimmer-text {
    background: linear-gradient(90deg,
            var(--text-primary) 0%,
            var(--accent-cyan) 25%,
            var(--accent-violet) 50%,
            var(--accent-cyan) 75%,
            var(--text-primary) 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-text 3s linear infinite;
}

/* Ripple Effect on Click */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--accent-blue) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.ripple:active::after {
    transform: scale(0);
    opacity: 0.3;
    transition: 0s;
}

/* ============================================
   🎯 CURSOR FIXES (Alignment & Visibility)
   ============================================ */
/* Hide native cursor ONLY when custom cursor is active */
body.has-custom-cursor,
body.has-custom-cursor * {
    cursor: none !important;
}

/* Restore cursor on mobile devices */
/* Mobile/Tablet Responsive */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 var(--space-md);
    }

    .nav-links {
        gap: var(--space-lg);
    }

    .nav-actions {
        gap: var(--space-md);
    }

    .nav-actions .auth-guest {
        gap: 6px;
    }

    .nav-actions .btn-sm {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .nav-actions .auth-guest {
        display: none;
    }

    /* Hide redundant audit button on very small screens to prevent overflow */
    @media (max-width: 576px) {
        .nav-actions .btn-primary.btn-sm {
            display: none;
        }

        .nav-container {
            padding: 0 var(--space-sm);
        }

        .nav-actions {
            gap: var(--space-sm);
        }
    }
}

@media (pointer: coarse) {

    html,
    body,
    * {
        cursor: auto !important;
    }

    .cursor-dot,
    .cursor-circle {
        display: none !important;
    }
}

.cursor-dot,
.cursor-circle {
    position: fixed !important;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999 !important;
    border-radius: 50%;
    will-change: transform;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    /* blend modes can make the cursor "disappear" depending on background */
    mix-blend-mode: normal;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-blue);
    opacity: 0.5;
    transition: transform 0.2s, opacity 0.2s, border-color 0.2s;
}

/* Hover States */
body.cursor-hover .cursor-circle {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.8;
    border-color: var(--accent-cyan);
}

body.cursor-text .cursor-circle {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.3;
}

/* Legacy hover support */
body.hovering .cursor-circle {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.8;
    border-color: var(--accent-cyan);
}

/* ============================================
   PHASE 3: Homepage Rebuild Styles
   ============================================ */

/* Hero Section Enhancements */
.hero-badge-typing {
    display: inline-block;
    border-right: 2px solid var(--accent-cyan);
    animation: blink-caret .75s step-end infinite;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-weight: 600;
    min-width: 1ch;
}


@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--accent-cyan);
    }
}

.hero-gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.05), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.trust-bar {
    margin-top: var(--space-3xl);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.trust-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    opacity: 0.5;
    flex-wrap: wrap;
}

.logo-placeholder {
    width: 120px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
}

/* Problem Cards */
.problem-card {
    background: rgba(255, 68, 68, 0.03);
    border-color: rgba(255, 68, 68, 0.1);
}

.problem-card:hover {
    border-color: rgba(255, 68, 68, 0.3);
    background: rgba(255, 68, 68, 0.05);
}

.problem-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-top: var(--space-md);
}

/* Self-Selector Section */
.selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.selector-card {
    padding: var(--space-2xl);
    cursor: pointer;
    text-align: left;
}

.selector-card .subtext {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    transition: var(--transition-normal);
}

.selector-hover-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    margin-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-md);
}

.selector-card:hover .selector-hover-content {
    max-height: 200px;
    opacity: 1;
}

.selector-card:hover .subtext {
    color: var(--accent-cyan);
}

.selector-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.selector-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-secondary);
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    display: block;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Case Studies */
.case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-normal);
}

.case-metrics {
    margin: var(--space-lg) 0;
    font-size: 0.95rem;
}

.metric {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.metric span {
    color: var(--accent-cyan);
    font-weight: 600;
}

.metric.result {
    color: var(--text-primary);
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(34, 211, 238, 0.1);
    border-radius: var(--radius-sm);
    display: inline-block;
}

.case-link {
    margin-top: auto;
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.case-link:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

/* Service Benefit Cards */
.service-benefit-card {
    padding: var(--space-2xl);
    text-align: left;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.text-link {
    display: inline-block;
    margin-top: var(--space-md);
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.text-link:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

/* Industry Grid */
.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-normal);
    text-align: center;
}

.industry-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: var(--space-3xl) 0;
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
}



.process-step {
    flex: 1;
    position: relative;
    z-index: 2;
    background: var(--bg-primary);
    padding: var(--space-xl);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.process-step:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 20px var(--glow-cyan);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

/* Blog Cards */
.blog-card {
    text-align: left;
}

.blog-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-violet);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    display: block;
}

.blog-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: var(--space-md);
}

/* Final CTA Card */
.final-cta-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    position: relative;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-benefits {
    font-size: 1.1rem;
    font-weight: 500;
}

.cta-benefit-item span {
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .process-timeline {
        flex-direction: column;
        gap: var(--space-xl);
    }


}

@media (max-width: 768px) {
    .stats-bar .grid {
        grid-template-columns: 1fr 1fr;
    }

    .selector-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-card {
        padding: 40px 20px !important;
    }

    .cta-benefits {
        flex-direction: column;
        gap: var(--space-md) !important;
        align-items: center;
    }
}

/* ============================================
   Page Transition Overlay & Component Loading
   ============================================ */

/* Page Transition Overlay - Prevents FOUC */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 99999;
    transition: opacity 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-transition.loaded {
    opacity: 0;
    pointer-events: none;
}

/* Loading Spinner */
.page-transition::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Component Skeleton Loaders */
.component-skeleton {
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

/* Header Skeleton */
.site-header .component-skeleton {
    height: 70px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

/* Footer Skeleton */
footer .component-skeleton {
    height: 300px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

/* Component Loaded - Fade In */
.component-loaded {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Component Error State */
.component-error {
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    margin: 20px 0;
}

.component-error p {
    color: var(--text-secondary);
    margin: 0;
}

.component-error a {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.component-error a:hover {
    color: var(--accent-blue);
}

/* Card Beam Animation Styles - Refactored for Advenno */

.process-animation-section {
    position: relative;
    padding: 100px 0;
    background: #000000;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.container-beam {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 400px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    z-index: 1;
}

.beam-card-content {
    position: relative;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #ffffff;
}

.beam-card-number {
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.3;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.beam-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.beam-card-subtitle {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.beam-card-details {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: auto;
}

.beam-card-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 500;
}

.card-stream {
    position: absolute;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    overflow: visible;
}

.card-line {
    display: flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
    cursor: grab;
    user-select: none;
    will-change: transform;
}

.card-line:active {
    cursor: grabbing;
}

.card-wrapper {
    position: relative;
    width: 320px;
    height: 200px;
    flex-shrink: 0;
}

.beam-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.beam-card-normal {
    background: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
    position: relative;
    clip-path: inset(0 0 0 var(--clip-right, 0%));
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.beam-card-ascii {
    background: transparent;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    clip-path: inset(0 calc(100% - var(--clip-left, 0%)) 0 0);
}

.ascii-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--accent-cyan, #22D3EE);
    opacity: 0.6;
    font-family: inherit;
    font-size: 9px;
    line-height: 11px;
    overflow: hidden;
    white-space: pre;
    animation: glitch 0.1s infinite linear alternate-reverse;
    padding: 10px;
}

@keyframes glitch {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

.scanner {
    position: absolute;
    left: 23%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 350px;
    background: linear-gradient(to bottom,
            transparent,
            var(--accent-cyan, #22D3EE),
            var(--accent-blue, #3B82F6),
            var(--accent-cyan, #22D3EE),
            transparent);
    box-shadow: 0 0 15px var(--accent-cyan, #22D3EE);
    z-index: 10;
    pointer-events: none;
}

.scan-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(34, 211, 238, 0.2),
            transparent);
    animation: scanEffect 0.6s ease-out;
    pointer-events: none;
    z-index: 5;
}

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

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

#particleCanvas {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 250px;
    z-index: 0;
    pointer-events: none;
}

#scannerCanvas {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 350px;
    z-index: 15;
    pointer-events: none;
}

/* Ensure section header is visible above animation if needed */
.process-animation-section .section-header {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 100%;
    pointer-events: none;
}

.process-animation-section .section-title,
.process-animation-section .section-description {
    color: #ffffff;
}

@media (max-width: 768px) {

    .card-wrapper,
    .beam-card,
    .beam-card-ascii {
        width: 240px;
        height: 150px;
    }
}

/* ============================================
   FLOATING ACTION BUTTON (FAB)
   Premium contact bubble — conversion critical
   ============================================ */
.fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 8px 25px var(--glow-blue), var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: fab-pulse 3s ease-in-out infinite;
}

.fab svg {
    width: 24px;
    height: 24px;
    color: white;
    transition: transform 0.3s ease;
}

.fab:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 12px 35px var(--glow-blue), 0 0 50px var(--glow-violet), var(--shadow-lg);
}

.fab:hover svg {
    transform: scale(1.1);
}

.fab:active {
    transform: scale(0.95);
}

@keyframes fab-pulse {

    0%,
    100% {
        box-shadow: 0 8px 25px var(--glow-blue), 0 0 0 0 rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 8px 25px var(--glow-blue), 0 0 0 12px rgba(59, 130, 246, 0);
    }
}

@media (max-width: 768px) {
    .fab {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .fab svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   OUTLINE BUTTON
   Used on service hero sections
   ============================================ */
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(34, 211, 238, 0.08);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
    transform: translateY(-2px);
}

/* ============================================
   BACK-TO-TOP BUTTON
   Appears on scroll for better UX
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   SERVICE HERO SECTION
   Premium layout for service pages
   ============================================ */
.service-hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 0%, var(--glow-blue), transparent),
        radial-gradient(ellipse 60% 50% at 10% 100%, var(--glow-violet), transparent);
    opacity: 0.5;
    pointer-events: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.hero-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hero-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.hero-breadcrumb a:hover {
    color: var(--accent-cyan);
}

.hero-breadcrumb span {
    color: var(--accent-cyan);
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .service-hero {
        padding: 120px 0 60px;
    }

    .hero-cta {
        flex-direction: column;
    }

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

/* ============================================
   LIGHT THEME SCROLLED HEADER FIX
   ============================================ */
[data-theme="light"] .site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .scrolled .mega-menu {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--border-color);
}

/* ============================================
   ENHANCED CTA SECTION
   Premium conversion-focused design
   ============================================ */
.cta-section {
    text-align: center;
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--glow-blue), transparent 60%),
        radial-gradient(ellipse at 30% 80%, var(--glow-violet), transparent 50%);
    opacity: 0.3;
    pointer-events: none;
}

.cta-section .cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section .cta-content h2 {
    margin-bottom: var(--space-lg);
}

.cta-section .cta-content p {
    font-size: 1.15rem;
    margin-bottom: var(--space-2xl);
}

/* ============================================
   FEATURE CARD ENHANCEMENTS
   Premium styling for services pages
   ============================================ */
.features-grid,
.benefits-grid {
    display: grid;
    gap: var(--space-xl);
}

.features-grid {
    grid-template-columns: repeat(3, 1fr);
}

.benefits-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 20px var(--glow-blue);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    font-size: 1.4rem;
    color: white;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.benefit-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: var(--space-md);
    display: block;
}

.benefit-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 30px rgba(34, 211, 238, 0.1);
}

@media (max-width: 992px) {

    .features-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FAQ SECTION ENHANCEMENT
   Premium accordion styling
   ============================================ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--accent-blue);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-cyan);
}

.faq-question i {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.faq-item[open] .faq-question i,
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.faq-answer {
    padding: 0 var(--space-xl) var(--space-lg);
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   RELATED SERVICES GRID
   Premium linking between service pages
   ============================================ */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}

.related-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.related-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.related-card i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: var(--space-md);
    display: block;
}

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

/* ============================================
   TECH BADGE (Service pages)
   ============================================ */
.tech-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.tech-badge:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--glow-blue);
}

.tech-badge span {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   USE CASE GRID (Service pages)
   ============================================ */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all 0.3s ease;
}

.usecase-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-violet);
    box-shadow: 0 8px 30px var(--glow-violet);
}

.usecase-card i {
    font-size: 2rem;
    color: var(--accent-violet);
    margin-bottom: var(--space-md);
    display: block;
}

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

/* ============================================
   STATS SECTION (bg-dark variant)
   ============================================ */
.bg-dark {
    background: var(--bg-secondary);
}

.bg-alt {
    background: var(--bg-secondary);
}

/* ============================================
   SKIP LINK (Accessibility)
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: var(--space-md);
}

/* ============================================
   OVERVIEW SECTION
   ============================================ */
.overview-section .overview-content {
    max-width: 900px;
    margin: 0 auto;
}

.overview-section .overview-content p {
    margin-bottom: var(--space-lg);
}

.overview-section .overview-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   GRID-6 Layout
   ============================================ */
.grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 992px) {
    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   STICKY MOBILE CTA BAR
   Bottom-fixed conversion bar (mobile only)
   Used on 20+ pages — critical for conversions
   ============================================ */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 900;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .sticky-cta-bar {
        display: block;
    }

    /* Push FAB up to avoid overlap */
    .fab {
        bottom: 80px;
    }

    .back-to-top {
        bottom: 140px;
    }
}

/* ============================================
   CONTACT FORM AREA
   Premium styling for the audit/contact form
   ============================================ */
.contact-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.contact-form-area {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.contact-form-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.contact-form-area .form-group {
    margin-bottom: var(--space-lg);
}

.contact-form-area .form-input,
.contact-form-area .form-textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    color: var(--text-primary);
    font-size: 1rem;
    width: 100%;
    transition: all var(--transition-fast);
}

.contact-form-area .form-input:focus,
.contact-form-area .form-textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px var(--glow-blue);
    outline: none;
}

/* ============================================
   ABOUT HERO
   Premium about page hero section
   ============================================ */
.about-hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 70% 30%, var(--glow-blue), transparent),
        radial-gradient(ellipse 50% 40% at 20% 70%, var(--glow-violet), transparent);
    opacity: 0.4;
    pointer-events: none;
}

/* ============================================
   VALUE CARD
   ============================================ */
.val-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all 0.3s ease;
}

.val-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-violet);
    box-shadow: var(--shadow-lg), 0 0 20px var(--glow-violet);
}

/* ============================================
   PORTFOLIO FILTER TABS
   ============================================ */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px var(--glow-blue);
}

/* ============================================
   FEATHER-FLOAT (decorative element)
   ============================================ */
.feather-float {
    animation: float-gentle 6s ease-in-out infinite;
}

/* ============================================
   CURSOR POINTER FIX
   Buttons and clickable elements need pointer
   ============================================ */
.btn,
.fab,
.back-to-top,
.filter-btn,
.faq-question,
.nav-link,
.dropdown-item,
.theme-toggle,
.mobile-toggle,
.mobile-menu-toggle,
.menu-arrow-btn,
.submenu-arrow,
a[href],
button,
[role="button"],
input[type="submit"],
input[type="button"],
select {
    cursor: pointer !important;
}