* {
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes neonGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(34, 211, 238, 0.5), 0 0 20px rgba(34, 211, 238, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(34, 211, 238, 0.8), 0 0 30px rgba(34, 211, 238, 0.5);
    }
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.splash-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.splash-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.6) 100%);
}

.splash-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.splash-logo-container {
    animation: slideUp 0.8s ease-out;
}

.splash-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.6));
}

.splash-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: slideUp 0.8s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.splash-title {
    font-size: clamp(2rem, 10vw, 4rem);
    font-weight: 900;
    color: white;
    letter-spacing: 0.05em;
    text-shadow: 0 0 30px rgba(34, 211, 238, 0.8), 0 0 60px rgba(34, 211, 238, 0.4);
}

.splash-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(34, 211, 238, 0.2);
    border-top-color: #22d3ee;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.splash-subtitle {
    font-size: clamp(0.875rem, 5vw, 1.125rem);
    color: #22d3ee;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.navbar {
    animation: slideDown 0.5s ease-out 1s both;
}

.content-fade {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideUp {
    animation: slideUp 0.6s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 100%;
    max-width: 80px;
    aspect-ratio: 1;
    border: 4px solid rgba(34, 211, 238, 0.15);
    border-top-color: #22d3ee;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    will-change: transform;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.simple-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.simple-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-dot {
    width: 8px;
    height: 8px;
    background: #22d3ee;
    border-radius: 50%;
    animation: dotBounce 1.4s infinite;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #22d3ee;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px #22d3ee;
}

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

.nav-link.active {
    color: #06b6d4;
}

.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 15px #22d3ee;
}

.language-toggle {
    position: relative;
}

.language-menu {
    right: 0;
    top: 100%;
}

.language-toggle:hover ~ .language-menu,
.language-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
}

.language-toggle:focus ~ .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
}

.language-item {
    white-space: nowrap;
    padding-left: calc(1rem + 4px);
    border-left-width: 0;
}

.language-item:hover {
    border-left-width: 2px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.logo-container:active {
    transform: scale(0.98);
}

.logo-img {
    width: auto;
    object-fit: contain;
}

.logo-text {
    background: linear-gradient(to right, #fff, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.025em;
    animation: neonGlow 2s ease-in-out infinite;
}

.footer-link {
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #06b6d4 !important;
    transform: translateX(4px);
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.mobile-menu {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle {
    will-change: background-color;
}

@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 640px) {
    .loader-spinner {
        max-width: 60px;
    }

    html {
        font-size: 14px;
    }

    .language-menu {
        right: -1rem;
        left: auto;
    }

    .splash-video {
        display: none;
    }

    .splash-screen {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.8), transparent);
    z-index: 1;
}

.hero-blur {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(34, 211, 238, 0.2);
    backdrop-filter: blur(12px);
    color: #67e8f9;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: 1px solid rgba(34, 211, 238, 0.5);
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
    animation: slideUp 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.hero-title-gradient {
    background: linear-gradient(to right, #22d3ee, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    color: #d1d5db;
    font-weight: 300;
    line-height: 1.6;
    max-width: 36rem;
    animation: slideUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: slideUp 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.btn-primary {
    background: #06b6d4;
    color: #111827;
    padding: 0.75rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 20px 50px rgba(34, 211, 238, 0.5);
}

.btn-primary:hover {
    background: #22d3ee;
    transform: scale(1.05);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    background: rgba(34, 211, 238, 0.1);
    backdrop-filter: blur(12px);
    color: #67e8f9;
    border: 2px solid rgba(34, 211, 238, 0.5);
    padding: 0.75rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(34, 211, 238, 0.2);
    transform: scale(1.05);
}

.btn-secondary:active {
    transform: scale(0.95);
}

.section-advantages {
    background: #111827;
    padding: 5rem 0;
    border-top: 1px solid rgba(34, 211, 238, 0.3);
}

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

.section-title {
    font-size: clamp(1.875rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #9ca3af;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    padding: 0 0.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

.advantage-card {
    background: #1f2937;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #374151;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: rgba(34, 211, 238, 0.5);
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 50px rgba(34, 211, 238, 0.1);
}

.advantage-icon {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.5);
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.advantage-text {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
}

.section-categories {
    background: #030712;
    padding: 5rem 0;
    border-top: 1px solid rgba(34, 211, 238, 0.3);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 90rem;
    margin: 0 auto;
}

.category-card {
    background: #1f2937;
    border: 1px solid #374151;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: rgba(34, 211, 238, 0.5);
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 50px rgba(34, 211, 238, 0.1);
}

.category-icon {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.5);
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.category-text {
    color: #9ca3af;
    font-size: 0.75rem;
}

.section-cta {
    background: linear-gradient(135deg, #111827, #1e293b, #030712);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(34, 211, 238, 0.3);
}

.cta-background {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.cta-background::before {
    content: '';
    position: absolute;
    transform: rotate(45deg);
    left: -5rem;
    top: -5rem;
    width: 10rem;
    height: 10rem;
    background: #06b6d4;
    border-radius: 50%;
    filter: blur(60px);
}

.cta-background::after {
    content: '';
    position: absolute;
    transform: rotate(-45deg);
    right: -5rem;
    bottom: -5rem;
    width: 15rem;
    height: 15rem;
    background: #06b6d4;
    border-radius: 50%;
    filter: blur(60px);
}

.cta-title {
    font-size: clamp(1.875rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: #9ca3af;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid #06b6d4;
    color: #22d3ee;
    padding: 0.75rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(34, 211, 238, 0.2);
    transform: scale(1.05);
}

.btn-outline:active {
    transform: scale(0.95);
}

.section-stats {
    background: #111827;
    padding: 5rem 0;
    border-top: 1px solid rgba(34, 211, 238, 0.3);
}

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

.stat-card {
    background: #1f2937;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #374151;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-0.5rem);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 20px 50px rgba(34, 211, 238, 0.1);
}

.stat-icon {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.5);
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #22d3ee;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: row;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        font-size: 1rem;
        padding: 0.875rem 3rem;
    }
}

@media (min-width: 768px) {
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 1rem 3.5rem;
    }
}

@media (max-width: 640px) {
    .hero-section {
        min-height: 500px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}