/**
 * premium.css
 *
 * Subscription paywall styles matching the LANA green theme.
 * Uses the existing LANA CSS variables for seamless integration
 * with both light and dark modes. BEM namespace: ag-premium-*.
 */

/* ═══════════════════════════════════════════════════════════════
   PREMIUM HERO SECTION — matches LANA landing aesthetic
   ═══════════════════════════════════════════════════════════════ */

.ag-premium-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lana-lightest);
    overflow: hidden;
    padding: 5rem 2rem;
}

[data-theme="dark"] .ag-premium-hero {
    background: var(--lana-bg);
}

/* Canvas particle background */
.ag-premium-hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Radial gradient overlays for depth */
.ag-premium-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(46, 204, 113, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(39, 174, 96, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="dark"] .ag-premium-hero__overlay {
    background:
        radial-gradient(ellipse at 50% 20%, rgba(46, 204, 113, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(130, 224, 170, 0.06) 0%, transparent 50%);
}

/* ── Content Card (glassmorphism + LANA green) ──────────────── */
.ag-premium-hero__content {
    position: relative;
    z-index: 10;
    max-width: 780px;
    text-align: center;
    padding: 4rem 3rem;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(46, 204, 113, 0.2);
    border-radius: 32px;
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 20px 60px rgba(46, 204, 113, 0.1), 10px 10px 0px rgba(124, 184, 124, 0.2);
    animation: ag-fade-in-up 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

[data-theme="dark"] .ag-premium-hero__content {
    background: rgba(16, 36, 23, 0.65);
    border-color: rgba(46, 204, 113, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ── Badge Pill ─────────────────────────────────────────────── */
.ag-premium-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--lana-lightest);
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 9999px;
    color: var(--lana-blue);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    animation: ag-fade-in-up 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}

[data-theme="dark"] .ag-premium-hero__badge {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.3);
    color: var(--lana-medium);
}

.ag-premium-hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--lana-blue);
    border-radius: 50%;
    animation: ag-pulse-dot 2s ease-in-out infinite;
}

/* ── Title ──────────────────────────────────────────────────── */
.ag-premium-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: ag-fade-in-up 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

.ag-premium-hero__title-glow {
    background: linear-gradient(135deg, var(--lana-blue), var(--lana-medium), #56d079);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Subtitle ───────────────────────────────────────────────── */
.ag-premium-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: ag-fade-in-up 1s cubic-bezier(0.23, 1, 0.32, 1) 0.4s both;
}

.ag-premium-hero__free-label {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background: var(--lana-lightest);
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 8px;
    color: var(--lana-blue);
    font-weight: 800;
    font-size: 0.85rem;
}

[data-theme="dark"] .ag-premium-hero__free-label {
    background: rgba(46, 204, 113, 0.12);
}

/* ── CTA Buttons ────────────────────────────────────────────── */
.ag-premium-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: ag-fade-in-up 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s both;
}

.ag-premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    border: 3px solid var(--card-border);
    font-family: 'Cairo', sans-serif;
    transition: all 0.35s ease;
}

.ag-premium-btn--primary {
    background: var(--lana-blue);
    color: #fff;
    border-color: var(--lana-dark);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

.ag-premium-btn--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(46, 204, 113, 0.45);
}

.ag-premium-btn--ghost {
    background: var(--card-bg);
    color: var(--text-primary);
    border-color: var(--card-border);
}

.ag-premium-btn--ghost:hover {
    background: var(--lana-lightest);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px var(--card-shadow);
}


/* ═══════════════════════════════════════════════════════════════
   PRICING SECTION — LANA styled cards
   ═══════════════════════════════════════════════════════════════ */

.ag-pricing {
    position: relative;
    background: var(--lana-bg);
    padding: 5rem 2rem;
    overflow: hidden;
}

/* Ambient bg glow */
.ag-pricing::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.ag-pricing__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.ag-pricing__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.ag-pricing__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Grid */
.ag-pricing__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

/* ── Pricing Card Themes (Mockup Style + Cyber Colors) ── */

.ag-pricing-card {
    position: relative;
    background: var(--card-bg);
    border: 3px solid rgba(46, 204, 113, 0.2);
    border-radius: 32px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(46, 204, 113, 0.08);
    font-family: 'Inter', 'Cairo', sans-serif;
}

[data-theme="dark"] .ag-pricing-card {
    background: rgba(16, 36, 23, 0.6);
    border-color: rgba(46, 204, 113, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ag-pricing-card .ag-pricing-divider {
    border-color: rgba(46, 204, 113, 0.1);
}

[data-theme="dark"] .ag-pricing-card .ag-pricing-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Anti-gravity hover */
.ag-pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--lana-medium);
    box-shadow: 0 20px 60px rgba(46, 204, 113, 0.2);
}

[data-theme="dark"] .ag-pricing-card:hover {
    border-color: var(--lana-medium);
    box-shadow: 0 20px 60px rgba(46, 204, 113, 0.25);
    background: rgba(22, 54, 32, 0.8);
}

/* Glow ring on hover */
.ag-pricing-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--card-glow, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.ag-pricing-card:hover::before {
    opacity: 1;
}

/* Card-specific glow colors using LANA palette */
.ag-pricing-card[data-tier="free"] {
    --card-glow: radial-gradient(400px 200px at 50% 0%, rgba(46, 204, 113, 0.08), transparent 70%);
}

.ag-pricing-card[data-tier="spark"] {
    --card-glow: radial-gradient(400px 200px at 50% 0%, rgba(46, 204, 113, 0.12), transparent 70%);
}

.ag-pricing-card[data-tier="orbit"] {
    --card-glow: radial-gradient(400px 200px at 50% 0%, rgba(46, 204, 113, 0.18), transparent 70%);
}

.ag-pricing-card[data-tier="nova"] {
    --card-glow: radial-gradient(400px 200px at 50% 0%, rgba(245, 158, 11, 0.15), transparent 70%);
}

/* Popular badge */
.ag-pricing-card--popular {
    border-color: var(--lana-medium);
    box-shadow: 0 10px 40px rgba(46, 204, 113, 0.2), 8px 8px 0px rgba(124, 184, 124, 0.25);
}

.ag-pricing-card__popular-tag {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    padding: 0.5rem 1.25rem;
    background: var(--lana-blue);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 0 0 28px 0;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
}

html[dir="ltr"] .ag-pricing-card__popular-tag {
    left: auto;
    right: 0;
    border-radius: 0 0 0 28px;
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Card inner */
.ag-pricing-card__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Icon */
.ag-pricing-card__icon {
    font-size: 1.8rem;
    background: transparent;
    border: none;
    display: inline-flex;
}

/* Tier name */
.ag-pricing-card__name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Price */
.ag-pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.ag-pricing-card__price-old {
    font-size: 1.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    margin-right: 0.2rem;
    opacity: 0.7;
}

.ag-pricing-card__price-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -1px;
}

.ag-pricing-card--popular .ag-pricing-card__price-value {
    color: var(--lana-blue);
}

[data-theme="dark"] .ag-pricing-card--popular .ag-pricing-card__price-value {
    color: var(--lana-yellow);
}

.ag-pricing-card__price-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.ag-pricing-card__price-period {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.ag-pricing-card__price-subtext {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Description */
.ag-pricing-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Dashed Divider */
.ag-pricing-divider {
    border: none;
    border-top: 2px dashed rgba(46, 204, 113, 0.2);
    margin: 0 0 2rem 0;
}

/* Features list */
.ag-pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
}

.ag-pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-body);
}

.ag-pricing-card__feature-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: bold;
}

.ag-pricing-card__feature-icon--yes {
    background: var(--lana-medium);
    color: #fff;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.ag-pricing-card__feature-icon--no {
    background: transparent;
    color: var(--danger);
    font-size: 1rem;
    opacity: 0.7;
}

/* CTA Button */
.ag-pricing-card__cta {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    border: 3px solid var(--card-border);
    border-radius: 99px;
    /* Pill shape */
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    transition: all 0.35s ease;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
}

.ag-pricing-card[data-tier="free"] .ag-pricing-card__cta {
    background: var(--lana-lightest);
    color: var(--text-muted);
    border-color: var(--border);
}

.ag-pricing-card[data-tier="spark"] .ag-pricing-card__cta,
.ag-pricing-card[data-tier="orbit"] .ag-pricing-card__cta {
    background: var(--lana-blue);
    color: #fff;
    border-color: var(--lana-dark);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.25);
}

.ag-pricing-card[data-tier="nova"] .ag-pricing-card__cta {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-color: #b45309;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.ag-pricing-card__cta:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 15px var(--card-shadow);
}


/* ═══════════════════════════════════════════════════════════════
   SIDEBAR SUBSCRIBE BUTTON
   ═══════════════════════════════════════════════════════════════ */

.nav-item--premium {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(46, 204, 113, 0.06)) !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
    border-radius: 12px !important;
    margin: 0.5rem 0.6rem !important;
    position: relative;
}

.nav-item--premium:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(46, 204, 113, 0.1)) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
}

.nav-premium-badge {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: var(--lana-lightest);
    color: var(--text-muted);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.nav-premium-badge[data-active="true"] {
    background: rgba(46, 204, 113, 0.12);
    color: var(--lana-blue);
    border-color: rgba(46, 204, 113, 0.4);
}


/* ═══════════════════════════════════════════════════════════════
   DEBUG TIER SWITCHER — only shown in development
   ═══════════════════════════════════════════════════════════════ */

.ag-debug-panel {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
    background: var(--card-bg);
    border: 3px solid var(--card-border);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 8px 8px 0px var(--card-shadow);
    font-family: 'Cairo', sans-serif;
    max-width: 220px;
}

.ag-debug-panel__title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ag-debug-panel__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ag-debug-btn {
    padding: 0.3rem 0.7rem;
    border: 2px solid var(--card-border);
    border-radius: 8px;
    background: var(--lana-lightest);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.ag-debug-btn:hover {
    background: var(--lana-blue);
    color: #fff;
    transform: translateY(-1px);
}

.ag-debug-btn.active {
    background: var(--lana-blue);
    color: #fff;
    box-shadow: 2px 2px 0px var(--card-shadow);
}

.ag-debug-panel__status {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
}


/* ═══════════════════════════════════════════════════════════════
   AI PAYWALL OVERLAY — shown when free tier tries premium features
   ═══════════════════════════════════════════════════════════════ */

.ag-paywall-overlay {
    position: fixed;
    inset: 0;
    z-index: 8500;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.ag-paywall-overlay.show {
    display: flex;
}

.ag-paywall-card {
    background: var(--card-bg);
    border: 3px solid var(--card-border);
    border-radius: 28px;
    padding: 3rem;
    max-width: 420px;
    text-align: center;
    box-shadow: 10px 10px 0px var(--card-shadow);
    animation: ag-fade-in-up 0.5s ease both;
}

.ag-paywall-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.ag-paywall-card__title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.ag-paywall-card__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.ag-paywall-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* ── Overlays particles & stars ── */
.ag-paywall-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.ag-pw-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: ag-orb-float 6s ease-in-out infinite alternate;
}

.ag-pw-orb.orb1 {
    width: 300px;
    height: 300px;
    background: var(--lana-blue);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.ag-pw-orb.orb2 {
    width: 250px;
    height: 250px;
    background: var(--lana-medium);
    bottom: -50px;
    left: -100px;
    animation-duration: 8s;
    animation-delay: -2s;
}

/* ── Generic CSS Stars (Box-Shadow Trick) ── */
.ag-stars,
.ag-stars2,
.ag-stars3 {
    position: absolute;
    background: transparent;
    border-radius: 50%;
}

.ag-stars {
    width: 2px;
    height: 2px;
    box-shadow:
        100px 50px #fff, 20px 150px #fff, 250px 30px rgba(255, 255, 255, 0.5),
        340px 180px #fff, 400px 80px rgba(255, 255, 255, 0.7), 200px 220px #fff,
        500px 120px #fff, 650px 240px #fff, 720px 40px #fff, 150px 300px #fff,
        80px 280px rgba(255, 255, 255, 0.4), 450px 330px #fff, 600px 280px #fff;
    animation: ag-anim-star-twinkle 4s linear infinite, ag-anim-star-move 100s linear infinite;
}

.ag-stars2 {
    width: 3px;
    height: 3px;
    box-shadow:
        50px 350px #fff, 120px 450px rgba(255, 255, 255, 0.6), 250px 480px #fff,
        340px 420px #fff, 480px 550px #fff, 620px 420px rgba(255, 255, 255, 0.8),
        750px 520px #fff, 10px 600px #fff, 280px 650px #fff, 400px 620px #fff,
        600px 680px #fff, 710px 690px #fff;
    animation: ag-anim-star-twinkle 6s linear infinite, ag-anim-star-move 150s linear infinite;
    animation-delay: -2s;
}

.ag-stars3 {
    width: 4px;
    height: 4px;
    box-shadow:
        80px 100px #fff, 380px 250px #fff, 680px 150px #fff,
        280px 50px rgba(255, 255, 255, 0.9), 550px 40px #fff,
        150px 500px #fff, 450px 450px rgba(255, 255, 255, 0.5), 750px 600px #fff;
    animation: ag-anim-star-twinkle 8s linear infinite, ag-anim-star-move 200s linear infinite;
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes ag-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ag-pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

/* Float animation for pricing cards */
@keyframes ag-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes ag-orb-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

@keyframes ag-anim-star-twinkle {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: inherit;
    }
}

@keyframes ag-anim-star-move {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-500px);
    }
}

.ag-float-anim {
    animation: ag-float 6s ease-in-out infinite;
}

.ag-float-anim--d1 {
    animation-delay: 0s;
}

.ag-float-anim--d2 {
    animation-delay: 1.5s;
}

.ag-float-anim--d3 {
    animation-delay: 3s;
}

.ag-float-anim--d4 {
    animation-delay: 4.5s;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .ag-pricing__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .ag-premium-hero {
        min-height: 70vh;
        padding: 4rem 1rem;
    }

    .ag-premium-hero__content {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }

    .ag-pricing {
        padding: 3rem 1rem;
    }

    .ag-pricing__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Vertical stacking for mobile pricing cards to ensure no overflow inside modals */
    .ag-pricing__grid {
        display: flex;
        flex-direction: column;
        padding-bottom: 1.5rem;
        gap: 1.5rem;
        margin: 0;
        padding: 0;
    }

    .ag-pricing__grid::-webkit-scrollbar {
        display: none;
    }

    .ag-pricing-card {
        padding: 1.5rem;
        flex: auto;
        width: 100%;
        margin-bottom: 0;
        border-radius: 20px;
    }

    .ag-pricing-card__price {
        align-items: center;
        /* keep them in line */
    }

    .ag-pricing-card__price-value {
        font-size: 2.25rem;
        /* much smaller so text doesn't overflow */
    }

    .ag-pricing-card__name {
        font-size: 1.25rem;
    }

    .ag-pricing-card__feature {
        font-size: 0.85rem;
        gap: 0.5rem;
        padding: 0.4rem 0;
    }

    .ag-pricing-card__cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .ag-premium-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .ag-debug-panel {
        bottom: 0.5rem;
        right: 0.5rem;
        max-width: 180px;
        padding: 0.75rem;
    }

    .ag-paywall-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    .ag-paywall-card__icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .ag-paywall-card__title {
        font-size: 1.2rem;
    }
}