#nexo-pricing { width: 100%; font-family: 'Inter', -apple-system, sans-serif; background: #F8FAFC; }

.nexo-hero {
  width: 100%;
  background: linear-gradient(160deg, #EFF6FF 0%, #DBEAFE 40%, #EDE9FE 100%);
  color: #0F172A;
  padding: 56px 40px 80px;
  text-align: center;
  border-bottom: 1px solid #E2E8F0;
}
.nexo-hero h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 12px; color: #0F172A; letter-spacing: -0.5px; }
.nexo-hero p { font-size: 1.05rem; color: #475569; max-width: 480px; margin: 0 auto 32px; line-height: 1.6; }

.nexo-toggle { display: inline-flex; background: white; border-radius: 50px; padding: 4px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.1); border: 1px solid #E2E8F0; }
.nexo-toggle button { padding: 8px 20px; border: none; border-radius: 50px; cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: all 0.25s; background: transparent; color: #64748B; font-family: inherit; }
.nexo-toggle button.active { background: #2563EB; color: white; box-shadow: 0 2px 8px rgba(37,99,235,0.3); }
.nexo-toggle button span { background: rgba(37,99,235,0.1); color: #2563EB; padding: 1px 7px; border-radius: 20px; font-size: 0.72rem; margin-left: 4px; }
.nexo-toggle button.active span { background: rgba(255,255,255,0.25); color: white; }

.nexo-currency-toggle { display: inline-flex; background: white; border-radius: 50px; padding: 4px; margin-left: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.1); border: 1px solid #E2E8F0; }
.nexo-currency-toggle button { padding: 6px 16px; border: none; border-radius: 50px; cursor: pointer; font-size: 0.82rem; font-weight: 600; background: transparent; color: #64748B; font-family: inherit; transition: all 0.25s; }
.nexo-currency-toggle button.active { background: #0F172A; color: white; }

.nexo-pricing-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 18px !important; max-width: 1360px !important; width: calc(100% - 80px) !important; margin: -44px auto 60px !important; padding: 0 !important; }

.nexo-card { background: white !important; border-radius: 16px !important; padding: 26px 20px !important; box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important; border: 1.5px solid #E2E8F0 !important; transition: all 0.25s !important; position: relative !important; overflow: hidden !important; }
.nexo-card:hover { transform: translateY(-4px) !important; box-shadow: 0 12px 32px rgba(0,0,0,0.1) !important; border-color: #BFDBFE !important; }
.nexo-card.popular { border-color: #2563EB !important; box-shadow: 0 4px 20px rgba(37,99,235,0.15) !important; transform: scale(1) !important; }
.nexo-card.popular:hover { transform: translateY(-4px) !important; }
.popular-badge { position: absolute; top: 14px; right: -24px; background: #2563EB; color: white; padding: 4px 36px; font-size: 0.68rem; font-weight: 700; transform: rotate(45deg); letter-spacing: 1px; }

.nexo-package-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 10px; }
.nexo-trial-badge { display: inline-block; background: #FEF3C7; color: #92400E; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; margin-bottom: 6px; }
.nexo-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 5px; }
.nexo-card .description { color: #64748B; font-size: 0.82rem; line-height: 1.5; }

.nexo-price { margin: 14px 0; padding: 12px 0; border-top: 1px solid #F1F5F9; border-bottom: 1px solid #F1F5F9; }
.nexo-price .amount { font-size: 2rem; font-weight: 800; color: #0F172A; line-height: 1; }
.nexo-price .currency { font-size: 0.9rem; font-weight: 600; color: #64748B; vertical-align: top; margin-top: 5px; display: inline-block; }
.nexo-price .period { color: #94A3B8; font-size: 0.8rem; margin-top: 3px; }
.nexo-price .discount-badge { display: inline-block; background: #DCFCE7; color: #16A34A; padding: 2px 8px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; margin-top: 4px; }

.nexo-limits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.nexo-limit-item { background: #F8FAFC; border-radius: 8px; padding: 9px 6px; text-align: center; border: 1px solid #F1F5F9; }
.nexo-limit-item .limit-value { font-size: 1rem; font-weight: 700; color: #0F172A; }
.nexo-limit-item .limit-label { font-size: 0.68rem; color: #94A3B8; margin-top: 2px; font-weight: 500; }

.nexo-cta-btn { display: block; width: 100%; padding: 11px; border-radius: 10px; font-size: 0.88rem; font-weight: 700; text-align: center; cursor: pointer; transition: all 0.25s; text-decoration: none; border: none; margin-top: 14px; font-family: inherit; }
.nexo-cta-btn.primary { background: #2563EB; color: white; }
.nexo-cta-btn.primary:hover { background: #1D4ED8; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.35); }
.nexo-cta-btn.outline { background: transparent; color: #2563EB; border: 1.5px solid #BFDBFE; }
.nexo-cta-btn.outline:hover { background: #EFF6FF; border-color: #2563EB; }

@media (max-width: 1100px) {
  .nexo-pricing-grid { grid-template-columns: repeat(2, 1fr) !important; width: calc(100% - 48px) !important; }
}
@media (max-width: 640px) {
  .nexo-pricing-grid { grid-template-columns: 1fr !important; width: calc(100% - 32px) !important; }
  .nexo-hero { padding: 36px 20px 56px; }
  .nexo-hero h1 { font-size: 1.8rem; }
}

/* Full width fix */
body .container { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
body .page-content { padding: 0 !important; }
body .web-page-wrapper { padding: 0 !important; }
body .page-container { padding: 0 !important; max-width: 100% !important; }
body main.container { padding: 0 !important; max-width: 100% !important; }

.nexo-pricing-grid {
  width: calc(100% - 48px) !important;
  max-width: 100% !important;
  margin: -44px auto 40px !important;
}
.nexo-hero {
  padding: 48px 40px 72px !important;
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 1024px) {
  .nexo-pricing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    width: calc(100% - 32px) !important;
    gap: 14px !important;
    margin: -30px auto 40px !important;
  }
  .nexo-hero { padding: 40px 24px 60px !important; }
  .nexo-hero h1 { font-size: 2rem !important; }
}

@media (max-width: 640px) {
  .nexo-pricing-grid {
    grid-template-columns: 1fr !important;
    width: calc(100% - 24px) !important;
    gap: 12px !important;
    margin: -20px auto 32px !important;
  }
  .nexo-hero { padding: 32px 16px 48px !important; }
  .nexo-hero h1 { font-size: 1.6rem !important; letter-spacing: -0.3px !important; }
  .nexo-hero p { font-size: 0.9rem !important; }
  .nexo-toggle button { padding: 7px 12px !important; font-size: 0.78rem !important; }
  .nexo-currency-toggle { margin-left: 6px !important; }
  .nexo-currency-toggle button { padding: 5px 12px !important; }
  .nexo-card { padding: 20px 16px !important; }
  .nexo-price .amount { font-size: 1.8rem !important; }
  .nexo-card.popular { transform: scale(1) !important; }

  /* Stack toggles vertically on very small screens */
  .nexo-hero > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .nexo-currency-toggle { margin-left: 0 !important; }
}

@media (max-width: 380px) {
  .nexo-hero h1 { font-size: 1.4rem !important; }
  .nexo-toggle button span { display: none; }
}

/* ===== RESTORE COMPACT CARD LOOK ===== */
.nexo-pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 320px)) !important;
  justify-content: center !important;
  width: calc(100% - 48px) !important;
  max-width: 1320px !important;
  margin: -44px auto 60px !important;
}
.nexo-card {
  padding: 24px 20px !important;
  height: fit-content !important;
}
.nexo-hero {
  padding: 48px 40px 72px !important;
}

@media (max-width: 1200px) {
  .nexo-pricing-grid { grid-template-columns: repeat(2, minmax(0, 380px)) !important; }
}
@media (max-width: 640px) {
  .nexo-pricing-grid { grid-template-columns: minmax(0, 420px) !important; }
  .nexo-hero { padding: 32px 16px 48px !important; }
}
