@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Professional Design System - Square Cloud Blue */
:root {
    /* Colors - Square Cloud Blue (#0066FF) */
    --primary: #0066FF; /* Azul principal Square Cloud */
    --primary-dark: #0052cc;
    --primary-light: #3385ff;
    --primary-glow: rgba(0, 102, 255, 0.3);
    
    /* Background Colors */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-elevated: rgba(17, 17, 17, 0.8);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #707070;
    
    /* Borders & Dividers */
    --border-primary: rgba(0, 102, 255, 0.1);
    --border-secondary: rgba(0, 102, 255, 0.2);
    --border-hover: rgba(0, 102, 255, 0.4);
    
    /* Glassmorphism */
    --glass-bg: rgba(0, 102, 255, 0.05);
    --glass-border: rgba(0, 102, 255, 0.1);
    --glass-hover: rgba(0, 102, 255, 0.08);
    
    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 102, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 102, 255, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 102, 255, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 102, 255, 0.4);
    --shadow-xl: 0 16px 64px rgba(0, 102, 255, 0.5);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
    position: relative;
    padding-top: 0;
}

/* Fix para garantir que o conteúdo não fique atrás do header */
body > *:not(header) {
    position: relative;
    z-index: 1;
}

/* Background com azul sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
}

.loading-content svg {
    width: 48px;
    height: 48px;
    transform-origin: center;
    animation: rotate 1s linear infinite;
}

.loading-content circle {
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dashoffset: -125px;
    }
}

.loading p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 16px;
    font-weight: 500;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Header - Modern & Fixed */
header {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-primary);
    padding: 18px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    border-bottom-color: var(--primary);
    box-shadow: var(--shadow-lg);
    padding: 14px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
    text-decoration: none;
    z-index: 1001;
}

.logo:hover {
    opacity: 0.85;
    transform: translateX(3px);
}

.logo-img {
    height: 36px;
    width: 36px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.logo:hover .logo-img {
    transform: scale(1.05) rotate(2deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: -0.01em;
    text-decoration: none;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(0, 102, 255, 0.1);
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(0, 102, 255, 0.15);
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 10000;
    position: relative;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    justify-content: center;
    pointer-events: auto;
    align-items: center;
}

.hamburger:hover {
    background: rgba(0, 102, 255, 0.1);
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section - Animated */
.hero {
    padding: 180px 0 120px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    letter-spacing: -0.01em;
    animation: slideInLeft 0.8s ease-out 0.2s both;
    position: relative;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px var(--primary-glow);
    position: relative;
}

.hero h2 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 600px;
    font-weight: 400;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: left;
    position: relative;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    animation: countUp 1s ease-out;
    position: relative;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.btn {
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-family);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4), 0 4px 10px rgba(0, 102, 255, 0.2);
}

.btn-secondary {
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: var(--text-primary);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.btn-secondary:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3), 0 0 20px rgba(0, 102, 255, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Features Section - Animated Cards */
.features {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-description {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(0, 102, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
    cursor: pointer;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.feature-card:hover::after {
    width: 400px;
    height: 400px;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background: rgba(0, 102, 255, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: var(--primary);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    background: rgba(0, 102, 255, 0.2);
    border-color: var(--primary);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

/* Staff Section */
.staff-section {
    padding: 120px 0;
    position: relative;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.staff-member {
    background: rgba(0, 102, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
}

.staff-member:nth-child(1) { animation-delay: 0.1s; }
.staff-member:nth-child(2) { animation-delay: 0.2s; }

.staff-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.staff-member:hover::before {
    opacity: 1;
}

.staff-member:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background: rgba(0, 102, 255, 0.1);
}

.staff-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 2px solid rgba(0, 102, 255, 0.2);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.staff-member:hover .staff-avatar {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.05), 0 0 30px rgba(0, 102, 255, 0.3);
    transform: scale(1.1);
}

.staff-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.staff-role {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Search Section */
.search-section {
    padding: 60px 0;
    position: relative;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.group {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 600px;
    width: 100%;
}

.input {
    font-family: var(--font-family);
    width: 100%;
    height: 56px;
    padding-left: 48px;
    padding-right: 20px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(0, 102, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    outline: none;
    color: var(--text-primary);
    transition: all var(--transition-base);
    font-size: 15px;
}

.input::placeholder {
    color: var(--text-tertiary);
}

.input:hover {
    border-color: rgba(0, 102, 255, 0.4);
    background: rgba(0, 102, 255, 0.08);
    transform: translateY(-2px);
}

.input:focus {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 16px;
    fill: var(--text-tertiary);
    width: 20px;
    height: 20px;
    pointer-events: none;
    transition: all var(--transition-base);
}

.group:focus-within .search-icon {
    fill: var(--primary);
    transform: scale(1.1);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 48px 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out;
}

.filter-btn {
    padding: 12px 24px;
    background: rgba(0, 102, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.filter-btn:hover::before {
    width: 200px;
    height: 200px;
}

.filter-btn:hover {
    border-color: rgba(0, 102, 255, 0.4);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px) scale(1.05);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

.filter-btn.active:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    position: relative;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: 14px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 102, 255, 0.1);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 99;
    box-shadow: var(--shadow-md);
    font-size: 18px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-6px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 102, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 102, 255, 0.3);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 102, 255, 0.05);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.modal-close:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    border-color: rgba(255, 68, 68, 0.3);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.2);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-content-item {
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content-item:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: var(--primary);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2), 0 0 15px rgba(0, 102, 255, 0.15);
}

.modal-content-item h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.modal-content-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.modal-content-item a {
    color: #ffffff;
    font-size: 14px;
    display: block;
    word-break: break-all;
}

.modal-footer {
    padding: 24px;
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

/* Content blocks in modal */
.content-block {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    border-right: 1px solid rgba(0, 102, 255, 0.2);
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.content-block:hover {
    background: rgba(10, 10, 10, 0.8);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.2), 0 0 15px rgba(0, 102, 255, 0.1);
    border-left-color: var(--primary-light);
}

.content-block pre {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 18px;
    overflow-x: auto;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 13px;
    margin: 16px 0;
    position: relative;
    transition: all 0.3s ease;
}

.content-block pre:hover {
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
}

.content-block code {
    background: rgba(0, 102, 255, 0.15);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--primary-light);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

/* Search Filter Animation */
.feature-card.hidden {
    display: none !important;
    animation: fadeOut 0.3s ease-out;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

.feature-card.visible {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
    font-size: 16px;
    grid-column: 1 / -1;
    animation: fadeInUp 0.6s ease-out;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
    display: block;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.no-results p {
    font-size: 15px;
    color: var(--text-tertiary);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hamburger {
        display: flex !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(40px) saturate(180%);
        -webkit-backdrop-filter: blur(40px) saturate(180%);
        flex-direction: column;
        padding: 100px 24px 40px;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        gap: 12px;
        box-shadow: none;
        z-index: 9999;
        overflow-y: auto;
        justify-content: flex-start;
        align-items: stretch;
        pointer-events: auto;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        list-style: none;
    }

    .nav-link {
        width: 100%;
        display: block;
        text-align: left;
        padding: 16px 20px;
        border-radius: 12px;
        font-size: 16px;
        background: rgba(0, 102, 255, 0.05);
        border: 1px solid rgba(0, 102, 255, 0.1);
        position: relative;
        z-index: 1;
        pointer-events: auto;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link span {
        pointer-events: none;
        position: relative;
        z-index: 1;
    }

    .nav-link:hover,
    .nav-link.active,
    .nav-link:active {
        background: rgba(0, 102, 255, 0.15);
        border-color: rgba(0, 102, 255, 0.2);
        transform: translateX(4px);
        pointer-events: auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .staff-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .feature-card {
        padding: 24px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 32px;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 24px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .staff-member {
        padding: 24px;
    }
}