.external-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(0, 114, 255, 0.14), transparent 26%),
        radial-gradient(circle at top right, rgba(0, 200, 83, 0.12), transparent 22%),
        linear-gradient(180deg, #f3f8fc 0%, #eef5f7 100%);
}

.external-appbar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(10, 76, 140, 0.12);
    color: #12324a;
}

.external-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.external-brand-logo {
    width: 2.9rem;
    height: auto;
}

.external-brand {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #0072ff;
}

.external-login-button {
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(0, 114, 255, 0.18);
}

.external-appbar .mud-button-root {
    color: #12324a !important;
    border-radius: 999px;
    font-weight: 700;
}

.external-appbar .mud-button-root:hover,
.external-appbar .mud-button-root:focus-visible {
    background: rgba(0, 114, 255, 0.08);
}

.external-appbar .external-login-button {
    color: #ffffff !important;
}

.external-content {
    padding: 1rem 0 2.5rem;
}

.ext-page-shell {
    min-height: calc(100vh - 76px);
}

.ext-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(0, 114, 255, 0.96), rgba(0, 200, 83, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(0, 85, 170, 0.18);
}

.ext-hero::before,
.ext-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.ext-hero::before {
    width: 18rem;
    height: 18rem;
    top: -7rem;
    right: -4rem;
}

.ext-hero::after {
    width: 12rem;
    height: 12rem;
    bottom: -4rem;
    left: -3rem;
}

.ext-hero-inner {
    position: relative;
    z-index: 1;
    padding: 2rem 2.25rem 2.4rem;
}

.ext-back-button {
    color: #ffffff !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    padding-inline: 0.95rem;
}

.ext-kicker {
    display: block;
    text-align: center;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.ext-title {
    color: #ffffff;
    font-weight: 800;
}

.ext-subtitle {
    max-width: 44rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
}

.ext-period-toggle {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.3rem;
}

.ext-pricing-grid {
    align-items: stretch;
}

.ext-pricing-card,
.ext-panel {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(8, 74, 135, 0.1);
    border-radius: 28px;
    box-shadow: 0 22px 50px rgba(18, 50, 74, 0.09);
    overflow: hidden;
}

.ext-pricing-card {
    position: relative;
}

.ext-pricing-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, #0072ff, #00c853);
    opacity: 0.9;
}

.ext-pricing-card-highlight {
    border-color: rgba(0, 114, 255, 0.14);
}

.ext-pricing-card-featured {
    transform: translateY(-12px);
    border-color: rgba(0, 114, 255, 0.24);
    box-shadow: 0 26px 64px rgba(0, 114, 255, 0.18);
}

.ext-pricing-card-content {
    padding: 1.35rem 2rem 1rem;
    flex: 1;
}

.ext-plan-tag {
    color: #3f729f;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ext-plan-tag-strong {
    color: #0072ff;
}

.ext-plan-title,
.ext-section-title {
    color: #12324a;
    font-weight: 800;
}

.ext-old-price {
    color: #7890a3;
    text-decoration: line-through;
}

.ext-price-spacer {
    min-height: 1.75rem;
}

.ext-price {
    color: #12324a;
    font-weight: 900;
    line-height: 1;
}

.ext-period {
    color: #0072ff;
    font-weight: 700;
}

.ext-feature-list .mud-list-item {
    border-radius: 14px;
    margin-bottom: 0.35rem;
}

.ext-feature-list .mud-list-item:last-child {
    margin-bottom: 0;
}

.ext-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.98));
}

.ext-summary-panel {
    background:
        linear-gradient(180deg, rgba(245, 251, 255, 0.98), rgba(236, 247, 241, 0.96));
}

.ext-section-subtitle {
    color: #4b6a80;
}

.ext-summary-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(8, 74, 135, 0.1);
    border-radius: 22px;
}

.ext-field .mud-input-control-input-container,
.ext-field .mud-input-control > .mud-input-control-input-container {
    background: rgba(255, 255, 255, 0.72);
}

.ext-action-button {
    width: 100%;
    max-width: 240px;
    min-width: 190px;
    border-radius: 16px;
    text-transform: none;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(0, 114, 255, 0.22);
}

@media (max-width: 960px) {
    .ext-pricing-card-featured {
        transform: none;
    }
}

@media (max-width: 600px) {
    .external-content {
        padding-top: 0.75rem;
    }

    .external-brand {
        display: none;
    }

    .ext-hero,
    .ext-pricing-card,
    .ext-panel,
    .ext-summary-card {
        border-radius: 22px;
    }

    .ext-hero-inner {
        padding: 1.4rem 1.2rem 1.6rem;
    }

    .ext-pricing-card-content {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
