/* =====================================================
   NAN PRICING / PACKS PAGE — MODERN STANDALONE CSS
   Compatible with the previous challenge UI design system
   This file is standalone: it does not require the previous CSS.
===================================================== */


/* =========================
   01. DESIGN SYSTEM
========================= */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #ef4444;
    --accent-dark: #b91c1c;
    --success: #10b981;
    --success-dark: #059669;

    --bg: #f8fafc;
    --card: #ffffff;
    --card-soft: #f1f5f9;

    --text: #0f172a;
    --muted: #64748b;
    --text-inverse: #ffffff;

    --highlight: #6366f1;
    --highlight-contrast: #f87171;

    --border: #e2e8f0;
    --border-strong: rgba(99, 102, 241, 0.35);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-sm: 0 6px 20px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 35px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.16);

    --transition: 220ms ease;
}


/* =========================
   02. PAGE BASE
========================= */

* {
    box-sizing: border-box;
}

body {
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.10), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    color: var(--text);
    min-height: 100vh;
    padding: clamp(1.25rem, 3vw, 2rem) 1rem;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.75rem, 4vw, 3rem);
}


/* =========================
   03. HEADER
========================= */

.header {
    max-width: 760px;
    text-align: center;
}

.header h1 {
    margin: 0 0 0.75rem;
    color: var(--text);
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.header p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
}

a {
	 text-decoration: none !important;
}

/* =========================
   04. BILLING TOGGLE
========================= */

.toggle-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    width: min(100%, 430px);
    padding: 0.45rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}

.toggle-radio {
    display: none;
}

.toggle-label {
    position: relative;
    z-index: 2;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-pill);
    color: var(--muted);
    font-size: clamp(0.82rem, 2.5vw, 0.95rem);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: color var(--transition);
    white-space: nowrap;
}

.toggle-slider {
    position: absolute;
    z-index: 1;
    top: 0.45rem;
    bottom: 0.45rem;
    left: 0.45rem;
    width: calc(50% - 0.45rem);
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.26);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

#monthly:checked ~ .toggle-slider {
    transform: translateX(0);
}

#annual:checked ~ .toggle-slider {
    transform: translateX(100%);
}

#monthly:checked ~ label[for='monthly'],
#annual:checked ~ label[for='annual'] {
    color: var(--text-inverse);
}

.discount-tag {
    display: inline-flex;
    align-items: center;
    margin-left: 0.4rem;
    padding: 0.22rem 0.45rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/* =========================
   05. PRICING GRID
========================= */

.grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
    gap: clamp(1rem, 2.5vw, 1.4rem);
}

.card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(1.35rem, 4vw, 2.35rem);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.13), transparent 36%);
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    opacity: 1;
}

/*
.card.popular {
    border: 2px solid var(--highlight-contrast);
    background:
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.16), transparent 38%),
        var(--card);
    box-shadow: 0 18px 55px rgba(99, 102, 241, 0.20);
}
*/
.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(239, 68, 68, 0.28);
}


/* =========================
   06. PLAN CONTENT
========================= */

.plan-name {
    margin: 20 0 0.45rem;
    color: var(--text);
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    font-weight: 800;
    line-height: 1.2;
}

.plan-desc {
    min-height: 2.4rem;
    margin: 0 0 1.6rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 1.75rem;
}

.price {
    color: var(--text);
    font-size: clamp(2.65rem, 10vw, 3.65rem);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 0.95;
    transition: opacity 150ms ease;
}

.period {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 650;
}


/* =========================
   07. FEATURES
========================= */

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 0 0 2rem;
    padding: 0;
    flex: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text);
    font-size: 0.94rem;
    line-height: 1.45;
}

.feature-item svg,
.feature-item-check {
    flex: 0 0 auto;
    width: 20px;
    min-width: 20px;
    height: 20px;
    color: var(--success);
}

.feature-item-value {
    color: inherit;
}

.feature-item.disabled {
    color: var(--muted);
    opacity: 0.64;
}

.feature-item.disabled svg,
.feature-item.disabled .feature-item-check {
    color: var(--muted);
    opacity: 0.7;
}

.feature-item strong {
    color: var(--highlight-contrast);
}


/* =========================
   08. BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0.95rem 1rem;
    border: 0;
    border-radius: var(--radius-md);
    font-size: 0.98rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        color var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #3730a3);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(99, 102, 241, 0.34);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.22);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-dark), #7f1d1d);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(239, 68, 68, 0.30);
}

.btn:active {
    transform: scale(0.98);
}

.nan_span_pack{
	text-transform:uppercase;
	font-weight:bold;
	margin-left:10px;
}

/* =========================
   09. STATES / HELPERS
========================= */

.card_year {
    display: none;
}

.current {
    border-color: var(--primary);
    background:
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.13), transparent 38%),
        var(--card);
}

.current-info {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border:0;
    background: linear-gradient(135deg, var(--muted), var(--muted)) !important;
    color: #ffffff;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 750;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.24);
}


/* =========================
   10. DARK MODE
   Activate with body.dark-mode
========================= */

body.dark-mode {
    --primary: #818cf8;
    --primary-dark: #6366f1;
    --accent: #f87171;
    --accent-dark: #b91c1c;
    --success: #34d399;
    --success-dark: #059669;

    --bg: #0b1220;
    --card: #111827;
    --card-soft: #020617;

    --text: #ffffff;
    --muted: #9ca3af;
    --text-inverse: #ffffff;

    --highlight: #818cf8;
    --highlight-contrast: #f87171;

    --border: #1f2937;
    --border-strong: rgba(129, 140, 248, 0.45);

    background:
        radial-gradient(circle at top left, rgba(129, 140, 248, 0.16), transparent 34%),
        linear-gradient(180deg, #020617 0%, var(--bg) 100%);
    color: var(--text);
}

body.dark-mode .card,
body.dark-mode .toggle-container {
    background: var(--card);
    border-color: var(--border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}

body.dark-mode .card.popular,
body.dark-mode .current {
    background:
        radial-gradient(circle at top right, rgba(129, 140, 248, 0.18), transparent 38%),
        var(--card);
    border-color: var(--primary);
}

.card.popular{
	border-color: var(--highlight-contrast) !important;
}

body.dark-mode .header h1,
body.dark-mode .price,
body.dark-mode .feature-item {
    color: var(--text);
}

body.dark-mode .plan-name {
    color: var(--highlight-contrast);
	text-transform: uppercase;
}


body.dark-mode .header p,
body.dark-mode .plan-desc,
body.dark-mode .period,
body.dark-mode .feature-item.disabled {
    color: var(--muted);
}

body.dark-mode .toggle-slider,
body.dark-mode .current-info,
body.dark-mode .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

body.dark-mode .btn-secondary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}


/* =========================
   11. RESPONSIVE
========================= */

@media (max-width: 768px) {
    body {
        padding: 1.2rem 0.85rem;
    }

    .container {
        gap: 2rem;
    }

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

    .card {
        padding: 1.35rem;
        border-radius: 18px;
    }

    .popular-badge {
        top: 0.85rem;
        right: 0.85rem;
        font-size: 0.66rem;
        padding: 0.36rem 0.65rem;
    }

    .plan-desc {
        min-height: auto;
        margin-bottom: 1.25rem;
    }

    .price-container {
        margin-bottom: 1.35rem;
    }

    .features-list {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        min-height: 46px;
    }
}

@media (max-width: 420px) {
    .toggle-container {
        width: 100%;
        padding: 0.35rem;
    }

    .toggle-label {
        min-height: 40px;
        padding: 0.5rem 0.65rem;
        font-size: 0.78rem;
    }

    .toggle-slider {
        top: 0.35rem;
        bottom: 0.35rem;
        left: 0.35rem;
        width: calc(50% - 0.35rem);
    }

    .discount-tag {
        display: none;
    }

    .feature-item {
        font-size: 0.88rem;
    }

    .current-info {
        font-size: 0.84rem;
    }
}




/*BADGE BLOCKED*/
.beguigo-bps-lock-badge{
  display:inline-flex;
  align-items:center;
  gap:9px;
  max-width:220px;
  padding:9px 12px;
  border-radius:999px;
  color:#fff;
  background:
    radial-gradient(circle at top right,rgba(239,68,68,.28),transparent 38%),
    linear-gradient(135deg,rgba(15,23,42,.96),rgba(2,6,23,.92));
  border:1px solid rgba(248,113,113,.38);
  box-shadow:0 10px 28px rgba(0,0,0,.32),0 0 24px rgba(239,68,68,.14);
  font-family:inherit;
}

.beguigo-bps-lock-badge__icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  flex:0 0 28px;
  border-radius:50%;
  background:rgba(239,68,68,.18);
  border:1px solid rgba(248,113,113,.3);
  font-size:14px;
}

.beguigo-bps-lock-badge__text{
  display:grid;
  line-height:1.05;
}

.beguigo-bps-lock-badge__text strong{
  font-size:12px;
  font-weight:950;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.beguigo-bps-lock-badge__text small{
  margin-top:3px;
  color:#fecaca;
  font-size:10px;
  font-weight:700;
}