:root {
    --primary: #2C3E50;
    --secondary: #34495E;
    --dark: #1A1A1A;
    --light: #F5F5F5;
    --accent: #3498DB;
    --text: #333;
    --white: #fff;
    --gray: #ECF0F1;
    --border: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.content.show {
  opacity: 1;
  transform: translateY(0);
}

.content.hide {
  opacity: 0;
  transform: translateY(20px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}




/* Header */
header {
    background-color: var(--white);
    color: var(--dark);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: var(--dark);
}

.logo-icon {
    margin-right: 10px;
    width: 1em;
    height: 1em;
}

.btn-icon {
    fill: currentColor;
    margin-right: 8px;
    width: 1.3em;
    height: 1.3em;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn:hover {
    background-color: #2980B9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(41, 128, 185, 0.2);
}



/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    background-color: var(--light);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text);
    opacity: 0.9;
}

.telegram-btn {
    background-color: var(--accent);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    font-size: 16px;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero {
        padding: 130px 0 60px;
        text-align: center;
        background-color: var(--light);
    }

    .hero p {
        font-size: 12px;
    }
}



/* CTA */
.cta {
    padding: 100px 0;
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .cta {
        padding: 50px 0;
    }
    .cta h2 {
        font-size: 23px;
    }

    .cta p {
        font-size: 14px;

    }

}


/* Countries Section */
.countries {
    background-color: var(--light);
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 0 auto;

}

.country-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.country-flag {
    font-size: 120px;
    margin-bottom: 15px;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: middle;
}

.country-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .country-card {
        padding: 15px 10px;
    }

    .country-flag {
        font-size: 60px;
    }
}


.faq-section {
    padding: 80px 0;
    background-color: var(--light);
   }

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: var(--accent);
}

.faq-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    align-items: left;

}

.faq-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    display: flex;
    gap: 12px;
}

.faq-header svg {
    color: var(--accent);
    font-size: 25px;
    fill: currentColor;
    margin-right: 10px;
    width: 1em;
    height: 1em;

}

.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
}

.plus {
    position: absolute;
    width: 16px;
    height: 2px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.plus:after {
    content: '';
    position: absolute;
    width: 2px;
    height: 16px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.faq-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.faq-body p {
    color: #555;
    line-height: 1.7;
    padding-bottom: 0;
    margin-top: 0;
    transition: all 0.3s ease;
}

/* Активное состояние */
.faq-card.active {
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.1);
    border-color: var(--accent);
}

.faq-card.active .faq-body {
    padding-bottom: 25px;
    max-height: 450px;
}

.faq-card.active .plus {
    background: var(--accent);
}

.faq-card.active .plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* Анимация при скролле */
.faq-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.faq-card.in-view {
    opacity: 1;
    transform: translateY(0);
}


/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    justify-items: center;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links svg {
    margin-right: 8px;
    fill: currentColor;
    width: 1em;
    height: 1em;
    vertical-align: middle;

}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

section {
    padding: 80px 0
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}
.section-title h1 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
}

@media (max-width: 768px) {
    section {
        padding: 40px 0px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .section-title p {
        font-size: 14px;
    }


    .nav-links {
        display: none;
    }

    .footer-content {
        justify-items: start; /* На мобильных — прижать к левому краю */
    }

    .step {
        flex: 0 0 100%;
    }


}