@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #0ea5e9;
    --bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text-main);
    overflow-x: hidden;
}

.bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
}

.bg-blob {
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    filter: blur(80px);
}

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

/* NAV - Glassmorphism */
.nav {
    position: fixed;
    top: 0; width: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-links a {
    text-decoration: none;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* HERO SECTION */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

h1 {
    font-size: clamp(40px, 8vw, 72px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #020617;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

h1 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

/* BUTTONS */
.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .btn-group { flex-direction: column; }
    .btn { width: 100%; }
}
  /* Контейнер для скриншота */
  .hero-dashboard {
        margin-top: 80px;
        perspective: 1000px; /* Добавляет глубину для 3D эффекта */
        animation: fadeInUp 1s ease-out 0.4s backwards;
    }

    .app-screen-wrapper {
        position: relative;
        max-width: 1000px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.4);
        padding: 8px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        /* Тень, создающая эффект парения */
        box-shadow: 
            0 50px 100px -20px rgba(15, 23, 42, 0.15),
            0 30px 60px -30px rgba(15, 23, 42, 0.2);
        backdrop-filter: blur(10px);
    }

    .app-screen {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        border-radius: 16px;
        border: 1px solid rgba(15, 23, 42, 0.1);
        z-index: 2;
    }

    /* Декоративное свечение позади скриншота */
    .glow-element {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        height: 60%;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        filter: blur(120px);
        opacity: 0.15;
        z-index: 1;
    }

    /* Имитация кнопок управления окном (MacOS style) */
    .app-header-dots {
        position: absolute;
        top: 24px;
        left: 28px;
        display: flex;
        gap: 8px;
        z-index: 3;
    }

    .app-header-dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(15, 23, 42, 0.1);
    }

    /* Эффект наклона при наведении (необязательно, но модно) */
    .app-screen-wrapper:hover {
        transform: translateY(-10px) rotateX(2deg);
        transition: transform 0.5s ease;
    }

    .features {
        padding: 120px 0;
        background: #fff;
    }

    .section-tag {
        display: block;
        text-align: center;
        color: var(--primary);
        font-weight: 700;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .section-title {
        text-align: center;
        font-size: clamp(32px, 5vw, 42px);
        font-weight: 800;
        margin-bottom: 60px;
        letter-spacing: -1px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 32px;
    }

    .feature-card {
        position: relative;
        padding: 40px;
        border-radius: 24px;
        background: #f8fafc;
        border: 1px solid rgba(15, 23, 42, 0.05);
        transition: all 0.3s ease;
        overflow: hidden;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        background: #ffffff;
        box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.12);
        border-color: rgba(99, 102, 241, 0.2);
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        background: #ffffff;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        margin-bottom: 24px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        transition: 0.3s;
    }

    .feature-card:hover .feature-icon {
        background: var(--primary);
        color: white;
        transform: scale(1.1) rotate(-5deg);
    }

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

    .feature-card p {
        color: #64748b;
        line-height: 1.6;
        font-size: 16px;
    }

    /* Декоративный элемент на фоне карточки */
    .feature-card::after {
        content: "";
        position: absolute;
        bottom: -20px;
        right: -20px;
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        opacity: 0.03;
        border-radius: 50%;
    }

    .how-it-works {
        padding: 100px 0;
        background: #fcfdfe;
        position: relative;
    }

    .steps-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        margin-top: 60px;
        position: relative;
    }

    /* Линия-соединитель между шагами (скрыта на мобилках) */
    @media (min-width: 992px) {
        .steps-container::before {
            content: "";
            position: absolute;
            top: 45px;
            left: 10%;
            width: 80%;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
            z-index: 1;
        }
    }

    .step-card {
        position: relative;
        text-align: center;
        z-index: 2;
    }

    .step-number {
        width: 90px;
        height: 90px;
        background: #ffffff;
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px;
        font-size: 28px;
        font-weight: 800;
        color: var(--primary);
        box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.1);
        transition: 0.3s;
    }

    .step-card:hover .step-number {
        transform: translateY(-5px) rotate(5deg);
        background: var(--primary);
        color: white;
    }

    .step-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
        color: #0f172a;
    }

    .step-card p {
        font-size: 15px;
        color: #64748b;
        line-height: 1.6;
        padding: 0 10px;
    }

    .step-badge {
        display: inline-block;
        padding: 4px 12px;
        background: #eef2ff;
        color: var(--primary);
        border-radius: 8px;
        font-size: 12px;
        font-weight: 700;
        margin-top: 12px;
    }

    @media (max-width: 900px) {
        .steps-container { grid-template-columns: 1fr; gap: 60px; }
    }

    .comparison {
        padding: 100px 0;
        background: #ffffff;
    }

    .table-wrapper {
        margin-top: 50px;
        overflow-x: auto;
        border-radius: 24px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.05);
    }

    table {
        width: 100%;
        border-collapse: collapse;
        background: white;
        min-width: 800px;
    }

    th, td {
        padding: 24px 32px;
        text-align: left;
        border-bottom: 1px solid #f1f5f9;
    }

    th {
        background: #f8fafc;
        font-weight: 700;
        color: #0f172a;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .col-ai {
        background: rgba(99, 102, 241, 0.02);
        width: 35%;
    }

    .col-human {
        width: 35%;
        color: #64748b;
    }

    .feature-name {
        width: 30%;
        font-weight: 600;
        color: #0f172a;
    }

    .status-check {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
    }

    .check-icon {
        color: #10b981;
        font-size: 18px;
    }

    .cross-icon {
        color: #ef4444;
        font-size: 18px;
    }

    .ai-label {
        display: inline-block;
        padding: 4px 10px;
        background: var(--primary);
        color: white;
        border-radius: 6px;
        font-size: 12px;
        margin-left: 8px;
    }

    .highlight-row {
        background: #fdfeff;
    }

    .price-tag {
        font-size: 20px;
        font-weight: 800;
        color: var(--primary);
    }

    .price-old {
        text-decoration: line-through;
        color: #94a3b8;
        font-size: 14px;
    }

    .demo-section {
        padding: 100px 0;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }

    .demo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }

    /* Плееры */
    .audio-card {
        background: white;
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 16px;
        border: 1px solid rgba(15, 23, 42, 0.05);
        display: flex;
        align-items: center;
        gap: 16px;
        transition: 0.3s;
    }

    .audio-card:hover {
        transform: translateX(10px);
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
    }

    .play-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--soft);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 18px;
        flex-shrink: 0;
    }

    .audio-info h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .audio-info p {
        font-size: 12px;
        color: var(--text-muted);
    }

    /* Форма тестового звонка */
    .call-widget {
        background: white;
        border-radius: 32px;
        padding: 40px;
        box-shadow: 0 40px 100px rgba(15, 23, 42, 0.08);
        border: 1px solid rgba(99, 102, 241, 0.1);
        position: relative;
    }

    .call-widget h3 {
        font-size: 24px;
        margin-bottom: 24px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .live-indicator {
        width: 10px;
        height: 10px;
        background: #ef4444;
        border-radius: 50%;
        animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
        0% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.5); opacity: 0.5; }
        100% { transform: scale(1); opacity: 1; }
    }

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

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #475569;
    }

    .form-select, .form-input {
        width: 100%;
        padding: 14px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        font-family: inherit;
        font-size: 15px;
        outline: none;
        transition: 0.3s;
    }

    .form-select:focus, .form-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    }

    .btn-call {
        width: 100%;
        background: #0f172a;
        color: white;
        border: none;
        padding: 16px;
        border-radius: 12px;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: 0.3s;
    }

    .btn-call:hover {
        background: var(--primary);
        transform: translateY(-2px);
    }

    @media (max-width: 900px) {
        .demo-grid { grid-template-columns: 1fr; }
    }

    .integrations {
        padding: 80px 0;
        background: #ffffff;
        border-top: 1px solid #f1f5f9;
        overflow: hidden;
    }

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

    .integrations-header p {
        color: var(--text-muted);
        font-size: 16px;
        font-weight: 500;
    }

    /* Контейнер для анимации */
    .logo-track {
        display: flex;
        align-items: center;
        gap: 60px;
        width: max-content;
        animation: scroll 40s linear infinite;
    }

    .logo-track:hover {
        animation-play-state: paused;
    }

    .logo-item {
        display: flex;
        align-items: center;
        gap: 12px;
        filter: grayscale(1);
        opacity: 0.5;
        transition: all 0.4s ease;
        cursor: pointer;
    }

    .logo-item:hover {
        filter: grayscale(0);
        opacity: 1;
        transform: scale(1.05);
    }

    .logo-item img {
        height: 32px;
        width: auto;
    }

    .logo-item span {
        font-size: 18px;
        font-weight: 700;
        color: #1e293b;
    }

    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /* Градиентные маски по бокам, чтобы логотипы плавно исчезали */
    .logo-slider {
        position: relative;
        mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    }

    .pricing {
        padding: 100px 0;
        background: #f8fafc;
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        margin-top: 50px;
    }

    .price-card {
        background: white;
        padding: 40px;
        border-radius: 32px;
        border: 1px solid rgba(15, 23, 42, 0.05);
        display: flex;
        flex-direction: column;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
    }

    .price-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 40px 80px -20px rgba(99, 102, 241, 0.15);
    }

    /* Выделение популярного тарифа */
    .price-card.popular {
        border: 2px solid var(--primary);
    }

    .popular-badge {
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--primary);
        color: white;
        padding: 6px 16px;
        border-radius: 100px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .price-header h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .main-price {
        margin: 24px 0;
    }

    .price-value {
        font-size: 48px;
        font-weight: 900;
        letter-spacing: -2px;
        color: #0f172a;
    }

    .price-unit {
        font-size: 16px;
        color: #64748b;
        font-weight: 500;
    }

    .feature-list {
        list-style: none;
        margin: 30px 0;
        flex-grow: 1;
    }

    .feature-list li {
        margin-bottom: 16px;
        font-size: 15px;
        color: #475569;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .feature-list li::before {
        content: "✓";
        color: #10b981;
        font-weight: 900;
    }

    .price-btn {
        width: 100%;
        padding: 16px;
        border-radius: 14px;
        border: none;
        font-weight: 700;
        cursor: pointer;
        transition: 0.3s;
        text-align: center;
        text-decoration: none;
    }

    .btn-light {
        background: var(--soft);
        color: var(--primary);
    }

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

    .price-btn:hover {
        opacity: 0.9;
        letter-spacing: 0.5px;
    }

    .investor-section {
        padding: 100px 0;
        background: #0f172a; /* Темный глубокий фон для серьезного тона */
        color: white;
        border-radius: 40px;
        margin: 40px 20px;
        position: relative;
        overflow: hidden;
    }

    /* Декоративное свечение на фоне */
    .investor-section::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
        filter: blur(60px);
    }

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

    .investor-content h2 {
        font-size: 38px;
        font-weight: 800;
        margin-bottom: 24px;
        line-height: 1.2;
    }

    .investor-content p {
        font-size: 18px;
        color: #94a3b8;
        line-height: 1.6;
        margin-bottom: 32px;
    }

    .partnership-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 30px;
    }

    .tag-item {
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 100px;
        font-size: 14px;
        color: #cbd5e1;
    }

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

    .investor-card h3 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .contact-link {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 16px 32px;
        background: white;
        color: #0f172a;
        border-radius: 14px;
        font-weight: 700;
        text-decoration: none;
        transition: 0.3s;
    }

    .contact-link:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

    @media (max-width: 900px) {
        .investor-grid { grid-template-columns: 1fr; text-align: center; }
        .partnership-tags { justify-content: center; }
        .investor-section { margin: 20px 10px; border-radius: 24px; padding: 60px 20px; }
    }

    .faq {
        padding: 100px 0;
        background: #ffffff;
    }

    .faq-container {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        border-bottom: 1px solid #f1f5f9;
        padding: 20px 0;
    }

    .faq-question {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        background: none;
        border: none;
        text-align: left;
        padding: 0;
        outline: none;
    }

    .faq-question h4 {
        font-size: 18px;
        font-weight: 600;
        color: #0f172a;
        transition: 0.3s;
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        color: #64748b;
        font-size: 15px;
        line-height: 1.6;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
        position: relative;
        transition: 0.3s;
    }

    .faq-icon::before, .faq-icon::after {
        content: "";
        position: absolute;
        background: var(--primary);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .faq-icon::before { width: 14px; height: 2px; }
    .faq-icon::after { width: 2px; height: 14px; transition: 0.3s; }

    /* Состояние при открытии */
    .faq-item.active .faq-answer {
        max-height: 200px;
        margin-top: 16px;
    }

    .faq-item.active .faq-icon::after {
        transform: translate(-50%, -50%) rotate(90deg);
        opacity: 0;
    }

    .faq-item.active h4 {
        color: var(--primary);
    }

    .footer {
        background: #f8fafc;
        padding: 80px 0 40px;
        border-top: 1px solid #e2e8f0;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .footer-logo {
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 20px;
        display: block;
    }

    .footer-heading {
        font-weight: 700;
        margin-bottom: 20px;
        color: #0f172a;
    }

    .footer-links {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #64748b;
        transition: 0.3s;
        font-size: 15px;
    }

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

    .social-links {
        display: flex;
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        background: white;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e2e8f0; 
        transition: 0.3s;
    }

    .social-icon:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    .copyright {
        padding-top: 40px;
        border-top: 1px solid #e2e8f0;
        text-align: center;
        color: #94a3b8;
        font-size: 14px;
    }

    @media (max-width: 900px) {
        .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 500px) {
        .footer-grid { grid-template-columns: 1fr; }
    }