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

body {
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #21152f;
    background:
        radial-gradient(circle at top left, rgba(255, 199, 95, 0.95), transparent 32%),
        radial-gradient(circle at 80% 15%, rgba(255, 91, 151, 0.85), transparent 30%),
        radial-gradient(circle at 50% 90%, rgba(76, 201, 240, 0.75), transparent 34%),
        linear-gradient(135deg, #fff7ea 0%, #ffe5f1 45%, #e9f8ff 100%);
}

.page {
    width: min(1180px, calc(100% - 40px));
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #21152f;
}

.logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 26px;
    background: linear-gradient(135deg, #7b2ff7, #f107a3);
    box-shadow: 0 14px 35px rgba(123, 47, 247, 0.35);
}

.logo-text span {
    display: block;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.logo-text small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(33, 21, 47, 0.58);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.language-switch {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(33, 21, 47, 0.12);
}

.language-switch a {
    min-width: 42px;
    padding: 10px 12px;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    color: #21152f;
    font-size: 13px;
    font-weight: 800;
}

.language-switch a:hover,
.language-switch a.active {
    color: #ffffff;
    background: #21152f;
}

.hero {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 42px;
    align-items: center;
    padding: 0px 0 0px;
}

.hero-content {
    max-width: 760px;
}

.badge {
    display: inline-flex;
    margin-bottom: 28px;
    padding: 10px 18px;
    border-radius: 4px;
    color: #000000;
    font-size: 14px;
    font-weight: 800;
    background: #fd7b43;
    box-shadow: 0 16px 36px rgba(175, 0, 45, 0.25);
}

h1 {
    max-width: 900px;
    font-size: clamp(24px, 8vw, 68px);
    line-height: 0.88;
    letter-spacing: -0.08em;
    font-weight: 950;
}

.intro {
    max-width: 1660px;
    margin-top: 30px;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.35;
    font-weight: 700;
}

.subline {
    max-width: 620px;
    margin-top: 18px;
    color: rgba(33, 21, 47, 0.68);
    font-size: 19px;
    line-height: 1.65;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
    padding: 18px 30px;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(135deg, #21152f, #7b2ff7);
    box-shadow: 0 22px 45px rgba(33, 21, 47, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 55px rgba(33, 21, 47, 0.35);
}

.cta-button2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
    padding: 18px 30px;
    border-radius: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
    background: #c0c0c0;
    box-shadow: 0 22px 45px rgba(33, 21, 47, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button2:hover {
    transform: translateY(-3px);
    box-shadow: #cfcfcf;
}

.hero-card {
    padding: 28px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(22px);
    box-shadow: 0 30px 80px rgba(33, 21, 47, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.step {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
}

.step + .step {
    margin-top: 16px;
}

.step span {
    display: inline-flex;
    margin-bottom: 14px;
    color: #f107a3;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.step strong {
    display: block;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.step p {
    margin-top: 8px;
    color: rgba(33, 21, 47, 0.65);
    font-size: 15px;
    line-height: 1.55;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    padding: 26px 0 34px;
    color: rgba(33, 21, 47, 0.66);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 18px;
    margin-top: 8px;
}

.footer-links a {
    color: #21152f;
    font-weight: 800;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.trust-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border-radius: 999px;
    color: #21152f;
    font-size: 13px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 32px rgba(33, 21, 47, 0.10);
}

@media (max-width: 860px) {
    .site-header,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .language-switch {
        width: 100%;
        justify-content: space-between;
        overflow-x: auto;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 24px;
    }

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

    .trust-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .page {
        width: min(100% - 24px, 1180px);
    }

    .logo-text span {
        font-size: 20px;
    }

    .logo-icon {
        width: 46px;
        height: 46px;
    }

    .language-switch a {
        min-width: 38px;
        padding: 9px 10px;
    }

    .intro {
        font-size: 19px;
    }

    .cta-button {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}
.verification-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
}

.form-card {
    align-self: center;
}

.future-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.future-form label {
    font-size: 14px;
    font-weight: 900;
    color: #21152f;
}

.future-form input {
    width: 100%;
    padding: 17px 18px;
    border: 2px solid rgba(33, 21, 47, 0.10);
    border-radius: 18px;
    font-size: 17px;
    font-weight: 700;
    color: #21152f;
    background: rgba(255, 255, 255, 0.82);
    outline: none;
}

.future-form input:focus {
    border-color: #7b2ff7;
    box-shadow: 0 0 0 5px rgba(123, 47, 247, 0.13);
}

.form-button {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    font-family: inherit;
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0;
    color: rgba(33, 21, 47, 0.48);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.form-divider::before,
.form-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(33, 21, 47, 0.14);
}

.form-message {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}

.form-message.success {
    color: #0b5f39;
    background: rgba(91, 220, 151, 0.22);
}

.form-message.error {
    color: #8a1732;
    background: rgba(255, 91, 151, 0.20);
}

.form-hint {
    margin-top: 24px;
    color: rgba(33, 21, 47, 0.58);
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 860px) {
    .verification-layout {
        grid-template-columns: 1fr;
    }
}
.composition-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 620px);
}

.composition-card {
    width: 100%;
}

.future-form textarea {
    width: 100%;
    min-height: 320px;
    resize: vertical;
    padding: 18px;
    border: 2px solid rgba(33, 21, 47, 0.10);
    border-radius: 18px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: #21152f;
    background: rgba(255, 255, 255, 0.82);
    outline: none;
}

.future-form textarea:focus {
    border-color: #7b2ff7;
    box-shadow: 0 0 0 5px rgba(123, 47, 247, 0.13);
}

.readonly-input {
    color: rgba(33, 21, 47, 0.72);
    background: rgba(255, 255, 255, 0.52) !important;
    cursor: not-allowed;
}

.textarea-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: -4px;
    color: rgba(33, 21, 47, 0.52);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 860px) {
    .composition-layout {
        grid-template-columns: 1fr;
    }
}
.schedule-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
}

.schedule-card {
    width: 100%;
}

.date-picker-shell {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.42)),
        radial-gradient(circle at top left, rgba(255, 122, 24, 0.18), transparent 42%),
        radial-gradient(circle at bottom right, rgba(123, 47, 247, 0.18), transparent 42%);
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: 0 18px 42px rgba(33, 21, 47, 0.10);
}

.date-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 28px;
    background: linear-gradient(135deg, #ff7a18, #f107a3);
    box-shadow: 0 16px 34px rgba(241, 7, 163, 0.25);
}

.date-picker-shell input[type="date"] {
    flex: 1;
    min-width: 0;
    border: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.86);
    cursor: pointer;
}

.date-picker-shell input[type="date"]:focus {
    box-shadow: 0 0 0 5px rgba(123, 47, 247, 0.13);
}

.schedule-window {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}

.schedule-window div {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 12px 28px rgba(33, 21, 47, 0.08);
}

.schedule-window span {
    display: block;
    margin-bottom: 6px;
    color: rgba(33, 21, 47, 0.52);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.schedule-window strong {
    display: block;
    color: #21152f;
    font-size: 20px;
    font-weight: 950;
}

@media (max-width: 860px) {
    .schedule-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .date-picker-shell {
        align-items: stretch;
        flex-direction: column;
    }

    .date-icon {
        width: 100%;
        flex-basis: auto;
    }

    .schedule-window {
        grid-template-columns: 1fr;
    }
}
.send-layout,
.done-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 620px);
}

.send-card,
.done-card {
    width: 100%;
}

.summary-box {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 14px 34px rgba(33, 21, 47, 0.08);
    margin-bottom: 16px;
}

.summary-box span {
    display: block;
    margin-bottom: 8px;
    color: rgba(33, 21, 47, 0.52);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.summary-box strong {
    display: block;
    color: #21152f;
    font-size: 20px;
    font-weight: 950;
    word-break: break-word;
}

.summary-box pre {
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(33, 21, 47, 0.78);
}

.done-card {
    text-align: center;
}

.done-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    color: #ffffff;
    font-size: 48px;
    font-weight: 950;
    background: linear-gradient(135deg, #20bf55, #01baef);
    box-shadow: 0 24px 50px rgba(1, 186, 239, 0.28);
}

.done-card h2 {
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.05em;
    color: #21152f;
}

.done-card p {
    margin-top: 14px;
    color: rgba(33, 21, 47, 0.64);
    font-size: 17px;
    line-height: 1.65;
}

@media (max-width: 860px) {
    .send-layout,
    .done-layout {
        grid-template-columns: 1fr;
    }
}
.legal-layout {
    width: 100%;
    padding: 20px 0 80px;
}

.legal-hero {
    margin-bottom: 34px;
}

.legal-card {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 38px;
}

.legal-section + .legal-section {
    margin-top: 34px;
    padding-top: 34px;
    border-top: 1px solid rgba(33, 21, 47, 0.10);
}

.legal-section h2 {
    margin-bottom: 14px;
    color: #21152f;
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.legal-section p {
    color: rgba(33, 21, 47, 0.74);
    font-size: 17px;
    line-height: 1.8;
}

@media (max-width: 860px) {

    .legal-card {
        padding: 26px;
    }

    .legal-section h2 {
        font-size: 24px;
    }

    .legal-section p {
        font-size: 16px;
    }
}

@media (max-width: 520px) {

    .legal-card {
        padding: 22px;
        border-radius: 24px;
    }

    .legal-section h2 {
        font-size: 21px;
    }
}
.admin-layout {
    width: 100%;
    padding: 20px 0 80px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 22px;
    margin: 34px 0;
}

.admin-stat-card {
    padding: 30px;
}

.admin-stat-card span {
    display: block;
    margin-bottom: 10px;
    color: rgba(33, 21, 47, 0.58);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.admin-stat-card strong {
    display: block;
    color: #21152f;
    font-size: 56px;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.admin-list-card {
    width: 100%;
    padding: 34px;
}

.admin-list-card h2 {
    margin-bottom: 24px;
    color: #21152f;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.admin-empty {
    color: rgba(33, 21, 47, 0.64);
    font-size: 17px;
    line-height: 1.6;
}

.admin-mail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-mail-row {
    display: grid;
    grid-template-columns: 180px 180px 1fr;
    gap: 18px;
    align-items: center;
    width: 100%;
    padding: 18px 20px;
    border: none;
    border-radius: 20px;
    font-family: inherit;
    text-align: left;
}

.admin-mail-header {
    color: rgba(33, 21, 47, 0.52);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    background: rgba(255, 255, 255, 0.38);
}

.admin-mail-button {
    color: #21152f;
    font-size: 15px;
    font-weight: 850;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 12px 30px rgba(33, 21, 47, 0.08);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-mail-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 42px rgba(33, 21, 47, 0.14);
}

.admin-mail-button small {
    display: block;
    margin-top: 3px;
    color: rgba(33, 21, 47, 0.52);
    font-size: 12px;
    font-weight: 800;
}

.mail-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(33, 21, 47, 0.42);
    backdrop-filter: blur(16px);
}

.mail-popup-overlay[hidden] {
    display: none;
}

.mail-popup {
    position: relative;
    width: min(760px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    padding: 34px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(255, 199, 95, 0.35), transparent 36%),
        radial-gradient(circle at bottom right, rgba(76, 201, 240, 0.26), transparent 42%),
        rgba(255, 255, 255, 0.92);
    box-shadow: 0 36px 90px rgba(33, 21, 47, 0.32);
    overflow: hidden;
}

.mail-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 16px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    background: linear-gradient(135deg, #21152f, #7b2ff7);
    cursor: pointer;
}

.mail-popup-head {
    padding-right: 52px;
    margin-bottom: 22px;
}

.mail-popup-head span {
    display: block;
    margin-bottom: 8px;
    color: #f107a3;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.mail-popup-head h2 {
    color: #21152f;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.mail-popup-head p {
    margin-top: 6px;
    color: rgba(33, 21, 47, 0.62);
    font-size: 15px;
    font-weight: 800;
}

.mail-popup-text {
    max-height: 470px;
    overflow-y: auto;
    padding: 22px;
    border-radius: 22px;
    white-space: pre-wrap;
    word-break: break-word;
    color: rgba(33, 21, 47, 0.82);
    font-size: 16px;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.72);
}

.popup-open {
    overflow: hidden;
}

@media (max-width: 860px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-mail-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .admin-mail-header {
        display: none;
    }

    .admin-list-card {
        padding: 24px;
    }
}

@media (max-width: 520px) {
    .mail-popup {
        padding: 24px;
        border-radius: 26px;
    }

    .mail-popup-head h2 {
        font-size: 23px;
    }

    .mail-popup-text {
        max-height: 420px;
        font-size: 15px;
    }
}
.logo {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: #21152f;
}

.logo-image {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.logo-text span {
    display: block;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

.logo-text small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(33, 21, 47, 0.58);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}