/* Bayronix - Modern AI Solutions Website */
/* Author: Bayronix Europe Ltd. */
/* Version: 2.0 */

/* CRITICAL FIXES FOR DEPLOYMENT ISSUES */
/* ===================================== */

/* Fix 1: Ensure navbar is always visible with proper z-index */
.nav {
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateZ(0) !important; /* Force GPU acceleration */
}

/* Fix 2: Ensure Cloudflare Turnstile captcha is visible */
.cf-turnstile {
    min-height: 65px !important;
    min-width: 300px !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1000 !important;
    display: block !important;
}

/* Fix 3: Disable ScrollSmoother on production for better performance */
@media screen {
    #smooth-wrapper {
        position: static !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    #smooth-content {
        position: static !important;
        transform: none !important;
    }
    
    /* Reset body scrolling */
    body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        height: auto !important;
    }
    
    html {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        scroll-behavior: smooth !important;
    }
}

/* Fix 4: Performance optimizations */
* {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Reduce heavy animations on scroll */
@media (prefers-reduced-motion: no-preference) {
    .fade-in,
    .service-card-3d,
    .pricing-card,
    .stat-card {
        will-change: auto !important;
    }
}

/* Fix 5: Mobile scroll performance */
@supports (-webkit-touch-callout: none) {
    /* iOS specific fixes */
    body {
        -webkit-overflow-scrolling: touch !important;
    }
}

/* Fix 6: Keep particle animations on mobile (re-enabled) */
/* Removed mobile-specific hiding to restore visual effects */

/* ===================================== */
/* END CRITICAL FIXES */

/* ============================================
   CSS Variables & Design Tokens
   ============================================ */
:root {
    /* Color System - AI/Tech Theme */
    --bg-primary: #030712;
    --bg-secondary: #0a0f1c;
    --bg-tertiary: #111827;
    
    /* AI Gradient Colors */
    --ai-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --ai-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --ai-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --ai-gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    /* Surfaces */
    --surface: rgba(255, 255, 255, 0.03);
    --surface-light: rgba(255, 255, 255, 0.06);
    --surface-hover: rgba(255, 255, 255, 0.09);
    --glass: rgba(255, 255, 255, 0.02);
    --glass-heavy: rgba(255, 255, 255, 0.08);
    
    /* Text Colors */
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    --text-accent: #818cf8;
    
    /* Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.04);
    --border-glow: rgba(102, 126, 234, 0.5);
    
    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.25);
    --glow: 0 0 40px rgba(102, 126, 234, 0.4);
    --glow-intense: 0 0 80px rgba(102, 126, 234, 0.6);
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--surface-light);
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--surface-hover);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--surface-light) var(--bg-primary);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Optimized for full contact section visibility */
}

/* Enhanced smooth scrolling for all scrollable elements */
* {
    scroll-behavior: smooth;
}

/* Performance optimizations */
.service-card-3d,
.pricing-card,
.contact-form-wrapper,
.btn-3d,
.logo-minimal {
    will-change: transform;
    transform: translateZ(0); /* GPU acceleration */
    backface-visibility: hidden;
}

/* Optimize animations for 60fps */
@media (prefers-reduced-motion: no-preference) {
    .fade-in,
    .service-card-3d,
    .btn-3d {
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* ============================================
   Enhanced Mobile Dropdown Navigation
   ============================================ */

/* Mobile Dropdown Styles */
.mobile-dropdown {
    position: relative;
    display: block; /* Show by default on mobile */
    z-index: 100;
}

.mobile-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-premium);
    backdrop-filter: blur(20px) saturate(180%);
    width: 48px;
    height: 48px;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mobile-dropdown-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.mobile-dropdown-btn:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mobile-dropdown-btn:hover::before {
    transform: translateX(100%);
}

.mobile-dropdown-btn:active {
    transform: scale(0.98) translateY(-1px);
}

.mobile-dropdown-btn .menu-icon {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.mobile-dropdown-btn:hover .menu-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.5));
}

.mobile-dropdown.active .menu-icon {
    transform: rotate(90deg) scale(1.05);
    color: #667eea;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.5));
    }
    50% {
        filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.8));
    }
}

/* Mobile Dropdown Menu */
.mobile-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    min-width: 220px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mobile-dropdown.active .mobile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 16px;
    transition: all var(--transition-premium);
    min-height: 48px;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.3);
    color: var(--text-primary);
    transform: translateX(6px) scale(1.02);
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover::before {
    opacity: 1;
}

.dropdown-item:active {
    transform: scale(0.98) translateX(4px);
}

.dropdown-item svg {
    color: var(--text-accent);
    flex-shrink: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.dropdown-item:hover svg {
    color: #667eea;
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.5));
}

/* Staggered Animation for Dropdown Items */
.mobile-dropdown.active .dropdown-item:nth-child(1) {
    animation: dropdownItemSlide 0.4s ease-out 0.1s both;
}

.mobile-dropdown.active .dropdown-item:nth-child(2) {
    animation: dropdownItemSlide 0.4s ease-out 0.15s both;
}

.mobile-dropdown.active .dropdown-item:nth-child(3) {
    animation: dropdownItemSlide 0.4s ease-out 0.2s both;
}

.mobile-dropdown.active .dropdown-item:nth-child(4) {
    animation: dropdownItemSlide 0.4s ease-out 0.25s both;
}

.mobile-dropdown.active .dropdown-item:nth-child(5) {
    animation: dropdownItemSlide 0.4s ease-out 0.3s both;
}

@keyframes dropdownItemSlide {
    from {
        opacity: 0;
        transform: translateX(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Enhanced Mobile Touch Optimizations */
@media (max-width: 768px) {
    /* Ensure crisp hero text on mobile */
    .hero h1,
    .hero h1 .accent,
    .hero h1 .static-text {
        -webkit-font-smoothing: antialiased !important;
        text-rendering: optimizeLegibility !important;
        text-shadow: none !important;
        filter: none !important;
    }
    /* Soften hero gradient motion further on mobile */
    .hero h1 .accent {
        animation-duration: 12s !important;
    }
    
    /* Larger touch targets for mobile */
    .btn-3d,
    .tool-tab,
    .contact-submit-btn {
        min-height: 44px; /* Apple's recommended minimum */
        min-width: 44px;
        padding: 0.875rem 1.5rem;
    }
    
    /* Improved tap feedback */
    .btn-3d:active,
    .tool-tab:active,
    .service-card-3d:active {
        transform: scale(0.98);
        transition-duration: 0.1s;
    }
    
    /* Better scroll performance on mobile */
    .tool-tabs {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .tool-tab {
        scroll-snap-align: start;
    }
    
    /* Prevent zoom on input focus */
    input, textarea, select {
        font-size: 16px !important;
    }
}

/* ============================================
   Enhanced Visual Appeal & Micro-Interactions
   ============================================ */

/* Magnetic hover effects for buttons */
.btn-3d,
.contact-submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-3d::before,
.contact-submit-btn::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-3d:hover::before,
.contact-submit-btn:hover::before {
    left: 100%;
}

/* Enhanced service cards with tilt effect */
.service-card-3d {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-3d:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 40px rgba(102, 126, 234, 0.2);
}

/* Floating animation for icons */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-icon-3d {
    animation: float 6s ease-in-out infinite;
}

.service-card-3d:hover .service-icon-3d {
    animation-duration: 3s;
    transform: scale(1.1);
}

/* Enhanced logo animations with pulse effect */
.logo-minimal {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-minimal::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.logo-minimal:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

/* Ripple effect for clickable elements */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Enhanced text glow effects */
.hero h1 .accent {
    display: inline-block;
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 50%, #60a5fa 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientShift 8s ease-in-out infinite;
    text-shadow: none !important; /* ensure no blur on mobile */
}

/* Parallax scroll effects */
.parallax-element {
    transform: translateZ(0);
    will-change: transform;
}

/* Enhanced focus states for accessibility */
.btn-3d:focus-visible,
.tool-tab:focus-visible,
.contact-submit-btn:focus-visible {
    outline: 2px solid rgba(102, 126, 234, 0.8);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

/* Smooth color transitions */
* {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}

/* Ripple animation keyframes */
@keyframes ripple-animation {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced gradient animation */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Optimize scroll performance */
.scroll-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* ScrollSmoother Styles */
#smooth-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

#smooth-content {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        scroll-behavior: auto;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Disable ScrollSmoother for users who prefer reduced motion */
    #smooth-wrapper {
        position: static;
    }
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Animated Background
   ============================================ */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: linear-gradient(180deg, #030712 0%, #0a0f1c 50%, #030712 100%);
    pointer-events: none;
}

/* AI Neural Network Animation */
.neural-network {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.15;
    animation: pulse 10s ease-in-out infinite;
    pointer-events: none;
}

.neural-network::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 
        radial-gradient(circle at 20% 30%, var(--ai-gradient-1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--ai-gradient-2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, var(--ai-gradient-3) 0%, transparent 60%);
    filter: blur(100px);
    animation: rotate 30s linear infinite;
}

/* Particle Field - Enhanced and Optimized */
.particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--text-accent);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 15s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.25; }
}

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

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(100vh) translateX(0) rotate(0deg);
    }
    10% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
        transform: translateY(50vh) translateX(50px) rotate(180deg);
    }
    90% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) translateX(100px) rotate(360deg);
    }
}

/* Enhanced particle effects */
@keyframes particle-drift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(15px, -10px); }
    50% { transform: translate(-10px, -20px); }
    75% { transform: translate(5px, -15px); }
}

@keyframes particle-glow {
    0%, 100% { box-shadow: 0 0 3px rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 0 8px rgba(59, 130, 246, 0.8); }
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-heavy);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.5rem;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.nav:hover {
    box-shadow: var(--shadow-xl), var(--glow);
    border-color: var(--border-glow);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0.5rem 2rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    background: var(--ai-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links li {
    list-style: none;
}

/* Desktop Navigation Rules */
@media (min-width: 769px) {
    .mobile-dropdown {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
}

/* Mobile Navigation Rules */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    
    .mobile-dropdown {
        display: block !important;
    }
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ai-gradient-main);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: 50px;
}

.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    opacity: 0.1;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    /* Removed animation for instant display */
    opacity: 1;
    transform: translateY(0);
}

/* hero-enter animation removed for instant display */

.pill {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-accent);
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    margin-bottom: 2.5rem;
    /* Animations removed for instant display */
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.pill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.pill:hover::after {
    left: 100%;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.4);
    }
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: #f9fafb;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-line-1 {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: baseline;
    gap: 0.35em;
    justify-content: center;
    margin-bottom: 0.2em;
}

.hero-line-2 {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 0.35em;
    font-size: 0.95em;
    opacity: 0.95;
}

.static-text {
    display: inline-block;
}

.hero h1 .accent {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    z-index: 1;
    animation: gradientShift 8s ease-in-out infinite; /* slower, smoother */
}

/* text-glow animation removed for better performance */

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    margin-bottom: 3.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
    line-height: 1.7;
    letter-spacing: 0.01em;
    position: relative;
    /* Animation removed for instant display */
}

/* Hero achievement badges (minimal, floating) */
.hero-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 1rem auto 1.25rem auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    border-radius: 9999px;
    font-size: 0.9rem;
    animation: floatBadge 6s ease-in-out infinite;
}

.badge:nth-child(2) { animation-delay: 1s; }
.badge:nth-child(3) { animation-delay: 2s; }

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

/* Add a subtle gradient overlay to subtitle */
.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--ai-gradient-main);
    opacity: 0.3;
    border-radius: 100px;
}

.hero-subtitle .text-accent {
    color: var(--text-accent);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    /* Animation removed for instant display */
}

/* ============================================
   Buttons
   ============================================ */
.btn-3d {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--ai-gradient-main);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    transform-style: preserve-3d;
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.btn-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-3d:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-3d:hover::before {
    transform: translateX(100%);
}

.btn-secondary-3d {
    background: var(--glass-heavy);
    color: var(--text-primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.btn-secondary-3d:hover {
    background: var(--surface-hover);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(102, 126, 234, 0.3);
}

/* ============================================
   Service Cards
   ============================================ */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card-3d {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: box-shadow var(--transition-slow), border-color var(--transition-slow);
    overflow: hidden;
    z-index: 0;
}

.service-card-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ai-gradient-main);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: 24px;
    pointer-events: none;
    z-index: 0;
}

.service-card-3d > * {
    position: relative;
    z-index: 1;
}

.service-card-3d:hover {
    /* Simplified hover effect without movement */
    box-shadow: var(--shadow-xl), var(--glow);
    border-color: var(--border-glow);
}

.service-card-3d:hover::before {
    opacity: 0.05;
}

.service-icon-3d {
    width: 80px;
    height: 80px;
    background: var(--ai-gradient-main);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: var(--glow);
    animation: icon-float 3s ease-in-out infinite;
}

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

/* Micro-interactions */
.btn-3d:active {
    transform: translateY(1px) scale(0.995);
}

.service-card-3d:hover .service-icon-3d {
    animation-duration: 2s;
}

.service-card-3d:hover .service-title {
    letter-spacing: 0.2px;
}

.service-icon-3d img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

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

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-accent);
    font-weight: bold;
}

/* ============================================
   Modern Contact Form Redesign
   ============================================ */
.contact-form-modern {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.02) 0%, 
        rgba(236, 72, 153, 0.02) 50%,
        rgba(79, 172, 254, 0.02) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.contact-form-modern::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        #667eea,
        #764ba2,
        #f093fb,
        #4facfe
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact-form-modern:hover::before {
    opacity: 0.5;
}

/* Modern form inputs */
.contact-form-modern .form-input-3d {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.contact-form-modern .form-input-3d:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-form-modern .form-input-3d:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 
        0 0 0 4px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

/* Modern submit button */
.contact-form-modern button[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 
        0 10px 30px -10px rgba(102, 126, 234, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.contact-form-modern button[type="submit"]:hover {
    background: linear-gradient(135deg, #7c8ff0 0%, #8b5cf6 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 15px 40px -10px rgba(102, 126, 234, 0.6),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

/* ============================================
   Tool Button Hover Effects
   ============================================ */
.tool-tab {
    position: relative;
    overflow: hidden;
}

/* Ensure tool tab content stays horizontal on all devices */
.tool-tab span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    white-space: nowrap !important;
    flex-direction: row !important;
}

.tool-tab span svg {
    flex-shrink: 0;
    vertical-align: middle !important;
    margin-top: -2px;
}

.tool-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tool-tab:hover::before {
    left: 100%;
}

.tool-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.tool-tab.active {
    background: var(--ai-gradient-main);
    color: white;
    transform: scale(1.02);
}

.tool-tab.active .tab-glow {
    opacity: 0.3 !important;
}

/* ============================================
   Enhanced Trusted By Section
   ============================================ */

/* Statistics Cards */
.stats-grid {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.2);
    border-color: var(--border-glow);
}

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

.stat-number {
    background: var(--ai-gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-feature-settings: 'tnum';
}

/* Rating Display */
.rating-display {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.stars svg {
    animation: starGlow 2s ease-in-out infinite;
    animation-delay: calc(var(--star-index, 0) * 0.1s);
}

@keyframes starGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.5));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8));
        transform: scale(1.05);
    }
}

/* Perfekt zentrierte Trust Logo Section - Flexbox optimiert */
.trusted-logos-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 2rem;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    padding: 1.5rem 1rem;
    /* Debugging: Optional border to verify container centering */
    /* border: 1px solid rgba(255,0,0,0.1); */
}

/* Pixelgenaue Icon-Container mit einheitlicher Größe */
.logo-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    opacity: 0.4;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    flex-shrink: 0;
    /* Einheitliche Basis für alle Icons unabhängig von Inhalt */
    position: relative;
}

.logo-minimal:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* SVG Icons - exakte Zentrierung und Größe */
.logo-minimal svg {
    width: 28px;
    height: 28px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    /* Absolut zentriert im Container */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-minimal:hover svg {
    color: var(--text-primary);
}

/* Text-basierte Logos - perfekte Zentrierung */
.logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-family: inherit;
    /* Absolut zentriert im Container */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

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

/* Sequential fade-in animation */
.logo-minimal:nth-child(1) { animation-delay: 0.5s; }
.logo-minimal:nth-child(2) { animation-delay: 0.6s; }
.logo-minimal:nth-child(3) { animation-delay: 0.7s; }
.logo-minimal:nth-child(4) { animation-delay: 0.8s; }
.logo-minimal:nth-child(5) { animation-delay: 0.9s; }
.logo-minimal:nth-child(6) { animation-delay: 1.0s; }

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .stat-card {
        padding: 1.5rem !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    /* Tablet Responsive - beibehalten der pixelgenauen Zentrierung */
    .trusted-logos-minimal {
        gap: 1.5rem !important;
        max-width: 500px !important;
        padding: 1rem 0.5rem !important;
    }
    
    .logo-minimal {
        width: 50px !important;
        height: 50px !important;
    }
    
    .logo-minimal svg {
        width: 24px !important;
        height: 24px !important;
        /* Zentrierung bleibt durch absolute Positionierung erhalten */
    }
    
    .logo-text {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .trusted-by-section h2 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .rating-display {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .stars svg {
        width: 20px;
        height: 20px;
    }
    
    /* Mobile Responsive - kompakte aber zentrierte Icons */
    .trusted-logos-minimal {
        gap: 1rem !important;
        max-width: 400px !important;
        padding: 0.75rem 0.5rem !important;
    }
    
    .logo-minimal {
        width: 44px !important;
        height: 44px !important;
    }
    
    .logo-minimal svg {
        width: 20px !important;
        height: 20px !important;
        /* Absolute Zentrierung bleibt auf allen Bildschirmgrößen erhalten */
    }
    
    .logo-text {
        font-size: 0.85rem !important;
    }
}

/* ============================================
   Minimalist Pricing Section
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card-popular {
    border-color: var(--text-accent);
    background: var(--glass);
}

.pricing-card-popular:hover {
    border-color: var(--text-accent);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ai-gradient-main);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--ai-gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.pricing-period {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    color: var(--text-secondary);
    padding: 0.75rem 0;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-accent);
    font-weight: bold;
    font-size: 0.875rem;
}

.pricing-btn {
    display: block;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    color: var(--text-primary);
    background: transparent;
    margin-top: auto;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    border-color: var(--text-accent);
    color: var(--text-accent);
}

.pricing-btn-primary {
    background: var(--ai-gradient-main);
    border-color: transparent;
    color: white;
}

.pricing-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.pricing-btn-secondary {
    border-color: var(--text-accent);
    color: var(--text-accent);
}

.pricing-btn-secondary:hover {
    background: var(--text-accent);
    color: white;
}

/* Responsive Pricing */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-amount {
        font-size: 2rem;
    }
    
    .pricing-badge {
        font-size: 0.688rem;
        padding: 0.375rem 0.875rem;
    }
}

/* ============================================
   Testimonials Section with Staggered Animation
   ============================================ */
.testimonials-grid {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    animation: testimonialSlideIn 0.6s ease-out forwards;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.4s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.6s;
}

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

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--border-glow);
    background: var(--surface-hover);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem !important;
    }
    
    .testimonial-card p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.5rem !important;
    }
    
    .testimonial-card p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
}



/* ============================================
   Contact Layout: Form + Info Side by Side
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--glass-heavy);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-glow);
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    height: fit-content;
}

.info-header {
    margin-bottom: 1.25rem;
}

.info-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--ai-gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-header p {
    color: var(--text-secondary);
    font-size: 0.813rem;
    line-height: 1.4;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-icon {
    width: 36px;
    height: 36px;
    background: var(--ai-gradient-main);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.info-icon svg {
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.info-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.info-content p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--glass);
    border-radius: 8px;
    text-align: center;
}

.company-info span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ============================================
   Compact Payment Methods in Contact
   ============================================ */
.payment-methods-compact {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.payment-methods-compact h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    background: var(--ai-gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.payment-methods-compact .payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all var(--transition-premium);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.payment-label {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-align: center;
    transition: color var(--transition-base);
    line-height: 1;
}

.payment-methods-compact .payment-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-methods-compact .payment-icon:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.payment-methods-compact .payment-icon:hover::before {
    opacity: 1;
}

.payment-methods-compact .payment-icon svg {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.payment-methods-compact .payment-icon:hover svg {
    color: var(--text-accent);
    transform: scale(1.1);
}

.payment-method-item:hover .payment-label {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.payment-methods-compact p {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin: 0;
    text-align: center;
}

/* Compact Contact Form */
.contact-form-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--ai-gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-field input,
.form-field textarea {
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--text-accent);
    background: var(--surface-hover);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.form-field textarea {
    min-height: 60px;
    line-height: 1.4;
    grid-column: 1 / -1;
}

.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    min-height: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.field-error.visible {
    opacity: 1;
}

/* Contact Submit Button */
.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--ai-gradient-main);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 8px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-top: 0.5rem;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn svg {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover svg {
    transform: translateX(4px);
}

.contact-submit-btn .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.contact-submit-btn.loading .spinner {
    display: block;
}

.contact-submit-btn.loading svg {
    display: none;
}

/* Contact Feedback */
.contact-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-feedback.visible {
    opacity: 1;
}

.contact-feedback.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.contact-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}



/* Contact Section Scroll Optimization */
#contact {
    scroll-margin-top: 100px; /* Ensures full section visibility when navigating */
}

/* Contact Layout Responsive */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 1rem;
        max-width: none;
    }
    
    .contact-form-wrapper {
        padding: 1.25rem;
    }
    
    .contact-info-wrapper {
        order: -1; /* Info above form on mobile */
        padding: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .form-field input,
    .form-field textarea {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 0.875rem;
    }
    
    .contact-submit-btn {
        padding: 1rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .form-header h3 {
        font-size: 1.375rem;
    }
    
    .info-header h3 {
        font-size: 1.125rem;
    }
    
    .info-items {
        gap: 0.875rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-layout {
        margin: 0 0.5rem;
        gap: 1.25rem;
    }
    
    .contact-form-wrapper {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .contact-info-wrapper {
        padding: 0.875rem;
        border-radius: 12px;
    }
    
    .form-header {
        margin-bottom: 1rem;
    }
    
    .form-header h3 {
        font-size: 1.25rem;
    }
    
    .form-header p {
        font-size: 0.813rem;
    }
    
    .contact-form-compact {
        gap: 0.875rem;
    }
    
    .form-field input,
    .form-field textarea {
        padding: 0.75rem;
        border-radius: 6px;
    }
    gen auch
    .contact-submit-btn {
        padding: 0.875rem 1.25rem;
        border-radius: 6px;
    }
    
    .info-header {
        margin-bottom: 1rem;
    }
    
    .info-header h3 {
        font-size: 1rem;
    }
    
    .info-items {
        gap: 0.75rem;
        margin-bottom: 0.875rem;
    }
    
    .info-icon {
        width: 32px;
        height: 32px;
    }
    
    .info-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .company-info {
        padding: 0.625rem;
    }
    
    .company-info span {
        font-size: 0.688rem;
    }
    
    .payment-methods-compact .payment-icon {
        width: 32px;
        height: 32px;
    }
    
    .payment-icons {
        gap: 0.4rem;
    }
    
    .payment-label {
        font-size: 0.563rem;
    }
    
    .payment-method-item {
        gap: 0.25rem;
    }
}

/* Select Dropdown Styling for Data Breach */
select {
    width: auto;
    padding: 0.5rem 2rem 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: inherit;
    transition: all var(--transition-base);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
}

select:hover {
    border-color: var(--text-accent);
    background-color: var(--surface-hover);
}

select:focus {
    border-color: var(--text-accent);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

select option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.5rem;
}

/* Specific breach limit dropdown */
#breach-limit {
    background: var(--surface);
    color: var(--text-primary);
    min-width: 120px;
}

#breach-limit option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    margin-top: 6rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-tertiary);
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-bottom a:hover {
    color: var(--text-accent);
}

/* ============================================
   Animations & Effects
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--ai-gradient-main);
    z-index: 9999;
    transition: width var(--transition-base);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
}

/* Tool Selection Cards - Neutral Hover */
.tool-selection-card {
    transition: box-shadow var(--transition-base), border-color var(--transition-base) !important;
    transform: none !important;
}

.tool-selection-card:hover {
    transform: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--border-glow);
}

.tool-selection-card:hover .tool-card-bg {
    opacity: 0.05 !important;
}

/* Ensure all tool cards have equal height and buttons align */
#tool-selection {
    align-items: stretch !important;
}

.tool-selection-card {
    display: flex !important;
    flex-direction: column !important;
}

.tool-selection-card > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.tool-selection-card p:last-of-type {
    flex-grow: 1 !important;
}

.tool-selection-card .btn-3d {
    margin-top: auto !important;
}

/* Hide mobile nav overlay on desktop - only above 768px */
@media (min-width: 769px) {
    #navOverlay {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Responsive Navigation Fixes */
@media (max-width: 1200px) {
    .nav-links a {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
}

/* Large screens optimization */
@media (min-width: 1400px) {
    .hero h1 {
        font-size: 5rem;
        color: #f9fafb;
    }
    

    
    .hero-line-1 {
        gap: 0.4em;
    }
}

/* ============================================
   Responsive Design
   ============================================ */

/* Desktop Enhancement */
@media (min-width: 1200px) {
    /* Hide scroll indicators on desktop */
    .scroll-indicator-left,
    .scroll-indicator-right {
        display: none !important;
    }
    
    /* Ensure tabs stay horizontal on desktop */
    .tool-tabs {
        flex-wrap: nowrap !important;
        overflow-x: visible !important;
    }
    
    /* Keep tab content horizontal */
    .tool-tab {
        display: inline-flex !important;
        align-items: center !important;
    }
    
    .tool-tab span {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }
    .contact-form {
        padding: 3.5rem;
        border-radius: 32px;
        box-shadow: var(--shadow-xl), 0 0 50px rgba(102, 126, 234, 0.15);
    }
    
    .form-input-3d,
    .form-textarea {
        padding: 1.375rem 2rem;
        font-size: 1.1rem;
        border-radius: 18px;
    }
    
    .form-group {
        margin-bottom: 2.25rem;
    }
    
    .form-label {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}
/* iPad and Tablet Optimization */
@media (max-width: 1024px) and (min-width: 768px) {
    /* Hide scroll indicators on iPads in landscape */
    @media (orientation: landscape) {
        .scroll-indicator-left,
        .scroll-indicator-right {
            display: none !important;
        }
    }
    
    /* Keep tool tabs horizontal on iPad */
    .tool-tab {
        display: inline-flex !important;
        align-items: center !important;
    }
    
    .tool-tab span {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
}

@media (max-width: 1024px) {
    /* Only show scroll indicators when needed on tablets */
    .tool-tabs-wrapper {
        position: relative;
    }
    /* Enhanced contact form for tablets */
    .contact-form {
        padding: 2.75rem 2.5rem;
        border-radius: 26px;
        box-shadow: var(--shadow-xl), 0 0 40px rgba(102, 126, 234, 0.12);
    }
    
    .form-input-3d,
    .form-textarea {
        padding: 1.2rem 1.6rem;
        font-size: 1.05rem;
        border-radius: 15px;
    }
    
    .form-group {
        margin-bottom: 1.875rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-shell {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    /* AI Tools iPad optimization */
    .ai-tools-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .tool-tabs {
        gap: 0.75rem !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        flex-wrap: nowrap !important;
        display: flex !important;
    }
    
    .tool-panel {
        padding: 2.5rem !important;
    }
    
    .workflow-nodes {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* About Section Responsive */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content h3 {
        font-size: 1.75rem !important;
    }
}

/* iPad Pro specific */
@media only screen 
and (min-device-width: 834px) 
and (max-device-width: 1366px) 
and (-webkit-min-device-pixel-ratio: 2) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .tool-panel {
        padding: 3rem !important;
    }
}

@media (max-width: 768px) {
    /* Show nav overlay only on mobile */
    #navOverlay {
        display: none !important; /* Still hidden by default */
    }
    
    #navOverlay.active {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .nav {
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 2rem);
        max-width: 400px;
    }
    
    .nav-content {
        gap: 1rem;
        padding: 0.75rem 1.25rem;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-dropdown {
        margin-left: auto; /* push menu to right */
    }
    
    .nav-links {
        display: none !important;
    }
    

    
    .mobile-menu::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .mobile-menu:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.5);
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }
    
    .mobile-menu:hover::before {
        transform: translateX(100%);
    }
    
    .mobile-menu span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mobile-menu span:nth-child(1) {
        top: calc(50% - 8px);
    }
    
    .mobile-menu span:nth-child(2) {
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
    
    .mobile-menu span:nth-child(3) {
        bottom: calc(50% - 8px);
    }
    
    .mobile-menu:hover span {
        background: #3b82f6;
    }
    
    /* Mobile menu active state - X transformation */
    .mobile-menu.active span:nth-child(1) {
        transform: translateX(-50%) rotate(45deg);
        top: 50%;
        transform-origin: center;
    }
    
    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-50%) scale(0);
    }
    
    .mobile-menu.active span:nth-child(3) {
        transform: translateX(-50%) rotate(-45deg);
        bottom: 50%;
        transform-origin: center;
    }
    
    /* Enhanced Mobile Menu Overlay - Styles only */
    #navOverlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.98) 0%, rgba(9, 14, 28, 0.98) 100%);
        backdrop-filter: blur(20px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    #navOverlay::before {
        content: '';
        position: absolute;
        inset: 0;
        background: 
            radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    
    #navOverlay.active::before {
        opacity: 1;
    }
    
    .mobile-nav-menu {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
        max-width: 400px;
    }
    
    .mobile-nav-menu a {
        display: block;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 1.5rem;
        font-weight: 600;
        margin: 1rem 0;
        padding: 1.25rem 2rem;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
        border: 2px solid transparent;
        background-clip: padding-box;
        position: relative;
        transition: all 0.3s ease;
        transform: translateY(30px);
        opacity: 0;
        animation: slideInMobile 0.6s forwards;
        overflow: hidden;
    }
    
    .mobile-nav-menu a::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 16px;
    }
    
    .mobile-nav-menu a::after {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
        border-radius: 16px;
        opacity: 0;
        z-index: -1;
        transition: opacity 0.3s ease;
    }
    
    .mobile-nav-menu a:hover {
        transform: translateY(0) scale(1.02);
        color: var(--text-primary);
    }
    
    .mobile-nav-menu a:hover::before {
        opacity: 1;
    }
    
    .mobile-nav-menu a:hover::after {
        opacity: 0.2;
    }
    
    .mobile-nav-menu a:nth-child(1) { animation-delay: 0.1s; }
    .mobile-nav-menu a:nth-child(2) { animation-delay: 0.2s; }
    .mobile-nav-menu a:nth-child(3) { animation-delay: 0.3s; }
    .mobile-nav-menu a:nth-child(4) { animation-delay: 0.4s; }
    .mobile-nav-menu a:nth-child(5) { animation-delay: 0.5s; }
    
    /* Mobile Menu Close Button */
    .mobile-menu-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(59, 130, 246, 0.1);
        border: 2px solid rgba(59, 130, 246, 0.3);
        border-radius: 12px;
        color: var(--text-primary);
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        opacity: 0;
        animation: fadeInScale 0.4s 0.3s forwards;
    }
    
    .mobile-menu-close:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.5);
        transform: scale(1.1) rotate(90deg);
        color: #3b82f6;
    }
    
    .mobile-menu-close svg {
        width: 24px;
        height: 24px;
        transition: transform 0.3s ease;
    }
    
    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
    
    .mobile-nav-menu a:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.6);
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    }
    
    @keyframes slideInMobile {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .hero h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
        line-height: 1.2;
        color: #f9fafb;
    }
    
    .hero-line-1 {
        flex-direction: column;
        gap: 0.5rem;
    }
    

    
    .static-text {
        display: block;
        width: 100%;
    }
    
    .hero-line-2 {
        font-size: 0.9em;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-3d {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-shell {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .contact-form {
        max-width: 100%;
        padding: 2.5rem 2rem;
        border-radius: 24px;
        margin: 0 1rem;
    }
    
    .contact-form-modern {
        padding: 2.5rem 1.5rem !important;
        border-radius: 24px !important;
        margin: 0 !important;
    }
    
    /* Contact section completely redesigned for mobile */
    #contact {
        padding: 3rem 0 !important;
    }
    
    .contact-shell {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        max-width: 100% !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
    }
    
    .contact-left {
        order: 1;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
    }
    
    .contact-right {
        order: 2;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        background: var(--glass-heavy);
        border-top: 1px solid var(--border);
    }
    
    .contact-form {
        width: 100% !important;
        max-width: 100% !important;
        padding: 2.5rem 1.75rem !important;
        border-radius: 24px !important;
        margin: 0 !important;
        box-shadow: 
            0 0 0 1px rgba(148, 163, 184, 0.1),
            0 4px 10px -2px rgba(0, 0, 0, 0.1),
            0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Get in Touch section mobile */
    .contact-right h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
        text-align: center;
        background: var(--ai-gradient-main);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .contact-right > div:first-of-type {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-right > div:first-of-type p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
        color: var(--text-secondary);
        margin: 0 auto !important;
        max-width: 100%;
    }
    
    /* Contact info items as cards */
    .contact-info-item {
        display: block !important;
        padding: 1.25rem !important;
        background: var(--surface) !important;
        border-radius: 12px !important;
        margin-bottom: 1rem !important;
        border: 1px solid var(--border);
        text-align: left !important;
    }
    
    .contact-info-item > div:first-child {
        display: inline-flex !important;
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 0.75rem !important;
        background: var(--ai-gradient-main) !important;
        border-radius: 10px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .contact-info-item > div:first-child svg {
        width: 20px !important;
        height: 20px !important;
        stroke: white !important;
    }
    
    .contact-info-item h4 {
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: var(--text-primary) !important;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-info-item p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
        color: var(--text-secondary) !important;
        margin: 0 !important;
    }
    
    /* Form Elements Mobile */
    .form-group {
        margin-bottom: 1.5rem !important;
    }
    
    .form-label {
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: var(--text-primary) !important;
        margin-bottom: 0.75rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .form-label svg {
        width: 16px !important;
        height: 16px !important;
        opacity: 0.7;
    }
    
    .form-input-3d,
    .form-textarea {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 1.125rem 1.5rem !important;
        border-radius: 14px !important;
        background: var(--surface-light) !important;
        border: 2px solid var(--border) !important;
        width: 100% !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    .form-input-3d:hover,
    .form-textarea:hover {
        transform: translateY(-1px) !important;
        border-color: rgba(102, 126, 234, 0.2) !important;
        background: var(--surface-hover) !important;
    }
    
    .form-input-3d:focus,
    .form-textarea:focus {
        border-color: var(--text-accent) !important;
        background: var(--surface-hover) !important;
        box-shadow: 
            inset 0 1px 3px rgba(0, 0, 0, 0.1),
            0 0 0 3px rgba(102, 126, 234, 0.15),
            0 4px 15px rgba(102, 126, 234, 0.1) !important;
        transform: translateY(-2px) !important;
    }
    
    .form-textarea {
        min-height: 130px !important;
        resize: vertical !important;
        line-height: 1.6 !important;
    }
    
    /* Contact button full width on mobile - already styled in main CSS */
    
    /* Company info footer mobile */
    .contact-right > div:last-child {
        margin-top: 1.5rem !important;
        padding: 1rem !important;
        font-size: 0.75rem !important;
        text-align: center !important;
        background: var(--surface) !important;
        border-radius: 10px !important;
    }
    
    /* AI Tools Mobile Optimization */
    .ai-tools-container {
        padding: 0;
    }
    
    /* Tool tabs container with scroll indicators */
    .tool-tabs-wrapper {
        position: relative;
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    .tool-tabs {
        gap: 0.5rem !important;
        padding: 0 3rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        scroll-behavior: smooth;
        display: flex !important;
        align-items: center !important;
    }
    
    .tool-tabs::-webkit-scrollbar {
        display: none;
    }
    
    /* Scroll indicators - hidden by default */
    .scroll-indicator-left,
    .scroll-indicator-right {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        display: none !important; /* Hidden by default with important */
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 
            0 4px 16px rgba(0, 0, 0, 0.1),
            inset 0 1px 1px rgba(255, 255, 255, 0.1),
            inset 0 -1px 1px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
    
    /* Only show indicators when scrollable on mobile */
    @media (max-width: 767px) {
        .tool-tabs-wrapper.scrollable .scroll-indicator-left,
        .tool-tabs-wrapper.scrollable .scroll-indicator-right {
            display: flex !important;
        }
    }
    
    .scroll-indicator-left {
        left: 0.25rem;
    }
    
    .scroll-indicator-right {
        right: 0.25rem;
    }
    
    .scroll-indicator-left::before,
    .scroll-indicator-right::before {
        content: '';
        position: absolute;
        inset: -1px;
        border-radius: 50%;
        padding: 1px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    /* Glass shine effect */
    .scroll-indicator-left::after,
    .scroll-indicator-right::after {
        content: '';
        position: absolute;
        top: 20%;
        left: 20%;
        width: 60%;
        height: 60%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
        border-radius: 50%;
        pointer-events: none;
        opacity: 0.6;
        transform: translate(-10%, -10%);
    }
    
    .scroll-indicator-left:hover,
    .scroll-indicator-right:hover {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 
            0 12px 40px rgba(59, 130, 246, 0.2),
            inset 0 1px 1px rgba(255, 255, 255, 0.2),
            inset 0 -1px 1px rgba(0, 0, 0, 0.1);
    }
    
    .scroll-indicator-left:hover::before,
    .scroll-indicator-right:hover::before {
        opacity: 1;
    }
    
    .scroll-indicator-left:active,
    .scroll-indicator-right:active {
        transform: translateY(-50%) scale(0.95);
        box-shadow: 
            0 4px 20px rgba(59, 130, 246, 0.15),
            inset 0 2px 4px rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.2) 100%);
    }
    
    .scroll-indicator-left svg,
    .scroll-indicator-right svg {
        width: 16px;
        height: 16px;
        stroke: var(--text-primary);
        stroke-width: 1.5;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
        transition: all 0.3s ease;
    }
    
    .scroll-indicator-left:hover svg,
    .scroll-indicator-right:hover svg {
        stroke: #fff;
        filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
    }
    
    .scroll-indicator-left:active svg,
    .scroll-indicator-right:active svg {
        stroke-width: 2;
    }
    
    .scroll-indicator-left.hidden,
    .scroll-indicator-right.hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-50%) scale(0.8);
    }
    
    @keyframes clickPulse {
        0% {
            box-shadow: 
                0 0 0 0 rgba(59, 130, 246, 0.4),
                0 8px 32px rgba(0, 0, 0, 0.12),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
        }
        100% {
            box-shadow: 
                0 0 0 20px rgba(59, 130, 246, 0),
                0 8px 32px rgba(0, 0, 0, 0.12),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
        }
    }
    
    .scroll-indicator-left.clicked,
    .scroll-indicator-right.clicked {
        animation: clickPulse 0.6s ease-out;
    }
    
    /* Gradient fade - only show when scrollable */
    .tool-tabs-wrapper.scrollable .tool-tabs::before,
    .tool-tabs-wrapper.scrollable .tool-tabs::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 5;
    }
    
    .tool-tabs-wrapper.scrollable .tool-tabs::before {
        left: 0;
        background: linear-gradient(to right, var(--bg-primary), transparent);
    }
    
    .tool-tabs-wrapper.scrollable .tool-tabs::after {
        right: 0;
        background: linear-gradient(to left, var(--bg-primary), transparent);
    }
    
    .tool-tab {
        padding: 0.625rem 1rem !important;
        font-size: 0.8125rem;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
        min-width: fit-content !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .tool-tab svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .tool-panel {
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }
    
    .tool-panel h3 {
        font-size: 1.5rem !important;
    }
    
    .workflow-nodes {
        grid-template-columns: 1fr !important;
    }
    
    .workflow-node {
        padding: 1rem !important;
        font-size: 0.9rem;
    }
    
    .workflow-node span:first-child {
        font-size: 1.5rem !important;
    }
    
    /* Form inputs on mobile */
    .form-input-3d {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 1rem !important;
    }
    
    /* Security output on mobile */
    #security-output,
    #leak-output,
    #workflow-output {
        font-size: 0.875rem;
        padding: 1rem !important;
    }
    
    /* Tool selection cards on mobile */
    #tool-selection {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .tool-selection-card {
        padding: 1.5rem !important;
    }
    
    .tool-selection-card h3 {
        font-size: 1.25rem !important;
    }
    
    .tool-selection-card p {
        font-size: 0.875rem !important;
    }
    
    /* About Section Mobile */
    .about-grid {
        gap: 2rem !important;
    }
    
    .about-content h3 {
        font-size: 1.5rem !important;
    }
    
    .about-grid .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .stat-card {
        padding: 1.25rem !important;
    }
    
    .stat-card > div:first-child {
        font-size: 2rem !important;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 6rem 0 4rem 0 !important;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin: 1.5rem auto !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    .hero-buttons .btn-3d {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    
    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .service-card-3d {
        padding: 2rem 1.5rem !important;
    }
    
    .service-title {
        font-size: 1.25rem !important;
    }
    
    .service-description {
        font-size: 0.875rem !important;
    }
    
    .service-features {
        font-size: 0.813rem !important;
    }
    
    /* Pricing Cards Mobile */
    .pricing-tier div {
        font-size: 2.5rem !important;
    }
    
    /* About Section Mobile */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .about-content h3 {
        font-size: 1.75rem !important;
        text-align: center !important;
    }
    
    .about-content p {
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .about-content a {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .stat-card {
        padding: 1.5rem !important;
    }
    
    .stat-card > div:first-child {
        font-size: 2.5rem !important;
    }
    
    /* Workflow Simulation Mobile Optimization */
    #workflow-container {
        min-height: auto !important;
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }
    
    #workflow-container .control-panel {
        padding: 1rem !important;
    }
    
    #workflow-container .control-panel h4 {
        font-size: 1rem !important;
    }
    
    #workflow-container .control-panel > div:last-child {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
    }
    
    #workflow-viz {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
        perspective: none !important;
    }
    
    .workflow-step {
        margin: 0 auto;
        max-width: 280px;
    }
    
    .workflow-step .step-card {
        padding: 1.5rem 1rem !important;
        border-radius: 16px !important;
    }
    
    .workflow-step .step-icon {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .workflow-step .step-title {
        font-size: 1rem !important;
    }
    
    .workflow-step .processing-info {
        font-size: 0.7rem !important;
    }
    
    .workflow-step .step-connector {
        display: none !important;
    }
    
    .workflow-step .node-monitor {
        top: 0.5rem !important;
        right: 0.5rem !important;
    }
    
    .workflow-step .model-loader {
        top: 0.5rem !important;
        left: 0.5rem !important;
    }
    
    .workflow-step .neural-activity {
        bottom: 0.5rem !important;
    }
    
    #workflow-terminal {
        padding: 1rem !important;
        font-size: 0.75rem !important;
        max-height: 200px !important;
    }
    
    #workflow-terminal > div:first-child {
        margin-bottom: 1rem !important;
    }
    
    #workflow-metrics,
    #metrics-dashboard {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    .metric-card,
    .metric-card.advanced {
        padding: 1rem !important;
    }
    
    .metric-card > div:first-child,
    .metric-card.advanced > div:first-child {
        font-size: 1.5rem !important;
    }
    
    .metric-card > div:last-child,
    .metric-card.advanced > div:last-child {
        font-size: 0.75rem !important;
    }
    
    /* Workflow nodes mobile */
    .workflow-nodes {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .workflow-node-3d {
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .workflow-node-3d .node-face {
        padding: 1.5rem !important;
    }
    
    .workflow-node-3d .node-icon {
        font-size: 2.5rem !important;
    }
    
    .workflow-node-3d .node-title {
        font-size: 1rem !important;
    }
    
    .workflow-node-3d .node-desc {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    /* Sections spacing */
    section {
        padding: 3rem 0 !important;
    }
    
    /* Modern contact form mobile */
    .contact-form-modern {
        padding: 2rem 1.25rem !important;
        border-radius: 20px !important;
    }
    
    .contact-form-modern .form-group {
        margin-bottom: 1.5rem !important;
    }
    
    .contact-form-modern .form-input-3d,
    .contact-form-modern .form-textarea {
        padding: 1rem 1.25rem !important;
        font-size: 16px !important;
    }
    
    /* Container padding */
    .container {
        padding: 0 1rem !important;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 5rem 0 3rem 0 !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 0.938rem !important;
    }
    
    .pill {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.875rem !important;
    }
    
    /* Service cards compact */
    .service-card-3d {
        padding: 1.5rem !important;
    }
    
    .service-icon-3d {
        width: 48px !important;
        height: 48px !important;
    }
    
    .service-icon-3d svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    /* Pricing adjustments */
    .pricing-tier div {
        font-size: 2rem !important;
    }
    
    /* Section headers */
    .section-title {
        font-size: 1.75rem !important;
    }
    
    .section-subtitle {
        font-size: 0.875rem !important;
    }
    
    /* AI Tools small screen optimization */
    .tool-tabs {
        margin-bottom: 2rem !important;
    }
    
    .tool-tab {
        padding: 0.625rem 1rem !important;
        font-size: 0.8125rem;
    }
    
    .tool-tab span {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    
    .tool-panel {
        padding: 1.25rem !important;
    }
    
    .tool-panel h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .tool-panel p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Ensure touch-friendly tap targets */
    .btn-3d,
    .tool-tab,
    .form-input-3d {
        min-height: 44px; /* iOS touch target recommendation */
    }
    
    /* Workflow output adjustment */
    #workflow-output,
    #security-output,
    #leak-output {
        font-size: 0.8125rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem !important;
    }
    
    .tool-tab {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.75rem;
    }
}

/* ============================================
   Accessibility
   ============================================ */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 1rem;
    background: var(--surface-hover);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    left: 1rem;
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.loading .spinner {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error states */
.error-text {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
    animation: slideInError 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.is-invalid {
    border-color: rgba(239, 68, 68, 0.5) !important;
    background: rgba(239, 68, 68, 0.05) !important;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Success state */
.is-valid {
    border-color: rgba(34, 197, 94, 0.5) !important;
    background: rgba(34, 197, 94, 0.05) !important;
}

/* Contact feedback messages */
#contact-feedback {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-weight: 500;
    animation: fadeInUp 0.5s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#contact-feedback.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.1);
}

#contact-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1);
}

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

/* Text Rotator Animation - REMOVED for better performance */

/* Additional Mobile Contact Improvements */
@media (max-width: 768px) {
    /* Remove gradient overlay/blur on mobile for crisp text */
    .hero h1 .accent {
        background: none !important;
        -webkit-text-fill-color: var(--text-accent) !important;
        color: var(--text-accent) !important;
        animation: none !important;
    }
    .hero h1 .accent::after { content: none !important; }

    /* Keep hero lines compact on mobile */
    .hero-line-1,
    .hero-line-2 {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0.35em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        justify-content: center !important;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.25rem) !important;
        line-height: 1.15 !important;
    }

    .hero-subtitle { font-size: 1.05rem !important; }
    /* Better "Get in Touch" handling */
    .contact-right h3 {
        font-size: 1.5rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
    }
    
    /* Improved contact info layout */
    .contact-info-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.75rem !important;
        padding: 1.25rem !important;
        background: var(--surface-light);
        border-radius: 12px;
        margin-bottom: 1rem !important;
    }
    
    .contact-info-item h4 {
        font-size: 1rem !important;
        margin: 0 !important;
    }
    
    .contact-info-item p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        color: var(--text-secondary) !important;
    }
    
    /* Icon adjustments */
    .contact-info-item > div:first-child {
        margin-bottom: 0.5rem !important;
    }
}

/* Additional animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}