* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-tertiary: #555555;
    --accent-primary: #00d4ff;
    --accent-secondary: #0099cc;
    --accent-glow: rgba(0, 212, 255, 0.3);
    --border-primary: #333333;
    --border-secondary: #444444;
    --success: #00ff88;
    --warning: #ffaa00;
    --error: #ff4444;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.4);
    --glow-primary: 0 0 20px var(--accent-glow);
    

    --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --gradient-dark: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    --gradient-card: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
    

    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-particle {
    position: absolute;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.floating-particle.p1 { width: 4px; height: 4px; top: 10%; left: 20%; animation-delay: 0s; }
.floating-particle.p2 { width: 6px; height: 6px; top: 60%; left: 80%; animation-delay: -2s; }
.floating-particle.p3 { width: 3px; height: 3px; top: 30%; left: 40%; animation-delay: -4s; }
.floating-particle.p4 { width: 5px; height: 5px; top: 80%; left: 30%; animation-delay: -6s; }
.floating-particle.p5 { width: 4px; height: 4px; top: 20%; left: 70%; animation-delay: -8s; }
.floating-particle.p6 { width: 7px; height: 7px; top: 50%; left: 10%; animation-delay: -10s; }
.floating-particle.p7 { width: 3px; height: 3px; top: 70%; left: 60%; animation-delay: -12s; }
.floating-particle.p8 { width: 5px; height: 5px; top: 40%; left: 90%; animation-delay: -14s; }
.floating-particle.p9 { width: 4px; height: 4px; top: 90%; left: 50%; animation-delay: -16s; }
.floating-particle.p10 { width: 6px; height: 6px; top: 10%; left: 60%; animation-delay: -18s; }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translate(20px, 40px) rotate(90deg);
        opacity: 0.05;
    }
    50% {
        transform: translate(40px, 20px) rotate(180deg);
        opacity: 0.1;
    }
    75% {
        transform: translate(20px, -20px) rotate(270deg);
        opacity: 0.05;
    }
}

.language-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 0.5rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s var(--ease-out);
    z-index: -1;
}

.lang-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-secondary);
    transform: translateY(-1px);
}

.lang-btn:hover::before {
    left: 0;
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-primary);
}

.lang-flag {
    font-size: 1.125rem;
}

.lang-text {
    font-weight: 600;
}

.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 2rem;
}

.main-header {
    text-align: center;
    padding: 4rem 0 2rem;
    position: relative;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.logo {
    max-width: 490px;
    height: auto;
    transition: all 0.5s var(--ease-out);
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: var(--accent-primary);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    animation: pulse 4s var(--ease-in-out) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.15; transform: translate(-50%, -50%) scale(1.1); }
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.decoration-line {
    width: 60px;
    height: 1px;
    background: var(--border-primary);
    position: relative;
}

.decoration-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    animation: lineGrow 2s var(--ease-out) forwards;
}

.decoration-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: dotPulse 2s var(--ease-in-out) infinite;
}

@keyframes lineGrow {
    to { width: 100%; }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

.hero-section {
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-line.accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.products-section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.4s forwards;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    perspective: 1500px;
    height: 650px;
    opacity: 1; 
    transform: translateY(0); 
    animation: cardAppear 0.8s var(--ease-out) forwards;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s var(--ease-out);
    transform-style: preserve-3d;
}

.product-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    background: var(--gradient-card);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg);
}

.card-back {
    transform: rotateY(180deg);
    background: var(--bg-tertiary);
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: var(--glow-primary);
}

.card-badge.new {
    background: var(--success);
}

.card-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    padding: 1rem;
}

.product-img {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 280px;
    object-fit: contain;
    transition: transform 0.6s var(--ease-out);
    border-radius: 10px;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-secondary) 80%);
    opacity: 0.2;
    pointer-events: none;
}

.card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;       
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s var(--ease-out);
}

.feature-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-1px);
}

.card-hover-indicator {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.3s var(--ease-out);
}

.product-card:hover .card-hover-indicator {
    opacity: 1;
    transform: translateX(-5px);
}

.hover-line {
    width: 30px;
    height: 1px;
    background: var(--text-secondary);
}

.hover-arrow {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Card Back Styles */
.back-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-specs {
    text-align: center;
    width: 100%;
}

.tech-specs h4 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-primary);
    font-size: 0.95rem;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item span:first-child {
    color: var(--text-secondary);
}

.spec-item span:last-child {
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

.cta-section {
    padding: 6rem 0;
    position: relative;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--gradient-card);
    border-radius: 30px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-xl);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: var(--glow-primary);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-primary);
}

.cta-button.secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.8s var(--ease-out);
}

.cta-button.primary:hover .btn-shine {
    left: 100%;
}

.cta-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
}

.visual-bubble {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.1;
    filter: blur(40px);
}

.visual-bubble.b1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation: bubbleFloat 8s var(--ease-in-out) infinite;
}

.visual-bubble.b2 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation: bubbleFloat 6s var(--ease-in-out) infinite reverse;
}

.visual-bubble.b3 {
    width: 100px;
    height: 100px;
    bottom: -50px;
    right: 30%;
    animation: bubbleFloat 10s var(--ease-in-out) infinite;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.1); }
    66% { transform: translate(-10px, 10px) scale(0.9); }
}

.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    padding: 4rem 2rem 2rem;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-img {
    max-width: 220px;
    height: auto;
}

.footer-tagline {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
    font-size: 0.95rem;
}

.contact-link:hover {
    color: var(--accent-primary);
}

.contact-icon {
    font-size: 1.125rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid transparent;
}

.social-link:hover {
    color: var(--accent-primary);
    border-color: var(--border-secondary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.social-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-text {
    font-weight: 500;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-decoration {
    display: flex;
    gap: 0.5rem;
}

.footer-decoration .decoration-dot {
    width: 4px;
    height: 4px;
    background: var(--text-tertiary);
    animation: none;
}

@media (max-width: 1024px) {
    .main-content {
        padding: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-container {
        padding: 3rem 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .language-switcher {
        top: 1rem;
        right: 1rem;
    }
    
    .main-header {
        padding: 6rem 0 2rem;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .products-section {
        padding: 3rem 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        height: 500px;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .product-card {
        height: 450px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-secondary);
}

::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}