/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
    color: #1d1d1f;
    display: flex;
    flex-direction: column;
}

/* Шапка */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #f5f5f5;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #243e60;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

nav a {
    text-decoration: none;
    color: #243e60;
    font-size: 16px;
}

/* Главный контент */
main {
    flex: 1;
}

/* Герой-секция */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 40px;
    background-color: #f1f6fd;
    flex-wrap: wrap;
}

.hero-text {
    /*max-width: 500px;*/
    flex: 1;
}

.hero-text h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: #444;
}

.hero-placeholder {
    width: 250px;
    height: 250px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    flex-shrink: 0;
}

.hero-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("android-chrome-512x512.png"); /* Заменить на свой путь */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    opacity: 0.15;
    z-index: 1;
}

.tagline {
    position: relative;
    z-index: 2;
    font-weight: bold;
    color: #2656d4;
    text-align: center;
    font-size: 18px;
}

/* Секция "Кому подходит" */
.audience {
    padding: 80px 40px;
    background: linear-gradient(180deg, #f8fafd 0%, #ffffff 100%);
    text-align: center;
}

.audience h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #243e60;
}

.audience-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    padding: 0 10px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card h3 {
    font-size: 18px;
    color: #2656d4;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.card::before {
    content: attr(data-icon);
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    opacity: 0.12;
}

/* Футер */
footer {
    background-color: #2656d4;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }

    .hero {
        flex-direction: column;
        text-align: left;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-placeholder {
        order: 2;
        margin-top: 20px;
    }

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

.pricing {
    padding: 80px 40px;
    text-align: center;
    background-color: #f9fbff;
}

.pricing h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #243e60;
}

.table-wrapper {
    overflow-x: auto;
    max-width: 100%;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.price-table th,
.price-table td {
    padding: 16px 20px;
    text-align: center;
    font-size: 15px;
    white-space: nowrap;
}

.price-table th {
    background-color: #eef3f8;
    color: #243e60;
    font-weight: 600;
    font-size: 14px;
}

.price-table tbody tr:nth-child(even) {
    background-color: #f7f9fc;
}

.price-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #333;
}

.price-table tbody tr:hover {
    background-color: #e9f1ff;
    transition: background-color 0.2s ease-in-out;
    cursor: default;
}

.named-price-block {
    margin-top: 60px;
    text-align: center;
    padding-bottom: 80px;
}

.named-price-block h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #243e60;
}

.named-price-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
}

.named-price-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 0 20px;
}

.named-item {
    max-width: 140px;
    text-align: center;
}

.named-item img {
    width: 80px;
    margin-bottom: 10px;
}

.named-price {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.named-operator {
    font-size: 14px;
    color: #333;
}

.payment-block {
    margin-top: 80px;
    text-align: center;
    padding-bottom: 80px;
}

.payment-block h3 {
    font-size: 24px;
    margin-bottom: 40px;
    color: #243e60;
}

.payment-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
}

.payment-item {
    max-width: 280px;
    position: relative;
    text-align: center;
}

.payment-item img {
    width: 80px;
    margin-bottom: 12px;
}

.payment-note {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-bottom: 8px;
}

.payment-desc {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

.integration {
    display: flex;
    gap: 40px;
    padding: 60px 40px;
}

.sidebar {
    min-width: 240px;
}

.sidebar h4 {
    margin-bottom: 16px;
    color: #2656d4;
    font-size: 16px;
}

.sidebar ul {
    list-style: none;
    padding-left: 0;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    text-decoration: none;
    color: #243e60;
    font-size: 15px;
}

.sidebar a:hover {
    color: #2656d4;
}

.doc-content {
    flex: 1;
}

.doc-content article {
    margin-bottom: 60px;
}

.doc-content h2 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #243e60;
}

pre {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    overflow-x: auto;
    margin: 12px 0;
}

.method {
    color: #1aaa55;
    font-weight: 500;
    font-size: 16px;
}

.param-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.param-table th,
.param-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #e3e7ec;
}

.param-table th {
    background-color: #f4f7fb;
    font-weight: 600;
    color: #243e60;
}

.note.warning {
    background: #fff4f4;
    border-left: 4px solid #d33;
    padding: 16px;
    font-size: 14px;
    color: #4a1c1c;
    margin: 24px 0;
    border-radius: 6px;
}

.code-example {
    background-color: #1e293b;
    color: #fff;
    font-family: monospace;
    font-size: 13px;
    padding: 14px 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin-top: 8px;
}

.example-label {
    font-weight: 500;
    margin-top: 24px;
    font-size: 15px;
}

