:root {
  --bg: #070b17;
  --surface: #111827;
  --surface-2: #0f172a;
  --border: rgba(255,255,255,0.08);

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

  --primary: #8b5cf6;
  --primary-2: #a855f7;

  --cyan: #06b6d4;
  --orange: #f97316;

  --radius: 30px;
  --transition: 0.3s ease;
}

/* =========================================
   PAGE
========================================= */

body {
  overflow-x: hidden;
}
/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  background: linear-gradient(160deg, #141428 0%, #1c1c35 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: transform var(--transition);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand-icon {
  font-size: 24px;
  color: var(--accent);
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.5px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: #8a9bc0;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.sidebar-nav li a i {
  width: 18px;
  text-align: center;
  font-size: 15px;
}

.sidebar-nav li a:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
  transform: translateX(3px);
}

.sidebar-nav li.active a {
  background: linear-gradient(90deg, rgba(235,104,53,0.2) 0%, rgba(235,104,53,0.05) 100%);
  color: var(--accent);
  border-left: 3px solid var(--accent);
}

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 16px;
}

.sidebar-footer a {
  color: #6a7a94;
  font-size: 16px;
  transition: color var(--transition);
}

.sidebar-footer a:hover {
  color: var(--accent);
}

/* Sidebar backdrop (mobile) */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  backdrop-filter: blur(2px);
}

.sidebar-backdrop.visible {
  display: block;
}
/* =========================================
   HERO
========================================= */

.pricing-page-hero {
  position: relative;
  overflow: hidden;

  padding: 4rem;
  border-radius: 32px;

  background:
    radial-gradient(circle at top right,
    rgba(139,92,246,0.15),
    transparent 30%),
    linear-gradient(
      145deg,
      #0f172a,
      #111827
    );

  border: 1px solid var(--border);

  margin-bottom: 2rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.7rem;

  margin-bottom: 1.5rem;

  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb span,
.breadcrumb i {
  color: var(--text-muted);
}

.page-title {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -3px;

  margin-bottom: 1rem;

  color: var(--text);
  font-weight: 800;
}

.page-desc {
  max-width: 760px;

  color: var(--text-muted);

  line-height: 1.8;
  font-size: 1rem;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;

  margin-top: 2rem;
}

.meta-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  padding: 0.8rem 1rem;

  border-radius: 999px;

  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.18);

  color: #d8b4fe;

  font-size: 0.85rem;
  font-weight: 700;
}

/* =========================================
   COMPONENT CARD
========================================= */

.component-card {
  background: rgba(255,255,255,0.03);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 2rem;

  margin-bottom: 2rem;

  transition: var(--transition);
}

.component-card:hover {
  transform: translateY(-5px);

  border-color: rgba(139,92,246,0.25);

  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 1rem;

  margin-bottom: 1rem;
}

.card-label {
  font-size: 1.7rem;
  font-weight: 800;

  color: #000;
}

.card-tag {
  padding: 0.45rem 0.9rem;

  border-radius: 999px;

  background: rgba(139,92,246,0.15);

  color: #d8b4fe;

  font-size: 0.75rem;
  font-weight: 700;
}

.card-desc {
  color: var(--text-muted);

  line-height: 1.8;

  margin-bottom: 2rem;
}

/* =========================================
   BILLING TOGGLE
========================================= */

.billing-toggle-wrap {
  display: flex;
  justify-content: center;

  margin-bottom: 3rem;
}

.billing-toggle {
  display: flex;
  gap: 0.5rem;

  padding: 0.5rem;

  border-radius: 999px;

  background: rgba(255,255,255,0.04);

  border: 1px solid var(--border);

  backdrop-filter: blur(10px);
}

.toggle-btn {
  border: none;
  outline: none;

  cursor: pointer;

  padding: 0.9rem 1.3rem;

  border-radius: 999px;

  background: transparent;

  color: var(--text-muted);

  font-size: 0.9rem;
  font-weight: 700;

  transition: var(--transition);
}

.toggle-btn:hover {
  color: white;
}

.toggle-btn.active {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-2)
  );

  color: white;

  box-shadow: 0 10px 30px rgba(139,92,246,0.35);
}

.save-chip {
  margin-left: 0.4rem;

  padding: 0.25rem 0.5rem;

  border-radius: 999px;

  background: rgba(255,255,255,0.14);

  font-size: 0.65rem;
}

/* =========================================
   GRID
========================================= */

.pricing-grid-preview,
.pricing-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));

  gap: 2rem;
}

/* =========================================
   PLAN CARD
========================================= */

.plan-card,
.pricing-card {
  position: relative;

  overflow: hidden;

  border-radius: 28px;

  background: linear-gradient(
    180deg,
    #111827,
    #0f172a
  );

  border: 1px solid rgba(255,255,255,0.08);

  transition: var(--transition);
}

.plan-card:hover,
.pricing-card:hover {
  transform: translateY(-8px);
}

.plan-card {
  padding: 2rem;
}

.pricing-card-content {
  padding: 2rem;
}

/* =========================================
   SPECIAL CARDS
========================================= */

.free-card,
.starter {
  background: linear-gradient(
    145deg,
    #8b5cf6,
    #6d28d9
  );
}

.pro-card,
.pro {
  border: 1px solid rgba(168,85,247,0.4);

  background:
    radial-gradient(circle at top,
    rgba(168,85,247,0.25),
    transparent 35%),
    linear-gradient(
      180deg,
      #111827,
      #0b1120
    );

  transform: scale(1.03);
}

.enterprise-card,
.business {
  background:
    linear-gradient(
      145deg,
      #0f172a,
      #1e293b
    );
}

/* =========================================
   BADGES
========================================= */

.recommended-badge,
.popular-badge {
  position: absolute;

  top: 1rem;
  right: 1rem;

  display: flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.55rem 1rem;

  border-radius: 999px;

  background: rgba(139,92,246,0.18);

  color: #e9d5ff;

  font-size: 0.75rem;
  font-weight: 700;
}

/* =========================================
   TEXT
========================================= */

.plan-name,
.plan-header h3 {
  font-size: 2rem;
  font-weight: 800;

  color: white;

  margin-bottom: 0.5rem;
}

.plan-tagline,
.plan-header p {
  color: var(--text-muted);

  line-height: 1.7;

  margin-bottom: 2rem;
}

/* =========================================
   PRICE
========================================= */

.plan-price-wrap,
.plan-price {
  display: flex;
  align-items: flex-end;

  gap: 0.8rem;

  margin-bottom: 2rem;
}

.plan-old,
.old-price {
  color: rgba(255,255,255,0.45);

  text-decoration: line-through;

  font-size: 1.2rem;
}

.plan-amount,
.amount {
  font-size: 4rem;
  line-height: 1;

  font-weight: 800;

  color: white;
}

.plan-period {
  color: var(--text-muted);

  margin-bottom: 0.4rem;
}

/* =========================================
   FEATURES
========================================= */

.plan-features {
  list-style: none;

  padding: 0;
  margin: 0 0 2rem;

  display: flex;
  flex-direction: column;

  gap: 1rem;
}

.plan-features li {
  display: flex;
  align-items: center;

  gap: 0.8rem;

  color: #e5e7eb;

  line-height: 1.5;
}

.plan-features li.muted {
  opacity: 0.45;
}

.plan-features i {
  width: 22px;
  height: 22px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: rgba(139,92,246,0.15);

  color: #d8b4fe;

  font-size: 0.75rem;
}

/* =========================================
   BUTTONS
========================================= */

.plan-btn {
  width: 100%;

  border: none;

  padding: 1rem;

  border-radius: 18px;

  cursor: pointer;

  font-size: 1rem;
  font-weight: 700;

  transition: var(--transition);
}

.plan-btn:hover {
  transform: translateY(-2px);
}

.plan-btn-outline {
  background: transparent;

  border: 1px solid rgba(255,255,255,0.15);

  color: white;
}

.plan-btn-outline:hover {
  border-color: var(--primary);
}

.plan-btn-accent {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-2)
  );

  color: white;
}

.secondary {
  background: white;
  color: #111827;
}

.business-btn {
  background: linear-gradient(
    135deg,
    var(--cyan),
    #0284c7
  );

  color: white;
}

/* =========================================
   ACTION BUTTONS
========================================= */

.actions {
  display: flex;
  gap: 1rem;

  margin-top: 2rem;
}

.action-btn {
  flex: 1;

  border: none;

  padding: 1rem;

  border-radius: 16px;

  cursor: pointer;

  font-weight: 700;

  transition: var(--transition);
}

.view-btn {
  background: rgba(255,255,255,0.06);

  color: white;
}

.copy-btn {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-2)
  );

  color: white;
}

.action-btn:hover {
  transform: translateY(-2px);
}

/* =========================================
   CODE BLOCK
========================================= */

.code-block {
  max-height: 0;
  overflow: hidden;

  transition: 0.4s ease;

  margin-top: 0;
}

.code-block.open {
  max-height: 700px;

  margin-top: 1.5rem;
}

.code-block code {
  display: block;

  padding: 1.5rem;

  border-radius: 20px;

  background: #0b1120;

  color: #e2e8f0;

  overflow-x: auto;

  line-height: 1.8;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

  .pricing-grid-preview,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pro-card,
  .pro {
    transform: none;
  }
}

@media (max-width: 768px) {

  .pricing-page-hero {
    padding: 2rem;
  }

  .component-card {
    padding: 1.5rem;
  }

  .actions {
    flex-direction: column;
  }

  .card-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {

  .page-title {
    font-size: 3rem;
  }

  .billing-toggle {
    width: 100%;

    flex-direction: column;
  }

  .toggle-btn {
    width: 100%;
  }

  .plan-amount,
  .amount {
    font-size: 3rem;
  }

  .plan-card,
  .pricing-card-content {
    padding: 1.5rem;
  }
}
.newsletter-form input,
.newsletter-form button {
  transition: all 0.3s ease;
}

.newsletter-form input:hover,
.newsletter-form button:hover {
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.8);
}

.cta-primary {
  background: linear-gradient(90deg, #6a5acd, #00bfff);
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-secondary {
  background: #f5f5f5;
  color: #333;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.cta-primary:active {
  transform: scale(0.97);
}

.cta-secondary:hover {
  background: #e0e0e0;
}

.cta-secondary:active {
  transform: scale(0.97);
}

button {
  min-height: 44px;
  cursor: pointer;
}

.pricing-section {
  text-align: center;
  padding: 2rem;
  color: #fff;
  font-family: "DM Sans", sans-serif;
}

.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { display: none; }

.slider {
  position: absolute;
  cursor: pointer;
  background: #7f5cff;
  border-radius: 24px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: .4s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.discount {
  background: #00d4ff;
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.pricing-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-card {
  background: #111;
  padding: 1.5rem;
  border-radius: 8px;
  width: 250px;
  transition: transform .3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.popular {
  border: 2px solid #7f5cff;
}

.badge {
  background: #7f5cff;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2rem;
  margin: 1rem 0;
  transition: all .5s ease-in-out;
}

.cta {
  background: #7f5cff;
  border: none;
  padding: 0.7rem 1.2rem;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
.plan-amount, .plan-old {
  transition: all 0.3s ease;
}
.toggle-btn.active {
  background: var(--accent);
  color: #fff;
/* ================= GLASS PRICING ================= */

.glass-pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:24px;
  margin-top:30px;
}

.glass-card{
  position:relative;
  padding:30px;
  border-radius:24px;
  backdrop-filter:blur(18px);
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  overflow:hidden;
  transition:0.4s;
}

.glass-card:hover{
  transform:translateY(-8px);
}

.featured-glass{
  border:1px solid #7c5cff;
  box-shadow:0 0 40px rgba(124,92,255,0.35);
}

.popular-pill{
  position:absolute;
  top:18px;
  right:18px;
  background:#7c5cff;
  color:#fff;
  padding:6px 14px;
  border-radius:999px;
  font-size:12px;
}

.glass-top h2{
  font-size:54px;
  margin:10px 0;
}

.glass-features{
  list-style:none;
  padding:0;
  margin:24px 0;
}

.glass-features li{
  margin-bottom:14px;
}

.glass-btn{
  width:100%;
  padding:14px;
  border:none;
  border-radius:14px;
  cursor:pointer;
  background:#fff;
  font-weight:700;
}

.active-btn{
  background:#7c5cff;
  color:#fff;
}

/* ================= NEON PRICING ================= */

.neon-pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:26px;
  margin-top:30px;
}

.neon-card{
  position:relative;
  padding:34px;
  border-radius:24px;
  background:#0f1117;
  border:2px solid #222; 
  text-align:center;
  overflow:hidden;
  transition: all 0.4s ease;
}

.neon-card:hover{
  transform:translateY(-10px);
}

.silver{
  border-color: #e2e8f0;
  box-shadow: 0 0 5px #fff,
              0 0 10px #cbd5e1,
              0 0 20px #94a3b8,
              inset 0 0 15px rgba(255,255,255,0.1);
}

.gold{
  border-color: #ffd700;
  box-shadow: 0 0 5px #fff,
              0 0 10px #ffd700,
              0 0 25px #ff8c00,
              inset 0 0 15px rgba(255,215,0,0.1);
}

.platinum{
  border-color: #00ffff;
  box-shadow: 0 0 5px #fff,
              0 0 10px #00ffff,
              0 0 25px #008b8b,
              inset 0 0 15px rgba(0,255,255,0.1);
}

.neon-badge{
position:absolute;
  top:16px;
  right:16px;
  background:#0f1117;
  color:#ffd700;
  border: 1px solid #ffd700;
  box-shadow: 0 0 8px #ffd700;
  padding:6px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
}

.neon-price{
  font-size:58px;
  font-weight:800;
  margin:18px 0;
  color: #fff;
  text-shadow: 0 0 5px #fff,
               0 0 10px rgba(255,255,255,0.5),
               0 0 20px rgba(255,255,255,0.2);
}

.gold .neon-price {
  text-shadow: 0 0 5px #fff, 0 0 15px #ffd700;
}
.platinum .neon-price {
  text-shadow: 0 0 5px #fff, 0 0 15px #00ffff;
}

.neon-desc {
  color: #9ca3af;
  line-height:1.8;
  margin-bottom:24px;
}

.neon-card ul{
  list-style:none;
  padding:0;
  margin:24px 0;
  color:#e5e7eb;
}

.neon-card li{
  margin-bottom:12px;
}

.neon-btn{
  width:100%;
  padding:14px;
  border-radius:14px;
  border:none;
  cursor:pointer;
  font-weight:700;
}

.active-neon{
  background:gold;
  color:#111;
}

/* ================= MINIMAL PRICING ================= */

.minimal-pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:22px;
  margin-top:30px;
}

.minimal-card{
  padding:40px 28px;
  border-radius:20px;
  background:#fff;
  text-align:center;
  border:1px solid rgba(0,0,0,0.08);
  transition:0.3s;
}

.minimal-card:hover{
  transform:translateY(-6px);
}

.dark-mini{
  background:#111827;
  color:#fff;
}

.mini-label{
  display:inline-block;
  margin-bottom:16px;
  font-size:14px;
  padding:6px 14px;
  border-radius:999px;
  background:#ececec;
}

.dark-mini .mini-label{
  background:#1f2937;
}

.minimal-card h2{
  font-size:56px;
  margin-bottom:12px;
}

.minimal-btn{
  margin-top:24px;
  width:100%;
  padding:14px;
  border:none;
  border-radius:12px;
  background:#111827;
  color:#fff;
  cursor:pointer;
  font-weight:700;
}

.light-btn{
  background:#fff;
  color:#111827;
}

.plan-title, .plan-amount {
  color: #fff; /* bright text */
}

.toggle-btn {
  background: linear-gradient(135deg, #2563eb, #6d28d9);
  color: #fff;
}

.toggle-btn:focus,
.cta:focus {
  outline: 3px solid #ff7b00;
  outline-offset: 2px;
}
