/* Composio-inspired Modern Design System */

/* ========================================
   1. CSS VARIABLES & COLOR SYSTEM
   ======================================== */
:root {
    /* Brand Colors - Refined & Professional */
    --primary-blue: #171717;
    /* Dark for text emphasis */
    --primary-purple: #171717;
    /* Dark gray for monochrome theme */
    --primary-purple-dark: #0a0a0a;
    /* Deep black */
    --primary-dark: #0a0a0a;
    /* Sophisticated Black */

    /* Neutral Palette - Engineered for precision */
    --warm-bg: #ffffff;
    /* Pure White base */
    --warm-bg-darker: #f5f5f5;
    /* Subtle gray for contrast */
    --warm-bg-card: #ffffff;

    /* Borders & Lines - The key to "Clean" design */
    --border-subtle: #e5e7eb;
    --border-strong: #d1d5db;

    /* Text Colors - Optical Grey Scale */
    --text-primary: #000000;
    /* Pure black for maximum contrast */
    --text-secondary: #525252;
    /* Balanced gray */
    --text-tertiary: #737373;
    --text-muted: #a3a3a3;

    /* Accent - Monochrome gradient */
    --accent-gradient: linear-gradient(135deg, #171717 0%, #404040 100%);
    /* Black to gray gradient */
    --accent-highlight: #171717;
    /* Dark for interactive elements */

    /* Glass & Depth */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);

    /* Mesh Gradients */
    --mesh-color-1: rgba(64, 64, 64, 0.03);
    --mesh-color-2: rgba(10, 10, 10, 0.02);

    /* Shadows - Diffused & Ambient (No harsh drops) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.04), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 0 0 transparent;
    /* Removed cheap glow */

    /* Border Radius - Sophisticated, not childish */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    /* Transitions */
    --transition-fast: 0.1s ease;
    --transition-base: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    /* Snappy/Premium feel */
    --transition-slow: 0.4s cubic-bezier(0.25, 1, 0.5, 1);

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display',
        'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--warm-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   3. TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.04em;
    /* Tighter for premium feel */
}

.display-xl {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.display-lg {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
}

.display-md {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
}

.text-lg {
    font-size: 1.25rem;
    line-height: 1.7;
}

.text-md {
    font-size: 1.125rem;
    line-height: 1.7;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.6;
}

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

/* ========================================
   4. LAYOUT
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-sm {
    padding: 80px 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: 24px;
}

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

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

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

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

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

@media (max-width: 640px) {

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

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 8px;
}

.gap-3 {
    gap: 12px;
}

.gap-4 {
    gap: 16px;
}

.gap-6 {
    gap: 24px;
}

.gap-8 {
    gap: 32px;
}

/* ========================================
   5. NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* Dark Navbar (for dark hero pages) */
.navbar.navbar-dark .logo {
    color: #fff;
}

.navbar.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.navbar.navbar-dark .nav-link:hover,
.navbar.navbar-dark .nav-link.active {
    color: #fff;
}

.navbar.navbar-dark .nav-link::after {
    background: #fff;
}

.navbar.navbar-dark .lang-switch {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar.navbar-dark .lang-switch:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.navbar-dark.scrolled {
    background: rgba(8, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.navbar-dark .btn-primary {
    background: #fff;
    color: #080a0a;
}

.navbar.navbar-dark .btn-primary:hover {
    background: #f0f0f0;
}

/* Dark navbar mobile menu */
@media (max-width: 768px) {
    .navbar.navbar-dark .nav-menu {
        background: #080a0a;
    }

    .navbar.navbar-dark .nav-toggle span {
        background: #fff;
    }
}

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

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand .logo-icon {
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-brand .logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.nav-brand .logo-icon img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.nav-link:hover::after {
    transform: scaleX(1);
}

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

.nav-link.active::after {
    transform: scaleX(1);
}

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

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown-trigger svg,
.nav-dropdown-trigger .nav-chevron {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
    opacity: 0.6;
}

.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown:hover .nav-dropdown-trigger .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: var(--warm-bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-dropdown-item:hover {
    background: var(--warm-bg);
    color: var(--text-primary);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   6. BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: #000000;
    /* Pure Black (Composio style) */
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #1a1a1a;
    /* Slightly lighter on hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: scale(0.98);
    /* Click feedback */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid #000000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #f5f5f5;
    color: var(--text-primary);
    border-color: #000000;
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: scale(0.98);
    background: #e5e5e5;
}

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

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-gradient {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(92, 128, 255, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(92, 128, 255, 0.4);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
}

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

/* Arrow Button */
.btn-arrow {
    position: relative;
    padding-right: 48px;
}

.btn-arrow::after {
    content: '→';
    position: absolute;
    right: 20px;
    transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
    transform: translateX(4px);
}

/* ========================================
   7. CARDS
   ======================================== */
.card {
    background: var(--warm-bg-card);
    border-radius: var(--radius-lg);
    /* 8-12px rounded corners */
    padding: 32px;
    transition: var(--transition-base);
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    /* Composio style light shadow */
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    /* Deeper shadow on hover */
    border-color: var(--border-subtle);
}

.card-bordered {
    border: 1px solid var(--glass-border);
}

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

/* Feature Card */
.feature-card {
    background: var(--warm-bg-card);
    border-radius: var(--radius-lg);
    /* 8-12px (Composio style) */
    padding: 32px 40px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-4px);
    /* 4px lift (Composio style) */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--warm-bg-darker);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-blue);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   8. BADGES & TAGS
   ======================================== */
.badge {
    display: inline-block;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: transparent;
    color: var(--primary-blue);
    border-radius: 0;
}

.badge-pill {
    padding: 4px 12px;
    font-size: 0.75rem;
}

.badge-success {
    background: rgba(68, 168, 19, 0.1);
    color: var(--accent-green);
}

.badge-warning {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    background: var(--warm-bg-darker);
    color: var(--text-secondary);
}

/* ========================================
   9. SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-badge {
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   10. FOOTER
   ======================================== */
.footer {
    background: var(--warm-bg-darker);
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 64px;
}

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

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-img {
    border-radius: 6px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--text-tertiary);
}

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

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-purple);
}

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

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

.footer-social {
    display: flex;
    gap: 16px;
}

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

.footer-social a:hover {
    background: var(--warm-bg-darker);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-social img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    object-fit: contain;
    opacity: 0.9;
    transition: var(--transition-fast);
}

.footer-social a:hover img {
    opacity: 1;
}

/* ========================================
   11. ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

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

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

@keyframes float {

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

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

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

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

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

[data-animate] {
    opacity: 0;
}

[data-animate].animated {
    animation: slideUp 0.6s ease-out forwards;
}

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

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

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

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

/* ========================================
   12. UTILITIES
   ======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

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

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

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

.bg-warm {
    background: var(--warm-bg);
}

.bg-white {
    background: white;
}

.bg-dark {
    background: var(--text-primary);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-2xl {
    border-radius: var(--radius-2xl);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.overflow-hidden {
    overflow: hidden;
}

.relative {
    position: relative;
}

/* Spacing */
.mt-2 {
    margin-top: 8px;
}

.mt-4 {
    margin-top: 16px;
}

.mt-6 {
    margin-top: 24px;
}

.mt-8 {
    margin-top: 32px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}

.px-6 {
    padding-left: 24px;
    padding-right: 24px;
}

/* ========================================
   13. RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        width: 100%;
    }
}

/* ========================================
   14. PAGE CONTENT WRAPPER
   ======================================== */
.page-content {
    min-height: 100vh;
}

/* ========================================
   15. SCROLL PROGRESS INDICATOR
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 1001;
    transform-origin: left;
    transform: scaleX(0);
}

/* ========================================
   16. CURSOR & SELECTION
   ======================================== */
::selection {
    background: rgba(92, 128, 255, 0.2);
    color: var(--text-primary);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

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

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

/* ========================================
   17. LOADING STATES
   ======================================== */
.skeleton {
    background: linear-gradient(90deg,
            var(--warm-bg-darker) 25%,
            var(--warm-bg) 50%,
            var(--warm-bg-darker) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ========================================
   18. LANGUAGE SWITCH
   ======================================== */
.lang-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: transparent;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    margin-left: 12px;
    flex-shrink: 0;
}

.lang-switch:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: var(--warm-bg-darker);
}

.lang-switch:active {
    transform: scale(0.95);
}

.lang-current {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Mobile language switch */
@media (max-width: 768px) {
    .lang-switch {
        position: fixed;
        top: 16px;
        right: 60px;
        z-index: 1002;
        background: var(--warm-bg-card);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active .lang-switch {
        position: static;
        margin: 24px auto 0;
    }
}