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

:root {
    --primary-bg: #3f4c55;
    --secondary-bg: #313c43;
    --accent-color: #FFFFFF;
    --neon-blue: #5A7A8A;
    --neon-purple: #6B7A8A;
    --neon-green: #5A8A7A;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D1;
    --text-dark: #0c1013;
    --gradient-primary: linear-gradient(135deg, #3f4c55, #313c43);
    --gradient-secondary: linear-gradient(135deg, #313c43, #0c1013);
    --gradient-bg: linear-gradient(135deg, #3f4c55 0%, #313c43 50%, #3f4c55 100%);
    --shadow-neon: 0 0 20px rgba(90, 122, 138, 0.5);
    --shadow-purple: 0 0 20px rgba(107, 122, 138, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--gradient-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.bg-effects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(90, 122, 138, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(107, 122, 138, 0.05) 0%, transparent 50%);
    animation: background-shift 20s ease-in-out infinite;
}

@keyframes background-shift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.snow-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Performance modes */
.reduced-motion .particles,
.reduced-motion .neon-glow,
.reduced-motion .service-icon,
.reduced-motion .snow-canvas {
    animation: none !important;
}

/* Mesmo em reduced-motion, manter rotação lenta do cubo */
.reduced-motion .hologram-cube {
    animation: rotate 90s linear infinite !important;
}

.no-blur .navbar,
.no-blur .stat-item,
.no-blur .contact-item,
.no-blur .service-card,
.no-blur .form-group input,
.no-blur .form-group textarea,
.no-blur .cube-face,
.no-blur .auth-card {
    backdrop-filter: none !important;
}

/* GPU acceleration for better performance */
.hologram-cube,
.service-card,
.navbar,
.auth-card {
    transform: translateZ(0);
    will-change: transform;
}

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

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(90, 122, 138, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(107, 122, 138, 0.2), transparent);
    background-repeat: repeat;
    background-size: 300px 300px; /* Larger size for fewer particles */
    animation: particles-move 30s linear infinite, particles-glow 10s ease-in-out infinite;
}

@keyframes particles-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-300px, -300px); }
}

@keyframes particles-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}


.neon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(0, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(90, 122, 138, 0.04) 0%, transparent 50%);
    animation: neon-pulse 8s ease-in-out infinite, neon-shift 16s ease-in-out infinite;
}

@keyframes neon-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes neon-shift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(90deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(12, 16, 19, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(90, 122, 138, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(90, 122, 138, 0.8)); }
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 900;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Nav Auth Styles */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(90, 122, 138, 0.3);
}

.auth-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-link.login {
    background: transparent;
    border: 1px solid rgba(90, 122, 138, 0.3);
}

.auth-link.login:hover {
    background: rgba(90, 122, 138, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.auth-link.register {
    background: linear-gradient(135deg, #00FFFF, #0080FF);
    color: var(--text-dark);
    border: none;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.auth-link.register:hover {
    background: linear-gradient(135deg, #00E5E5, #0066CC);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.5);
}

.auth-link.logout {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #FF4444;
}

.auth-link.logout:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: #FF4444;
    color: #FF6666;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00FFFF, #0080FF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--accent-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 20px 50px;
}

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

.hero-text {
    z-index: 2;
}

.hero-title {
    margin-bottom: 30px;
}

.title-line {
    display: block;
    font-size: 18px;
    color: var(--neon-blue);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 10px;
    animation: fade-in-up 1s ease 0.2s both;
}

.title-main {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 72px;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 20px;
    animation: fade-in-up 1s ease 0.4s both, neon-flicker 2s ease-in-out infinite 2s;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

.title-sub {
    display: block;
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 300;
    animation: fade-in-up 1s ease 0.6s both;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fade-in-up 1s ease 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fade-in-up 1s ease 1s both;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00FFFF, #0080FF);
    color: var(--text-dark);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.6);
    background: linear-gradient(135deg, #00E5E5, #0066CC);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid #00FFFF;
}

.btn-secondary:hover {
    background: #00FFFF;
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hologram-container {
    position: relative;
    width: 400px;
    height: 400px;
    animation: float 12s ease-in-out infinite;
}

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

.hologram-cube {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 100px auto;
    transform-style: preserve-3d;
    animation: rotate 60s linear infinite;
}

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

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid #00FFFF;
    background: rgba(0, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.cube-face.front { transform: rotateY(0deg) translateZ(100px); }
.cube-face.back { transform: rotateY(180deg) translateZ(100px); }
.cube-face.right { transform: rotateY(90deg) translateZ(100px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(100px); }
.cube-face.top { transform: rotateX(90deg) translateZ(100px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }





/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #00FFFF, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: title-shimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

@keyframes title-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--gradient-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-block {
    margin-bottom: 40px;
}

.text-block h3 {
    font-size: 24px;
    color: var(--neon-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.text-block p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(90, 122, 138, 0.05);
    border: 1px solid rgba(90, 122, 138, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    font-weight: 900;
    color: var(--neon-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Services Section */
.services {
    padding: 100px 0;
}

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

.service-card {
    background: rgba(12, 16, 19, 0.3);
    border: 1px solid rgba(90, 122, 138, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

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

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-blue);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.6),
        0 0 60px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    animation: float-up-down 2s ease-in-out infinite;
}

.service-icon {
    font-size: 48px;
    color: var(--neon-blue);
    margin-bottom: 20px;
    animation: icon-pulse 2s ease-in-out infinite, rotate-360 8s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.6));
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #00FFFF;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 1));
    transform: scale(1.1);
}

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

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover .service-glow {
    opacity: 0.1;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--gradient-secondary);
}

/* Login Overlay para formulário de contato */
.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 16, 19, 0.8);
    backdrop-filter: none;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.login-overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    text-align: center;
    padding: 40px;
    max-width: 400px;
    background: transparent;
    border-radius: 15px;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.overlay-icon {
    font-size: 48px;
    color: var(--neon-blue);
    margin-bottom: 20px;
    animation: pulse-glow 2s ease-in-out infinite;
}

.overlay-content h3 {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.overlay-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.overlay-content .btn {
    margin-top: 20px;
}

/* Formulário de contato com overlay */
.contact-form {
    position: relative;
}

.contact-form.blurred {
    filter: none;
    pointer-events: none;
}

/* Guarantee Section */
.guarantee-section {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.guarantee-card {
    background: rgba(12, 16, 19, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    animation: guarantee-pulse 6s ease-in-out infinite;
    max-width: 600px;
    width: 100%;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.05), transparent);
    animation: shimmer 6s ease-in-out infinite;
}

.guarantee-icon {
    font-size: 48px;
    color: #008383;
    /* animation: rotate-360 15s linear infinite; */
}

.guarantee-content {
    flex: 1;
}

.guarantee-content h3 {
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 700;
    animation: neon-flicker 4s ease-in-out infinite;
}

.guarantee-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.guarantee-number {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-30 {
    font-family: 'Orbitron', monospace;
    font-size: 72px;
    font-weight: 900;
    color: #00FFFF;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    animation: number-spin 8s ease-in-out infinite, scale-pulse 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.number-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00FFFF;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.sparkle-1 {
    top: 10%;
    left: 20%;
    animation: sparkle 4s ease-in-out infinite;
}

.sparkle-2 {
    top: 20%;
    right: 15%;
    animation: sparkle 5s ease-in-out infinite 0.5s;
}

.sparkle-3 {
    bottom: 20%;
    left: 15%;
    animation: sparkle 3.5s ease-in-out infinite 1s;
}

.sparkle-4 {
    bottom: 10%;
    right: 20%;
    animation: sparkle 4.5s ease-in-out infinite 1.5s;
}

.sparkle-5 {
    top: 50%;
    left: 5%;
    animation: sparkle 3s ease-in-out infinite 2s;
}

.sparkle-6 {
    top: 50%;
    right: 5%;
    animation: sparkle 5.5s ease-in-out infinite 2.5s;
}

.sparkle-7 {
    top: 5%;
    left: 50%;
    animation: sparkle 4.2s ease-in-out infinite 3s;
}

.sparkle-8 {
    bottom: 5%;
    left: 50%;
    animation: sparkle 3.8s ease-in-out infinite 3.5s;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(90, 122, 138, 0.05);
    border: 1px solid rgba(90, 122, 138, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-neon);
}

.contact-item i {
    font-size: 24px;
    color: var(--neon-blue);
    width: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(12, 16, 19, 0.5);
    border: 1px solid rgba(90, 122, 138, 0.3);
    border-radius: 10px;
    color: var(--accent-color);
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(90, 122, 138, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--text-dark);
    border-top: 1px solid rgba(90, 122, 138, 0.2);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-blue);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 24px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--neon-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(90, 122, 138, 0.1);
    color: var(--text-secondary);
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(90, 122, 138, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(90, 122, 138, 0.8), 0 0 60px rgba(90, 122, 138, 0.4);
    }
}

@keyframes wiggle {
    0%, 7%, 100% {
        transform: rotateZ(0);
    }
    15% {
        transform: rotateZ(-15deg);
    }
    20% {
        transform: rotateZ(10deg);
    }
    25% {
        transform: rotateZ(-10deg);
    }
    30% {
        transform: rotateZ(6deg);
    }
    35% {
        transform: rotateZ(-4deg);
    }
    40%, 43% {
        transform: rotateZ(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

@keyframes float-up-down {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

@keyframes neon-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow: 0 0 4px #fff, 0 0 11px #fff, 0 0 19px #fff, 0 0 40px #00ffff, 0 0 80px #00ffff, 0 0 90px #00ffff, 0 0 100px #00ffff, 0 0 150px #00ffff;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

@keyframes guarantee-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(0, 255, 255, 0);
    }
}

@keyframes number-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(12, 16, 19, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-auth {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(90, 122, 138, 0.3);
        padding-top: 20px;
        margin-top: 20px;
        flex-direction: column;
        gap: 10px;
    }

    .auth-link {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .user-info {
        justify-content: center;
        margin-bottom: 10px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .title-main {
        font-size: 48px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .polar-bear-3d-container {
        width: 350px;
        height: 350px;
    }

    .polar-bear-3d {
        width: 250px;
        height: 250px;
        margin: 50px auto;
    }

    .bear-head {
        width: 100px;
        height: 80px;
        top: 15px;
        left: 75px;
    }

    .bear-body {
        width: 120px;
        height: 100px;
        top: 80px;
        left: 65px;
    }

    .bear-paw {
        width: 30px;
        height: 25px;
    }

    .bear-paw-front-left {
        top: 150px;
        left: 50px;
    }

    .bear-paw-front-right {
        top: 150px;
        right: 50px;
    }

    .bear-paw-back-left {
        top: 170px;
        left: 65px;
    }

    .bear-paw-back-right {
        top: 170px;
        right: 65px;
    }

    .magic-glow {
        width: 150px;
        height: 150px;
        top: 50px;
        left: 50px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .guarantee-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .guarantee-content h3 {
        font-size: 24px;
    }

    .number-30 {
        font-size: 56px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 36px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .about-stats {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .guarantee-card {
        padding: 20px;
    }

    .guarantee-content h3 {
        font-size: 20px;
    }

    .number-30 {
        font-size: 48px;
    }
}
