* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0f172a;
    color: #f1f5f9;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.language-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
}

.lang-btn {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(6, 182, 212, 0.3);
    color: #22d3ee;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: #22d3ee;
    transform: translateY(-2px);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 16px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6, 182, 212, 0.2), transparent);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 384px;
    height: 384px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1152px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

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

.hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-icon svg {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(to right, #22d3ee, #60a5fa, #22d3ee);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s linear infinite;
}

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

.hero-subtitle {
    font-size: 1.875rem;
    color: #cbd5e1;
    margin-bottom: 32px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 768px;
    margin: 0 auto 48px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.hero-cta:hover {
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.5);
    transform: scale(1.05);
}

.hero-cta .arrow {
    display: inline-block;
    transition: transform 0.3s;
}

.hero-cta:hover .arrow {
    transform: translateX(4px);
}

.hero-secondary {
    padding: 16px 32px;
    background: transparent;
    color: white;
    border: 2px solid rgba(6, 182, 212, 0.5);
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.hero-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: #22d3ee;
}

section {
    position: relative;
    padding: 96px 16px;
}

.section-title {
    font-size: 3.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(to right, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    text-align: center;
    max-width: 768px;
    margin: 0 auto 64px;
}

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

.service-card {
    position: relative;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.1);
    transform: translateY(-8px);
}

.service-icon {
    display: inline-block;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.service-icon.cyan-blue {
    background: linear-gradient(to bottom right, #06b6d4, #3b82f6);
}

.service-icon.blue-indigo {
    background: linear-gradient(to bottom right, #3b82f6, #6366f1);
}

.service-icon.indigo-purple {
    background: linear-gradient(to bottom right, #6366f1, #a855f7);
}

.service-icon.purple-pink {
    background: linear-gradient(to bottom right, #a855f7, #ec4899);
}

.service-icon.pink-rose {
    background: linear-gradient(to bottom right, #ec4899, #f43f5e);
}

.service-icon.rose-orange {
    background: linear-gradient(to bottom right, #f43f5e, #f97316);
}

.service-icon svg {
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #f1f5f9;
    transition: color 0.3s;
}

.service-card:hover .service-title {
    color: #22d3ee;
}

.service-description {
    color: #94a3b8;
    line-height: 1.75;
}

.portfolio {
    background: rgba(30, 41, 59, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid #1e293b;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.portfolio-item:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.1);
}

.portfolio-image {
    position: relative;
    height: 192px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0f172a, transparent);
    opacity: 0.6;
}

.portfolio-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    padding: 6px 12px;
    border-radius: 9999px;
    z-index: 10;
}

.portfolio-badge svg {
    width: 16px;
    height: 16px;
    color: #facc15;
    fill: #facc15;
}

.portfolio-badge span {
    font-size: 0.875rem;
    color: white;
    font-weight: 600;
}

.portfolio-external {
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.portfolio-item:hover .portfolio-external {
    opacity: 1;
}

.portfolio-external svg {
    width: 24px;
    height: 24px;
    color: white;
}

.portfolio-content {
    padding: 24px;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #f1f5f9;
    transition: color 0.3s;
}

.portfolio-item:hover .portfolio-title {
    color: #22d3ee;
}

.portfolio-description {
    color: #94a3b8;
    margin-bottom: 16px;
    line-height: 1.75;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    font-size: 0.875rem;
    background: rgba(6, 182, 212, 0.1);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 9999px;
}

.products {
    padding: 96px 16px;
    background: rgba(30, 41, 59, 0.3);
}

.category-section {
    margin-bottom: 64px;
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #f1f5f9;
    text-align: center;
    background: linear-gradient(to right, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid #1e293b;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.1);
    transform: translateY(-8px);
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.5);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.product-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay svg {
    color: white;
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Модальное окно для просмотра изображений */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #f1f5f9;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 50%;
    border: 2px solid rgba(34, 211, 238, 0.3);
}

.image-modal-close:hover {
    color: #22d3ee;
    border-color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
}

.image-modal-title {
    margin-top: 20px;
    color: #f1f5f9;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    padding: 12px 24px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #f1f5f9;
    transition: color 0.3s;
}

.product-card:hover .product-title {
    color: #22d3ee;
}

.product-description {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.75;
    flex: 1;
    font-size: 0.95rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(30, 41, 59, 0.5);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22d3ee;
}

.price-currency {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
}

.product-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.product-buy-btn:hover {
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}

.product-buy-btn svg {
    transition: transform 0.3s;
}

.product-buy-btn:hover svg {
    transform: translateX(4px);
}

.no-products {
    text-align: center;
    color: #94a3b8;
    font-size: 1.125rem;
    padding: 48px 16px;
}

.newsletter {
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    padding: 80px 16px;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.newsletter-description {
    font-size: 1.125rem;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    max-width: 300px;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-button {
    padding: 14px 32px;
    background: white;
    color: #06b6d4;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.newsletter-message {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.newsletter-message.success {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: block;
}

.contact {
    padding: 96px 16px;
}

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

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.contact-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
    text-align: center;
}

.contact-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-4px);
}

.contact-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, #06b6d4, #3b82f6);
    border-radius: 16px;
    margin-bottom: 24px;
}

.contact-icon svg {
    color: white;
}

.contact-label {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f1f5f9;
}

.contact-value {
    color: #94a3b8;
    margin-bottom: 16px;
}

.contact-status {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.footer {
    background: rgba(30, 41, 59, 0.5);
    padding: 48px 16px 24px;
    border-top: 1px solid #1e293b;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(to right, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: #94a3b8;
    margin-bottom: 32px;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-cta,
    .hero-secondary {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        max-width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 24px;
    }

    .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .product-buy-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 64px 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-title {
        font-size: 1.5rem;
    }
}