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

:root {
    --bg-color: #faf9f6;
    --text-color: #2d3436;
    --accent-color: #7c9a8e;
    --accent-hover: #6a8a7e;
    --secondary: #d4dcd6;
    --muted: #8a9a8e;
    --card-bg: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-blur {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-blur::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 100px;
    width: 300px;
    height: 300px;
    background: rgba(124, 154, 142, 0.5);
    border-radius: 50%;
    filter: blur(60px);
}

.bg-blur::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(212, 220, 214, 0.6);
    border-radius: 50%;
    filter: blur(60px);
}

.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
}

.main-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 36px;
    box-shadow: 0 20px 80px rgba(31, 41, 55, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 40px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 150px;
    width: auto;
}

.logo-text {
    display: none;
}

nav.nav-links {
    display: none;
    align-items: center;
    gap: 40px;
}

nav.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
    padding: 8px 16px;
    border-radius: 4px;
}

nav.nav-links a:hover,
nav.nav-links a.active {
    color: white;
    background: var(--accent-color);
}

.header-right {
    display: contents;
}

.lang-toggle {
    display: flex;
    background: var(--secondary);
    border-radius: 9999px;
    overflow: hidden;
}

.lang-toggle button {
    padding: 8px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--muted);
    transition: all 0.3s;
}

.lang-toggle button.active {
    background: var(--accent-color);
    color: white;
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 24px 40px 56px;
}

.hero-left {
    max-width: 550px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-color);
}

.hero-text {
    margin-top: 24px;
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--muted);
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid var(--text-color);
}

.btn-hero {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-hero-primary {
    background: var(--text-color);
    color: white;
}

.btn-hero-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-hero-secondary {
    padding: 14px 24px;
    font-weight: 500;
    color: var(--text-color);
    background: transparent;
}

.btn-hero-secondary:hover {
    background: var(--text-color);
    color: white;
}

.hero-visual {
    position: relative;
    display: none;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    position: absolute;
    width: 430px;
    height: 430px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.5;
}

.code-block {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: var(--text-color);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 30px 60px rgba(31, 41, 55, 0.22);
}

.code-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 8px;
}

.code-dots {
    display: flex;
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
}

.code-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 20px;
}

.code-text {
    color: var(--secondary);
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    margin: 0 40px;
}

.mission-section {
    padding: 48px 40px;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.mission-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--secondary);
    position: relative;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px 0 0 4px;
}

.mission-card h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 12px;
}

.mission-card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
}

.values-list {
    list-style: none;
    margin-top: 12px;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--muted);
}

.values-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.cta-section {
    padding: 0 40px 48px;
}

.cta-box {
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(212, 220, 214, 0.5) 100%);
    padding: 32px;
    border-radius: 24px;
    text-align: center;
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    border-radius: 24px 24px 0 0;
}

.cta-box h2 {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.cta-box p {
    color: var(--muted);
    margin-bottom: 16px;
}

.products-section {
    padding: 0 40px 48px;
}

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

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--secondary);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.product-icon {
    width: 64px;
    height: 64px;
    background: rgba(124, 154, 142, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.product-card h3 {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
    text-align: center;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--muted);
    text-align: center;
}

.about-section {
    padding: 0 40px;
}

.about-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: var(--secondary);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0;
}

.about-toggle:hover {
    background: var(--accent-color);
    color: white;
}

.toggle-icon {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.about-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.about-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.about-content.open {
    max-height: 1000px;
}

.about-text {
    background: white;
    padding: 24px;
    border-radius: 0 0 12px 12px;
    border: 1px solid var(--secondary);
    border-top: none;
}

.about-text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--secondary);
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--accent-color);
    color: white;
}

.modal h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
}

.modal p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.modal p:last-child {
    margin-bottom: 0;
}

.contact-section {
    padding: 0 40px 48px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--secondary);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--text-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--accent-color);
}

footer {
    padding: 32px 40px;
    border-top: 1px solid var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

footer p {
    color: var(--muted);
    font-size: 0.9rem;
}

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

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

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

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--secondary);
    border-radius: 50%;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (min-width: 1024px) {
    nav.nav-links {
        display: flex;
    }
    
    .hero {
        flex-direction: row;
        align-items: center;
    }
    
    .hero-visual {
        display: flex;
    }
    
    .section-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    header {
        padding: 20px;
        flex-direction: column;
        gap: 16px;
    }
    
    .hero {
        padding: 20px 20px 40px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .section-divider {
        margin: 0 20px;
    }
    
    .mission-section,
    .products-section,
    .contact-section,
    .cta-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    footer {
        padding: 24px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
