/* Arise (premium tier) page styles.
   Loaded only on /arise so we keep base.html / landing CSS lean. Color
   palette mirrors the rest of Forge (sigil-mana violet + ink panels) so
   the page reads as a deliberate Solo-Leveling-themed pitch, not a
   generic SaaS pricing page. */

.arise-page {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
    color: var(--text-secondary, rgba(255, 255, 255, 0.78));
}

/* ---- Hero ---- */
.arise-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 880px) {
    .arise-hero { grid-template-columns: 1fr; text-align: center; }
}
.arise-kicker {
    color: var(--accent-amber, #f4c96b);
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    text-transform: uppercase;
    margin: 0 0 0.6rem;
    font-weight: 600;
}
.arise-hero-title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    line-height: 0.95;
    color: var(--text-primary, #fff);
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 70%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.arise-hero-lead {
    font-size: 1.1rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
    max-width: 36rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.78));
}
@media (max-width: 880px) {
    .arise-hero-lead { margin-left: auto; margin-right: auto; }
}
.arise-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}
@media (max-width: 880px) {
    .arise-hero-actions { justify-content: center; }
}
.arise-hero-fineprint {
    font-size: 0.82rem;
    color: var(--text-muted, rgba(255, 255, 255, 0.5));
    margin: 0;
}
.arise-tier-badge-active {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(167, 139, 250, 0.18));
    border: 1px solid rgba(167, 139, 250, 0.55);
    color: var(--text-primary, #fff);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.arise-cta-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    border-color: rgba(167, 139, 250, 0.6);
    /* Explicit white text + text-shadow so the label doesn't disappear into
       the violet gradient. .btn base has color: var(--text-on-accent) which
       is #fff in the dark theme, but a Slovak-locale catalog override or a
       cached older theme.css can clobber that token. Pinning #fff here is
       cheap insurance. The 0 1px 1px shadow gives the white text a soft
       contrast lift against the lighter top of the gradient. */
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 12px 32px -10px rgba(124, 58, 237, 0.85);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.arise-cta-primary:hover:not(:disabled) {
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 16px 40px -10px rgba(124, 58, 237, 1);
}

/* Emblem with violet glow */
.arise-hero-emblem {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
}
.arise-hero-emblem img {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(124, 58, 237, 0.65)) drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
    animation: arise-emblem-float 6s ease-in-out infinite;
}
.arise-emblem-glow {
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.55) 0%, transparent 70%);
    filter: blur(40px);
    animation: arise-emblem-pulse 4s ease-in-out infinite;
}
@keyframes arise-emblem-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes arise-emblem-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.08); }
}

/* ---- Section heads ---- */
.arise-section-head {
    text-align: center;
    margin-bottom: 2rem;
}
.arise-section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.4rem 0 0;
    color: var(--text-primary, #fff);
}

/* ---- Tier comparison ---- */
.arise-tiers {
    padding: clamp(2rem, 4vw, 3rem) 0;
}
.arise-tier-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
@media (max-width: 720px) {
    .arise-tier-grid { grid-template-columns: 1fr; }
}
.arise-tier-card {
    position: relative;
    padding: 1.75rem 1.6rem;
    border-radius: 16px;
    background: rgba(8, 10, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}
.arise-tier-card header {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.arise-tier-eyebrow {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted, rgba(255, 255, 255, 0.5));
    font-weight: 600;
}
.arise-tier-card h3 {
    margin: 0.25rem 0 0.6rem;
    font-family: var(--font-display);
    font-size: 1.85rem;
    color: var(--text-primary, #fff);
}
.arise-tier-price {
    margin: 0;
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--text-primary, #fff);
    line-height: 1;
}
.arise-tier-price span {
    font-size: 0.95rem;
    color: var(--text-muted, rgba(255, 255, 255, 0.55));
    font-family: var(--font-sans);
    font-weight: 500;
}
.arise-tier-yearly {
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    color: var(--accent-amber, #f4c96b);
}
.arise-tier-features {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}
.arise-tier-features li {
    padding-left: 1.4rem;
    position: relative;
    font-size: 0.92rem;
    line-height: 1.5;
}
.arise-tier-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 2px;
    background: var(--sigil-mana, #7c3aed);
    transform: rotate(45deg);
}
.arise-tier-features li.arise-tier-locked {
    opacity: 0.5;
}
.arise-tier-features li.arise-tier-locked::before {
    background: rgba(255, 255, 255, 0.3);
}
.arise-tier-premium {
    border-color: rgba(167, 139, 250, 0.45);
    background:
        linear-gradient(135deg, rgba(124, 58, 237, 0.12), transparent 60%),
        rgba(8, 10, 18, 0.7);
    box-shadow: 0 24px 60px -20px rgba(124, 58, 237, 0.45);
}
.arise-tier-ribbon {
    position: absolute;
    top: -0.7rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: var(--text-primary, #fff);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.85);
}
.arise-tier-cta {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    border-color: rgba(167, 139, 250, 0.6);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.arise-tier-cta:hover:not(:disabled) { color: #fff; }
/* Bottom CTA + ghost variant on Arise: ensure readable on the violet card.
   btn-ghost would inherit --text-secondary which can read as violet-on-
   violet against the gradient hero; lift to brighter text + soft underline
   on hover so it reads as a clickable secondary action. */
.arise-page .btn-ghost {
    color: #ddd6fe;
    border-color: transparent;
}
.arise-page .btn-ghost:hover:not(:disabled) {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ---- Feature grid ---- */
.arise-features {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.arise-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.arise-feature-card {
    padding: 1.5rem;
    border-radius: 14px;
    background: rgba(8, 10, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.18s ease-out, border-color 0.18s ease-out, box-shadow 0.18s ease-out;
}
.arise-feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 139, 250, 0.35);
    box-shadow: 0 18px 40px -16px rgba(124, 58, 237, 0.55);
}
.arise-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.16);
    border: 1px solid rgba(167, 139, 250, 0.32);
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
}
.arise-feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.12rem;
    color: var(--text-primary, #fff);
    font-family: var(--font-display);
}
.arise-feature-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-secondary, rgba(255, 255, 255, 0.78));
}

/* ---- Bottom CTA ---- */
.arise-bottom-cta {
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: clamp(2rem, 4vw, 3rem);
}
.arise-bottom-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0 0 0.75rem;
    color: var(--text-primary, #fff);
}
.arise-bottom-cta p {
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.78));
    font-size: 1.02rem;
    line-height: 1.6;
}
