:root {
    --primary-color: #00d4ff;
    --secondary-color: #7c3aed;
    --accent-color: #ff6b6b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --purple-light: #a855f7;
    --purple-soft: #c084fc;
    --bg-color: #0a0a0a;
    --bg-secondary: #111111;
    --text-color: #ffffff;
    --text-muted: #a1a1aa;
    --card-bg: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    --card-border: rgba(0, 212, 255, 0.1);
    --nav-bg: rgba(10, 10, 10, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.8);
    
    /* Цвета логотипа */
    --logo-gold: #FFD700;
    --logo-amber: #FFA500;
    --logo-copper: #B87333;
    --logo-brown: #8B4513;
    --logo-teal: #008B8B;
    --logo-turquoise: #40E0D0;
    --logo-mint: #00CED1;
    
    /* Новые цвета для кнопки Start Your Project */
    --btn-primary-border: #10B981;
    --btn-primary-border-hover: #059669;
    
    /* Новые градиенты на основе цветов логотипа */
    --gradient-primary: linear-gradient(135deg, #DAA520 0%, #4682B4 50%, #8B4513 100%);
    --gradient-logo: linear-gradient(135deg, #10B981 0%, #3B82F6 50%, #8B5CF6 100%);
    --gradient-logo-alt: linear-gradient(135deg, #059669 0%, #2563EB 50%, #7C3AED 100%);
    
    --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #f59e0b 100%);
    --gradient-card: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 15, 0.9));
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    
    /* Обновленные эффекты свечения */
    --glow-primary: 0 0 20px rgba(255, 215, 0, 0.3);
    --glow-secondary: 0 0 20px rgba(64, 224, 208, 0.3);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.3);
    --glow-logo: 0 0 25px rgba(255, 165, 0, 0.4);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    /* Предотвращение горизонтальной прокрутки */
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    /* Предотвращение зума на iOS при фокусе на input */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    /* Предотвращение масштабирования на iOS */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Улучшение производительности на мобильных */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%);
    pointer-events: none;
    display: none;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 4px 20px var(--shadow-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    z-index: 1001;
    text-decoration: none;
    color: inherit;
}

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

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 12px;
    filter: drop-shadow(var(--glow-logo));
    transition: all 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(var(--glow-logo)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.logo span {
    font-size: 1.8em;
    font-weight: 700;
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 165, 0, 0.3);
    transition: all 0.3s ease;
}

.logo:hover span {
    background: var(--gradient-logo-alt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
}

/* Ensure logo link works properly on all devices */
.logo:visited,
.logo:focus,
.logo:active {
    text-decoration: none;
    color: inherit;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
    border-radius: 8px;
    /* Ensure clickability */
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 165, 0, 0.4);
    /* Better touch target for iOS */
    min-width: 44px;
    min-height: 44px;
    position: relative;
    /* iOS Safari fixes */
    -webkit-appearance: none;
    -webkit-user-select: none;
    user-select: none;
    /* Prevent iOS zoom on touch */
    -webkit-text-size-adjust: 100%;
    /* Better touch response */
    -webkit-touch-callout: none;
}

.mobile-menu-btn:hover {
    background: rgba(255, 165, 0, 0.1);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--logo-amber);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: #fff;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: #fff;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu.mobile-slide {
    transform: translateX(100%);
    opacity: 0;
}

.nav-menu.mobile-slide.active {
    transform: translateX(0);
    opacity: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-links a:hover {
    color: var(--logo-amber);
    background: rgba(255, 165, 0, 0.1);
    transform: translateY(-2px);
}

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

.nav-links a:hover::after {
    width: 80%;
}

/* Hide mobile-only elements on desktop */
.mobile-menu-actions {
    display: none;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: block !important;
    opacity: 1;
    pointer-events: auto;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

header {
    background: var(--gradient-primary);
    color: #fff;
    padding: 180px 30px 120px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

s.header-content {
    position: relative;
    z-index: 2;
}

.header-content h1 {
    font-size: 3.8em;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out;
}

.header-content p {
    font-size: 1.3em;
    max-width: 750px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.2s both;
}

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

.btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    color: var(--bg-color);
    padding: 15px 35px;
    font-size: 1em;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    cursor: pointer;
    margin: 8px;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    animation: slideInUp 1s ease-out 0.4s both;
    /* Mobile optimizations */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    z-index: 10;
    /* Ensure clickability */
    pointer-events: auto;
}

.btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    border-color: var(--primary-color);
}

.btn-primary {
    background: var(--gradient-logo);
    color: #fff;
    border: 2px solid var(--btn-primary-border);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--gradient-logo-alt);
    border-color: var(--btn-primary-border-hover);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Enhanced btn-secondary for CTA section */
#cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* Enhanced btn-primary for CTA section */
#cta .btn-primary {
    background: var(--gradient-logo);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
    font-weight: 700;
    font-size: 1.1em;
    padding: 16px 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

#cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
    transition: left 0.6s ease;
}

#cta .btn-primary:hover::before {
    left: 100%;
}

#cta .btn-primary:hover {
    background: var(--gradient-logo-alt);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(5, 150, 105, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.4);
}

section {
    padding: 100px 30px;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 3em;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.why-card {
    background: var(--gradient-card);
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px var(--shadow-color);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-color), var(--glow-primary);
    border-color: var(--primary-color);
}

.why-card .icon {
    font-size: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    flex-shrink: 0;
    margin: 0;
}

.why-card h3 {
    color: var(--text-color);
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.3;
    flex-grow: 1;
}

.why-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95em;
}

.turnkey-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.process-step {
    background: var(--gradient-card);
    padding: 50px 30px 35px 30px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px var(--shadow-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow-color), var(--glow-secondary);
    border-color: var(--secondary-color);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--gradient-primary);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
    border: 3px solid var(--bg-color);
    z-index: 10;
}

.process-step h3 {
    color: var(--text-color);
    margin: 12px 0 12px;
    font-size: 1.2em;
    font-weight: 600;
}

.process-step p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95em;
}

.process-step ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-step ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--text-muted);
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.process-step ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.1em;
}

.process-step:hover ul li {
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--gradient-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px var(--shadow-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: all 0.4s ease;
}

.service-card:hover::after {
    transform: translate(30%, -30%) scale(1.5);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-color), var(--glow-primary);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3.5em;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: 600;
}

.service-card > p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95em;
}

.service-details {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-details strong {
    color: var(--primary-color);
    font-size: 0.95em;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.service-details ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.9em;
}

.service-details ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.advantage-card {
    background: var(--gradient-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px var(--shadow-color);
    transition: all 0.4s ease;
    position: relative;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow-color), var(--glow-secondary);
    border-color: var(--secondary-color);
}

.advantage-card h3 {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.3em;
    font-weight: 600;
}

.advantage-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95em;
}

.advantage-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.benefit-list {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-list h4 {
    color: var(--warning-color);
    margin-bottom: 15px;
    font-size: 1em;
    font-weight: 600;
}

.benefit-list ul {
    list-style: none;
    padding: 0;
}

.benefit-list ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--text-muted);
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.benefit-list ul li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--warning-color);
    font-size: 1.1em;
}

.advantage-card:hover .benefit-list ul li {
    color: var(--text-color);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.industry-card {
    background: var(--gradient-card);
    padding: 0;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px var(--shadow-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px var(--shadow-color), var(--glow-primary);
    border-color: var(--primary-color);
}

.industry-media {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.industry-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 20px 20px 0 0;
    transition: transform 0.4s ease;
    display: block;
}

/* Special handling for GIF files */
.industry-video[src$=".gif"] {
    filter: brightness(0.9) contrast(1.1);
}

/* Specific positioning adjustments for different videos */
.industry-video[src*="robotics"] {
    object-position: center 15%;
}

.industry-video[src*="drone"] {
    object-position: center 25%;
}

.industry-video[src*="mrt"] {
    object-position: center center;
}

.industry-video[src*="DriverSleep"] {
    object-position: center 30%;
}

.industry-video[src*="tanksdrone"] {
    object-position: center 20%;
}

.industry-card:hover .industry-video {
    transform: scale(1.05);
}



.industry-content {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Cards without video get special background */
.industry-card.no-media {
    background: linear-gradient(145deg, 
        rgba(26, 26, 26, 0.9) 0%, 
        rgba(15, 15, 15, 0.9) 50%,
        rgba(26, 26, 26, 0.9) 100%),
        radial-gradient(circle at top right, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

.industry-card.no-media:hover {
    background: linear-gradient(145deg, 
        rgba(26, 26, 26, 0.95) 0%, 
        rgba(15, 15, 15, 0.95) 50%,
        rgba(26, 26, 26, 0.95) 100%),
        radial-gradient(circle at top right, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

/* Cards without video - different icon treatment */
.industry-card.no-media .industry-icon {
    font-size: 3.2em;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    transition: all 0.4s ease;
}

.industry-card.no-media:hover .industry-icon {
    transform: scale(1.1);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.industry-icon {
    font-size: 2.8em;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.industry-card h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.35em;
    font-weight: 600;
    line-height: 1.3;
}

.industry-card > p,
.industry-content > p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95em;
    text-align: left;
    flex-grow: 1;
}

.industry-examples {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
    text-align: left;
    color: var(--text-muted);
}

.industry-examples strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.support-card {
    background: var(--gradient-card);
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px var(--shadow-color);
    transition: all 0.4s ease;
    position: relative;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow-color), var(--glow-success);
    border-color: var(--success-color);
}

.support-card h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 600;
}

.support-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95em;
}

.support-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-card ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--text-muted);
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.support-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.1em;
}

.support-card:hover ul li {
    color: var(--text-color);
}

#cta {
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 3em;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.02em;
    line-height: 1.2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.cta-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.cta-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

footer {
    background: var(--bg-secondary);
    padding: 80px 30px 30px;
    color: var(--text-color);
    border-top: 1px solid var(--card-border);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.2em;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    padding: 8px 0;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9em;
}

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

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

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Tablet and mobile styles */
@media (max-width: 768px) {
    /* Предотвращение горизонтального переполнения */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    * {
        max-width: 100%;
    }
    
    /* Mobile navigation */
    .mobile-menu-btn {
        display: flex !important;
        position: relative !important;
        z-index: 1001 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(255, 165, 0, 0.4) !important;
        /* Additional iOS fixes */
        -webkit-appearance: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
        -webkit-touch-callout: none !important;
        /* Force hardware acceleration */
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        /* Ensure visibility */
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(260px, 65vw);
        height: 100vh;
        background: linear-gradient(145deg, rgba(26, 26, 26, 0.98), rgba(15, 15, 15, 0.98));
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--card-border);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 70px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        width: 100%;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 30px;
        font-size: 1.1em;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        width: 100%;
        text-align: left;
    }
    
    .nav-links a:hover {
        background: rgba(0, 212, 255, 0.1);
        transform: translateX(10px);
        padding-left: 40px;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    /* Mobile menu actions */
    .mobile-menu-actions {
        padding: 12px 15px 15px 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 15px;
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        /* Ensure visibility on all screen sizes */
        max-height: calc(100vh - 250px);
        overflow-y: auto;
        flex-shrink: 0;
    }
    
    .mobile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 16px;
        border-radius: 20px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9em;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        text-align: center;
        gap: 8px;
        min-height: 48px;
        box-sizing: border-box;
    }
    
    .mobile-btn-icon {
        font-size: 1.1em;
        flex-shrink: 0;
    }
    
    .mobile-btn-text {
        flex: 1;
        text-align: center;
    }
    
    .mobile-btn-primary {
        background: var(--gradient-logo);
        color: #fff;
        border-color: var(--btn-primary-border);
    }
    
    .mobile-btn-primary:hover,
    .mobile-btn-primary:active {
        background: var(--gradient-logo-alt);
        border-color: var(--btn-primary-border-hover);
        transform: translateY(-1px);
    }
    
    .mobile-btn-secondary {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
    }
    
    .mobile-btn-secondary:hover,
    .mobile-btn-secondary:active {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--primary-color);
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
    }
    
    /* Compact mobile contact email */
    .mobile-contact-email {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 18px;
        border-radius: 15px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9em;
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 212, 255, 0.3);
        background: rgba(0, 212, 255, 0.1);
        color: var(--primary-color);
        gap: 8px;
        margin-top: 0;
        min-height: 44px;
        box-sizing: border-box;
    }
    
    .mobile-contact-email .mobile-contact-icon {
        font-size: 1em;
        flex-shrink: 0;
        opacity: 0.9;
    }
    
    .mobile-contact-email .mobile-contact-text {
        flex: 1;
        text-align: center;
        font-size: 0.9em;
        word-break: break-all;
        line-height: 1.3;
        font-weight: 600;
    }
    
    .mobile-contact-email:hover,
    .mobile-contact-email:active {
        background: rgba(0, 212, 255, 0.2);
        border-color: var(--primary-color);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    }
    
    /* Header adjustments */
    .nav-container {
        padding: 15px 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
    }
    
    .logo span {
        font-size: 1.5em;
        background: var(--gradient-logo);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    /* Content adjustments */
    header {
        padding: 140px 20px 80px;
        width: 100%;
        overflow: hidden;
    }
    
    .header-content {
        width: 100%;
        max-width: 100%;
    }
    
    .header-content h1 {
        font-size: 2.8em;
        line-height: 1.2;
        margin-bottom: 20px;
        word-wrap: break-word;
    }
    
    .header-content p {
        font-size: 1.1em;
        padding: 0 10px;
        line-height: 1.6;
        word-wrap: break-word;
    }
    
    /* Header stats mobile layout */
    .header-stats {
        flex-direction: column;
        gap: 20px;
        margin: 30px 0;
        width: 100%;
    }
    
    .stat-item {
        padding: 15px 20px;
        margin: 0 20px;
        width: calc(100% - 40px);
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    /* Grid layouts */
    .why-choose-grid,
    .turnkey-process,
    .services-grid,
    .advantages-grid,
    .industries-grid,
    .support-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        width: 100%;
    }
    
    /* Case studies mobile layout */
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        width: 100%;
    }
    
    .case-study-card {
        padding: 25px 20px;
        margin: 0 10px;
        width: calc(100% - 20px);
        max-width: 100%;
    }
    
    .case-study-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .metric-value {
        font-size: 1.4em;
    }
    
    .case-study-challenge,
    .case-study-solution {
        margin: 12px 0;
        padding: 12px;
        font-size: 0.85em;
    }
    
    .case-studies-summary {
        padding: 25px 20px;
        margin: 40px 10px 0;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .summary-item {
        padding: 20px 15px;
    }
    
    .summary-number {
        font-size: 2.2em;
    }
    
    .tech-stack {
        justify-content: center;
        gap: 6px;
    }
    
    .tech-tag {
        font-size: 0.7em;
        padding: 5px 10px;
    }
    
    /* Card improvements */
    .why-card,
    .service-card,
    .advantage-card,
    .industry-card,
    .support-card {
        padding: 25px 20px;
        margin: 0 10px;
        width: calc(100% - 20px);
        max-width: 100%;
    }
    
    /* Specific why-card mobile improvements */
    .why-card {
        min-height: 480px;
        padding: 25px 20px;
    }
    
    .why-card .icon {
        font-size: 2.2em;
        margin: 0;
    }
    
    .why-card h3 {
        font-size: 1.1em;
        margin: 0;
        line-height: 1.2;
    }
    
    .challenge, .solution {
        padding: 10px 12px;
        font-size: 0.8em;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .key-benefits {
        gap: 6px;
        margin-top: 15px;
    }
    
    .benefit {
        padding: 5px 10px;
        font-size: 0.7em;
    }
    
    .advantage-badge {
        font-size: 0.6em;
        padding: 4px 6px;
        max-width: 80px;
        letter-spacing: 0.2px;
    }
    
    .advantage-header {
        gap: 8px;
        align-items: center;
    }
    
    /* Process steps mobile */
    .process-step {
        padding: 45px 25px 30px 25px;
        margin: 0 10px;
        width: calc(100% - 20px);
        max-width: 100%;
    }
    
    .step-number {
        top: -12px;
        left: 25px;
        width: 40px;
        height: 40px;
        font-size: 1.1em;
        border: 2px solid var(--bg-color);
    }
    
    .process-step h3 {
        margin: 12px 0;
        font-size: 1.2em;
        word-wrap: break-word;
    }
    
    /* Button adjustments */
    .header-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        width: 100%;
        align-items: center;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 1em;
        min-width: 200px;
        max-width: 300px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 25px;
        font-weight: 600;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .cta-buttons {
        gap: 20px;
        width: 100%;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        min-width: 280px;
        margin: 8px 0;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        /* Обеспечиваем одинаковую ширину для всех кнопок */
        flex: 0 0 280px;
    }
    
    /* CTA section */
    .cta-content {
        width: 100%;
        max-width: 100%;
    }
    
    .cta-content h2 {
        font-size: 2.5em;
        font-weight: 700;
        line-height: 1.2;
        word-wrap: break-word;
        /* Сохраняем градиентный стиль на мобильных */
        background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    }
    
    .cta-content p {
        font-size: 1.1em;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
        padding: 0 10px;
        word-wrap: break-word;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        width: 100%;
    }
    
    /* General section adjustments */
    section {
        padding: 80px 20px;
        width: 100%;
        overflow: hidden;
    }
    
    h2 {
        font-size: 2.5em;
        line-height: 1.2;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .section-subtitle {
        font-size: 1.1em;
        padding: 0 10px;
        line-height: 1.6;
        word-wrap: break-word;
    }
    
    .container {
        max-width: 100%;
        padding: 0 10px;
        width: 100%;
    }
    
    /* Touch-friendly improvements */
    .why-card,
    .service-card,
    .advantage-card,
    .industry-card,
    .support-card {
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .why-card:active,
    .service-card:active,
    .advantage-card:active,
    .industry-card:active,
    .support-card:active {
        transform: scale(0.98);
        background: rgba(0, 212, 255, 0.05);
    }
    
    /* Better button spacing for touch */
    .header-buttons .btn {
        margin: 6px 0;
        width: auto;
        max-width: 280px;
        min-width: 200px;
        padding: 10px 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
    

    
    /* Improved text readability */
    .why-card p,
    .service-card p,
    .advantage-card p,
    .industry-card p,
    .support-card p {
        line-height: 1.6;
        font-size: 0.95em;
    }
    
    /* Better spacing for feature tags */
    .step-features,
    .service-benefits {
        margin-top: 15px;
        gap: 8px;
    }
    
    .feature-tag,
    .benefit-item {
        margin: 4px 2px;
        font-size: 0.85em;
        line-height: 1.3;
    }
    
    /* Enhanced mobile navigation animations */
    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active .nav-links li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-links li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active .nav-links li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active .nav-links li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active .nav-links li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active .nav-links li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active .nav-links li:nth-child(7) { transition-delay: 0.4s; }
    
    /* Social links mobile */
    .social-links {
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
        flex-wrap: wrap;
    }
    
    .social-link {
        padding: 12px 16px !important;
        margin: 5px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        text-align: center !important;
        display: inline-block !important;
        text-decoration: none !important;
        /* Ensure consistent colors on mobile */
        color: var(--primary-color) !important;
        background: rgba(0, 212, 255, 0.1) !important;
        border: 1px solid rgba(0, 212, 255, 0.3) !important;
        min-width: 80px !important;
        min-height: 44px !important;
        line-height: 1.2 !important;
    }
    
    /* Mobile social link states */
    .social-link:hover,
    .social-link:focus {
        color: var(--secondary-color) !important;
        background: rgba(124, 58, 237, 0.15) !important;
        border-color: var(--secondary-color) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4) !important;
    }
    
    .social-link:active,
    .social-link.clicked {
        color: var(--secondary-color) !important;
        background: rgba(124, 58, 237, 0.25) !important;
        border-color: var(--secondary-color) !important;
        transform: translateY(-1px) scale(0.95) !important;
        box-shadow: 0 4px 15px rgba(124, 58, 237, 0.6) !important;
    }
    
    /* Force return to original state on mobile */
    .social-link.force-original,
    .social-link.force-original:hover,
    .social-link.force-original:focus,
    .social-link.force-original:active {
        color: var(--primary-color) !important;
        background: rgba(0, 212, 255, 0.1) !important;
        border-color: rgba(0, 212, 255, 0.3) !important;
        transform: none !important;
        box-shadow: none !important;
        transition: all 0.2s ease !important;
        pointer-events: none !important;
    }
    
    /* Additional mobile-specific hover reset */
    @media (hover: none) and (pointer: coarse) {
        .social-link.force-original {
            color: var(--primary-color) !important;
            background: rgba(0, 212, 255, 0.1) !important;
            border-color: rgba(0, 212, 255, 0.3) !important;
            transform: none !important;
            box-shadow: none !important;
            transition: none !important;
            pointer-events: none !important;
        }
        
        /* Prevent hover states from sticking on touch devices */
        .social-link:hover {
            color: var(--primary-color) !important;
            background: rgba(0, 212, 255, 0.1) !important;
            border-color: rgba(0, 212, 255, 0.3) !important;
            transform: none !important;
            box-shadow: none !important;
        }
    }
}

/* Small mobile devices (iPhone SE, small Androids) */
@media (max-width: 375px) {
    .nav-menu {
        width: min(240px, 60vw) !important;
        padding-top: 65px !important;
    }
    
    .nav-links a {
        font-size: 0.95em !important;
        padding: 12px 20px !important;
    }
    
    .mobile-btn {
        font-size: 0.8em !important;
        padding: 10px 14px !important;
        min-height: 40px !important;
    }
    
    .mobile-contact-email {
        font-size: 0.8em !important;
        padding: 10px 14px !important;
        min-height: 40px !important;
    }
    
    .mobile-contact-email .mobile-contact-text {
        font-size: 0.8em !important;
        font-weight: 600 !important;
    }
    
    /* Ultra compact for very small screens */
    .mobile-menu-actions {
        margin-top: 15px !important;
        gap: 8px !important;
    }
    
    .nav-links {
        padding: 10px 0 !important;
    }
    
    .nav-links li {
        margin: 2px 0 !important;
    }
}

/* Medium mobile devices (iPhone 6/7/8, standard Androids) */
@media (max-width: 480px) and (min-width: 376px) {
    .nav-menu {
        width: min(250px, 62vw) !important;
        padding-top: 68px !important;
    }
    
    .nav-links a {
        font-size: 1em !important;
        padding: 13px 25px !important;
    }
    
    .mobile-btn {
        font-size: 0.85em !important;
        padding: 11px 15px !important;
        min-height: 42px !important;
    }
    
    .mobile-contact-email {
        font-size: 0.85em !important;
        padding: 11px 16px !important;
        min-height: 42px !important;
    }
    
    .mobile-contact-email .mobile-contact-text {
        font-size: 0.85em !important;
        font-weight: 600 !important;
    }
}

/* Very short screens (iPhone SE landscape, small height) */
@media (max-height: 500px) and (max-width: 768px) {
    .nav-menu {
        padding-top: 50px !important;
        font-size: 0.9em !important;
    }
    
    .nav-links {
        padding: 5px 0 !important;
    }
    
    .nav-links a {
        padding: 8px 20px !important;
        font-size: 0.9em !important;
    }
    
    .mobile-menu-actions {
        margin-top: 10px !important;
        gap: 6px !important;
    }
    
    .mobile-btn {
        padding: 8px 12px !important;
        font-size: 0.75em !important;
        min-height: 36px !important;
    }
    
    .mobile-contact-email {
        padding: 6px 10px !important;
        font-size: 0.75em !important;
        min-height: 32px !important;
    }
    
    .mobile-contact-email .mobile-contact-text {
        font-size: 0.75em !important;
        font-weight: 600 !important;
        line-height: 1.1 !important;
    }
}

/* Large mobile devices (iPhone Plus, large Androids) */
@media (max-width: 768px) and (min-width: 481px) {
    .nav-menu {
        width: min(280px, 65vw) !important;
        padding-top: 70px !important;
    }
    
    .nav-links a {
        font-size: 1.1em !important;
        padding: 14px 30px !important;
    }
    
    .mobile-btn {
        font-size: 0.9em !important;
        padding: 12px 16px !important;
        min-height: 44px !important;
    }
    
    .mobile-contact-email {
        font-size: 0.9em !important;
        padding: 12px 18px !important;
        min-height: 44px !important;
    }
    
    .mobile-contact-email .mobile-contact-text {
        font-size: 0.9em !important;
        font-weight: 600 !important;
    }
}

/* iPhone specific optimizations - all models */
@media (max-width: 414px) and (-webkit-min-device-pixel-ratio: 2) {
    .nav-menu {
        width: min(240px, 58vw) !important;
        padding-top: 55px !important;
    }
    
    .nav-links {
        padding: 5px 0 !important;
    }
    
    .nav-links a {
        padding: 9px 15px !important;
        font-size: 0.85em !important;
    }
    
    .mobile-menu-actions {
        margin-top: 10px !important;
        padding: 8px 10px 10px 10px !important;
        gap: 7px !important;
        max-height: calc(100vh - 200px) !important;
    }
    
    .mobile-btn {
        padding: 8px 10px !important;
        font-size: 0.75em !important;
        min-height: 34px !important;
        gap: 6px !important;
    }
    
    .mobile-contact-email {
        padding: 8px 10px !important;
        font-size: 0.75em !important;
        min-height: 32px !important;
        margin-top: 0 !important;
    }
    
    .mobile-contact-email .mobile-contact-text {
        font-size: 0.75em !important;
        line-height: 1.1 !important;
        font-weight: 600 !important;
    }
    
    .mobile-btn-icon {
        font-size: 0.9em !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 12px 15px;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
    
    .logo span {
        font-size: 1.3em;
        background: var(--gradient-logo);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    /* Header */
    .header-content h1 {
        font-size: 2.2em;
        line-height: 1.1;
        margin-bottom: 15px;
    }
    
    .header-content p {
        font-size: 1em;
        padding: 0 5px;
    }
    
    /* Header stats */
    .header-stats {
        margin: 25px 0;
        gap: 15px;
    }
    
    .stat-item {
        padding: 12px 15px;
        margin: 0 10px;
    }
    
    .stat-number {
        font-size: 1.8em;
    }
    
    .stat-label {
        font-size: 0.9em;
    }
    
    /* Cards and content */
    .process-step,
    .service-card,
    .advantage-card,
    .industry-card,
    .support-card,
    .why-card {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .process-step {
        padding: 35px 15px 20px 15px;
    }
    
    .step-number {
        top: -10px;
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
    
    .process-step h3 {
        margin: 8px 0;
        font-size: 1.1em;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 14px;
        font-size: 0.9em;
        min-width: 200px;
        max-width: 280px;
        min-height: 44px;
    }
    
    .header-buttons .btn,
    .cta-buttons .btn {
        width: auto;
        max-width: 280px;
        min-width: 200px;
        margin: 6px 0;
        padding: 10px 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        flex: 0 0 auto;
    }
    

    
    /* CTA section */
    .cta-content h2 {
        font-size: 2em;
        line-height: 1.1;
    }
    
    .cta-content p {
        font-size: 1em;
        padding: 0 5px;
    }
    
    /* Typography */
    h2 {
        font-size: 2em;
        line-height: 1.1;
    }
    
    h3 {
        font-size: 1.3em;
        line-height: 1.2;
    }
    
    /* Navigation links */
    .nav-links a {
        font-size: 1em;
        padding: 12px 25px;
    }
    
    /* Sections */
    section {
        padding: 60px 15px;
    }
    
    .container {
        padding: 0 5px;
    }
    
    /* Feature tags and benefits */
    .feature-tag,
    .benefit-item,
    .support-tag {
        font-size: 0.85em;
        padding: 6px 12px;
        margin: 3px;
    }
    
    /* Industry highlights and other small elements */
    .industry-highlight,
    .card-highlight,
    .advantage-badge {
        font-size: 0.8em;
        padding: 4px 8px;
    }
    
    /* Better text hierarchy */
    .section-subtitle {
        font-size: 1em;
        margin-bottom: 25px;
        line-height: 1.5;
    }
    
    /* Improved card content spacing */
    .why-card h3,
    .service-card h3,
    .advantage-card h3,
    .industry-card h3,
    .support-card h3 {
        margin-bottom: 10px;
        font-size: 1.2em;
        line-height: 1.3;
    }
    
    /* Better icon sizing */
    .why-card .icon,
    .service-icon,
    .industry-icon {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    
    /* Enhanced process step layout */
    .process-step {
        text-align: center;
        position: relative;
    }
    
    .step-number {
        position: relative;
        top: auto;
        left: auto;
        margin: 0 auto 15px;
        display: block;
    }
    
    /* Better footer layout */
    .footer-content {
        gap: 30px;
        padding: 0 10px;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    .footer-section h4 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    /* Improved social links */
    .social-links {
        justify-content: center;
        gap: 12px;
        margin-top: 15px;
    }
    
    .social-link {
        padding: 8px 12px;
        font-size: 0.85em;
        min-width: 70px;
    }
}

.glow-primary {
    box-shadow: var(--glow-primary);
}

.glow-secondary {
    box-shadow: var(--glow-secondary);
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

/* Header Stats */
.header-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.6s both;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.header-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Enhanced Why Cards */
.card-highlight {
    margin-top: 15px;
    padding: 8px 15px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.why-card:hover .card-highlight {
    opacity: 1;
    transform: translateY(0);
}

/* Process Step Features */
.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-tag {
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(96, 165, 250, 0.1) 100%);
    color: #bfdbfe;
    border-radius: 18px;
    font-size: 0.85em;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-tag::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.6s ease;
}

.feature-tag:hover::before {
    left: 100%;
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(96, 165, 250, 0.2) 100%);
    color: #dbeafe;
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    border-color: var(--info-color);
}

/* Service Benefits */
.service-benefits {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.benefit-item {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.service-card:hover .benefit-item {
    color: var(--text-color);
}

/* Enhanced Advantage Cards */
.advantage-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    position: relative;
}

.advantage-badge {
    padding: 6px 10px;
    background: var(--gradient-accent);
    color: #fff;
    border-radius: 10px;
    font-size: 0.65em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    align-self: flex-start;
    margin-left: auto;
}

.challenge-solution {
    margin-bottom: 20px;
    flex-grow: 1;
}

.challenge, .solution {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 0.85em;
    line-height: 1.3;
    text-align: left;
}

.challenge {
    background: rgba(255, 107, 107, 0.12);
    border-left: 4px solid var(--accent-color);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.solution {
    background: rgba(16, 185, 129, 0.12);
    border-left: 4px solid var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.key-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
}

.benefit {
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: #bfdbfe;
    border-radius: 16px;
    font-size: 0.75em;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.benefit::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.6s ease;
}

.benefit:hover::before {
    left: 100%;
}

.benefit:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(59, 130, 246, 0.2) 100%);
    color: #dbeafe;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    border-color: var(--primary-color);
}

/* Industry Highlights */
.industry-highlight {
    margin-top: auto;
    padding: 15px 18px;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    font-size: 0.8em;
    color: #ffffff;
    font-weight: 500;
    border-left: 4px solid var(--primary-color);
    line-height: 1.4;
    text-align: center;
}

/* Support Features */
.support-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

.support-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.support-tag {
    padding: 7px 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.1) 100%);
    color: #a7f3d0;
    border-radius: 18px;
    font-size: 0.8em;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.support-tag::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.6s ease;
}

.support-tag:hover::before {
    left: 100%;
}

.support-tag:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(52, 211, 153, 0.2) 100%);
    color: #d1fae5;
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    border-color: var(--success-color);
}

/* CTA Stats */
.cta-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cta-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.cta-stat .stat-number {
    display: block;
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.cta-stat .stat-text {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Enhanced Footer */
.footer-social {
    margin-top: 20px;
}

.footer-social span {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9em;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-left: 0;
    padding-left: 0;
    justify-content: flex-start;
}

/* Desktop-specific alignment for social links */
@media (min-width: 769px) {
    .footer-section .footer-social {
        text-align: left;
        margin-left: 0;
        padding-left: 0;
        position: relative;
    }
    
    .footer-section .footer-social span {
        text-align: left;
        margin-left: 0;
        padding-left: 0;
        display: block;
    }
    
    .footer-section .social-links {
        justify-content: flex-start;
        align-items: flex-start;
        margin-left: 0 !important;
        padding-left: 0 !important;
        text-align: left;
        position: relative;
        left: 0 !important;
        transform: translateX(0) !important;
    }
    
    .footer-section .social-link {
        margin-left: 0 !important;
        margin-right: 5px !important;
        text-align: left;
        position: relative;
        left: 0 !important;
        transform: translateX(0) !important;
    }
    
    .footer-section .social-link:first-child {
        margin-left: 0 !important;
        left: 0 !important;
    }
    
    .footer-section .social-link:last-child {
        margin-right: 0 !important;
    }
}

.social-link {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.1);
    font-size: 0.9em;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 212, 255, 0.3);
    cursor: pointer;
    display: inline-block;
    margin: 0;
}

/* Reset all states to primary color first */
.social-link,
.social-link:link,
.social-link:visited {
    color: var(--primary-color) !important;
    background: rgba(0, 212, 255, 0.1) !important;
    border-color: rgba(0, 212, 255, 0.3) !important;
}

/* Hover and focus states */
.social-link:hover,
.social-link:focus {
    color: var(--secondary-color) !important;
    text-decoration: none !important;
    transform: translateY(-3px);
    background: rgba(124, 58, 237, 0.15) !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4) !important;
}

/* Active/click state with animation */
.social-link:active {
    color: var(--secondary-color) !important;
    transform: translateY(-1px) scale(0.95) !important;
    background: rgba(124, 58, 237, 0.25) !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.6) !important;
    transition: all 0.1s ease !important;
}

/* Add click animation */
@keyframes socialClickPulse {
    0% {
        transform: translateY(-1px) scale(0.95);
        box-shadow: 0 4px 15px rgba(124, 58, 237, 0.6);
    }
    50% {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 8px 25px rgba(124, 58, 237, 0.8);
    }
    100% {
        transform: translateY(-3px) scale(1);
        box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    }
}

.social-link.clicked {
    animation: socialClickPulse 0.3s ease;
}

/* Remove any overlays that might block clicks */
.btn::before,
.btn::after {
    pointer-events: none !important;
}

/* Ensure buttons are above other elements */
.header-buttons {
    position: relative;
    z-index: 200 !important;
}

.cta-buttons {
    position: relative;
    z-index: 200 !important;
}

.footer-social {
    position: relative;
    z-index: 200 !important;
}

/* Mobile-specific button fixes */
@media (max-width: 768px) {
    /* Ensure all buttons are clickable on mobile */
    .btn, .social-link {
        -webkit-tap-highlight-color: rgba(0, 212, 255, 0.3) !important;
        tap-highlight-color: rgba(0, 212, 255, 0.3) !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        -khtml-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        touch-action: manipulation !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 999 !important;
        display: inline-block !important;
        min-height: 48px !important;
        min-width: 48px !important;
    }
    
    /* CRITICAL: Remove any blocking pseudo-elements */
    .btn::before,
    .btn::after,
    .social-link::before,
    .social-link::after,
    .header-buttons::before,
    .header-buttons::after,
    .cta-buttons::before,
    .cta-buttons::after {
        pointer-events: none !important;
        touch-action: none !important;
        z-index: -1 !important;
    }
    
    /* Ensure button containers don't block clicks */
    .header-buttons,
    .cta-buttons,
    .footer-social,
    .social-links {
        pointer-events: auto !important;
        position: relative !important;
        z-index: 998 !important;
    }
    
    /* Remove any potential overlays */
    .mobile-menu-overlay {
        pointer-events: none !important;
    }
    
    .mobile-menu-overlay.active {
        pointer-events: auto !important;
    }
    
    /* Ensure no global elements block clicks */
    body, html {
        pointer-events: auto !important;
    }
    
    /* Remove tap highlights globally except for buttons */
    * {
        -webkit-tap-highlight-color: transparent !important;
    }
    
    /* But keep them for buttons */
    .btn, .social-link, a[href] {
        -webkit-tap-highlight-color: rgba(0, 212, 255, 0.3) !important;
    }
    
    .btn:active,
    .social-link:active {
        background-color: rgba(0, 212, 255, 0.2) !important;
        transform: scale(0.95) !important;
    }
    
    /* Specific mobile button styling */
    .btn {
        padding: 15px 25px !important;
        border-radius: 25px !important;
        font-size: 16px !important; /* Prevent zoom on iOS */
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        /* Ensure clickability */
        display: inline-block !important;
        text-decoration: none !important;
    }
    
    /* Mobile btn-secondary improvements */
    .btn-secondary {
        background: rgba(255, 255, 255, 0.15) !important;
        color: #fff !important;
        border: 2px solid rgba(255, 255, 255, 0.6) !important;
    }
    
    .btn-secondary:hover,
    .btn-secondary:active {
        background: rgba(255, 255, 255, 0.25) !important;
        border-color: #fff !important;
        color: #fff !important;
    }
    
    /* Mobile btn-primary improvements */
    .btn-primary {
        background: var(--gradient-logo) !important;
        color: #fff !important;
        border: 2px solid var(--btn-primary-border) !important;
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
        font-weight: 600 !important;
    }
    
    .btn-primary:hover,
    .btn-primary:active {
        background: var(--gradient-logo-alt) !important;
        border-color: var(--btn-primary-border-hover) !important;
        color: #fff !important;
        box-shadow: 0 6px 20px rgba(5, 150, 105, 0.6) !important;
    }
    
    /* Social links mobile fixes */
    .social-link {
        padding: 12px 16px !important;
        margin: 5px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        text-align: center !important;
        display: inline-block !important;
        text-decoration: none !important;
        /* Ensure consistent colors on mobile */
        color: var(--primary-color) !important;
        background: rgba(0, 212, 255, 0.1) !important;
        border: 1px solid rgba(0, 212, 255, 0.3) !important;
        min-width: 80px !important;
        min-height: 44px !important;
        line-height: 1.2 !important;
    }
    
    /* Mobile social link states */
    .social-link:hover,
    .social-link:focus {
        color: var(--secondary-color) !important;
        background: rgba(124, 58, 237, 0.15) !important;
        border-color: var(--secondary-color) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4) !important;
    }
    
    .social-link:active,
    .social-link.clicked {
        color: var(--secondary-color) !important;
        background: rgba(124, 58, 237, 0.25) !important;
        border-color: var(--secondary-color) !important;
        transform: translateY(-1px) scale(0.95) !important;
        box-shadow: 0 4px 15px rgba(124, 58, 237, 0.6) !important;
    }
    
    /* Force return to original state on mobile */
    .social-link.force-original,
    .social-link.force-original:hover,
    .social-link.force-original:focus,
    .social-link.force-original:active {
        color: var(--primary-color) !important;
        background: rgba(0, 212, 255, 0.1) !important;
        border-color: rgba(0, 212, 255, 0.3) !important;
        transform: none !important;
        box-shadow: none !important;
        transition: all 0.2s ease !important;
        pointer-events: none !important;
    }
    
    /* Ensure navigation links work */
    .nav-links a {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        display: block !important;
        text-decoration: none !important;
    }
}

.contact-info {
    margin-top: 15px;
}

.contact-info p {
    margin: 5px 0;
    font-size: 0.85em;
    color: var(--text-muted);
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Ensure navigation links work */
.nav-links a {
    pointer-events: auto !important;
    touch-action: manipulation !important;
    display: block !important;
    text-decoration: none !important;
}

/* Mobile social links improvements */
.social-links {
    justify-content: center !important;
    gap: 15px !important;
    margin-top: 15px !important;
}

/* Remove any unwanted underlines and effects on mobile */
.social-link:hover, 
.social-link:focus, 
.social-link:active, 
.social-link:visited {
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3) !important;
}

/* Enhanced btn-secondary for header section */
header .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

header .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Remove underlines from all links */
a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none !important;
    outline: none !important;
}

/* Specific button link styling */
.btn, .btn:hover, .btn:focus, .btn:active, .btn:visited {
    text-decoration: none !important;
    outline: none !important;
}

/* Remove purple visited link color globally */
a:visited {
    color: inherit !important;
}

.btn:visited {
    color: inherit !important;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .header-stats {
        gap: 20px;
    }
    
    .stat-item {
        padding: 15px;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .cta-stats {
        gap: 20px;
    }
    
    .cta-stat {
        padding: 15px;
        min-width: 120px;
    }
    
    .cta-stat .stat-number {
        font-size: 1.8em;
    }
    
    .advantage-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .advantage-badge {
        font-size: 0.6em;
        padding: 4px 8px;
        max-width: 85px;
        letter-spacing: 0.2px;
        flex-shrink: 0;
    }
    
    .key-benefits {
        justify-content: center;
    }
    
    .step-features,
    .support-features {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    .cta-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-stat {
        width: 100%;
        max-width: 200px;
    }
    
    .challenge, .solution {
        padding: 12px;
        font-size: 0.85em;
    }
    
    .key-benefits {
        gap: 8px;
        justify-content: center;
    }
    
    .benefit {
        font-size: 0.75em;
        padding: 6px 12px;
    }
    
    .feature-tag,
    .support-tag {
        font-size: 0.8em;
        padding: 7px 14px;
    }
    
    .advantage-header {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .why-card .icon {
        font-size: 2em;
    }
    
    .why-card h3 {
        font-size: 1em;
        line-height: 1.2;
    }
    
    .why-card {
        min-height: 450px;
        padding: 20px 15px;
    }
    
    .advantage-badge {
        font-size: 0.55em;
        padding: 3px 6px;
        max-width: 75px;
        letter-spacing: 0.1px;
    }
}

/* Touch states for mobile */
.btn.touch-active,
.social-link.touch-active {
    transform: scale(0.95);
    opacity: 0.8;
}

.btn:active,
.social-link:active {
    transform: scale(0.95);
    opacity: 0.8;
}

/* CRITICAL: Ensure button clickability */
.btn, .social-link, a {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 100 !important;
}

/* Force return to original turquoise state */
.social-link.force-original,
.social-link.force-original:hover,
.social-link.force-original:focus {
    color: var(--primary-color) !important;
    background: rgba(0, 212, 255, 0.1) !important;
    border-color: rgba(0, 212, 255, 0.3) !important;
    transform: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

/* Simplified force-original that overrides all states */
.social-link.force-original {
    color: var(--primary-color) !important;
    background: rgba(0, 212, 255, 0.1) !important;
    border-color: rgba(0, 212, 255, 0.3) !important;
    transform: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    pointer-events: none !important;
}

/* Desktop specific force-original styles with higher specificity */
@media (min-width: 769px) {
    .social-link.force-original,
    .social-link.force-original:hover,
    .social-link.force-original:focus,
    .social-link.force-original:active {
        color: var(--primary-color) !important;
        background: rgba(0, 212, 255, 0.1) !important;
        border-color: rgba(0, 212, 255, 0.3) !important;
        transform: none !important;
        box-shadow: none !important;
        transition: all 0.2s ease !important;
        pointer-events: none !important;
    }
    
    /* Remove the duplicate desktop styles to avoid conflicts */
}

/* Special handling for "Start Your Project" button on mobile */
@media (max-width: 768px) {
    .btn-primary[href*="project-form.html"],
    .btn[href*="project-form.html"] {
        /* Same sizing as other buttons */
        width: auto !important;
        max-width: 280px !important;
        min-width: 200px !important;
        margin: 6px 0 !important;
        padding: 10px 14px !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        
        /* Ensure maximum clickability */
        display: block !important;
        text-decoration: none !important;
        cursor: pointer !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        outline: none !important;
        
        /* Prevent any interference */
        position: relative !important;
        z-index: 9999 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        
        /* Visual feedback */
        -webkit-tap-highlight-color: rgba(255, 165, 0, 0.5) !important;
        
        /* Text styling */
        font-size: 1em !important;
        font-weight: 600 !important;
        text-align: center !important;
        box-sizing: border-box !important;
        
        /* Prevent text selection */
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        user-select: none !important;
    }
    
    .btn-primary[href*="project-form.html"]:active,
    .btn[href*="project-form.html"]:active {
        transform: scale(0.98) !important;
        background: var(--gradient-logo-alt) !important;
    }
}

/* Ensure all page navigation links work on mobile */
@media (max-width: 768px) {
    a[href$=".html"]:not([href^="#"]) {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(255, 165, 0, 0.3) !important;
        position: relative !important;
        z-index: 1000 !important;
    }
}



/* Industry Tech Tags */
.industry-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    justify-content: center;
}

.tech-tag {
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(96, 165, 250, 0.1) 100%);
    color: #bfdbfe;
    border-radius: 15px;
    font-size: 0.75em;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tech-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(96, 165, 250, 0.2) 100%);
    color: #dbeafe;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Case Studies Section */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.case-study-card {
    background: var(--gradient-card);
    padding: 30px 25px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px var(--shadow-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

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

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

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow-color), var(--glow-primary);
    border-color: var(--primary-color);
}

.case-study-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.case-study-industry {
    color: var(--primary-color);
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 5px;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
    padding: 20px 15px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.metric {
    text-align: center;
    padding: 8px;
}

.metric-value {
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.metric-label {
    font-size: 0.8em;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-challenge,
.case-study-solution {
    margin: 12px 0;
    padding: 12px;
    font-size: 0.85em;
}

.case-study-challenge {
    background: rgba(255, 107, 107, 0.1);
    border-left: 3px solid var(--accent-color);
    color: var(--text-muted);
}

.case-study-solution {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success-color);
    color: var(--text-muted);
}

.case-study-challenge strong,
.case-study-solution strong {
    color: var(--text-color);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
}

.tech-tag {
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(96, 165, 250, 0.1) 100%);
    color: #bfdbfe;
    border-radius: 15px;
    font-size: 0.75em;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tech-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(96, 165, 250, 0.2) 100%);
    color: #dbeafe;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Case Studies Summary */
.case-studies-summary {
    margin-top: 60px;
    padding: 40px;
    background: var(--gradient-card);
    border-radius: 20px;
    border: 1px solid var(--card-border);
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow-color);
}

.case-studies-summary h3 {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 1.8em;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.summary-item {
    text-align: center;
    padding: 25px 15px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.summary-number {
    display: block;
    font-size: 2.2em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.summary-label {
    font-size: 1em;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.2;
}

.summary-detail {
    font-size: 0.8em;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.3;
}

    /* Case studies for small screens */
    .case-study-card {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .case-study-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px 10px;
    }
    
    .metric-value {
        font-size: 1.4em;
    }
    
    .metric-label {
        font-size: 0.75em;
    }
    
    .case-study-challenge,
    .case-study-solution {
        margin: 10px 0;
        padding: 10px;
        font-size: 0.8em;
    }

.case-studies-summary {
    padding: 20px 15px;
    margin: 30px 5px 0;
}

.case-studies-summary h3 {
    font-size: 1.5em;
}

.summary-item {
    padding: 15px 10px;
}

.summary-number {
    font-size: 1.8em;
}

.summary-label {
    font-size: 0.9em;
}

.summary-detail {
    font-size: 0.75em;
}

.tech-tag {
    font-size: 0.65em;
    padding: 4px 8px;
}

/* FAQ Section Styles */
#faq {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.faq-item {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
  padding: 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question h3 {
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  padding-right: 20px;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3498db;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ecf0f1;
  transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: #3498db;
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f8f9fa;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 25px;
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.faq-answer strong {
  color: #2c3e50;
  font-weight: 600;
}

/* CTA Guarantee Styles */
.cta-guarantee {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-align: center;
}

.cta-guarantee p {
  margin: 0;
  color: #ffffff;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .faq-question {
    padding: 20px;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
    padding-right: 15px;
  }
  
  .faq-answer p {
    padding: 20px;
    font-size: 0.95rem;
  }
  
  .faq-toggle {
    width: 25px;
    height: 25px;
    font-size: 1.3rem;
  }
}

/* FAQ Interactive JavaScript will be added inline */

/* Capability Note Styles */
.capability-note {
  max-width: 800px;
  margin: 20px auto 40px;
  text-align: center;
  padding: 15px 25px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #3498db;
}

.capability-note p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.capability-note em {
  color: #555;
}

/* Client Testimonials Styles */
.client-testimonials {
  margin: 50px 0;
  text-align: center;
}

.client-testimonials h3 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #3498db;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-text::before {
  content: '"';
  font-size: 2rem;
  color: #3498db;
  line-height: 0;
}

.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: #3498db;
  line-height: 0;
}

.testimonial-author {
  text-align: left;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.testimonial-author strong {
  color: #2c3e50;
  font-size: 1.1rem;
}

.testimonial-author span {
  color: #666;
  font-size: 0.9rem;
}

/* Trusted By Styles */
.trusted-by {
  margin: 50px 0;
  text-align: center;
  padding: 40px 0;
  background: #f8f9fa;
  border-radius: 15px;
}

.trusted-by h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 600;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.client-logo {
  background: white;
  padding: 15px 20px;
  border-radius: 10px;
  color: #555;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  color: #3498db;
}

/* Mobile Responsive */
/* Mobile responsive for industries */
@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .industry-card {
    min-height: 380px;
  }

  .industry-media {
    height: 180px;
  }

  .industry-content {
    padding: 25px 20px;
  }
  
  .industry-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
  }
  
  .industry-card h3 {
    font-size: 1.25em;
    margin-bottom: 12px;
  }
  
  .industry-card > p,
  .industry-content > p {
    font-size: 0.9em;
    line-height: 1.4;
  }
  
  .industry-highlight {
    padding: 12px 15px;
    font-size: 0.75em;
  }

  .industry-card.no-media .industry-icon {
    font-size: 2.8em;
    margin-bottom: 20px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-card {
    padding: 25px;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .client-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .client-logo {
    padding: 12px 15px;
    font-size: 0.8rem;
  }
  
  .client-testimonials h3,
  .trusted-by h3 {
    font-size: 1.5rem;
  }
}
  
/* Modern Why Choose Cards */
.why-card.modern {
    background: var(--gradient-card);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    max-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.why-card.modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px var(--shadow-color), var(--glow-primary);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.card-content {
    flex-grow: 1;
    text-align: center;
}

.card-content h3 {
    color: var(--text-color);
    margin: 0 0 12px 0;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.3;
}

.card-content p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.9em;
    margin: 0;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.card-badge.freedom {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.card-badge.precision {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.card-badge.speed {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
}

.card-badge.seamless {
    background: linear-gradient(135deg, #48cae4 0%, #023047 100%);
}

/* Mobile responsiveness for modern cards */
@media (max-width: 768px) {
    .why-card.modern {
        min-height: 180px;
        max-height: 220px;
        padding: 20px;
    }
    
    .card-icon {
        font-size: 2.2em;
        margin-bottom: 12px;
    }
    
    .card-content h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
    }
    
    .card-content p {
        font-size: 0.85em;
    }
    
    .card-badge {
        top: 12px;
        right: 12px;
        padding: 3px 8px;
        font-size: 0.65em;
    }
}

@media (max-width: 480px) {
    .why-card.modern {
        min-height: 160px;
        max-height: 200px;
        padding: 18px;
    }
    
    .card-icon {
        font-size: 2em;
        margin-bottom: 10px;
    }
    
    .card-content h3 {
        font-size: 1em;
        margin-bottom: 8px;
    }
    
    .card-content p {
        font-size: 0.8em;
        line-height: 1.4;
    }
}

/* Enhanced Case Study Cards */
.case-study-card.enhanced {
    background: var(--gradient-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px var(--shadow-color);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

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

.case-study-card.enhanced:hover::before {
    left: 100%;
}

.case-study-card.enhanced:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px var(--shadow-color), var(--glow-primary);
    border-color: var(--primary-color);
}

.case-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
}

.case-study-card.enhanced h3 {
    color: var(--text-color);
    margin: 0 0 25px 0;
    font-size: 1.4em;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.problem-section {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    border-left: 4px solid #ff6b6b;
}

.problem-label {
    color: #ff9999;
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border-left: 4px solid #10b981;
    flex-grow: 1;
}

.solution-label {
    color: #34d399;
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.problem-section p,
.solution-section p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9em;
    margin: 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: auto;
}

.result-item {
    text-align: center;
    padding: 15px 10px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.result-value {
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.result-label {
    font-size: 0.85em;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.2;
}

/* Custom slide-up animation */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

[data-aos="slide-up"] {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="slide-up"].aos-animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Mobile responsiveness for enhanced cards */
@media (max-width: 768px) {
    .case-study-card.enhanced {
        min-height: 400px;
        padding: 25px 20px;
    }
    
    .case-icon {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    
    .case-study-card.enhanced h3 {
        font-size: 1.2em;
        margin-bottom: 20px;
    }
    
    .problem-section,
    .solution-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .problem-label,
    .solution-label {
        font-size: 0.85em;
        margin-bottom: 8px;
    }
    
    .problem-section p,
    .solution-section p {
        font-size: 0.85em;
        line-height: 1.5;
    }
    
    .results-grid {
        gap: 12px;
    }
    
    .result-item {
        padding: 12px 8px;
    }
    
    .result-value {
        font-size: 1.5em;
    }
    
    .result-label {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .case-study-card.enhanced {
        min-height: 360px;
        padding: 20px 15px;
    }
    
    .case-icon {
        font-size: 2.2em;
        margin-bottom: 12px;
    }
    
    .case-study-card.enhanced h3 {
        font-size: 1.1em;
        margin-bottom: 15px;
    }
    
    .problem-section,
    .solution-section {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .result-item {
        padding: 10px;
    }
    
    .result-value {
        font-size: 1.3em;
    }
}
  