/**
 * Modern 2026 Design System
 * Features: Dark/Light Mode, Bento Grid, 3D Effects, Micro-interactions
 */

/* ========================================
   CSS Variables & Theme System
======================================== */
:root {
    /* Light Theme (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.8);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.05);
    
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    --accent-info: #0ea5e9;
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --shadow-3d: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* 3D perspective */
    --perspective: 1000px;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.8);
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* ========================================
   Base Styles
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Inter', 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color var(--transition-slow), color var(--transition-slow);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* GPU acceleration hints for scroll-animated elements */
.navbar-public,
.navbar-2026 {
    will-change: transform, box-shadow, background-color;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

[data-parallax] {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

[data-aos] {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.tilt-card,
.card-3d,
.tilt-card-content,
.card-3d-inner {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ========================================
   Theme Toggle Button
======================================== */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    overflow: hidden;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: all var(--transition-base);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="light"] .theme-toggle .icon-sun,
:root:not([data-theme="dark"]) .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="light"] .theme-toggle .icon-moon,
:root:not([data-theme="dark"]) .theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg);
}

/* ========================================
   Modern Hero Section 2026
======================================== */
.hero-2026 {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
}

/* ── Mobile Responsive: Hero 2026 ── */
@media (max-width: 991.98px) {
    .hero-2026 {
        min-height: 50vh;
    }
}

@media (max-width: 767.98px) {
    .hero-2026 {
        min-height: 45vh;
    }
}

.hero-2026::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.2) 0%, transparent 40%);
    z-index: 1;
    animation: heroGradientMove 15s ease-in-out infinite;
}

@keyframes heroGradientMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* Animated mesh gradient background */
.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(99, 102, 241, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(139, 92, 246, 0.1) 50%, transparent 60%);
    background-size: 60px 60px;
    animation: meshMove 20s linear infinite;
    z-index: 1;
}

@keyframes meshMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(60px) translateY(60px); }
}

/* Floating orbs */
.hero-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.4);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.4);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(6, 182, 212, 0.4);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content-2026 {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
}

/* ========================================
   Bento Grid Layout
======================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(120px, auto);
    gap: 1.5rem;
    padding: 2rem 0;
}

.bento-item {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Bento grid variations */
.bento-item.span-2 { grid-column: span 2; }
.bento-item.span-3 { grid-column: span 3; }
.bento-item.span-4 { grid-column: span 4; }
.bento-item.row-2 { grid-row: span 2; }
.bento-item.row-3 { grid-row: span 3; }

/* Bento item hover effect */
.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.bento-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border-color: transparent;
}

.bento-item:hover::before {
    opacity: 0.05;
}

/* Responsive bento grid */
@media (max-width: 1200px) {
    .bento-grid { grid-template-columns: repeat(3, 1fr); }
    .bento-item.span-4 { grid-column: span 3; }
}

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

@media (max-width: 576px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.span-2, .bento-item.span-3, .bento-item.span-4 { grid-column: span 1; }
}

/* ========================================
   3D Card Effects
======================================== */
.card-3d {
    perspective: var(--perspective);
    transform-style: preserve-3d;
}

.card-3d-inner {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: transform var(--transition-base);
    transform-style: preserve-3d;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.card-3d:hover .card-3d-inner {
    transform: rotateX(5deg) rotateY(-5deg) translateZ(20px);
    box-shadow: var(--shadow-3d);
}

/* 3D tilt effect container */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card-content {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.tilt-card:hover .tilt-icon {
    transform: translateZ(40px);
}

.tilt-card:hover .tilt-title {
    transform: translateZ(30px);
}

.tilt-card:hover .tilt-text {
    transform: translateZ(20px);
}

/* ========================================
   Glassmorphism Cards
======================================== */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.glass-card::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;
}

.glass-card:hover::before {
    left: 100%;
}

/* ========================================
   Neumorphism Effects
======================================== */
.neu-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.1),
        -8px -8px 16px rgba(255, 255, 255, 0.8);
    transition: all var(--transition-base);
}

[data-theme="dark"] .neu-card {
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.4),
        -8px -8px 16px rgba(255, 255, 255, 0.05);
}

.neu-card:hover {
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.15),
        -12px -12px 24px rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
}

/* Neumorphic button */
.neu-btn {
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--radius-lg);
    padding: 1rem 2rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: all var(--transition-base);
}

.neu-btn:active {
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
}

/* ========================================
   Micro-interactions
======================================== */
/* Button ripple effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

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

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

/* Magnetic hover effect */
.magnetic-hover {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Text reveal animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    animation: textReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes textReveal {
    to { transform: translateY(0); }
}

/* Stagger children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    animation: staggerIn 0.6s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }
.stagger-children > *:nth-child(7) { animation-delay: 0.7s; }

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

/* Pulse animation */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Glow effect */
.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(99, 102, 241, 0.3); }
    to { box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 60px rgba(99, 102, 241, 0.3); }
}

/* ========================================
   Modern Feature Cards 2026
======================================== */
.feature-card-2026 {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    transform-style: preserve-3d;
    perspective: 1000px;
}

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

.feature-card-2026:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

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

.feature-icon-2026 {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.feature-card-2026:hover .feature-icon-2026 {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.feature-title-2026 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-desc-2026 {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   Animated Counter Stats
======================================== */
.stats-grid-2026 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

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

.stat-card-2026 {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.stat-card-2026::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-card-2026:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-card-2026:hover::before {
    opacity: 0.05;
}

.stat-number-2026 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-2026 {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Modern School Cards
======================================== */
.school-card-2026 {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
}

.school-card-2026::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.school-card-2026:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.school-card-2026:hover::before {
    opacity: 0.03;
}

.school-image-2026 {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.school-card-2026:hover .school-image-2026 img {
    transform: scale(1.1);
}

.school-badge-2026 {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.school-content-2026 {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.school-title-2026 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.school-stats-2026 {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.school-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.school-stat-item i {
    color: var(--accent-primary);
}

/* ========================================
   Modern CTA Section
======================================== */
.cta-section-2026 {
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-section-2026::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: ctaFloat 10s ease-in-out infinite;
}

@keyframes ctaFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(10deg); }
}

.cta-title-2026 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle-2026 {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ========================================
   Modern Buttons
======================================== */
.btn-2026 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-2026::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-2026:hover::before {
    left: 100%;
}

.btn-primary-2026 {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary-2026:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-outline-2026 {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-2026:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.btn-glass-2026 {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-glass-2026:hover {
    background: var(--bg-card);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Section Titles
======================================== */
.section-header-2026 {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge-2026 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.section-title-2026 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle-2026 {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Animated SVG Icons
======================================== */
.animated-icon {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawIcon 1s ease-in-out forwards;
}

@keyframes drawIcon {
    to { stroke-dashoffset: 0; }
}

/* Icon container with gradient background */
.icon-container-2026 {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-container-2026::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.icon-container-2026 i,
.icon-container-2026 svg {
    position: relative;
    z-index: 1;
    color: var(--accent-primary);
    font-size: 1.5rem;
}

/* ========================================
   Scroll Indicator
======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   Loading States & Skeletons
======================================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

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

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-image {
    height: 200px;
    width: 100%;
}

/* ========================================
   Modern Footer 2026
======================================== */
.footer-2026 {
    background: var(--bg-secondary);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-title-2026 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links-2026 a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all var(--transition-fast);
}

.footer-links-2026 a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.footer-social-2026 {
    display: flex;
    gap: 1rem;
}

.footer-social-2026 a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.footer-social-2026 a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   AOS Custom Animations
======================================== */
[data-aos="fade-up-3d"] {
    transform: perspective(1000px) translateY(60px) rotateX(-10deg);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up-3d"].aos-animate {
    transform: perspective(1000px) translateY(0) rotateX(0);
    opacity: 1;
}

[data-aos="zoom-in-rotate"] {
    transform: scale(0.8) rotate(-10deg);
    opacity: 0;
}

[data-aos="zoom-in-rotate"].aos-animate {
    transform: scale(1) rotate(0);
    opacity: 1;
}

[data-aos="slide-in-right"] {
    transform: translateX(100px) skewX(-5deg);
    opacity: 0;
}

[data-aos="slide-in-right"].aos-animate {
    transform: translateX(0) skewX(0);
    opacity: 1;
}

/* ========================================
   Responsive Adjustments
======================================== */
@media (max-width: 768px) {
    .hero-title-2026 {
        font-size: 2.5rem;
    }
    
    .section-title-2026 {
        font-size: 2rem;
    }
    
    .cta-section-2026 {
        padding: 2.5rem;
    }
    
    .cta-title-2026 {
        font-size: 1.75rem;
    }
    
    .bento-grid {
        gap: 1rem;
    }
    
    .theme-toggle {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
}

/* ========================================
   Accessibility Improvements
======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus states */
.btn-2026:focus,
.feature-card-2026:focus,
.glass-card:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* High contrast mode */
@media (forced-colors: active) {
    .btn-2026,
    .feature-card-2026,
    .glass-card {
        border: 2px solid currentColor;
    }
}

/* ========================================
   Animated Icons (Lottie-like CSS Effects)
======================================== */
.animated-icon-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Floating animation for icons */
.icon-float {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pulse effect for icons */
.icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Rotate animation */
.icon-rotate {
    animation: iconRotate 4s linear infinite;
}

@keyframes iconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Bounce animation */
.icon-bounce {
    animation: iconBounce 1s ease infinite;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* Swing animation */
.icon-swing {
    animation: iconSwing 1s ease infinite;
    transform-origin: top center;
}

@keyframes iconSwing {
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* Heartbeat animation */
.icon-heartbeat {
    animation: iconHeartbeat 1.5s ease-in-out infinite;
}

@keyframes iconHeartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

/* Ring glow effect */
.icon-glow-ring {
    position: relative;
}

.icon-glow-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 2px solid currentColor;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    animation: glowRing 2s ease-out infinite;
}

@keyframes glowRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Morphing shapes background */
.morphing-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 
        radial-gradient(circle at 20% 20%, var(--accent-primary) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--accent-secondary) 0%, transparent 50%);
    filter: blur(60px);
    opacity: 0.3;
    animation: morphBg 10s ease-in-out infinite;
}

@keyframes morphBg {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg);
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(180deg);
    }
}

/* Animated gradient text */
.gradient-text-animated {
    background: linear-gradient(
        90deg,
        var(--accent-primary),
        var(--accent-secondary),
        var(--accent-info),
        var(--accent-primary)
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientTextMove 5s ease-in-out infinite;
}

@keyframes gradientTextMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Sparkle effect */
.sparkle {
    position: relative;
}

.sparkle::before,
.sparkle::after {
    content: '✦';
    position: absolute;
    font-size: 0.5em;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle::before {
    top: -10px;
    right: -10px;
    animation-delay: 0s;
}

.sparkle::after {
    bottom: -10px;
    left: -10px;
    animation-delay: 1s;
}

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

/* Typing cursor effect */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent-primary);
    animation: typingBlink 0.7s infinite;
    margin-left: 2px;
}

@keyframes typingBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Wave animation for multiple elements */
.wave-animation > * {
    animation: wave 1.2s ease-in-out infinite;
}

.wave-animation > *:nth-child(1) { animation-delay: 0s; }
.wave-animation > *:nth-child(2) { animation-delay: 0.1s; }
.wave-animation > *:nth-child(3) { animation-delay: 0.2s; }
.wave-animation > *:nth-child(4) { animation-delay: 0.3s; }
.wave-animation > *:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Loading dots animation */
.loading-dots {
    display: inline-flex;
    gap: 4px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: loadingDots 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* ========================================
   Contact Card Styles
======================================== */
.contact-card {
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.contact-card .feature-icon-2026 {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.contact-card .contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-card .contact-info {
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 48px;
}

/* Equal height contact cards */
.contact-card.h-100 .card-3d-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    min-height: 280px;
}

/* ========================================
   MODERN NAVBAR - Shrink on Scroll
======================================== */
.navbar-public {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.navbar-public.scrolled {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="dark"] .navbar-public.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

.navbar-public .navbar-brand img {
    transition: height 0.3s ease;
}

.navbar-public.scrolled .navbar-brand img {
    height: 35px !important;
}

/* Active nav link animation */
.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* ========================================
   HERO ENHANCEMENTS
======================================== */
/* Typing Effect */
.hero-typing-text {
    overflow: hidden;
    border-right: 3px solid var(--accent-primary);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-primary); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

.scroll-indicator .arrow {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.scroll-indicator .arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    animation: scrollArrow 1.5s infinite;
}

.scroll-indicator .arrow span:nth-child(2) {
    animation-delay: 0.15s;
    opacity: 0.6;
}

.scroll-indicator .arrow span:nth-child(3) {
    animation-delay: 0.3s;
    opacity: 0.3;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

@keyframes scrollArrow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Floating Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Hero stats overlay */
.hero-stats-overlay {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 1.5rem 3rem;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-item {
    text-align: center;
    color: white;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* ========================================
   MODERN FOOTER WITH WAVE
======================================== */
.footer-wave-separator {
    position: relative;
    height: 120px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.footer-wave-separator svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-modern {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 0;
    margin-top: 0 !important;
}

.footer-content {
    padding: 4rem 0 2rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.875rem;
    color: var(--accent-primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.footer-contact-text {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-contact-text strong {
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

/* Social Icons Modern */
.social-icons-modern {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.social-icon.facebook:hover { background: #1877f2; }
.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.youtube:hover { background: #ff0000; }
.social-icon.whatsapp:hover { background: #25d366; }
.social-icon.tiktok:hover { background: #000000; }

/* Newsletter Form */
.footer-newsletter {
    margin-top: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.newsletter-btn {
    padding: 0.875rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #64748b;
    font-size: 0.875rem;
}

.footer-copyright a {
    color: var(--accent-primary);
    text-decoration: none;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #64748b;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .hero-stats-overlay {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* ========================================
   MICRO-INTERACTIONS EXTRA
======================================== */
/* Link hover underline animation */
.link-hover-effect {
    position: relative;
    text-decoration: none;
}

.link-hover-effect::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

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

/* Icon bounce on hover */
.icon-bounce:hover i {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Card shine effect */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.card-shine:hover::after {
    animation: cardShine 0.8s ease forwards;
}

@keyframes cardShine {
    0% { left: -50%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 150%; opacity: 0; }
}

/* Floating animation for elements */
.float-animation {
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Gradient text animation */
.gradient-text-animated {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), #06b6d4, var(--accent-primary));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 5s ease infinite;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========================================
   MICRO-INTERACTIONS 2026
======================================== */

/* Gradient border glow on hover */
.glow-border {
    position: relative;
    z-index: 1;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), #06b6d4);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.glow-border:hover::before {
    opacity: 0.6;
}

/* Smooth underline for links */
.link-underline {
    position: relative;
    text-decoration: none;
}

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

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

/* Magnetic button effect placeholder */
.magnetic-btn {
    transition: transform 0.15s ease;
}

/* Scale pulse animation */
.pulse-scale {
    animation: pulseScale 2s ease-in-out infinite;
}

@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Slide-in from sides */
.slide-in-left {
    animation: slideInLeft 0.5s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Focus visible outline for accessibility */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Smooth hover scale for images */
.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.08);
}

/* Staggered animation for list items */
.stagger-children > * {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

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

/* Interactive card press effect */
.press-effect {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.press-effect:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-sm);
}

/* Notification dot pulse */
.notification-dot {
    position: relative;
}

.notification-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid white;
    animation: notificationPulse 2s ease-in-out infinite;
}

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

/* Smooth page transitions */
.page-transition {
    animation: pageIn 0.4s ease;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
