/* ============================================================
   DOCYU — СТИЛИ ДЛЯ САЙТА
   ============================================================ */

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 14px 0;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
}

.header-logo svg {
    width: 32px;
    height: 32px;
}

.header-logo span {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    transition: color 0.2s ease;
}

.header-nav a:hover {
    color: #6c5ce7;
}

.header-nav .btn-download {
    background: #6c5ce7;
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-nav .btn-download:hover {
    background: #5a4bd1;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
    color: #fff;
}

.header-nav .btn-download svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.header-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.header-mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 140px 0 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ede9fe 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 16px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    color: #475569;
    max-width: 460px;
    margin-bottom: 32px;
}

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

.hero-buttons .btn-primary {
    background: #6c5ce7;
    color: #fff;
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.hero-buttons .btn-primary:hover {
    background: #5a4bd1;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
}

.hero-buttons .btn-primary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
}

.hero-buttons .btn-secondary {
    background: #fff;
    color: #1e293b;
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-buttons .btn-secondary:hover {
    border-color: #6c5ce7;
    color: #6c5ce7;
    transform: translateY(-2px);
}

.hero-buttons .btn-secondary svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* ============================================================
   HERO-PREVIEW
   ============================================================ */
.hero-preview {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #ebebef;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 480px;
}

.hero-preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #ebebef;
    background: #fafafc;
}

.hero-preview-header .dots {
    display: flex;
    gap: 6px;
}

.hero-preview-header .dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.hero-preview-header .dots span:nth-child(1) { background: #ff5f57; }
.hero-preview-header .dots span:nth-child(2) { background: #ffbd2e; }
.hero-preview-header .dots span:nth-child(3) { background: #28c840; }

.hero-preview-header .title {
    display: none;
}

.hero-preview-body {
    display: flex;
    flex: 1;
    min-height: 350px;
}

.hero-preview-sidebar {
    width: 200px;
    background: #f8fafc;
    border-right: 1px solid #ebebef;
    padding: 16px 14px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-preview-sidebar .menu-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.hero-preview-sidebar .menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #475569;
    transition: all 0.15s ease;
    cursor: default;
}

.hero-preview-sidebar .menu-item.active {
    background: #ede9fe;
    color: #6c5ce7;
    font-weight: 500;
}

.hero-preview-sidebar .menu-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hero-preview-sidebar .menu-item.active svg {
    stroke: #6c5ce7;
    color: #6c5ce7;
}

.hero-preview-sidebar .menu-divider {
    height: 1px;
    background: #ebebef;
    margin: 8px 0;
}

/* ============================================================
   ИКОНКИ ВНИЗУ МЕНЮ
   ============================================================ */
.hero-preview-sidebar-footer {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #ebebef;
    justify-content: center;
}

.hero-preview-sidebar-footer .footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f5f3ff;
    transition: all 0.25s ease;
    text-decoration: none;
}

.hero-preview-sidebar-footer .footer-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: #6c5ce7;
}

.hero-preview-sidebar-footer .footer-icon:hover {
    background: #6c5ce7;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(108, 92, 231, 0.25);
}

.hero-preview-sidebar-footer .footer-icon:hover svg {
    fill: #ffffff;
}

.hero-preview-content {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-preview-content h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.hero-preview-content p {
    font-size: 0.85rem;
    color: #64748b;
    max-width: 300px;
}

.hero-preview-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #ede9fe;
    color: #6c5ce7;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-top: 12px;
}

.hero-preview-content .badge svg {
    width: 14px;
    height: 14px;
    stroke: #6c5ce7;
    fill: none;
    stroke-width: 2.5;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
    padding: 80px 0;
    background: #fff;
}

.features-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.features-header p {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 480px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: #e2e8f0;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #ede9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: #6c5ce7;
    fill: none;
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #64748b;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
    padding: 50px 0;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stats-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #6c5ce7;
}

.stats-item p {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    padding: 70px 0;
    background: #fff;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.testimonial-card:hover {
    border-color: #e2e8f0;
}

.testimonial-card .stars {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}

.testimonial-card .stars svg {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
    stroke: #f59e0b;
    stroke-width: 1;
}

.testimonial-card blockquote {
    font-size: 0.9rem;
    color: #334155;
    font-style: italic;
    margin-bottom: 14px;
    line-height: 1.6;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-card .author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ede9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #6c5ce7;
}

.testimonial-card .author-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.9rem;
}

.testimonial-card .author-role {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
    padding: 70px 0;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    text-align: center;
    color: #fff;
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 480px;
    margin: 0 auto 28px;
}

.cta .btn-download {
    background: #fff;
    color: #6c5ce7;
    padding: 14px 38px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.cta .btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta .btn-download svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #6c5ce7;
    stroke-width: 2.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 32px 0;
    background: #0f172a;
    color: #94a3b8;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-links a {
    color: #94a3b8;
    transition: color 0.2s ease;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    font-size: 0.8rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-preview {
        max-height: none;
        max-width: 560px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
        flex-direction: column;
        gap: 14px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px 24px;
        border-bottom: 1px solid #f1f5f9;
    }

    .header-nav.open {
        display: flex;
    }

    .header-mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px 0;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-preview-sidebar {
        width: 160px;
        padding: 12px;
    }

    .hero-preview-sidebar .menu-item {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .hero-preview-sidebar .menu-item svg {
        width: 14px;
        height: 14px;
    }

    .hero-preview-content {
        padding: 14px 16px;
    }

    .hero-preview-content h2 {
        font-size: 0.95rem;
    }

    .hero-preview-content p {
        font-size: 0.75rem;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-preview-sidebar {
        display: none;
    }

    .hero-preview-content {
        padding: 20px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}