/* Общие сбросы и переменные */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2ec4b6;       /* бирюзовый */
    --secondary: #ffb703;      /* жёлто-золотой */
    --bg-light: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #475569;
    --border-light: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05);
    --font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

/* Типографика */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.btn--primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 8px 16px -4px rgba(46, 196, 182, 0.3);
}

.btn--primary:hover {
    background-color: #25a89b;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px rgba(46, 196, 182, 0.4);
}

.btn--secondary {
    background-color: var(--secondary);
    color: var(--text-dark);
}

.btn--secondary:hover {
    background-color: #e6a502;
    transform: translateY(-2px);
}

.btn--small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn--large {
    padding: 1rem 3rem;
    font-size: 1.2rem;
}

/* Шапка */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.nav__list a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 80px 0 60px;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero__stats {
    display: flex;
    gap: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hero__stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.hero__image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

/* Features */
.features {
    padding: 80px 0;
    background-color: #f8fafc;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How it works */
.how-it-works {
    padding: 80px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.step {
    padding: 2rem;
}

.step__number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.step h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.step p {
    color: var(--text-muted);
}

/* FAQ */
.faq {
    padding: 80px 0;
    background-color: #f8fafc;
}

.faq__list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.faq-item__question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: var(--text-dark);
}

.faq-item__question i {
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-item.active .faq-item__question i {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: var(--text-muted);
}

.faq-item.active .faq-item__answer {
    display: block;
}

/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(46,196,182,0.1) 0%, rgba(255,183,3,0.1) 100%);
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta__text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: 60px 0 30px;
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer .logo {
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.footer h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
}

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

/* Toast уведомление */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--primary);
    color: white;
    text-align: center;
    border-radius: 40px;
    padding: 12px 20px;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header__container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
    }
    .nav {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
    .nav__list {
        justify-content: center;
        gap: 1rem;
    }
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero__buttons {
        justify-content: center;
    }
    .hero__title {
        font-size: 2.5rem;
    }
    .steps {
        grid-template-columns: 1fr;
    }
    .footer__container {
        grid-template-columns: 1fr 1fr;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }
    .hero__stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    .footer__container {
        grid-template-columns: 1fr;
    }
    .btn--large {
        padding: 0.8rem 2rem;
    }
}