/*
 * NCLEX Nerds CSS Bundle: pricing.bundle.css
 * Group: public
 * Auto-generated by scripts/bundle_css.py — DO NOT EDIT
 * Edit the source files instead.
 * Sources: _public-base.css, pricing-base.css, pricing-desktop.css, pricing-mobile-portrait.css, pricing-mobile-landscape.css
 */

/* === _public-base.css === */
/*
 * NCLEX Nerds Public CSS — Base Layer
 * Shared variables, reset, typography. NO @media queries here.
 * Every public page bundle starts with this file.
 */

:root {
    /* Brand — purple gradient pulled from landing.css for consistency */
    --primary-purple: #7c3aed;
    --primary-purple-dark: #6d28d9;
    --secondary-purple: #4f46e5;
    --gradient-main: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(79, 70, 229, 0.08) 100%);

    /* Backgrounds */
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --bg-banner-warn: #fef3c7;
    --bg-banner-info: #dbeafe;
    --bg-banner-success: #dcfce7;

    /* Borders */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;

    /* Text */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #6b7280;
    --text-inverse: #f8fafc;

    /* Semantic */
    --green: #22c55e;
    --green-dark: #15803d;
    --green-light: #dcfce7;
    --red: #ef4444;
    --red-light: #fef2f2;
    --amber: #f59e0b;
    --amber-light: #fef3c7;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 8px 32px rgba(124, 58, 237, 0.25);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    /* Layout */
    --header-height: 72px;
    --container-max: 1200px;
    --container-narrow: 920px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* ===== Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-page);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-purple);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

/* === pricing-base.css === */
/*
 * Pricing — Base Styles
 *
 * Every rule that should apply at EVERY viewport lives here (no @media
 * wrapper). The viewport-specific files (pricing-{desktop,mobile-portrait,
 * mobile-landscape}.css) contain ONLY overrides layered on top.
 *
 * Site-wide base (vars, reset, typography) is in _public-base.css.
 * Do NOT duplicate those here.
 */

/* ===== Page shell ===== */
.pricing-page {
    background: var(--bg-page);
    min-height: 100vh;
    padding-bottom: 80px;
}

/* ===== Header ===== */
.pricing-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 10;
}

.pricing-header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pricing-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
}

.pricing-brand img {
    /* Logo PNG is wider-than-tall — fixed square box squished it.
       Fix the height, let width auto, shrink-guard the flex item. */
    height: 48px;
    width: auto;
    max-width: 180px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.pricing-header-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.pricing-header-nav a,
.pricing-header-nav .pricing-nav-signin {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.pricing-header-nav a:hover,
.pricing-header-nav .pricing-nav-signin:hover {
    color: var(--primary-purple);
    text-decoration: none;
}

/* ===== Banner strip ===== */
.pricing-banners {
    max-width: var(--container-narrow);
    margin: 24px auto 0;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-size: 14px;
}

.banner-icon {
    flex-shrink: 0;
    line-height: 0;          /* kill baseline gap around the inline svg */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

/* SVG icons inherit stroke from banner-icon's color, tinted per variant
   (banner-promo was retired in favor of the floating .pricing-launch-pill;
   the test/invalid banners stay for stripe test mode + bad promo codes). */
.banner-icon svg { display: block; width: 100%; height: 100%; }
.banner-test    .banner-icon { color: var(--amber-dark, #92400e); }
.banner-invalid .banner-icon { color: #991b1b; }

.banner-body {
    flex: 1;
}

.banner-title {
    font-weight: 700;
    color: var(--text-primary);
}

.banner-msg {
    color: var(--text-secondary);
    margin-top: 2px;
}

.banner-test      { background: var(--amber-light); border-color: var(--amber); }
.banner-invalid   { background: var(--red-light);   border-color: var(--red);   }
.banner-tier      { background: var(--bg-banner-info); border-color: #93c5fd; }

.banner-action {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

.banner-action:hover {
    background: rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

/* ===== Hero — compact so prices land above the fold =====
   Was a billboard (eyebrow + 56px h1 + 2-line subtitle); now a tight
   header. Eyebrow removed entirely (the launch pill in the corner does
   that job better). */
.pricing-hero {
    max-width: var(--container-narrow);
    margin: 24px auto 20px;
    padding: 0 32px;
    text-align: center;
}

.pricing-hero h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    line-height: 1.1;
}

.pricing-hero p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto;
}

/* ===== Plan cards ===== */
.plans-grid {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.plan-card {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.plan-card.is-featured {
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-glow);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    background: var(--gradient-main);
    color: var(--text-inverse);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.plan-tagline {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.plan-price-block {
    margin-bottom: 24px;
}

.plan-price-strike {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 4px;
}

.plan-price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.plan-price-amount {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.plan-price-period {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Plan-specific perks block — replaces the old `.plan-features` list.
   Each card now shows ONLY what's different about this plan vs the
   other (cancel-anytime, 365 days, etc.). The shared 6-feature list
   lives once above the grid in `.pricing-included`. */
.plan-perks {
    margin: 0 0 22px;
    padding: 14px 16px;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.plan-perks-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-purple);
    margin-bottom: 8px;
}

.plan-perks-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-perks-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.45;
}

.plan-perks-list li::before {
    content: "✓";
    color: var(--primary-purple);
    font-weight: 700;
    flex-shrink: 0;
}

.plan-fine-print {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.plan-cta {
    margin-top: auto;
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: var(--gradient-main);
    color: var(--text-inverse);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    box-shadow: var(--shadow-glow);
    transition: transform .15s ease, box-shadow .15s ease;
}

.plan-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 38px rgba(124, 58, 237, 0.35);
    text-decoration: none;
}

.plan-cta[disabled] {
    background: var(--border-medium);
    color: var(--bg-card);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ===== Trust / transparency row ===== */
.trust-row {
    max-width: var(--container-narrow);
    margin: 56px auto 0;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trust-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px 22px;
}

.trust-item-title {
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 15px;
}

.trust-item-body {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* ===== Disclaimer + Footer ===== */
.pricing-disclaimer {
    max-width: var(--container-narrow);
    margin: 40px auto 0;
    padding: 0 32px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.pricing-footer {
    max-width: var(--container-max);
    margin: 56px auto 0;
    padding: 24px 32px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: var(--text-muted);
    font-size: 13px;
}

.pricing-footer a {
    color: var(--text-secondary);
    margin-left: 16px;
}


/* =============================================================================
 * "What's in both plans" — single shared feature list above the grid.
 * Replaces the duplicated checkmark lists that used to live inside each
 * plan card. One pass for the visitor's eye → less mobile scroll.
 * ============================================================================= */
.pricing-included {
    max-width: var(--container-narrow);
    margin: 32px auto 28px;
    padding: 0 32px;
}

.pricing-included-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--primary-purple);
    margin: 0 0 14px;
    text-align: center;
}

.pricing-included-list {
    list-style: none;
    margin: 0;
    padding: 22px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pricing-included-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-primary);
}

/* Single ::before pseudo with flex centering — was previously a
   stacked ::before circle + ::after checkmark, which let the checkmark
   drift off-center because they were positioned independently. One
   element makes alignment trivial. */
.pricing-included-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.30);
}


/* =============================================================================
 * Floating pill stack — top-right notification badges. Stacks
 * vertically: launch promo on top, test-mode underneath. Replaces the
 * wide banner strip that was eating the above-the-fold space.
 * ============================================================================= */
.pricing-pills {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    right: 16px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;     /* container is layout-only — pills opt back in */
}
.pricing-pill {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px 7px 14px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    animation: pricing-pill-pop 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pricing-pill--launch {
    background: linear-gradient(135deg, #E8B230 0%, #B8881A 100%);
    color: #1F1A33;
    box-shadow: 0 8px 22px rgba(184, 136, 26, 0.32);
}
.pricing-pill--test {
    background: linear-gradient(135deg, #1F1A33 0%, #3A3358 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(31, 26, 51, 0.30);
}
.pricing-pill-divider { opacity: 0.55; font-weight: 600; }
.pricing-pill-label   { white-space: nowrap; }
.pricing-pill-code {
    padding: 2px 9px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.pricing-pill--launch .pricing-pill-code { background: rgba(255, 255, 255, 0.55); color: #5e3300; }
.pricing-pill--test   .pricing-pill-code { background: rgba(255, 255, 255, 0.18); color: #fff;     font-family: 'SF Mono', Menlo, monospace; font-size: 11px; }
.pricing-pill-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(31, 26, 51, 0.14);
    color: #1F1A33;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.14s ease;
}
.pricing-pill-dismiss:hover {
    background: rgba(31, 26, 51, 0.26);
    text-decoration: none;
}
@keyframes pricing-pill-pop {
    from { opacity: 0; transform: translateY(-8px) scale(0.94); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* === pricing-desktop.css === */
/*
 * Pricing — Desktop Overrides
 * @media (min-width: 927px)
 *
 * Plans grid stays full-width 2-column at desktop (set in base). The
 * shared "What's in both plans" list sits below, also full-width.
 * No left/right split — plans need the room to breathe at desktop sizes.
 */

@media (min-width: 927px) {

/* Plans-grid is already 2-up at base — desktop just shrinks the
   featured-card scale a hair so monthly + annual fit comfortably
   side-by-side without fighting for vertical space. */
.plan-card {
    padding: 28px 28px;
}
.plan-price-amount {
    font-size: 48px;
}

} /* end @media (min-width: 927px) */

/* === pricing-mobile-portrait.css === */
/*
 * Pricing — Mobile Portrait Styles
 * @media (max-width: 768px) and (orientation: portrait)
 */

@media (max-width: 768px) and (orientation: portrait) {

/* Header */
.pricing-header-inner {
    padding: 0 16px;
}

.pricing-brand {
    font-size: 16px;
    gap: 10px;
}

.pricing-brand img {
    height: 36px;
    width: auto;
    max-width: 140px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.pricing-header-nav {
    gap: 14px;
}

.pricing-header-nav a {
    font-size: 13px;
}

/* Banners */
.pricing-banners {
    padding: 0 16px;
    margin-top: 16px;
}

.banner {
    padding: 12px 14px;
    font-size: 13px;
    flex-wrap: wrap;
}

.banner-action {
    margin-top: 8px;
    width: 100%;
    text-align: center;
}

/* Hero — compact on phone so plans appear above the fold */
.pricing-hero {
    margin: 14px auto 14px;
    padding: 0 16px;
}

.pricing-hero h1 {
    font-size: 24px;
    line-height: 1.1;
}

.pricing-hero p {
    font-size: 14px;
}

/* Shared "what's in both" — collapse to single column on phone */
.pricing-included {
    padding: 0 16px;
    margin: 24px auto 22px;
}
.pricing-included-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 18px 18px 20px;
}
.pricing-included-list li { font-size: 14px; padding-left: 26px; }

/* Plans — stack vertically, BUT compact enough that both prices land
   in a typical phone viewport (~700-800px usable). Tightened paddings,
   smaller price/header, perks block flat (no inner card chrome). */
.plans-grid {
    padding: 0 16px;
    grid-template-columns: 1fr;
    gap: 14px;
}

.plan-card {
    padding: 18px 18px 20px;
}

.plan-name        { font-size: 18px; margin-bottom: 2px; }
.plan-tagline     { font-size: 13px; margin-bottom: 12px; }
.plan-price-block { margin-bottom: 12px; }
.plan-price-strike { font-size: 14px; }
.plan-price-amount { font-size: 34px; }
.plan-price-period { font-size: 14px; }

/* Perks: drop the inner card background — the perks just list under
   the price as part of the same flat card. Less visual weight, more
   prices-in-the-viewport. */
.plan-perks {
    padding: 0;
    margin-bottom: 14px;
    background: transparent;
    border: 0;
}
.plan-perks-title { font-size: 10px; margin-bottom: 6px; }
.plan-perks-list  { gap: 5px; }
.plan-perks-list li { font-size: 13px; line-height: 1.4; }

/* Hide the legal fine-print block on mobile to claw back ~36px. The
   /terms page is a tap away in the footer. */
.plan-fine-print { display: none; }

.plan-cta {
    padding: 12px 18px;
    font-size: 15px;
}

/* Pill stack — smaller + tighter on phone, still top-right */
.pricing-pills {
    top: calc(var(--header-height) + 8px);
    right: 10px;
    gap: 6px;
}
.pricing-pill {
    padding: 6px 7px 6px 12px;
    font-size: 12px;
    gap: 6px;
}
.pricing-pill-code { padding: 2px 8px; }
.pricing-pill-dismiss { width: 20px; height: 20px; font-size: 14px; }

/* Trust row — stack */
.trust-row {
    padding: 0 16px;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 36px;
}

.trust-item {
    padding: 16px 18px;
}

/* Footer */
.pricing-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    margin-top: 36px;
}

.pricing-footer a {
    margin: 0 8px;
}

.pricing-disclaimer {
    padding: 0 16px;
    margin-top: 28px;
    font-size: 12px;
}

} /* End @media (max-width: 768px) and (orientation: portrait) */

/* === pricing-mobile-landscape.css === */
/*
 * Pricing — Mobile Landscape Styles
 * @media (max-width: 926px) and (orientation: landscape)
 */

@media (max-width: 926px) and (orientation: landscape) {

.pricing-header-inner {
    padding: 0 20px;
}

.pricing-brand img {
    height: 36px;
    width: auto;
    max-width: 140px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.pricing-banners {
    padding: 0 20px;
    margin-top: 16px;
}

.pricing-hero {
    margin: 28px auto;
    padding: 0 20px;
}

.pricing-hero h1 {
    font-size: 38px;
}

.pricing-hero p {
    font-size: 16px;
}

/* Keep plans side-by-side in landscape but tighten */
.plans-grid {
    padding: 0 20px;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.plan-card {
    padding: 22px 20px;
}

.plan-price-amount {
    font-size: 40px;
}

.plan-features li {
    font-size: 13px;
}

.plan-cta {
    padding: 12px 18px;
    font-size: 14px;
}

.trust-row {
    padding: 0 20px;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.trust-item {
    padding: 14px 16px;
}

.pricing-footer {
    padding: 18px 20px;
    margin-top: 28px;
}

} /* End @media (max-width: 926px) and (orientation: landscape) */
