/* ═══════════════════════════════════════════════════════════
   EXPO — PLANS (premium / museum / luxury)
   File: /expo/css/plans.css
   Notes:
   - Structure HTML unchanged (btn-100 + btn-classic|studio|premium)
   - Black/white palette + subtle patterns (grain / grid / dots)
   - Reduced “playful” motion (no rotation) for museum feel
   ═══════════════════════════════════════════════════════════
   © 2026 MXCOD.COM – All rights reserved.
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   VARIABLES
   ═══════════════════════════════════════════════════════════ */
:root {

  --shadow-soft: 0 4px 24px rgba(0,0,0,.08);
  --shadow-medium: 0 8px 40px rgba(0,0,0,.12);
  --shadow-strong: 0 20px 60px rgba(0,0,0,.20);
}

/* ═══════════════════════════════════════════════════════════
   HELPERS
   ═══════════════════════════════════════════════════════════ */

.bi-info-circle {
  font-size: var(--text-xxs);
  cursor: help;
  color: var(--text-muted);
}

.bi-info-circle:hover {
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   PLANS PAGE
   ═══════════════════════════════════════════════════════════ */

.plans-header {
  text-align: center;
  margin-bottom: var(--space-fluid-lg);
}

.plans-header h2 {
  font-size: var(--text-fluid-3xl);
  font-weight: var(--font-bold);
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.plans-header p {
  font-size: var(--text-fluid-lg);
  color: var(--text-muted);
  margin: 0 auto;
  line-height: var(--leading-normal);
}

/* Toggle */
.plans-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--space-fluid-lg);
}

.plans-toggle > span {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  transition: color var(--transition-slow);
  cursor: pointer;
}

.plans-toggle > span.active {
  color: var(--text);
}

.plans-toggle-switch {
  width: 56px;
  height: 32px;
  background: var(--border-light);
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--box-shadow);
}

.plans-toggle-switch.active {
  background: var(--highlight-color);
  box-shadow: 0 10px 26px rgba(var(--ui-gradient), 0.18);
}

.plans-toggle-switch::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: var(--surface-base);
  border-radius: var(--radius-round);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s var(--transition-smooth);
}

.plans-toggle-switch.active::after {
  transform: translateX(24px);
}

.plans-save-badge {
  background: var(--highlight-color);
  color: #FFF;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  box-shadow: 0 10px 22px rgba(var(--ui-gradient), 0.18);
}

/* Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-fluid-sm);
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
}

@media (max-width: 600px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

.plans-toggle-switch {
  width: 28px;
  height: 16px;
}

.plans-toggle-switch::after {
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
}

.plans-toggle-switch.active::after {
  transform: translateX(12px);
}

}

/* Cards (museum feel: restrained motion, premium shadows) */
.plan-card {
  background: var(--surface-base);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 44px 28px;
  text-align: center;
  position: relative;

  transition:
    transform 0.45s var(--transition-smooth),
    box-shadow 0.45s var(--transition-smooth),
    border-color 0.45s var(--transition-smooth);
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 72px rgba(0,0,0,.10);
  border-color: rgba(var(--ui-gradient), 0.30); /* removed blue tint */
}

/* Featured (Most popular): refined, collector label vibe */
.plan-card.featured {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-base) 100%);
  border: 2px solid var(--highlight-color);
  transform: scale(1.02);
  z-index: 1;
  box-shadow: 0 20px 60px rgba(var(--ui-gradient), 0.12);
}

.plan-card.featured:hover {
  transform: scale(1.02) translateY(-8px);
  box-shadow: 0 34px 88px rgba(var(--ui-gradient), 0.18);
}

.plan-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--highlight-color);
  color: var(--surface-base);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

/* ═══════════════════════════════════════════════════════════
   ICONS
   ═══════════════════════════════════════════════════════════ */
.plan-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px auto;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;

  /* premium “object” look */
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px var(--border-heavy);

  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth);
}

.plan-icon i {
  font-size: var(--text-2xl);
  color: #fff;
}

.plan-card:hover .plan-icon {
  transform: scale(1.06); /* no rotation: museum feel */
  box-shadow: 0 18px 44px var(--border-heavy);
}

/* Classic: subtle grain */
.plan-icon.classic {
  background-color: var(--ui-accent);
  background-image:
    repeating-radial-gradient(
      circle at 0 0,
      var(--btn-bg-light),
      var(--btn-bg-light) 1px,
      transparent 1px,
      transparent 2px
    );
  color: #fff;
}

/* Studio: grid structure */
.plan-icon.studio {
  background-color: var(--ui-accent);
  background-image: radial-gradient(
    var(--btn-bg-light) 1px,
    transparent 1px
  );
  background-size: 6px 6px;
  color: #fff;
}

/* Premium: dots + deep black */
.plan-icon.premium {
  background-color: var(--ui-accent);
  background-image:
    linear-gradient(var(--btn-bg-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--btn-bg-light) 1px, transparent 1px);
  background-size: 12px 12px;
  color: #fff;
}



/* ═══════════════════════════════════════════════════════════
   CONTENT
   ═══════════════════════════════════════════════════════════ */
.plan-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--spacing-sm);
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.plan-card .plan-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--spacing-xl);
}

.plan-price {
  margin-bottom: 8px;
}

.plan-price .amount {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--text-muted);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tighter);
}

.plan-price .free {
  font-size: 36px;
  font-weight: var(--font-bold);
  color: var(--text-muted);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

.plan-price .currency {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  vertical-align: super;
}

.plan-price .period {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-left: 5px;
}

.plan-price-info {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: 28px;
}

.plan-price-info .savings {
  color: var(--highlight-color);
  font-weight: var(--font-semibold);
}

/* Features */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: var(--text-base);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li.noborder {
  border-bottom: none;
}

.plan-features li i {
  color: var(--ui-accent);
  font-size: var(--text-md);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-features li.highlight {
  font-weight: var(--font-semibold);
}

.plan-features li.separator {
  position: relative;
  text-align: center;
  padding: 20px 0;
  border-bottom: none;
}

.plan-features li.separator::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid rgba(var(--ui-gradient), 0.55);
}

.plan-features li.separator::after {
  content: "+";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: var(--ui-accent);
  border: 1px solid var(--ui-accent);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--surface-base);
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}


/* ═══════════════════════════════════════════════════════════
   FOOTER (optional, minimal)
   ═══════════════════════════════════════════════════════════ */
.plans-footer {
  margin-top: clamp(40px, 6vh, 60px);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
