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

:root {
    --primary-blue: #0072CE;
    --dark-blue: #005BA3;
    --black: #000000;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

@font-face {
    font-family: 'Aino';
    src: url('../fonts/Aino-Headline.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, Aino, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
}

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

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.logo {
    text-decoration: none;
    font-weight: bold;
}

.logo-blue {
    color: var(--primary-blue);
}

.logo-black {
    color: var(--black);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.language-switcher {
    position: relative;
}

.lang-select {
    padding: 8px 35px 8px 15px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.lang-select:hover {
    border-color: var(--primary-blue);
}

.lang-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.1);
}

.cta-button {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--dark-blue);
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-700);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-content a {
    display: block;
    padding: 12px 0;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.3s;
}

.mobile-menu-content a:hover {
    color: var(--primary-blue);
}

.mobile-menu-content a:last-of-type {
    border-bottom: none;
}

.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--black) 100%);
    color: var(--white);
    padding: 100px 20px;
}

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

.hero-text h1 {
    font-family: 'Aino', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: bold;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.8;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.service-item h4 {
    margin-bottom: 5px;
}

.service-item p {
    font-size: 14px;
    opacity: 0.8;
}

.features {
    padding: 80px 20px;
    background: var(--gray-50);
}

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

.section-title h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--black);
}

.section-title p {
    font-size: 20px;
    color: var(--gray-600);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.feature-card:nth-child(even) .feature-icon {
    background: var(--black);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--black);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

.services {
    padding: 80px 20px;
    background: var(--white);
}

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

.service-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(2) {
    background: linear-gradient(135deg, var(--black), var(--gray-800));
}

.service-card:nth-child(3) {
    background: linear-gradient(135deg, var(--primary-blue), var(--black));
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
}

.service-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.8;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.about {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--gray-900), var(--black), var(--gray-900));
    color: var(--white);
}

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

.about-text h2 {
    font-size: 40px;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
}

.about-stat h3 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.about-box {
    background: linear-gradient(135deg, var(--primary-blue), var(--black));
    padding: 40px;
    border-radius: 20px;
}

.about-box h3 {
    font-size: 28px;
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.benefit-icon {
    width: 35px;
    height: 35px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.benefit-item h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.benefit-item p {
    font-size: 14px;
    opacity: 0.9;
}

.cta {
    padding: 100px 20px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue), var(--black));
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.7;
}

footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-300);
    font-size: 14px;
}

.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    z-index: 2001;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.active, .modal-backdrop.active {
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-600);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-blue);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    font-size: 28px;
    color: var(--black);
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--gray-600);
    font-size: 14px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.1);
}

.latest-news { padding: 80px 20px; background: var(--white); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.news-img { width: 100%;  }
.news-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.news-cat { color: var(--primary-blue); font-size: 12px; font-weight: bold; text-transform: uppercase; margin-bottom: 10px; }
.news-title { font-size: 20px; font-weight: bold; margin-bottom: 10px; line-height: 1.3; color: var(--black); }
.news-date { margin-top: auto; font-size: 13px; color: var(--gray-600); border-top: 1px solid var(--gray-100); padding-top: 15px; }
.lang-dynamic { display: none; }
.lang-dynamic.lang-en { display: block; }
span.lang-dynamic.lang-en { display: inline; }

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hidden.md\\:flex {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .stats {
        flex-wrap: wrap;
    }

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

    .cta h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
}
