:root {
    --bg: #f3f6fb;
    --surface: #ffffff;

    --primary: #1d4ed8;
    --primary-dark: #153eaa;
    --primary-light: #dbe7ff;

    --accent: #f59e0b;

    --text: #1e293b;
    --muted: #64748b;

    --border: #dbe3f0;

    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at top right,
            rgba(245, 158, 11, 0.18),
            transparent 280px
        ),
        linear-gradient(135deg, #16357a 0%, #1d4ed8 55%, #2563eb 100%);

    color: white;
    padding: 100px 0 90px;
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0)
    );

    pointer-events: none;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 22px;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;

    margin-top: 52px;
}

.hero-info div {
    backdrop-filter: blur(8px);

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.16);

    padding: 20px 24px;

    border-radius: 18px;

    min-width: 220px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.hero-info div:hover {
    transform: translateY(-4px);

    background: rgba(255, 255, 255, 0.16);
}

.hero-info strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.hero-info span {
    color: rgba(255, 255, 255, 0.82);
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 84px 0;
    background: var(--surface);
}

.section.gray {
    background: linear-gradient(to bottom, #eef4ff, #f7f9fd);
}

.section h2 {
    position: relative;

    display: inline-block;

    font-size: 36px;
    line-height: 1.2;

    margin-bottom: 34px;

    color: #102a66;
}

.section h2::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -10px;

    width: 68px;
    height: 4px;

    border-radius: 999px;

    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section p {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 18px;
    max-width: 920px;
}

/* =========================
   CARDS
========================= */

.cards {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

    gap: 26px;

    margin-top: 36px;
}

.card {
    position: relative;

    background: white;

    border: 1px solid rgba(29, 78, 216, 0.08);

    border-radius: 20px;

    padding: 28px;

    box-shadow: var(--shadow);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.card::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 5px;

    border-radius: 20px 20px 0 0;

    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.card:hover {
    transform: translateY(-6px);

    box-shadow: 0 18px 40px rgba(29, 78, 216, 0.12);

    border-color: rgba(29, 78, 216, 0.18);
}

.card h3 {
    margin-bottom: 14px;

    font-size: 21px;

    color: #153eaa;
}

.card p {
    margin-bottom: 0;
    color: var(--muted);
}

/* =========================
   TABLE
========================= */

.price-table {
    width: 100%;
    border-collapse: collapse;

    margin-top: 28px;

    overflow: hidden;

    border-radius: 18px;

    background: white;

    box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
    padding: 16px 18px;
    text-align: left;
}

.price-table th {
    background: linear-gradient(135deg, #153eaa, #1d4ed8);

    color: white;

    font-size: 15px;
    letter-spacing: 0.3px;
}

.price-table tr:not(:last-child) td {
    border-bottom: 1px solid var(--border);
}

.price-table tr:hover td {
    background: #f8fbff;
}

.note {
    margin-top: 18px;
    color: var(--muted);
}

/* =========================
   CODE BLOCK
========================= */

.code-block {
    margin-top: 24px;
    margin-bottom: 24px;

    padding: 22px 24px;

    border-radius: 18px;

    background: linear-gradient(
        135deg,
        rgba(29, 78, 216, 0.06),
        rgba(245, 158, 11, 0.08)
    );

    border: 1px solid rgba(29, 78, 216, 0.12);

    color: #24324a;
}

/* =========================
   LIST
========================= */

.tech-list {
    padding-left: 24px;
}

.tech-list li {
    margin-bottom: 12px;
    color: var(--text);
}

/* =========================
   CONTACTS
========================= */

.contacts-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    gap: 32px;
}

.contacts-grid > div {
    background: white;

    padding: 30px;

    border-radius: 20px;

    box-shadow: var(--shadow);

    border: 1px solid rgba(29, 78, 216, 0.08);
}

.contacts-grid h3 {
    margin-bottom: 20px;

    font-size: 22px;

    color: #153eaa;
}

.contacts-grid p {
    margin-bottom: 16px;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: linear-gradient(135deg, #10224d, #16357a);

    color: rgba(255, 255, 255, 0.88);

    padding: 34px 0;

    text-align: center;
}

/* =========================
   SMALL DETAILS
========================= */

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

::selection {
    background: rgba(37, 99, 235, 0.18);
}
