:root {
    --intro-radius: 0.75rem;
    --intro-radius-lg: 1.5rem;
    --intro-accent: #3367c1;
    --intro-accent-hover: #313131;
    --intro-text: #201b1c;
    --intro-text-muted: #6b7280;
    --intro-surface: rgba(255, 255, 255, 0.94);
    --intro-border: rgba(31, 41, 55, 0.10);
    --intro-shadow: 0 22px 55px rgba(45, 29, 31, 0.12);
    --intro-footer: #211c1d;
}

body {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 4%, rgba(199, 38, 38, 0.11), transparent 31rem),
        radial-gradient(circle at 92% 8%, rgba(238, 178, 142, 0.20), transparent 28rem),
        linear-gradient(145deg, #fbf7f3 0%, #f6efe9 48%, #f9f4ef 100%);
    color: var(--intro-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
    position: fixed;
    z-index: 0;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    filter: blur(2px);
}

body::before {
    top: 12%;
    left: -17rem;
    border: 1px solid rgba(199, 38, 38, 0.13);
}

body::after {
    right: -15rem;
    bottom: 9%;
    border: 1px solid rgba(199, 38, 38, 0.10);
}

.container-flex {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 46px 20px 42px;
}

.intro-shell {
    width: 100%;
}

.intro-hero {
    max-width: 790px;
    margin: 0 auto 38px;
}

.logo-container {
    margin-bottom: 26px;
    text-align: center;
}

.logo-field {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
    border: 1px solid var(--intro-border);
    border-radius: var(--intro-radius-lg);
    background: var(--intro-surface);
    box-shadow: var(--intro-shadow);
}

.logo {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    border-radius: calc(var(--intro-radius-lg) - 0.45rem);
}

.btn-block-custom {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 34px 32px 32px;
    overflow: hidden;
    border-radius: var(--intro-radius-lg);
    border: 1px solid var(--intro-border);
    background: var(--intro-surface);
    box-shadow: var(--intro-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-block-custom::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--intro-accent), color-mix(in srgb, var(--intro-accent) 54%, #f3b58d));
    content: "";
}

.btn-block-custom:hover,
.btn-block-custom:focus-within {
    transform: translateY(-5px);
    border-color: rgba(199, 38, 38, 0.22);
    box-shadow: 0 30px 65px rgba(45, 29, 31, 0.16);
}

.choice-grid {
    align-items: stretch;
}

.choice-column {
    display: flex;
}

.choice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border: 1px solid rgba(199, 38, 38, 0.12);
    border-radius: 18px;
    background: rgba(199, 38, 38, 0.08);
    color: var(--intro-accent);
    font-size: 1.55rem;
}

.choice-card h2 {
    margin: 0 0 16px;
    color: var(--intro-text);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
}

.choice-description {
    flex: 1;
    margin-bottom: 27px;
    color: var(--intro-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.choice-separator {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b8e90;
}

.choice-separator::before,
.choice-separator::after {
    position: absolute;
    left: 50%;
    width: 1px;
    height: calc(50% - 26px);
    background: rgba(64, 48, 51, 0.13);
    content: "";
}

.choice-separator::before {
    top: 0;
}

.choice-separator::after {
    bottom: 0;
}

.choice-separator span {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.btn-custom {
    min-width: 220px;
    padding: 13px 26px;
    font-size: 1rem;
    border-radius: var(--intro-radius) !important;
    border: 0 !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 22px rgba(199, 38, 38, 0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.btn-custom.btn-primary,
.btn-custom.btn-success {
    background: var(--intro-accent) !important;
    color: #fff !important;
}

.btn-custom.btn-primary:hover,
.btn-custom.btn-primary:focus,
.btn-custom.btn-primary:active,
.btn-custom.btn-success:hover,
.btn-custom.btn-success:focus,
.btn-custom.btn-success:active {
    background: var(--intro-accent) !important;
    color: #fff !important;
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(199, 38, 38, 0.24) !important;
}

.footer {
    position: relative;
    z-index: 1;
    background-color: var(--intro-footer);
    color: white;
    padding: 22px 0;
    margin-top: auto;
}

.footer .row > div:first-child > div:first-child {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 6px;
    font-size: 1.1rem;
    color: #fff !important;
    background: var(--intro-accent);
    border: 1px solid var(--intro-accent);
    border-radius: 12px;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
    color: #ffffff !important;
    background: var(--intro-accent-hover);
    border-color: var(--intro-accent-hover);
    transform: translateY(-2px);
    text-decoration: none;
}

.footer .text-md-left a,
.footer .text-md-left a:visited,
.offer-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.9rem;
}

.footer .text-md-left a:hover,
.footer .text-md-left a:focus,
.footer .text-md-left a:active,
.offer-link:hover,
.offer-link:focus,
.offer-link:active {
    color: var(--intro-accent) !important;
    text-decoration: underline;
}
.welcome-text {
    text-align: center;
}

.welcome-text h1 {
    margin: 0 0 12px;
    color: var(--intro-text);
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.welcome-text .lead {
    margin-bottom: 9px;
    color: #473d3f;
    font-size: 1.22rem;
    font-weight: 500;
}

.welcome-description {
    max-width: 690px;
    margin: 0 auto;
    color: var(--intro-text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

@media (max-width: 767.98px) {
    .container-flex {
        justify-content: flex-start;
        padding: 28px 14px 32px;
    }

    .intro-hero {
        margin-bottom: 28px;
    }

    .logo-container {
        margin-bottom: 22px;
    }

    .logo-field {
        padding: 9px;
        border-radius: 1.25rem;
    }

    .logo {
        width: 145px;
        border-radius: 0.85rem;
    }

    .welcome-text h1 {
        font-size: 2.15rem;
    }

    .welcome-text .lead {
        font-size: 1.08rem;
    }

    .choice-column {
        width: 100%;
    }

    .choice-separator {
        min-height: 54px;
    }

    .choice-separator::before,
    .choice-separator::after {
        top: 50%;
        width: calc(50% - 35px);
        height: 1px;
    }

    .choice-separator::before {
        right: auto;
        left: 15px;
    }

    .choice-separator::after {
        right: 15px;
        bottom: auto;
        left: auto;
    }

    .btn-block-custom {
        padding: 29px 24px 27px;
    }

    .footer {
        padding: 24px 14px;
    }
}

@media (max-width: 575.98px) {
    .logo {
        width: 125px;
    }

    .welcome-text h1 {
        font-size: 1.9rem;
    }

    .welcome-description {
        font-size: 0.95rem;
    }

    .choice-card h2 {
        font-size: 1.4rem;
    }

    .btn-custom {
        width: 100%;
        min-width: 0;
    }

    .footer .text-md-left a {
        display: inline-block;
        margin: 3px 7px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-block-custom,
    .btn-custom,
    .social-links a {
        transition: none;
    }
}
