:root {
    --bg: #0e1726;
    --card: #16223a;
    --card-2: #1d2c49;
    --accent: #2f7cf6;
    --accent-2: #1cc88a;
    --text: #eaf0fb;
    --muted: #93a2bd;
    --wa: #25d366;
    --tg: #229ed9;
    --radius: 16px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: radial-gradient(circle at 50% 0%, #1a2944 0%, var(--bg) 60%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
}

.app {
    max-width: 560px;
    margin: 0 auto;
    padding: 20px 16px 48px;
}

.progress {
    position: sticky;
    top: 0;
    height: 6px;
    background: var(--card);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 20px;
}
.progress__bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width .35s ease;
}

.screen { display: none; animation: fade .35s ease; }
.screen--active { display: block; }
@keyframes fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 { font-size: 22px; margin-bottom: 6px; }
h2 { font-size: 17px; margin-bottom: 10px; }
.subtitle { color: var(--muted); margin-bottom: 18px; }
.center { text-align: center; }

.expert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}
.expert__photo {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700;
    flex-shrink: 0;
    background-size: cover; background-position: center;
}
.expert__name { font-weight: 700; }
.expert__role { color: var(--accent-2); font-size: 14px; margin-bottom: 6px; }
.expert__bio { color: var(--muted); font-size: 14px; }

.tip {
    background: rgba(47, 124, 246, .12);
    border-left: 3px solid var(--accent);
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
}
.tip__title { font-weight: 700; margin-bottom: 4px; }

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 18px;
}
.card--accent {
    background: linear-gradient(135deg, var(--card-2), var(--card));
    border: 1px solid rgba(47, 124, 246, .35);
}

.checklist { list-style: none; }
.checklist li {
    padding: 7px 0 7px 26px;
    position: relative;
    font-size: 15px;
}
.checklist li::before {
    content: "✓";
    position: absolute; left: 0;
    color: var(--accent-2);
    font-weight: 700;
}

.resources { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.resources__title { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.resource {
    display: inline-block;
    background: var(--card-2);
    color: var(--text);
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14px;
    transition: background .2s;
}
.resource:hover { background: var(--accent); }

.options { display: flex; flex-direction: column; gap: 10px; }
.option {
    text-align: left;
    background: var(--card);
    color: var(--text);
    border: 1px solid transparent;
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    transition: transform .12s, border-color .2s, background .2s;
}
.option:hover { background: var(--card-2); transform: translateY(-1px); }
.option--selected {
    border-color: var(--accent);
    background: rgba(47, 124, 246, .18);
}

.btn {
    display: block;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: transform .12s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn--primary { background: linear-gradient(135deg, var(--accent), #5b9bff); }
.btn--wa { background: var(--wa); }
.btn--tg { background: var(--tg); }

.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--card-2);
    background: var(--card);
    color: var(--text);
    font-size: 15px;
}
.field input:focus { outline: 2px solid var(--accent); }

.messengers { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }

.form-error {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

/* Honeypot — невидим для человека, виден ботам */
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    opacity: 0;
}
