/* 
 * TicraSoft - Modern Bootstrap 5.3 + CSS3 Stilleri
 * En son CSS teknolojileri: Grid, Flexbox, Custom Properties, Container Queries
 */

/* CSS Custom Properties - BOLD DARK NEON DESIGN */
:root {
    /* Dark Base Colors */
    --bg-primary: #0a0e27;
    --bg-secondary: #13182e;
    --bg-card: #1a1f3a;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    
    /* Neon Accent Colors */
    --neon-green: #00ff88;
    --neon-purple: #a855f7;
    --neon-orange: #ff6b35;
    --neon-cyan: #00d9ff;
    --neon-pink: #ff00ff;
    --neon-yellow: #ffed4e;
    
    /* Bold Neon Gradients */
    --gradient-neon: linear-gradient(135deg, #00ff88 0%, #00d9ff 100%);
    --gradient-fire: linear-gradient(135deg, #ff6b35 0%, #ff00ff 100%);
    --gradient-cyber: linear-gradient(135deg, #a855f7 0%, #00d9ff 100%);
    --gradient-sunset: linear-gradient(135deg, #ff6b35 0%, #ffed4e 100%);
    --gradient-matrix: linear-gradient(135deg, #00ff88 0%, #a855f7 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.2) 0%, transparent 70%);
    
    /* Neon Glow Shadows */
    --shadow-neon-green: 0 0 20px rgba(0, 255, 136, 0.5), 0 0 40px rgba(0, 255, 136, 0.3), 0 0 60px rgba(0, 255, 136, 0.1);
    --shadow-neon-purple: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.3);
    --shadow-neon-orange: 0 0 20px rgba(255, 107, 53, 0.5), 0 0 40px rgba(255, 107, 53, 0.3);
    --shadow-neon-cyan: 0 0 20px rgba(0, 217, 255, 0.5), 0 0 40px rgba(0, 217, 255, 0.3);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-brutal: 8px 8px 0 rgba(0, 255, 136, 0.3);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --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);
}

/* Modern CSS Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    padding-top: 80px; /* Navbar yüksekliği için boşluk */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scroll with offset for fixed navbar */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Text Gradient Utility */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

/* ============================================
   BOOTSTRAP 5.3 MODERN COMPONENTS
   ============================================ */

/* Neon Navigation Link */
.nav-link-neon {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #e2e8f0 !important;
    display: inline-block !important;
    visibility: visible !important;
}

.nav-link-neon::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    transform: translateX(-50%);
    transition: width 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.nav-link-neon:hover {
    color: #00ff88 !important;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.nav-link-neon:hover::before {
    width: 100%;
}

/* Navbar Fixed & Sticky */
.navbar.fixed-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    transform: translateY(0) !important;
}

.navbar {
    will-change: transform;
    transition: box-shadow 0.3s ease;
}

.navbar-collapse {
    transition: none !important;
}

/* Desktop - always show menu */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
    }
    
    .nav-link {
        display: inline-block !important;
    }
}

/* Mobile - toggle behavior */
@media (max-width: 991px) {
    .navbar-collapse:not(.show) {
        display: none !important;
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
}

.navbar-collapse.collapsing {
    position: relative !important;
    z-index: 10000 !important;
}

/* Mobile Navbar Collapse */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem !important;
        background: rgba(26, 31, 58, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        padding: 1.5rem !important;
        border-radius: 12px !important;
        border: 2px solid rgba(0, 255, 136, 0.3) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
        position: relative !important;
        z-index: 10000 !important;
    }
    
    .navbar-collapse:not(.show) {
        display: none !important;
    }
    
    .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .nav-item {
        display: block !important;
        width: 100% !important;
    }
    
    .nav-link-neon {
        padding: 0.75rem 1rem !important;
        display: block !important;
        border-left: 3px solid transparent !important;
        transition: all 0.3s !important;
        color: #e2e8f0 !important;
        background: transparent !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-link-neon:hover {
        border-left-color: #00ff88 !important;
        background: rgba(0, 255, 136, 0.1) !important;
        padding-left: 1.5rem !important;
        color: #00ff88 !important;
    }
    
    .nav-item .nav-link {
        color: #e2e8f0 !important;
    }
}

/* Neon Gradient Button */
.btn-gradient {
    position: relative;
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-cyan) 100%);
    border: 0;
    color: var(--bg-primary);
    font-weight: 800;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-brutal);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.btn-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-gradient:hover {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0 rgba(0, 255, 136, 0.3), var(--shadow-neon-green);
    color: var(--bg-primary);
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient span {
    position: relative;
    z-index: 1;
}

/* Bold Asymmetric Card */
.card-modern {
    border: 0;
    background: var(--bg-card);
    border-left: 4px solid var(--neon-green);
    padding: 2rem;
    box-shadow: var(--shadow-dark), 0 0 0 1px rgba(0, 255, 136, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.card-modern:hover {
    transform: translateX(10px) translateY(-10px);
    box-shadow: var(--shadow-neon-green), var(--shadow-dark);
    border-left-color: var(--neon-cyan);
}

.card-modern:hover::before {
    opacity: 1;
}

/* Neon Badge System */
.badge-gradient {
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-cyan) 100%);
    padding: 0.5rem 1rem;
    font-weight: 800;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.badge-soft-primary {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-soft-pink {
    background: rgba(255, 0, 255, 0.1);
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-soft-teal {
    background: rgba(0, 217, 255, 0.1);
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-soft-purple {
    background: rgba(168, 85, 247, 0.1);
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Accordion */
.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

/* Container Queries (Modern CSS) */
@container (min-width: 700px) {
    .card-grid {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: var(--space-lg);
    }
}

/* CSS Grid Layouts */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.grid-auto-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
}

/* Modern Flexbox Utilities */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Aspect Ratio (Modern CSS) */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-portrait {
    aspect-ratio: 3 / 4;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}


/* ============================================
   MODERN ANIMATIONS & KEYFRAMES
   ============================================ */

/* Modern Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(0, 212, 255, 0.7), 0 0 80px rgba(0, 212, 255, 0.4);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-rotate-in {
    animation: rotateIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger Animation Delays */
.animate-delay-100 { animation-delay: 100ms; }
.animate-delay-200 { animation-delay: 200ms; }
.animate-delay-300 { animation-delay: 300ms; }
.animate-delay-400 { animation-delay: 400ms; }
.animate-delay-500 { animation-delay: 500ms; }

/* Hover Efektleri */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Card Shadow Efekti */
.card-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card-shadow:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #007bff 0%, #00d4ff 100%);
    border-radius: 10px;
    border: 2px solid #f5f5f5;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0056b3 0%, #007bff 100%);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Modern Selection */
::selection {
    background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
    color: white;
}

::-moz-selection {
    background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
    color: white;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 123, 255, 0.3);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Stilleri */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Modern Button Effects */
button,
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

button::before,
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before,
.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Gradient Button */
.btn-gradient {
    background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
    background-size: 200% 200%;
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gradient:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 123, 255, 0.4);
}

/* Neon Button */
.btn-neon {
    border: 2px solid #00d4ff;
    color: #00d4ff;
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
}

.btn-neon:hover {
    background: #00d4ff;
    color: white;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6),
                0 0 40px rgba(0, 212, 255, 0.3);
    transform: translateY(-3px);
}

/* Interactive Card */
.interactive-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.interactive-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.interactive-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.interactive-card:hover::after {
    opacity: 1;
}

/* Image Lazy Load Fade In */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Section Padding */
section {
    padding: 60px 0;
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
}

/* Responsive Text */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.5rem;
    }
}

/* Grid Gap Fix for Old Browsers */
.grid {
    display: grid;
}

/* Flex Center Utility */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Text Shadow */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Overlay Effect */
.overlay {
    position: relative;
}

.overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay:hover::after {
    opacity: 1;
}

/* Modern Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

.gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Neon Effects */
.neon-text {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8),
                 0 0 20px rgba(0, 212, 255, 0.6),
                 0 0 30px rgba(0, 212, 255, 0.4);
}

.neon-border {
    border: 2px solid #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5),
                inset 0 0 10px rgba(0, 212, 255, 0.2);
}

/* Modern Card Effects */
.modern-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1),
                -8px -8px 16px rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.15),
                -12px -12px 24px rgba(255, 255, 255, 0.9);
}

/* Hover 3D Effect */
.hover-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-3d:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.05);
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Loading Spinner */
.spinner-gradient {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

/* Print Styles */
@media print {
    nav,
    footer,
    .no-print,
    .back-to-top {
        display: none !important;
    }
    
    body {
        background: white;
    }
}

/* Responsive Typography */
@media (max-width: 576px) {
    :root {
        --space-xl: 2rem;
        --space-lg: 1.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    /* Mobile Menu Items Visibility */
    .navbar-collapse .nav-link {
        color: #e2e8f0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .navbar-collapse .nav-item {
        display: block !important;
    }
}

/* Dark Theme Utilities */
.text-dark-primary { color: var(--text-primary); }
.text-dark-secondary { color: var(--text-secondary); }
.bg-dark-primary { background-color: var(--bg-primary); }
.bg-dark-card { background-color: var(--bg-card); }

/* Neon Glow Variants */
.glow-green { box-shadow: var(--shadow-neon-green); }
.glow-purple { box-shadow: var(--shadow-neon-purple); }
.glow-cyan { box-shadow: var(--shadow-neon-cyan); }
.glow-orange { box-shadow: var(--shadow-neon-orange); }

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #0056b3;
        --accent: #0099cc;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
