/* ==========================================
   PRIMEFORGE UPGRADE PAGE
========================================== */

html,
body {

    margin: 0;

    padding: 0;

    min-height: 100%;

    overflow-y: auto;

    overflow-x: hidden;

    font-family: Inter, sans-serif;

    background: #0B1220;

    color: white;

}

/* Aurora */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    background:

        radial-gradient(circle at 15% 20%, rgba(124, 58, 237, .28), transparent 35%),

        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, .20), transparent 30%),

        radial-gradient(circle at 50% 80%, rgba(16, 185, 129, .12), transparent 35%);

    filter: blur(70px);

    z-index: -2;

}

body::after {

    content: "";

    position: fixed;

    inset: 0;

    background: linear-gradient(180deg, #0B1220, #111827);

    z-index: -3;

}

.upgrade-page {

    width: min(1280px, 92%);

    margin: auto;

    padding: 70px 0 100px;

}

.upgrade-header {

    text-align: center;

    margin-bottom: 55px;

}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(124, 58, 237, .18);

    border: 1px solid rgba(168, 85, 247, .35);

    color: #C4B5FD;

    font-weight: 700;

    margin-bottom: 25px;

}

.upgrade-header h1 {

    font-size: 62px;

    font-weight: 800;

    line-height: 1.1;

    margin-bottom: 18px;

}

.upgrade-header h1 span {

    display: block;

    color: #A855F7;

}

.upgrade-header p {

    width: min(760px, 100%);

    margin: auto;

    color: #94A3B8;

    font-size: 20px;

    line-height: 1.8;

}

.hero {

    padding: 70px 0 40px;

}

.hero-stats {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

    margin: 35px;

}

.stat {

    background: rgba(255, 255, 255, .04);

    border: 1px solid rgba(255, 255, 255, .06);

    border-radius: 22px;

    padding: 28px;

    text-align: center;

    backdrop-filter: blur(18px);

}

.stat h2 {

    font-size: 38px;

    color: #A855F7;

    margin-bottom: 10px;

}

.stat span {

    color: #CBD5E1;

}

.feature-showcase {

    margin: 40px 0;

}

.feature-showcase h2 {

    text-align: center;

    font-size: 42px;

    margin-bottom: 12px;

}

.feature-showcase p {

    text-align: center;

    color: #94A3B8;

    margin-bottom: 40px;

}

.tool-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

    gap: 20px;

}

.tool-card {

    background: rgba(255, 255, 255, .04);

    border: 1px solid rgba(255, 255, 255, .06);

    backdrop-filter: blur(16px);

    border-radius: 18px;

    padding: 22px;

    font-size: 17px;

    font-weight: 600;

    transition: .35s;

    cursor: pointer;

    animation: floatCard 5s ease-in-out infinite;

}

.tool-card:hover {

    transform: translateY(-10px) scale(1.03);

    border-color: #7C3AED;

    box-shadow: 0 20px 50px rgba(124, 58, 237, .35);

}

@keyframes floatCard {

    0% {

        transform: translateY(0px);

    }

    50% {

        transform: translateY(-6px);

    }

    100% {

        transform: translateY(0px);

    }

}

.tool-card:nth-child(2) {

    animation-delay: .2s;

}

.tool-card:nth-child(3) {

    animation-delay: .5s;

}

.tool-card:nth-child(4) {

    animation-delay: .8s;

}

.tool-card:nth-child(5) {

    animation-delay: 1s;

}

.tool-card:nth-child(6) {

    animation-delay: 1.3s;

}

.tool-card:nth-child(7) {

    animation-delay: 1.6s;

}

.tool-card:nth-child(8) {

    animation-delay: 1.9s;

}

.tool-card:nth-child(9) {

    animation-delay: 2.2s;

}

.billing-toggle {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 18px;

    margin: 35px 0;

}

.billing-label {

    color: #94A3B8;

    font-weight: 600;

    transition: .3s;

}

.billing-label.active {

    color: white;

}

.billing-label small {

    display: block;

    color: #10B981;

    font-size: 12px;

    margin-top: 4px;

}

.toggle-switch {

    width: 72px;

    height: 38px;

    background: #1E293B;

    border-radius: 999px;

    position: relative;

    cursor: pointer;

    border: 1px solid rgba(255, 255, 255, .08);

}

.toggle-ball {

    width: 30px;

    height: 30px;

    border-radius: 50%;

    background: #7C3AED;

    position: absolute;

    left: 4px;

    top: 3px;

    transition: .35s;

}

/* ==========================================
   PRICING SECTION
========================================== */

.pricing-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    margin: 50px 0;

}

.pricing-card {

    background: rgba(255, 255, 255, .04);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 26px;

    padding: 40px 32px;

    position: relative;

    backdrop-filter: blur(20px);

    transition: .35s;

    display: flex;

    flex-direction: column;

}

.pricing-card:hover {

    transform: translateY(-10px);

    border-color: #7C3AED;

    box-shadow: 0 25px 70px rgba(124, 58, 237, .35);

}

.pricing-card.popular {

    border: 2px solid #7C3AED;

    transform: scale(1.04);

    box-shadow: 0 30px 90px rgba(124, 58, 237, .35);

}

.popular-badge {

    position: absolute;

    top: -16px;

    left: 50%;

    transform: translateX(-50%);

    background: #7C3AED;

    color: white;

    padding: 8px 18px;

    border-radius: 999px;

    font-size: 13px;

    font-weight: 700;

}

.plan-name {

    font-size: 32px;

    font-weight: 700;

    margin-bottom: 15px;

}

.plan-price {

    font-size: 54px;

    font-weight: 800;

    margin-bottom: 8px;

}

.plan-price span {

    font-size: 18px;

    color: #94A3B8;

    font-weight: 500;

}

.plan-save {

    color: #10B981;

    font-size: 14px;

    margin-bottom: 25px;

}

.plan-features {

    list-style: none;

    padding: 0;

    margin: 0;

    flex: 1;

}

.plan-features li {

    padding: 12px 0;

    border-bottom: 1px solid rgba(255, 255, 255, .05);

    color: #CBD5E1;

}

.plan-features li:last-child {

    border-bottom: none;

}

.upgrade-btn {

    margin-top: 35px;

    width: 100%;

    border: none;

    cursor: pointer;

    border-radius: 16px;

    padding: 18px;

    font-size: 17px;

    font-weight: 700;

    transition: .3s;

}

.upgrade-btn.primary {

    background: #7C3AED;

    color: white;

}

.upgrade-btn.primary:hover {

    background: #8B5CF6;

    transform: translateY(-3px);

}

.upgrade-btn.secondary {

    background: #1E293B;

    color: white;

}

.upgrade-btn.secondary:hover {

    background: #273549;

}

.current-plan {

    background: #10B981;

    color: white;

    cursor: default;

}

.current-plan:hover {

    transform: none;

}

@media(max-width:1100px) {

    .pricing-grid {

        grid-template-columns: 1fr;

    }

}

/* ===========================
   PRICING PLANS
=========================== */

.pricing-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    margin-top: 80px;

}

.plan-card {

    background: #151F34;

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    padding: 40px 30px;

    text-align: center;

    position: relative;

    transition: .3s;

}

.plan-card:hover {

    transform: translateY(-10px);

    border-color: #7C3AED;

    box-shadow: 0 25px 60px rgba(124, 58, 237, .3);

}

.plan-card.pro {

    border: 2px solid #7C3AED;

    transform: scale(1.04);

}

.badge {

    position: absolute;

    top: 5px;

    left: 50%;

    transform: translateX(-50%);

    background: #7C3AED;

    color: white;

    padding: 8px 18px;

    border-radius: 999px;

    font-size: 13px;

    font-weight: 700;

}

.plan-card h2 {

    font-size: 34px;

    margin-bottom: 18px;

}

.price {

    font-size: 54px;

    font-weight: 800;

    color: #A855F7;

}

.plan-card small {

    display: block;

    color: #94A3B8;

    margin-bottom: 30px;

}

.plan-card ul {

    list-style: none;

    padding: 0;

    margin: 0 0 35px;

}

.plan-card li {

    padding: 12px 0;

    color: #CBD5E1;

    border-bottom: 1px solid rgba(255, 255, 255, .05);

}

.plan-card li:last-child {

    border-bottom: none;

}

.plan-card button {

    position: relative;

    z-index: 2;

    width: 100%;

    padding: 18px;

    border: none;

    border-radius: 14px;

    background: #7C3AED;

    color: white;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;

    /* Keep the real button above the decorative Pro glow. */
    position: relative;
    z-index: 2;
    pointer-events: auto;

}

.plan-card button:hover {

    background: #8B5CF6;

}

.plan-card button:disabled {

    background: #1E293B;

    color: #94A3B8;

    cursor: not-allowed;

}

@media(max-width:1000px) {

    .pricing-grid {

        grid-template-columns: 1fr;

    }

}

.hero {

    text-align: center;

    padding: 100px 0 70px;

}

.hero h1 {

    font-size: 72px;

    font-weight: 800;

    line-height: 1.05;

    margin: 30px auto;

    max-width: 900px;

}

.hero h1 span {

    display: block;

    color: #A855F7;

}

.hero p {

    max-width: 760px;

    margin: auto;

    color: #94A3B8;

    font-size: 22px;

    line-height: 1.8;

}

.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 18px;

    margin-top: 45px;

}

.primary-btn {

    background: #7C3AED;

    color: white;

    padding: 18px 34px;

    border-radius: 16px;

    text-decoration: none;

    font-weight: 700;

    transition: .3s;

}

.primary-btn:hover {

    transform: translateY(-4px);

    background: #8B5CF6;

}

.secondary-btn {

    background: #1E293B;

    color: white;

    border: none;

    padding: 18px 34px;

    border-radius: 16px;

    cursor: pointer;

    transition: .3s;

}

.secondary-btn:hover {

    transform: translateY(-4px);

}

.hero-stats {

    display: flex;

    justify-content: center;

    gap: 25px;

    margin-top: 60px;

    flex-wrap: wrap;

}

.hero-stats .stat {

    padding: 18px 28px;

    border-radius: 18px;

    background: rgba(255, 255, 255, .04);

    border: 1px solid rgba(255, 255, 255, .06);

    min-width: 200px;

}

/* ==========================
   HIDE SCROLLBAR
========================== */

html,
body {

    scrollbar-width: none;

    -ms-overflow-style: none;

}

html::-webkit-scrollbar,
body::-webkit-scrollbar {

    width: 0;

    display: none;

}

.toggle-switch.active .toggle-ball {

    left: 38px;

}

.toggle-switch {

    transition: .3s;

}

.toggle-ball {

    transition: .35s ease;

}

.plan-card.pro {

    position: relative;

    overflow: hidden;

}

.plan-card.pro::before {

    content: "";

    position: absolute;

    inset: -100px;

    pointer-events: none;

    background:

        radial-gradient(circle,
            rgba(168, 85, 247, .25),
            transparent 70%);

    animation: glow 6s linear infinite;

    /* Decorative glow must never intercept button clicks. */
    pointer-events: none;
    z-index: 0;

}

/* Keep the Pro card's real content above the decorative glow. */
.plan-card.pro > * {
    position: relative;
    z-index: 1;
}

.plan-card.pro > .badge {
    z-index: 3;
}

.plan-card.pro > button {
    z-index: 4;
    pointer-events: auto;
}

@keyframes glow {

    from {

        transform: rotate(0);

    }

    to {

        transform: rotate(360deg);

    }

}

/* ======================================
COMPARE TABLE
====================================== */

.comparison-section {

    margin-top: 120px;

    text-align: center;

}

.comparison-section h2 {

    font-size: 46px;

    margin-bottom: 10px;

}

.comparison-section p {

    color: #94A3B8;

    margin-bottom: 45px;

}

.comparison-table {

    width: 100%;

    border-collapse: collapse;

    background: rgba(255, 255, 255, .03);

    border: 1px solid rgba(255, 255, 255, .06);

    border-radius: 22px;

    overflow: hidden;

}

.comparison-table th {

    padding: 24px;

    background: #131C2F;

    font-size: 18px;

}

.comparison-table td {

    padding: 22px;

    border-top: 1px solid rgba(255, 255, 255, .05);

}

.comparison-table tr:hover {

    background: rgba(124, 58, 237, .08);

}

.highlight {

    color: #A855F7;

}

/* ===========================
SHOWCASE
=========================== */

.showcase-section {

    margin: 120px auto;

    text-align: center;

}

.showcase-section h2 {

    font-size: 46px;

    margin-bottom: 10px;

}

.showcase-section p {

    color: #94A3B8;

    margin-bottom: 45px;

}

.showcase-tabs {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-bottom: 40px;

}

.showcase-tab {

    background: #182235;

    color: white;

    border: none;

    padding: 14px 24px;

    border-radius: 999px;

    cursor: pointer;

    transition: .3s;

}

.showcase-tab.active {

    background: #7C3AED;

}

.showcase-tab:hover {

    transform: translateY(-3px);

}

.showcase-preview {

    max-width: 700px;

    margin: auto;

    background: rgba(255, 255, 255, .04);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    padding: 40px;

    backdrop-filter: blur(18px);

}

.showcase-preview h3 {

    font-size: 30px;

    margin-bottom: 25px;

}

.showcase-preview ul {

    list-style: none;

    padding: 0;

    margin: 0;

}

.showcase-preview li {

    padding: 14px 0;

    border-bottom: 1px solid rgba(255, 255, 255, .06);

    color: #CBD5E1;

}

/* ==========================
ROI
========================== */

.roi-section {

    margin: 120px auto;

    text-align: center;

}

.roi-card {

    margin: auto;

    max-width: 750px;

    background: rgba(255, 255, 255, .04);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 25px;

    padding: 45px;

    backdrop-filter: blur(20px);

}

.roi-card label {

    display: block;

    margin-bottom: 25px;

    color: #CBD5E1;

}

.roi-card input {

    width: 100%;

    margin-bottom: 30px;

}

.roi-card h3 {

    font-size: 34px;

    margin-bottom: 35px;

}

.roi-results {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

}

.roi-results div {

    background: #151F34;

    padding: 30px;

    border-radius: 18px;

}

.roi-results small {

    color: #94A3B8;

}

.roi-results h2 {

    color: #7C3AED;

    margin-top: 12px;

    font-size: 36px;

}
.upgrade-notice {
    max-width: 760px;
    margin: 0 auto 22px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    color: var(--text, #fff);
    font-size: 14px;
    line-height: 1.55;
}

.upgrade-notice strong {
    display: block;
    margin-bottom: 4px;
}
