/* Awaken The Genius — dark gradient "glow" theme
   Shared by the login/register page and the post-payment success page. */

:root {
    --atg-green: #22c55e;
    --atg-orange: #ff7529;
    --atg-purple: #b25de9;
    --atg-cream: #fbe9d8;
    --atg-cream-2: #f6dcc2;
    --atg-ink: #12241f;
}

.atg-glow-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 15%, rgba(34, 197, 94, .35), transparent 45%),
        radial-gradient(circle at 85% 12%, rgba(255, 117, 41, .30), transparent 45%),
        radial-gradient(circle at 78% 85%, rgba(178, 93, 233, .35), transparent 50%),
        linear-gradient(135deg, #071613 0%, #0c211c 30%, #1c1633 65%, #2c1710 100%);
    font-family: "Poppins", sans-serif;
    color: #fff;
    padding: 48px 16px 32px;
}

/* faint neural dot-grid texture */
.atg-glow-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.5px);
    background-size: 26px 26px;
}

.atg-shell {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.atg-logo-badge {
    width: 110px;
    height: 110px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 70%);
    box-shadow: 0 0 40px rgba(255, 255, 255, .25);
}

.atg-logo-badge img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.atg-heading {
    font-weight: 800;
    line-height: 1.15;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    text-transform: uppercase;
}

.atg-heading .c-green { color: var(--atg-green); }
.atg-heading .c-orange { color: var(--atg-orange); }
.atg-heading .c-purple { color: var(--atg-purple); }

.atg-subtext {
    color: rgba(255, 255, 255, .8);
    font-size: 1.02rem;
    max-width: 480px;
}

/* ---------- neural brain graphic ---------- */
.atg-brain-wrap {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atg-brain-wrap svg { max-width: 100%; height: auto; filter: drop-shadow(0 0 25px rgba(178, 93, 233, .35)); }

.atg-badge {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: rgba(255, 255, 255, .85);
    text-align: center;
}

.atg-badge i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(2px);
}

.atg-badge.b1 { top: 2%; left: 6%; }
.atg-badge.b1 i { border: 2px solid var(--atg-green); color: var(--atg-green); }
.atg-badge.b2 { top: -2%; right: 4%; }
.atg-badge.b2 i { border: 2px solid var(--atg-orange); color: var(--atg-orange); }
.atg-badge.b3 { top: 40%; left: -4%; }
.atg-badge.b3 i { border: 2px solid var(--atg-green); color: var(--atg-green); }
.atg-badge.b4 { top: 42%; right: -4%; }
.atg-badge.b4 i { border: 2px solid var(--atg-orange); color: var(--atg-orange); }
.atg-badge.b5 { bottom: 0%; right: 14%; }
.atg-badge.b5 i { border: 2px solid var(--atg-purple); color: var(--atg-purple); }

/* ---------- card ---------- */
.atg-card {
    background: linear-gradient(180deg, var(--atg-cream), var(--atg-cream-2));
    border-radius: 26px;
    padding: 34px 30px;
    color: var(--atg-ink);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
}

.atg-card h2, .atg-card h3, .atg-card h4 {
    color: var(--atg-ink);
}

.atg-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #4a7a5e;
}

.atg-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 6px 10px;
    margin-bottom: 12px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}

.atg-field i.atg-field-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--atg-ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
}

.atg-field input, .atg-field select {
    border: 0;
    outline: none;
    flex: 1;
    padding: 10px 4px;
    background: transparent;
    font-size: .95rem;
    color: var(--atg-ink);
}

.atg-field.is-invalid { box-shadow: inset 0 0 0 1px #e0554f; }
.atg-field-error { color: #c0392b; font-size: .78rem; margin: -8px 0 10px 4px; }

.atg-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    background: rgba(0, 0, 0, .06);
    border-radius: 14px;
    padding: 5px;
}

.atg-tab-btn {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .85rem;
    color: #5a5248;
    cursor: pointer;
    transition: all .15s ease;
}

.atg-tab-btn.active {
    background: var(--atg-ink);
    color: #fff;
}

.atg-cta-btn {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 16px 18px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(90deg, #17a34a, var(--atg-orange));
    box-shadow: 0 12px 25px rgba(255, 117, 41, .35);
    text-decoration: none;
    text-align: center;
    font-size: .95rem;
}

.atg-cta-btn:hover { color: #fff; opacity: .95; }

.atg-trust-row {
    display: flex;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
    margin-top: 26px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .8);
    text-align: center;
}

.atg-trust-row div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.atg-trust-row i { font-size: 1.3rem; color: var(--atg-green); }

/* ---------- selected plan box ---------- */
.atg-plan-box {
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    padding: 16px 18px;
}

.atg-plan-chip {
    display: inline-block;
    background: rgba(34, 197, 94, .15);
    color: #17803c;
    border-radius: 999px;
    padding: 3px 12px;
    font-size: .75rem;
    font-weight: 700;
}

.atg-plan-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--atg-ink);
}

.atg-plan-strike {
    text-decoration: line-through;
    color: #8a8178;
    font-size: .9rem;
    margin-left: 8px;
}

.atg-plan-duration {
    font-size: .8rem;
    color: #5a5248;
    margin-top: 4px;
}

.atg-auth-switch {
    text-align: center;
    margin-top: 16px;
    font-size: .85rem;
    color: #5a5248;
}

.atg-auth-switch a {
    color: var(--atg-ink);
    font-weight: 700;
    text-decoration: underline;
}

/* ---------- plan tag variants ---------- */
.atg-plan-chip { margin: 0 6px 6px 0; }
.atg-plan-chip.chip-orange { background: rgba(255, 117, 41, .15); color: #b34a17; }
.atg-plan-chip.chip-purple { background: rgba(178, 93, 233, .15); color: #7a3aa8; }

/* ---------- pane / section wrapper ---------- */
.atg-pane { margin-top: 18px; }
.atg-pane + .atg-pane { margin-top: 22px; padding-top: 18px; border-top: 1px dashed rgba(0, 0, 0, .12); }

/* ---------- financials (coupon / discount / GST) ---------- */
.atg-coupon-row { display: flex; gap: 10px; margin-bottom: 4px; }
.atg-coupon-row .atg-field { flex: 1; margin-bottom: 0; }

.atg-coupon-apply-btn {
    flex-shrink: 0;
    border: 0;
    border-radius: 14px;
    padding: 0 20px;
    font-weight: 700;
    font-size: .85rem;
    color: #fff;
    background: var(--atg-orange);
    cursor: pointer;
}

.atg-coupon-msg { font-size: .8rem; margin: 8px 0 0; }
.atg-coupon-msg.is-success { color: #17803c; }
.atg-coupon-msg.is-error { color: #c0392b; }

.atg-fin-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .6);
    border-radius: 14px;
    padding: 6px 10px;
    margin-bottom: 12px;
}

.atg-fin-field .atg-field-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--atg-ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}

.atg-fin-field .atg-fin-label {
    flex: 1;
    font-size: .85rem;
    font-weight: 600;
    color: #5a5248;
}

.atg-fin-field .atg-fin-value {
    font-weight: 700;
    color: var(--atg-ink);
}

/* ---------- final pay CTA ---------- */
.atg-pay-btn {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 16px 18px;
    margin-top: 20px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(90deg, #17a34a, var(--atg-green));
    box-shadow: 0 12px 25px rgba(34, 197, 94, .35);
    text-align: center;
    cursor: pointer;
}

.atg-pay-btn small { display: block; font-weight: 600; font-size: .72rem; opacity: .9; text-transform: none; }

/* ---------- success page specifics ---------- */
.atg-success-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--atg-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin: 0 auto 16px;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, .18);
}

.atg-fail-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #e0554f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin: 0 auto 16px;
    box-shadow: 0 0 0 8px rgba(224, 85, 79, .18);
}

.atg-key-box {
    background: linear-gradient(90deg, rgba(34, 197, 94, .15), rgba(178, 93, 233, .15));
    border: 1px dashed #4a7a5e;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    font-weight: 700;
    letter-spacing: .08em;
    font-size: 1.05rem;
    color: var(--atg-ink);
    margin: 10px 0 18px;
    word-break: break-all;
}

.atg-delivery-list { list-style: none; padding: 0; margin: 0 0 20px; }

.atg-delivery-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 2px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    font-size: .92rem;
}

.atg-delivery-list li:last-child { border-bottom: 0; }
.atg-delivery-list i.ok { color: var(--atg-green); font-size: 1.1rem; }

.atg-invoice-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .15);
    background: #fff;
    color: var(--atg-ink);
    border-radius: 14px;
    padding: 12px;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    margin-bottom: 14px;
}

.atg-invoice-btn:hover { color: var(--atg-ink); background: #f5f1ea; }

@media (max-width: 991px) {
    .atg-brain-wrap { min-height: 260px; margin-bottom: 20px; }
    .atg-badge { font-size: .68rem; }
    .atg-badge i { width: 38px; height: 38px; }
}
