﻿* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.5;
}

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(900px, 100%);
}

.hero {
    color: white;
    background:
        radial-gradient(circle at top right, rgba(48, 213, 200, 0.25), transparent 30%),
        linear-gradient(135deg, #10182d, #17345c);
    padding-bottom: 80px;
}

.small-header {
    color: white;
    background: #10182d;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    padding-bottom: 24px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .5px;
}

.logo span {
    color: #35d0ba;
}

.no-underline {
    text-decoration: none;
}

.top-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 48px;
    align-items: center;
    padding-top: 70px;
}

.badge {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-size: 14px;
}

h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    margin: 22px 0;
}

.lead {
    font-size: 20px;
    max-width: 760px;
    color: #dce8f6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
}

.btn.primary {
    color: #0e2233;
    background: #35d0ba;
}

.btn.secondary {
    color: white;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.24);
}

.btn.full {
    width: 100%;
}

.status-card {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(8px);
}

.status-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #35d0ba;
    color: #0f2533;
    font-weight: 900;
}

.status-card ol {
    padding-left: 20px;
    color: #e7eef7;
}

.section {
    padding: 80px 0;
}

.section.light {
    background: #f4f7fb;
}

.section-heading span {
    color: #149b89;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.section-heading h2 {
    margin: 8px 0 24px;
    font-size: 38px;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product-card,
.info-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e4e9f0;
    background: white;
    box-shadow: 0 10px 30px rgba(16, 24, 45, .06);
}

.product-card strong {
    font-size: 22px;
}

.product-card p {
    margin-bottom: 0;
    color: #627086;
}

.form-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.form-card,
.chat-card {
    padding: 28px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 16px 50px rgba(21, 40, 70, .10);
}

label {
    display: block;
    margin: 16px 0 7px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #ced6e2;
    border-radius: 9px;
    font: inherit;
    background: white;
}

textarea {
    resize: vertical;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.error-box,
.success-box,
.trust-box {
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.error-box {
    background: #fff0f0;
    color: #a52727;
    border: 1px solid #f5c1c1;
}

.success-box {
    background: #effcf8;
    border: 1px solid #b9eadf;
}

.trust-box {
    margin-top: 25px;
    background: white;
    border-left: 4px solid #35d0ba;
}

.code-box {
    padding: 12px;
    background: #10182d;
    color: white;
    border-radius: 8px;
    font-family: Consolas, monospace;
    font-size: 20px;
    text-align: center;
}

.warning-text {
    color: #a15d00;
}

.lookup-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

footer {
    padding: 42px 0;
    background: #10182d;
    color: #dbe5f1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
}

.ticket-page {
    background: #f4f7fb;
}

.ticket-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.ticket-summary h1 {
    font-size: 38px;
    margin: 5px 0;
}

.muted {
    color: #6c788a;
}

.ticket-status {
    padding: 10px 14px;
    border-radius: 999px;
    background: #dff8f2;
    color: #0c6f61;
    font-weight: 900;
}

.ticket-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.info-card span {
    display: block;
    color: #798598;
    margin-bottom: 5px;
}

.chat-header {
    border-bottom: 1px solid #e5eaf1;
    margin-bottom: 15px;
}

.chat-header p {
    margin-top: 4px;
    color: #738096;
}

.messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 520px;
    overflow-y: auto;
    padding: 10px 0 20px;
}

.message {
    max-width: 78%;
    padding: 13px 15px;
    border-radius: 14px;
}

.message.client {
    align-self: flex-end;
    background: #dff8f2;
}

.message.support {
    align-self: flex-start;
    background: #eef2f7;
}

.message-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 5px;
    font-size: 13px;
}

.message-meta span {
    color: #748094;
}

.message-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
    border-top: 1px solid #e5eaf1;
    padding-top: 18px;
}

@media (max-width: 850px) {
    .hero-grid,
    .form-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .ticket-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .products,
    .two-cols,
    .lookup-form,
    .message-form {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 55px 0;
    }

    .message {
        max-width: 95%;
    }
}
