/* Optimized CSS for WealthWay Europe */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1e293b;
}

/* Dark theme styles */
body.dark-theme {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 25%, #16213e 50%, #0f1419 100%);
    color: #f8fafc;
}

/* Performance optimizations */

/* Theme Toggle Styles */
.theme-toggle {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 1000;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

body.dark-theme .theme-toggle-btn {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

body.dark-theme .theme-toggle-btn:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.theme-icon {
    font-size: 20px;
    transition: all 0.3s ease;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-theme .header {
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.logo {
    text-align: left;
    padding: 8px 0;
    position: relative;
    margin-left: 100px;
}

.logo-main {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: -18px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
}

.wealth {
    color: #1e293b;
    font-size: 1.6rem;
    font-weight: 800;
    text-shadow: 
        0 1px 0 #000,
        0 2px 0 #000,
        0 1px 1px rgba(0,0,0,.15);
    transition: all 0.3s ease;
    transform: perspective(500px) rotateX(3deg);
}

body.dark-theme .wealth {
    color: #ffffff;
}

.way {
    color: #3b82f6;
    font-size: 1.6rem;
    font-weight: 800;
    text-shadow: 
        0 1px 0 #1d4ed8,
        0 2px 0 #1d4ed8,
        0 1px 1px rgba(29, 78, 216, .15);
    transition: all 0.3s ease;
    transform: perspective(500px) rotateX(3deg);
}

.logo-europe {
    font-size: 1.6rem;
    font-weight: 800;
    color: #3b82f6;
    text-shadow: 
        0 1px 0 #1d4ed8,
        0 2px 0 #1d4ed8,
        0 1px 1px rgba(29, 78, 216, .15);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    margin-left: 40px;
    transform: perspective(500px) rotateX(3deg);
}

.logo-europe::after {
    display: none;
}

.logo-line {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: -6px;
    margin-left: 5px;
    gap: 8px;
}

.line {
    width: 75px;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
    box-shadow: 
        0 1px 1px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: perspective(500px) rotateX(3deg);
}

.dot {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle at 30% 30%, #60a5fa, #3b82f6, #1d4ed8);
    border-radius: 50%;
    box-shadow: 
        0 1px 1px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: perspective(500px) rotateX(3deg);
}

/* Hero Section */
.hero {
    padding: 120px 20px 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transition: all 0.3s ease;
    position: relative;
}

body.dark-theme .hero {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 25%, #16213e 50%, #0f1419 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    width: 100%;
}

.hero-text {
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateZ(20px) rotateX(5deg) rotateY(-5deg);
    max-width: 50%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(25px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    text-align: left;
}

.hero-title-line1 {
    color: #1e293b;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-theme .hero-title-line1 {
    color: #ffffff;
}

.hero-title-line2 {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}


.hero-description {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

body.dark-theme .hero-description {
    color: #e2e8f0;
}

.hero-button {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
    margin-top: 30px;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: slideFromBehind 7s linear forwards;
    will-change: transform;
}

.hero-laptop {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    filter: 
        drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3))
        drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2))
        contrast(1.1)
        brightness(1.05)
        saturate(1.1);
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform, filter;
}




body.dark-theme .hero-text {
    background: rgba(26, 26, 46, 0.1);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 15px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes slideFromBehind {
    0% {
        transform: translateX(-25%) rotate(0deg) scale(0.7) rotateX(0deg) rotateY(0deg) translateZ(0px);
        filter: 
            drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3))
            contrast(1.0)
            brightness(1.0)
            saturate(1.0);
    }
    30% {
        transform: translateX(28%) rotate(108deg) scale(1.1) rotateX(8deg) rotateY(15deg) translateZ(40px);
        filter: 
            drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6))
            contrast(1.2)
            brightness(1.1)
            saturate(1.2);
    }
    50% {
        transform: translateX(28%) rotate(120deg) scale(1.15) rotateX(5deg) rotateY(8deg) translateZ(60px);
        filter: 
            drop-shadow(0 35px 70px rgba(0, 0, 0, 0.7))
            contrast(1.25)
            brightness(1.15)
            saturate(1.25);
    }
    75% {
        transform: translateX(28%) rotate(120deg) scale(1.05) rotateX(3deg) rotateY(5deg) translateZ(50px);
        filter: 
            drop-shadow(0 30px 60px rgba(0, 0, 0, 0.65))
            contrast(1.2)
            brightness(1.1)
            saturate(1.2);
    }
    100% {
        transform: translateX(28%) rotate(120deg) scale(1.15) rotateX(5deg) rotateY(8deg) translateZ(60px);
        filter: 
            drop-shadow(0 35px 70px rgba(0, 0, 0, 0.7))
            contrast(1.25)
            brightness(1.15)
            saturate(1.25);
    }
}





/* Companies Section */
.companies {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.3s ease;
}

body.dark-theme .companies {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.companies-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    align-items: stretch;
}

.companies-header {
    text-align: center;
    margin-bottom: 60px;
}

.companies-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    line-height: 1.2;
}

body.dark-theme .companies-title {
    color: #ffffff;
}

.companies-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0;
    color: #64748b;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
    line-height: 1.5;
}

body.dark-theme .companies-description {
    color: #e2e8f0;
}

.company-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 50px 30px 60px 30px;
    text-align: center;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateZ(5px);
    will-change: transform;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 350px;
    max-width: 100%;
}

.company-card::after {
    content: "Перейти";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.company-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    margin-bottom: 25px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.revolut-bg {
    background-image: url('images/rev.png');
}

.amazon-bg {
    background-image: url('images/Am.png');
}

.tesla-bg {
    background-image: url('images/tes.png');
}

.meta-bg {
    background-image: url('images/met.png');
}

.apple-bg {
    background-image: url('images/ap.png');
}

.card-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-logo {
    margin: 20px 0;
}

.logo-img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

body.dark-theme .company-card {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.company-card:hover {
    transform: translateY(-10px) translateZ(15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.company-card:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

body.dark-theme .company-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

body.dark-theme .company-card::after {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.4);
}

.card-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
    transition: all 0.3s ease;
    line-height: 1.3;
}

body.dark-theme .card-main-title {
    color: #ffffff;
}

.card-subtitle-1 {
    font-size: 1rem;
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.card-subtitle-2 {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    transition: all 0.3s ease;
}

body.dark-theme .card-subtitle-2 {
    color: #e2e8f0;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.3s ease;
}

/* Explore Platforms Button Section */
.explore-platforms {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.3s ease;
}

body.dark-theme .explore-platforms {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.explore-platforms-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.explore-platforms-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.explore-platforms-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.explore-platforms-btn:active {
    transform: translateY(-1px);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: none;
}

.explore-platforms-btn:hover .btn-icon {
    transform: translateX(5px);
}

body.dark-theme .explore-platforms-btn {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 8px 30px rgba(29, 78, 216, 0.4);
}

body.dark-theme .explore-platforms-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    box-shadow: 0 15px 40px rgba(29, 78, 216, 0.5);
}

/* Accent Explore Platforms Button Section */
.accent-explore-platforms {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}

.accent-explore-platforms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
    animation: accentBackgroundShift 8s ease-in-out infinite;
}

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

body.dark-theme .accent-explore-platforms {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #3b82f6 100%);
}

.accent-explore-platforms-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.accent-button-wrapper {
    margin-bottom: 20px;
}

.accent-explore-platforms-btn {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    color: #1e40af;
    border: none;
    padding: 25px 50px;
    border-radius: 60px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 10px 30px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: accentButtonPulse 3s ease-in-out infinite;
}

@keyframes accentButtonPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.2),
            0 10px 30px rgba(59, 130, 246, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 
            0 25px 70px rgba(0, 0, 0, 0.25),
            0 15px 40px rgba(59, 130, 246, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.accent-explore-platforms-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.3),
        0 20px 50px rgba(59, 130, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    animation: none;
}

.accent-explore-platforms-btn:active {
    transform: translateY(-4px) scale(1.02);
}

.accent-btn-text {
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accent-btn-icon {
    position: relative;
    z-index: 3;
    font-size: 1.5rem;
    animation: accentIconBounce 2s ease-in-out infinite;
    display: none;
}

@keyframes accentIconBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

.accent-explore-platforms-btn:hover .accent-btn-icon {
    animation: accentIconHover 0.6s ease-in-out;
}

@keyframes accentIconHover {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(10deg) scale(1.1); }
    100% { transform: translateY(0) rotate(0deg); }
}

.accent-btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8, #8b5cf6);
    border-radius: 62px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: accentGlowRotate 3s linear infinite;
}

@keyframes accentGlowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.accent-explore-platforms-btn:hover .accent-btn-glow {
    opacity: 0.7;
}

.accent-button-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

body.dark-theme .accent-button-description {
    color: rgba(255, 255, 255, 0.95);
}

body.dark-theme .testimonials {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonials-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-theme .testimonials-title {
    color: #ffffff;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateZ(5px);
    will-change: transform;
}

body.dark-theme .testimonial-card {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.testimonial-card:hover {
    transform: translateY(-10px) translateZ(15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body.dark-theme .testimonial-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.testimonial-headline {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
    transition: all 0.3s ease;
}

body.dark-theme .testimonial-headline {
    color: #ffffff;
}

.testimonial-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    transition: all 0.3s ease;
}

body.dark-theme .testimonial-description {
    color: #e2e8f0;
}

/* FAQ Section */
.faq {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.3s ease;
}

body.dark-theme .faq {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-theme .faq-container {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.3), rgba(22, 33, 62, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    padding: 40px 20px;
    transition: all 0.3s ease;
}

.faq-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-theme .faq-title {
    color: #ffffff;
}

.faq-description {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: #64748b;
    transition: all 0.3s ease;
}

body.dark-theme .faq-description {
    color: #e2e8f0;
}

.faq-card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.2s ease, 
                box-shadow 0.2s ease,
                background 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    cursor: pointer;
}

body.dark-theme .faq-card {
    background: rgba(26, 26, 46, 0.95);
    border: none;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


body.dark-theme .faq-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.faq-question-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.faq-card:hover .faq-icon {
    transform: scale(1.05);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
    flex: 1;
}

.faq-card:hover .faq-question {
    color: #1d4ed8;
}

body.dark-theme .faq-question {
    color: #ffffff;
}

.faq-arrow {
    font-size: 1.5rem;
    color: #3b82f6;
    transition: transform 0.05s ease-out, 
                color 0.05s ease-out;
    cursor: pointer;
    padding: 8px;
}

.faq-card:hover .faq-arrow {
    color: #1d4ed8;
    transform: scale(1.05);
}

.faq-card.active .faq-arrow {
    transform: rotate(45deg) !important;
    color: #1d4ed8 !important;
    transition: transform 0.05s ease-out, 
                color 0.05s ease-out !important;
}

.faq-card.active {
    background: rgba(59, 130, 246, 0.05) !important;
    transition: transform 0.2s ease, 
                box-shadow 0.2s ease,
                background 0.05s ease-out !important;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.05s ease-out, 
                opacity 0.05s ease-out,
                padding 0.05s ease-out;
    opacity: 0;
    margin-top: 0;
    padding: 0;
}

.faq-card.active .faq-answer {
    max-height: 300px;
    margin-top: 20px;
    opacity: 1;
    padding: 15px 0;
    transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.5s ease-in-out 0.1s,
                padding 0.6s ease;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
}

body.dark-theme .faq-answer p {
    color: #e2e8f0;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.3s ease;
}

body.dark-theme .why-choose {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.why-choose-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    padding: 40px 20px;
    transition: all 0.3s ease;
}

.why-choose-container::before {
    display: none;
}

body.dark-theme .why-choose-container {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.3), rgba(22, 33, 62, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-choose-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-theme .why-choose-title {
    color: #ffffff;
}

.why-choose-description {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: #64748b;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

body.dark-theme .why-choose-description {
    color: #e2e8f0;
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 30px 0;
    position: relative;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    border-radius: 15px;
    padding: 30px 20px;
    margin-bottom: 20px;
}

.why-choose-item:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-choose-item::before {
    display: none;
}

.why-choose-item:hover::before {
    display: none;
}

body.dark-theme .why-choose-item::before {
    display: none;
}

body.dark-theme .why-choose-item:hover::before {
    display: none;
}

body.dark-theme .why-choose-item:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}


.why-choose-icon {
    margin-left: 0;
    flex-shrink: 0;
}

.icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.why-choose-item:hover .icon-img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.why-choose-content {
    text-align: left;
    flex: 1;
}

.why-choose-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
    transition: all 0.3s ease;
}

.why-choose-item:hover .why-choose-item-title {
    color: #1d4ed8;
    transform: translateX(5px);
}

body.dark-theme .why-choose-item-title {
    color: #ffffff;
}

.why-choose-item-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.why-choose-item:hover .why-choose-item-description {
    color: #475569;
    transform: translateX(5px);
}

body.dark-theme .why-choose-item-description {
    color: #e2e8f0;
}

/* Why Choose Text Block */
.why-choose-text-block {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.3s ease;
}

body.dark-theme .why-choose-text-block {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.why-choose-text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-choose-text-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1e293b;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

body.dark-theme .why-choose-text-title {
    color: #ffffff;
}

.why-choose-text-paragraph {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

body.dark-theme .why-choose-text-paragraph {
    color: #e2e8f0;
}

/* Footer */
.footer {
    padding: 60px 20px 30px;
    background: #1A202C;
    color: #e2e8f0;
}

body.dark-theme .footer {
    background: #1A202C;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo-text {
    margin-bottom: 20px;
}

.footer-wealth {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0;
}

.footer-europe {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-left: 20px;
    line-height: 1;
}

.footer-description {
    font-size: 1rem;
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #ffffff;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #a0aec0;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-icon {
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact.address .footer-icon {
    color: #e53e3e;
}

.footer-contact.email .footer-icon,
.footer-contact.phone .footer-icon {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
}

body.dark-theme .footer-wealth {
    color: #ffffff;
}

body.dark-theme .footer-europe {
    color: #60a5fa;
}

body.dark-theme .footer-title {
    color: #ffffff;
}

body.dark-theme .footer-contact {
    color: #e2e8f0;
}

body.dark-theme .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

body.dark-theme .footer-description {
    color: #e2e8f0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #3b82f6;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #a0aec0;
}

/* Highlight animation for smooth scroll */
.highlight-target {
    animation: highlight 2s ease-in-out;
}

@keyframes highlight {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(59, 130, 246, 0.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Mobile Responsive Design - Complete Overhaul */
@media (max-width: 768px) {
    /* Reset and base mobile styles */
    * {
        box-sizing: border-box;
    }
    
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Header improvements */
    .header {
        padding: 12px 16px;
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
    }
    
    .logo {
        padding: 0;
        text-align: left;
        margin: 0;
        flex: 1;
    }
    
    .logo-main {
        font-size: 1.3rem;
        justify-content: flex-start;
        margin-bottom: -15px;
    }
    
    .wealth, .way {
        font-size: 1.3rem;
        transform: none; /* Remove 3D effects on mobile */
    }
    
    .logo-europe {
        font-size: 1.1rem;
        margin-left: 20px;
        transform: none; /* Remove 3D effects on mobile */
    }
    
    .logo-line {
        justify-content: flex-start;
        margin-top: -4px;
        margin-left: 2px;
    }
    
    .line {
        width: 50px;
        height: 2px;
        transform: none; /* Remove 3D effects on mobile */
    }
    
    .dot {
        width: 4px;
        height: 4px;
        transform: none; /* Remove 3D effects on mobile */
    }
    
    .theme-toggle {
        font-size: 0.85rem;
        padding: 10px 16px;
        min-height: 44px;
        min-width: 44px;
        border-radius: 8px;
        position: static;
    }
    
    .theme-toggle-btn {
        width: 44px;
        height: 44px;
        position: static;
    }
    
    /* Hero section improvements */
    .hero {
        padding: 20px 16px 40px;
        min-height: 60vh;
        position: relative;
        overflow: hidden;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: left !important; /* Changed from center to left */
        position: relative;
        z-index: 2;
        padding-left: 60px !important; /* Increased left padding to move text more to the right */
    }
    
    .hero-text {
        position: relative;
        max-width: 100%;
        padding: 0;
        margin-bottom: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-title-line1 {
        display: block;
        font-size: 1.4rem;
        margin-bottom: 4px;
    }
    
    .hero-title-line2 {
        display: block;
        font-size: 1.8rem;
        font-weight: 800;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 12px;
        line-height: 1.4;
        color: #666;
    }
    
    .hero-button {
        font-size: 1rem;
        padding: 16px 32px;
        margin-top: 16px;
        min-height: 48px;
        border-radius: 8px;
        font-weight: 600;
        align-self: flex-start; /* Align button to the left (right side of screen) */
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        height: auto;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-laptop {
        display: none !important; /* Hide image on mobile */
    }
    
    /* Companies section improvements */
    .companies {
        padding: 32px 16px;
    }
    
    .companies-header {
        text-align: center;
        margin-bottom: 24px;
    }
    
    .companies-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .companies-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
        line-height: 1.4;
        color: #666;
    }
    
    .companies-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .company-card {
        padding: 20px 16px 60px;
        min-height: 180px;
        border-radius: 12px;
        position: relative;
    }
    
    .company-card::after {
        content: "ИССЛЕДОВАТЬ";
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
        color: white;
        padding: 12px 24px;
        border-radius: 25px;
        font-size: 0.85rem;
        font-weight: 700;
        opacity: 1;
        transition: all 0.3s ease;
        pointer-events: none;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: center;
        white-space: nowrap;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .card-main-title {
        font-size: 1.05rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .card-subtitle-1 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .card-subtitle-2 {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* Testimonials section improvements */
    .testimonials {
        padding: 32px 16px;
    }
    
    .testimonials-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .testimonials-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
        line-height: 1.4;
        color: #666;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .testimonial-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .testimonial-author {
        font-size: 0.85rem;
        font-weight: 600;
    }
    
    /* FAQ section improvements */
    .faq {
        padding: 32px 16px;
    }
    
    .faq-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .faq-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
        line-height: 1.4;
        color: #666;
    }
    
    .faq-container {
        gap: 12px;
    }
    
    .faq-card {
        padding: 20px;
        border-radius: 12px;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .faq-question {
        font-size: 0.95rem;
        margin: 0;
        flex: 1;
        line-height: 1.3;
    }
    
    .faq-answer {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 16px 0 0 0;
    }
    
    /* Why Choose Us section improvements */
    .why-choose-us {
        padding: 32px 16px;
    }
    
    .why-choose-us-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .why-choose-us-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
        line-height: 1.4;
        color: #666;
    }
    
    .why-choose-us-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-choose-us-item {
        padding: 20px;
        text-align: center;
        border-radius: 12px;
    }
    
    .why-choose-us-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 12px;
    }
    
    .why-choose-us-item h3 {
        font-size: 1.05rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .why-choose-us-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Footer improvements */
    .footer {
        padding: 24px 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-logo {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .footer-column h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .footer-column p,
    .footer-column div {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    /* Button improvements */
    .explore-platforms {
        padding: 32px 16px;
    }
    
    .explore-platforms-btn {
        padding: 16px 32px;
        font-size: 1rem;
        gap: 8px;
        min-height: 48px;
        border-radius: 8px;
    }
    
    .accent-explore-platforms {
        padding: 48px 16px;
    }
    
    .accent-explore-platforms-btn {
        padding: 18px 32px;
        font-size: 1.05rem;
        gap: 10px;
        min-height: 52px;
        border-radius: 8px;
    }
    
    .accent-button-description {
        font-size: 0.95rem;
    }
    
    /* Ensure no horizontal scroll */
    .container, .companies-container, .testimonials-container, 
    .faq-container, .why-choose-us-container {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Improve touch targets */
    button, .company-card-link, .faq-card {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better spacing for readability */
    section {
        margin-bottom: 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        margin-top: 0;
        margin-bottom: 12px;
    }
    
    p {
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .logo {
        padding: 4px 0;
        text-align: center;
        margin-left: 0;
    }
    
    .logo-main {
        font-size: 1.2rem;
        justify-content: center;
        margin-bottom: -18px;
    }
    
    .wealth, .way {
        font-size: 1.2rem;
        transform: perspective(300px) rotateX(1deg);
    }
    
    .logo-europe {
        font-size: 1.2rem;
        margin-left: 20px;
        transform: perspective(300px) rotateX(1deg);
    }
    
    .logo-line {
        justify-content: center;
        margin-top: -6px;
        margin-left: 3px;
    }
    
    .line {
        width: 45px;
        height: 2px;
        transform: perspective(300px) rotateX(1deg);
    }
    
    .dot {
        width: 4px;
        height: 4px;
        transform: perspective(300px) rotateX(1deg);
    }
    
    .hero {
        padding: 100px 15px 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .companies,
    .testimonials,
    .faq,
    .why-choose,
    .why-choose-text-block {
        padding: 60px 15px;
    }
    
    .companies-title,
    .testimonials-title,
    .faq-title,
    .why-choose-title {
        font-size: 2.2rem;
    }
    
    .companies-container,
    .testimonials-container,
    .why-choose-container {
        grid-template-columns: 1fr;
    }
    
    .company-card::after {
        font-size: 0.8rem;
        padding: 6px 16px;
        bottom: 8px;
    }
    
    .explore-platforms {
        padding: 40px 15px;
    }
    
    .explore-platforms-btn {
        padding: 15px 30px;
        font-size: 1rem;
        gap: 10px;
    }
    
    .accent-explore-platforms {
        padding: 60px 15px;
    }
    
    .accent-explore-platforms-btn {
        padding: 20px 35px;
        font-size: 1.1rem;
        gap: 12px;
    }
    
    .accent-button-description {
        font-size: 1rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .hero {
        padding: 16px 12px 32px;
        min-height: 50vh;
    }
    
    .hero-content {
        padding-left: 80px !important; /* Much more padding for smaller screens */
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-title-line1 {
        font-size: 1.2rem;
    }
    
    .hero-title-line2 {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-button {
        font-size: 0.9rem;
        padding: 14px 28px;
        min-height: 44px;
    }
    
    .hero-image {
        max-width: 240px;
    }
    
    .companies, .testimonials, .faq, .why-choose-us {
        padding: 24px 12px;
    }
    
    .companies-title, .testimonials-title, .faq-title, .why-choose-us-title {
        font-size: 1.4rem;
    }
    
    .company-card {
        padding: 16px 12px 50px;
        min-height: 160px;
    }
    
    .company-card::after {
        font-size: 0.8rem;
        padding: 10px 20px;
        bottom: 10px;
    }
    
    .card-main-title {
        font-size: 1rem;
    }
    
    .card-subtitle-1 {
        font-size: 0.9rem;
    }
    
    .card-subtitle-2 {
        font-size: 0.8rem;
    }
    
    .testimonial-card, .faq-card, .why-choose-us-item {
        padding: 16px;
    }
    
    .testimonial-text, .faq-question {
        font-size: 0.9rem;
    }
    
    .faq-answer {
        font-size: 0.85rem;
    }
    
    .why-choose-us-icon {
        width: 40px;
        height: 40px;
    }
    
    .why-choose-us-item h3 {
        font-size: 1rem;
    }
    
    .why-choose-us-item p {
        font-size: 0.85rem;
    }
    
    .footer {
        padding: 20px 12px;
    }
    
    .explore-platforms, .accent-explore-platforms {
        padding: 24px 12px;
    }
    
    .explore-platforms-btn, .accent-explore-platforms-btn {
        font-size: 0.9rem;
        padding: 14px 28px;
        min-height: 44px;
    }
    
    .accent-button-description {
        font-size: 0.9rem;
    }
}

/* Mobile Snake Animation Styles */
@media (max-width: 768px) {
    /* Reset global margins/padding to ensure clean (0,0) positioning */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Remove any margins/padding that could affect fixed positioning */
    .hero {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero-content {
        margin: 0 !important;
        padding-left: 60px !important; /* Override with our mobile padding */
    }
    
    /* Fixed animation layer - completely independent from page flow */
    .snake-animation-layer {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        outline: none !important;
        box-sizing: border-box !important;
        pointer-events: none !important;
        z-index: 1000 !important;
        /* No safe-area padding - image should start at true (0,0) */
    }
    
    /* Hero image - completely independent positioning */
    .hero-laptop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        outline: none !important;
        box-sizing: border-box !important;
        pointer-events: none !important;
        z-index: 1000 !important;
        transform: translate3d(0, 0, 0) !important;
        will-change: transform !important;
        /* Disable all external animations/transitions */
        transition: none !important;
        animation: none !important;
        /* Make sure it's visible for testing */
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Ensure no external styles affect the image */
    .hero-laptop * {
        transition: none !important;
        animation: none !important;
    }
}

