/* ==========================================================================
   Safir Akhtar Portfolio - Single Purple Space Cursor & Hardware Acceleration
   ========================================================================== */

:root {
    --bg-dark: #020204;
    --bg-glass-neo: rgba(8, 12, 24, 0.62);
    
    --accent-cyan: #00f0ff;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --accent-gold: #f59e0b;

    --gradient-accent: linear-gradient(135deg, #00f0ff 0%, #8b5cf6 100%);
    --gradient-glow: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, transparent 70%);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --border-glass: rgba(0, 240, 255, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.12);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Neomorphic Shadow Tokens */
    --neo-shadow-out: 10px 10px 30px rgba(0, 0, 0, 0.65), -6px -6px 20px rgba(0, 240, 255, 0.06);
    --neo-shadow-inset: inset 1px 1px 1px rgba(255, 255, 255, 0.15), inset -1px -1px 2px rgba(0, 0, 0, 0.6);
    
    --neo-shadow-hover-out: 14px 14px 40px rgba(0, 0, 0, 0.8), -8px -8px 25px rgba(0, 240, 255, 0.18);
    --neo-shadow-hover-inset: inset 1px 1px 2px rgba(255, 255, 255, 0.25), inset -1px -1px 3px rgba(0, 0, 0, 0.7);

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Single Native Purple Space Cursor System */
html, body, button, a, input, textarea, select, label, .skill-card, .project-card, .coverflow-card, .btn {
    cursor: url('assets/purple-space-cursor.svg') 2 2, auto !important;
}

button:hover, a:hover, input:hover, textarea:hover, select:hover, label:hover, .skill-card:hover, .project-card:hover, .coverflow-card:hover, .btn:hover, .filter-tab:hover, .direct-badge:hover, .whatsapp-trigger-btn:hover {
    cursor: url('assets/purple-space-pointer.svg') 8 2, pointer !important;
}

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

body {
    line-height: 1.6;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* Floating WhatsApp Left-Pop Widget Container */
.whatsapp-floating-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.whatsapp-trigger-btn {
    background: transparent;
    border: none;
    padding: 0;
    outline: none;
    z-index: 10001;
}

.wp-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    will-change: transform;
}

.whatsapp-trigger-btn:hover .wp-icon-wrapper {
    transform: scale(1.12);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.78);
}

.wp-online-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00f0ff;
    border: 2px solid #020204;
    box-shadow: 0 0 10px #00f0ff;
}

/* Left Tooltip on Hover */
.wp-widget-tooltip-left {
    position: absolute;
    right: 72px;
    background: rgba(8, 12, 24, 0.92);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(16px);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: var(--neo-shadow-out);
}

.whatsapp-floating-container:hover .wp-widget-tooltip-left {
    opacity: 1;
    transform: translateX(0);
}

/* Left-Popping Interactive Chat Window */
.wp-chat-popup-card {
    position: absolute;
    bottom: 74px;
    right: 0;
    width: 330px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(8, 12, 24, 0.94) !important;
    border: 1px solid var(--border-glass) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(37, 211, 102, 0.25) !important;
    transform-origin: bottom right;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    z-index: 10000;
    will-change: opacity, transform;
}

.wp-chat-popup-card.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px) translateX(10px);
    pointer-events: none;
}

.wp-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
}

.wp-avatar-box {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.5);
}

.wp-header-info { flex-grow: 1; }

.wp-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.wp-status {
    font-size: 0.74rem;
    color: #25d366;
}

.wp-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.wp-close-btn:hover { color: #ffffff; }

.wp-msg-bubble {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 14px 14px 14px 2px;
    padding: 12px 14px;
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.5;
}

.wp-start-chat-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
}

.wp-start-chat-btn:hover {
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.7) !important;
}

/* Preloader with Glowing Real-Time Progress Percentage */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #020204;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.wrapper {
    width: 200px;
    height: 60px;
    position: relative;
    z-index: 1;
}

.circle {
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    left: 15%;
    transform-origin: 50%;
    animation: circle7124 .5s alternate infinite ease;
    box-shadow: 0 0 15px var(--accent-cyan);
}

@keyframes circle7124 {
    0% {
        top: 60px;
        height: 5px;
        border-radius: 50px 50px 25px 25px;
        transform: scaleX(1.7);
    }
    40% {
        height: 20px;
        border-radius: 50%;
        transform: scaleX(1);
    }
    100% {
        top: 0%;
    }
}

.circle:nth-child(2) {
    left: 45%;
    animation-delay: .2s;
    background-color: #8b5cf6;
    box-shadow: 0 0 15px #8b5cf6;
}

.circle:nth-child(3) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
    background-color: #ec4899;
    box-shadow: 0 0 15px #ec4899;
}

.shadow {
    width: 20px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.9);
    position: absolute;
    top: 62px;
    transform-origin: 50%;
    z-index: -1;
    left: 15%;
    filter: blur(1px);
    animation: shadow046 .5s alternate infinite ease;
}

@keyframes shadow046 {
    0% { transform: scaleX(1.5); }
    40% { transform: scaleX(1); opacity: .7; }
    100% { transform: scaleX(.2); opacity: .4; }
}

.shadow:nth-child(4) {
    left: 45%;
    animation-delay: .2s;
}

.shadow:nth-child(5) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
}

.preloader-text {
    text-align: center;
    font-family: var(--font-heading);
}

.preloader-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.preloader-counter {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
    margin: 4px 0;
}

/* ==========================================================================
   HYBRID GLASSMORPHIC + NEOMORPHIC + TRANSPARENT HUD BOX ENGINE
   ========================================================================== */

.glass-hud {
    background: var(--bg-glass-neo) !important;
    border: 1px solid var(--border-glass) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--neo-shadow-out), var(--neo-shadow-inset) !important;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    will-change: transform;
}

.glass-hud:hover {
    border-color: rgba(0, 240, 255, 0.55) !important;
    box-shadow: var(--neo-shadow-hover-out), var(--neo-shadow-hover-inset) !important;
}

/* Custom Glassmorphic Notification Modal Overlay */
.custom-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(2, 2, 4, 0.85);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.custom-modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.custom-modal-hud {
    max-width: 520px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 36px 32px;
    transform: scale(1);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-modal-overlay.hidden .custom-modal-hud {
    transform: scale(0.85);
}

.modal-icon-glow {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.15);
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-info-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    width: 100%;
}

.info-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
}

/* HARDWARE ACCELERATED 100% ULTRA HD NATIVE COMPOSITED BACKGROUND IMAGE */
.fixed-video-canvas-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    background: #020204;
    transform: translateZ(0);
    will-change: transform;
}

#hero-img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    will-change: src;
    transform: translateZ(0);
}

#particle-canvas {
    width: 100vw;
    height: 100vh;
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    will-change: contents;
}

.canvas-ambient-vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 35%, rgba(2,2,4,0.6) 100%),
                linear-gradient(to bottom, rgba(2,2,4,0.2) 0%, transparent 15%, transparent 85%, rgba(2,2,4,0.75) 100%);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s ease, padding 0.3s ease, border 0.3s ease;
}

.navbar.scrolled {
    background: rgba(2, 2, 4, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
}

.logo-text {
    color: var(--text-main);
    transition: color 0.2s ease;
}

.nav-logo:hover .logo-text {
    color: var(--accent-cyan);
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.nav-links { display: flex; gap: 32px; }

.nav-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

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

.age-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    background: rgba(0, 240, 255, 0.12);
    color: var(--accent-cyan);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: inset 1px 1px 1px rgba(255,255,255,0.2), inset -1px -1px 2px rgba(0,0,0,0.5);
}

.status-pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-full { width: 100%; }

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 6px 22px rgba(0, 240, 255, 0.4), inset 1px 1px 2px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.65), inset 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(14px);
    box-shadow: inset 1px 1px 1px rgba(255,255,255,0.15), inset -1px -1px 2px rgba(0,0,0,0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.glow-btn:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.7) !important;
}

.hero-actions { display: flex; gap: 12px; }

.menu-toggle { display: none; background: transparent; border: none; color: var(--text-main); }

/* Page Content Wrapper */
.page-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

.section {
    min-height: 100vh;
    padding: 100px 0;
    display: flex;
    align-items: center;
    background: transparent !important;
}

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

/* Multi-Angle Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.angle-left { transform: translateX(-60px) rotate(-3deg) scale(0.95); }
.angle-right { transform: translateX(60px) rotate(3deg) scale(0.95); }
.angle-top { transform: translateY(-50px) scale(0.95); }
.angle-bottom { transform: translateY(50px) scale(0.95); }

.scroll-reveal.visible {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0deg) scale(1);
}

/* Hero Section */
.hero-split-flex {
    display: flex;
    justify-content: flex-start;
}

.hero-hud { max-width: 520px; }

.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 18px;
    box-shadow: inset 1px 1px 1px rgba(255,255,255,0.2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 14px;
}

.gradient-text {
    background: linear-gradient(135deg, #00f0ff 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.1), inset -1px -1px 2px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hover-glow:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3), inset 1px 1px 1px rgba(255,255,255,0.2);
}

/* About Section */
.about-dual-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 20px;
}

.about-flank-hud {
    width: 44%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.about-headline {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.about-subheadline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.about-bio {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.workflow-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.workflow-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.workflow-item:hover {
    transform: translateX(4px);
    border-color: var(--accent-cyan);
}

.wf-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.15);
    color: var(--accent-cyan);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.workflow-item h4 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.workflow-item p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.stats-counter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 18px;
    margin-top: 10px;
    border-top: 1px solid var(--border-subtle);
}

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

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.stat-lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* SKILLS MATRIX */
.section-title-box { margin-bottom: 40px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.section-subtitle { color: var(--text-muted); font-size: 1rem; }
.text-center { text-align: center; }

.character-focus-skills-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.skills-column {
    width: 32%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.character-center-gap {
    width: 34%;
    pointer-events: none;
}

.skill-card {
    padding: 20px 22px;
    height: 160px !important;
    min-height: 160px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.skill-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
    box-shadow: inset 1px 1px 2px rgba(255,255,255,0.2), inset -1px -1px 2px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

.py-icon { background: rgba(55, 118, 171, 0.2); color: #3776ab; }
.node-icon { background: rgba(104, 160, 99, 0.2); color: #68a063; }
.figma-icon { background: rgba(242, 78, 30, 0.2); color: #f24e1e; }
.xd-icon { background: rgba(255, 97, 246, 0.2); color: #ff61f6; }
.ai-prompt-icon { background: rgba(0, 240, 255, 0.2); color: #00f0ff; }
.ps-icon { background: rgba(49, 168, 255, 0.2); color: #31a8ff; }
.ai-icon { background: rgba(255, 154, 0, 0.2); color: #ff9a00; }
.corel-icon { background: rgba(0, 180, 136, 0.2); color: #00b488; }
.canva-icon { background: rgba(0, 196, 204, 0.2); color: #00c4cc; }
.pr-icon { background: rgba(153, 153, 255, 0.2); color: #9999ff; }
.ae-icon { background: rgba(210, 148, 255, 0.2); color: #d294ff; }
.web-icon { background: rgba(227, 76, 38, 0.2); color: #e34c26; }

.skill-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.skill-desc {
    color: var(--text-muted);
    font-size: 0.83rem;
    line-height: 1.45;
}

/* TESTIMONIALS */
.character-focus-testimonials-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.testimonial-column {
    width: 32%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.animated-person-card {
    position: relative;
    padding: 26px;
    height: 250px !important;
    min-height: 250px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden;
    animation: floatGlowCard 6s ease-in-out infinite alternate;
}

.column-left .animated-person-card:nth-child(2) { animation-delay: 1.5s; }
.column-right .animated-person-card:nth-child(1) { animation-delay: 0.8s; }
.column-right .animated-person-card:nth-child(2) { animation-delay: 2.2s; }

@keyframes floatGlowCard {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

.animated-person-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
}

.quote-watermark {
    position: absolute;
    top: 12px; right: 16px;
    font-size: 3.2rem;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.client-avatar-photo {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    flex-shrink: 0;
}

.client-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.client-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
}

.client-person-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.client-company-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.rating-stars {
    display: flex;
    gap: 4px;
    color: var(--accent-gold);
}

.rating-stars svg {
    width: 15px; height: 15px;
    fill: var(--accent-gold);
}

.testimonial-quote {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.55;
    font-style: italic;
    min-height: 84px;
    display: flex;
    align-items: center;
}

/* PURE FLOATING COVERFLOW STAGE */
.pure-floating-coverflow-stage {
    position: relative;
    padding: 20px 0;
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.coverflow-viewport {
    position: relative;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.coverflow-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    will-change: transform, opacity;
}

.coverflow-card-inner {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
}

.coverflow-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    transition: filter 0.4s ease, transform 0.4s ease;
}

.coverflow-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 2000;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.arrow-left { left: 10px; }
.arrow-right { right: 10px; }

.coverflow-arrow:hover {
    background: #00f0ff;
    color: #000000;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.7);
}

/* Contact Section & Direct Contact Badges */
.contact-section {
    min-height: auto !important;
    padding: 60px 0 20px 0 !important;
}

.contact-glass-card {
    max-width: 840px;
    margin: 0 auto;
}

.contact-heading {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.contact-subheading {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.direct-contact-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.direct-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.db-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.15);
    color: var(--accent-cyan);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.wp-bg {
    background: rgba(37, 211, 102, 0.2) !important;
    color: #25d366 !important;
}

.db-lbl {
    font-size: 0.74rem;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
}

.db-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-main);
}

.contact-form-grid { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-field input, .form-field textarea {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.6), inset -1px -1px 2px rgba(0, 0, 0, 0.08);
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field input:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 240, 255, 0.2);
}

/* Footer Compact Padding */
.footer {
    padding: 20px 0 !important;
    border-top: 1px solid var(--border-subtle);
    background: transparent;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-link {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.back-top-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-main);
    box-shadow: var(--neo-shadow-out), var(--neo-shadow-inset);
}

@media (max-width: 992px) {
    .character-focus-skills-wrapper, .character-focus-testimonials-wrapper, .about-dual-wrapper { flex-direction: column; gap: 20px; }
    .skills-column, .testimonial-column, .about-flank-hud, .hero-hud { width: 100%; max-width: 100%; margin: 0; }
    .skill-card, .animated-person-card { height: auto !important; min-height: 0 !important; }
    .character-center-gap { display: none; }
    .direct-contact-badges { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(2, 2, 4, 0.95);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-subtle);
    }
    .nav-links.open { display: flex; }
    .menu-toggle { display: block; }
    .wp-chat-popup-card { width: 280px; }
}
