/* =====================================================
   PUSH PLATFORM THEME  —  grupmarketing.ro
   Color palette: Violet + Orange (performance marketing)
   ===================================================== */
:root {
  --pp-primary:       #7C3AED;   /* violet-700 */
  --pp-primary-d:     #5B21B6;   /* violet-900 */
  --pp-primary-l:     #EDE9FE;   /* violet-100 */
  --pp-primary-m:     #A78BFA;   /* violet-400 */
  --pp-cta:           #F97316;   /* orange-500 */
  --pp-cta-d:         #EA6D0A;
  --pp-dark:          #0F0A1E;   /* near-black, purple tint */
  --pp-dark2:         #1E1B4B;   /* indigo-950 */
  --pp-body:          #111827;   /* gray-900 */
  --pp-muted:         #6B7280;   /* gray-500 */
  --pp-border:        #E5E7EB;   /* gray-200 */
  --pp-light:         #F8F7FF;   /* almost white, purple tint */
  --pp-white:         #FFFFFF;
  --pp-success:       #10B981;   /* emerald-500 */
  --pp-radius:        14px;
  --pp-radius-sm:     8px;
  --pp-shadow:        0 4px 24px rgba(124,58,237,.12);
  --pp-shadow-lg:     0 16px 56px rgba(124,58,237,.22);
  --pp-hero-grad:     linear-gradient(140deg, #0F0A1E 0%, #2D1060 55%, #4C1D95 100%);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  max-width: 100%;
  overflow-x: clip; /* clip (not hidden) — doesn't break position:sticky */
}
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--pp-body);
  background: var(--pp-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pp-primary); text-decoration: none; }
a:hover { color: var(--pp-primary-d); }
code { font-family: 'Fira Code', 'Cascadia Code', monospace; }

/* ===== ASTRA — fix container width on custom page templates ===== */
/*
 * Astra injects --ast-normal-container-width:1200px via inline CSS.
 * On viewports < 1200px this causes horizontal overflow.
 * Override the variable at the body class level so all Astra rules
 * that reference it pick up 100% instead.
 */
.page-template-page-home-php,
.page-template-page-preturi-php,
.page-template-page-cum-functioneaza-php,
.page-template-page-contact-php {
  --ast-normal-container-width: 100% !important;
  --ast-narrow-container-width: 100% !important;
}

/* Also zero out ast-container padding so our pp-sections truly go edge-to-edge */
/* display:block overrides any flex/grid Astra may add — prevents sections going side-by-side */
.page-template-page-home-php          #content > .ast-container,
.page-template-page-preturi-php       #content > .ast-container,
.page-template-page-cum-functioneaza-php #content > .ast-container,
.page-template-page-contact-php       #content > .ast-container {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Force all direct section children to stack vertically */
.page-template-page-home-php          #content > .ast-container > *,
.page-template-page-preturi-php       #content > .ast-container > *,
.page-template-page-cum-functioneaza-php #content > .ast-container > *,
.page-template-page-contact-php       #content > .ast-container > * {
  display: block !important;
  width: 100% !important;
  float: none !important;
}
/* Remove Astra's entry padding & width constraints */
.page-template-page-home-php .entry-content,
.page-template-page-preturi-php .entry-content,
.page-template-page-cum-functioneaza-php .entry-content,
.page-template-page-contact-php .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
/* Hide Astra page title on custom templates */
.page-template-page-home-php .ast-page-title,
.page-template-page-preturi-php .ast-page-title,
.page-template-page-cum-functioneaza-php .ast-page-title,
.page-template-page-contact-php .ast-page-title,
.page-template-page-home-php .entry-header,
.page-template-page-preturi-php .entry-header,
.page-template-page-cum-functioneaza-php .entry-header,
.page-template-page-contact-php .entry-header { display: none !important; }

/* ===== HEADER ===== */
.site-header,
.ast-primary-header-bar {
  background: var(--pp-white) !important;
  border-bottom: 1px solid var(--pp-border) !important;
  box-shadow: 0 1px 12px rgba(0,0,0,.05) !important;
}
/* Logo sizing — SVG needs explicit sizing when used as <img> */
.custom-logo,
.ast-site-identity img,
.ast-builder-logo-element img,
#ast-site-logo img {
  height: 44px !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
}
/* Hide text site-title when custom logo is set */
.custom-logo-link ~ .ast-site-title-wrap,
.custom-logo-link + .ast-site-title-wrap,
.site-logo-img + .ast-site-title-wrap { display: none !important; }
.ast-site-identity .ast-site-title-wrap { display: none !important; }
/* Nav links */
.main-header-menu .menu-item > a,
.ast-builder-menu .menu-item > a {
  color: var(--pp-body) !important;
  font-weight: 500;
  font-size: 15px !important;
  padding: 8px 14px !important;
}
.main-header-menu .menu-item > a:hover { color: var(--pp-primary) !important; }
/* "Contul meu" CTA in nav */
.main-header-menu .menu-item:last-child > a {
  background: var(--pp-primary) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
}
.main-header-menu .menu-item:last-child > a:hover {
  background: var(--pp-primary-d) !important;
}

/* ===== SECTION WRAPPERS ===== */
.pp-section { padding: 80px 0; width: 100%; }
.pp-section-alt { background: var(--pp-light); }
.pp-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.pp-section-head { text-align: center; margin-bottom: 56px; }
.pp-section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--pp-dark);
  margin: 0 0 14px;
  line-height: 1.2;
}
.pp-section-head p {
  font-size: 1.05rem;
  color: var(--pp-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
.pp-eyebrow {
  display: inline-block;
  color: var(--pp-primary);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* ===== BUTTONS ===== */
.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1;
  white-space: nowrap;
}
.pp-btn-cta  { background: var(--pp-cta); color: #fff; }
.pp-btn-cta:hover  { background: var(--pp-cta-d); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249,115,22,.35); }
.pp-btn-primary  { background: var(--pp-primary); color: #fff; }
.pp-btn-primary:hover  { background: var(--pp-primary-d); color: #fff; transform: translateY(-2px); box-shadow: var(--pp-shadow-lg); }
.pp-btn-outline  { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.pp-btn-outline:hover  { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.7); }
.pp-btn-ghost  { background: transparent; color: var(--pp-primary); border-color: var(--pp-border); }
.pp-btn-ghost:hover  { border-color: var(--pp-primary); background: var(--pp-primary-l); }
.pp-btn-sm { padding: 9px 20px; font-size: 13px; border-radius: 7px; }

/* ===== HERO ===== */
.pp-hero {
  background: var(--pp-hero-grad);
  color: #fff;
  padding: 100px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.pp-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(124,58,237,.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(79,70,229,.2) 0%, transparent 60%);
  pointer-events: none;
}
.pp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}
.pp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(167,139,250,.15);
  border: 1px solid rgba(167,139,250,.35);
  color: var(--pp-primary-m);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pp-hero h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 22px;
  color: #fff;
  letter-spacing: -1px;
}
.pp-hero h1 em { font-style: normal; color: var(--pp-primary-m); }
.pp-hero-sub {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.72);
  margin: 0 0 44px;
  line-height: 1.75;
}
.pp-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.pp-hero-actions .pp-btn { font-size: 16px; padding: 15px 34px; }

/* Hero stats bar */
.pp-hero-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 64px;
  flex-wrap: wrap;
}
.pp-hero-stat {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.pp-hero-stat:last-child { border-right: none; }
.pp-hero-stat strong { display: block; font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.pp-hero-stat span { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; display: block; text-transform: uppercase; letter-spacing: .5px; }

/* Notification demo card */
.pp-notif-demo {
  background: rgba(255,255,255,.97);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  max-width: 360px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}
.pp-notif-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--pp-primary-l);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.pp-notif-title { font-weight: 700; font-size: 14px; color: var(--pp-body); margin-bottom: 3px; }
.pp-notif-body  { font-size: 13px; color: var(--pp-muted); line-height: 1.5; }
.pp-notif-time  { font-size: 11px; color: #9CA3AF; margin-top: 5px; }
.pp-hero-demo   { margin-top: 56px; display: flex; justify-content: center; }
.pp-demo-float  { animation: ppFloat 3s ease-in-out infinite; }
@keyframes ppFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== MINI HERO (inner pages) ===== */
.pp-hero-sm {
  background: var(--pp-hero-grad);
  color: #fff;
  padding: 64px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.pp-hero-sm::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(124,58,237,.3) 0%, transparent 70%);
  pointer-events: none;
}
.pp-hero-sm-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; padding: 0 20px; }
.pp-hero-sm h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 900; margin: 10px 0 12px; color: #fff; letter-spacing: -0.5px; }
.pp-hero-sm p   { font-size: 1.05rem; color: rgba(255,255,255,.7); margin: 0; line-height: 1.7; }

/* ===== FEATURE CARDS ===== */
.pp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pp-feature-card {
  background: var(--pp-white);
  border: 1.5px solid var(--pp-border);
  border-radius: var(--pp-radius);
  padding: 32px 26px;
  transition: all .25s;
}
.pp-feature-card:hover {
  border-color: var(--pp-primary-m);
  box-shadow: var(--pp-shadow);
  transform: translateY(-4px);
}
.pp-feature-icon {
  width: 52px; height: 52px;
  background: var(--pp-primary-l);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.pp-feature-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; color: var(--pp-dark); }
.pp-feature-card p  { font-size: .9rem; color: var(--pp-muted); line-height: 1.7; margin: 0; }

/* ===== HOW IT WORKS STEPS ===== */
.pp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}
.pp-step { text-align: center; }
.pp-step-num {
  width: 52px; height: 52px;
  background: var(--pp-primary);
  color: #fff;
  font-size: 1.2rem; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(124,58,237,.35);
}
.pp-step h3 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.pp-step p  { font-size: .9rem; color: var(--pp-muted); line-height: 1.7; margin: 0; }

/* Code snippet in steps */
.pp-step-code {
  background: var(--pp-dark);
  color: #A78BFA;
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  padding: 14px 18px;
  border-radius: var(--pp-radius-sm);
  margin: 16px auto 0;
  max-width: 100%;
  text-align: left;
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* ===== TWO-COLUMN LAYOUT (cum functioneaza) ===== */
.pp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
/* min-width:0 prevents grid cells from expanding beyond 1fr when content overflows */
.pp-two-col > * { min-width: 0; }
@media (max-width: 860px) {
  .pp-two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== PRICING ===== */
.pp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .pp-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
.pp-plan {
  background: var(--pp-white);
  border: 2px solid var(--pp-border);
  border-radius: var(--pp-radius);
  padding: 36px 28px;
  position: relative;
  transition: box-shadow .2s;
}
.pp-plan:hover { box-shadow: var(--pp-shadow); }
.pp-plan-featured {
  border-color: var(--pp-primary);
  box-shadow: var(--pp-shadow-lg);
}
@media (min-width: 901px) { .pp-plan-featured { transform: scale(1.03); } }
.pp-plan-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--pp-primary);
  color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .3px;
}
.pp-plan-name  { font-size: 11px; font-weight: 700; color: var(--pp-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.pp-plan-price { margin-bottom: 6px; }
.pp-plan-price strong { font-size: 3rem; font-weight: 900; color: var(--pp-dark); letter-spacing: -2px; }
.pp-plan-price span   { font-size: .85rem; color: var(--pp-muted); }
.pp-plan-desc  { font-size: .88rem; color: var(--pp-muted); margin-bottom: 24px; min-height: 38px; line-height: 1.6; }
.pp-plan-features { list-style: none; padding: 0; margin: 0 0 32px; }
.pp-plan-features li {
  padding: 9px 0;
  font-size: .88rem;
  color: var(--pp-body);
  border-bottom: 1px solid var(--pp-border);
  display: flex; align-items: center; gap: 10px;
}
.pp-plan-features li:last-child { border-bottom: none; }
.pp-plan-features li::before { content: '✓'; color: var(--pp-success); font-weight: 700; font-size: 13px; flex-shrink: 0; }
.pp-plan-features li.pp-no  { color: var(--pp-muted); }
.pp-plan-features li.pp-no::before { content: '—'; color: var(--pp-border); font-weight: 400; }
.pp-plan .pp-btn { display: block; width: 100%; text-align: center; }

/* ===== FAQ ===== */
.pp-faq details {
  border: 1.5px solid var(--pp-border);
  border-radius: var(--pp-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.pp-faq summary {
  padding: 17px 22px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: '+'; font-size: 1.4rem; color: var(--pp-primary); font-weight: 700; flex-shrink: 0; }
.pp-faq details[open] summary::after { content: '−'; }
.pp-faq details[open] { border-color: var(--pp-primary); }
.pp-faq details[open] summary { color: var(--pp-primary); }
.pp-faq-body { padding: 0 22px 18px; color: var(--pp-muted); line-height: 1.75; font-size: .93rem; }

/* ===== CONTACT ===== */
.pp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}
@media (max-width: 768px) { .pp-contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.pp-contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.pp-contact-item .ci-icon { font-size: 1.3rem; margin-top: 1px; }
.pp-contact-item strong { display: block; font-size: .82rem; color: var(--pp-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.pp-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--pp-body); }
.pp-form input,
.pp-form textarea,
.pp-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--pp-border);
  border-radius: var(--pp-radius-sm);
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 14px;
  color: var(--pp-body);
  background: var(--pp-white);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.pp-form input:focus,
.pp-form textarea:focus,
.pp-form select:focus {
  outline: none;
  border-color: var(--pp-primary);
  box-shadow: 0 0 0 3px var(--pp-primary-l);
}
.pp-form textarea { height: 120px; resize: vertical; }

/* ===== TESTIMONIALS ===== */
.pp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.pp-testimonial {
  background: var(--pp-white);
  border: 1.5px solid var(--pp-border);
  border-radius: var(--pp-radius);
  padding: 26px;
  transition: border-color .2s;
}
.pp-testimonial:hover { border-color: var(--pp-primary-m); }
.pp-stars { color: #FBBF24; font-size: .9rem; margin-bottom: 12px; }
.pp-testimonial-text { font-size: .93rem; color: var(--pp-body); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.pp-testimonial-text::before { content: '\201E'; }
.pp-testimonial-text::after  { content: '\201D'; }
.pp-testimonial-author { display: flex; align-items: center; gap: 12px; }
.pp-testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--pp-primary-l);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--pp-primary); font-size: 1rem;
  flex-shrink: 0;
}
.pp-testimonial-name { font-weight: 700; font-size: .88rem; }
.pp-testimonial-role { font-size: .8rem; color: var(--pp-muted); }

/* ===== CTA BANNER ===== */
.pp-cta-banner {
  background: var(--pp-hero-grad);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pp-cta-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 100%, rgba(124,58,237,.35) 0%, transparent 70%);
  pointer-events: none;
}
.pp-cta-banner .pp-container { position: relative; z-index: 2; }
.pp-cta-banner h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; margin: 0 0 14px; color: #fff !important; }
.pp-cta-banner p  { font-size: 1.05rem; opacity: .78; margin: 0 0 36px; color: #fff !important; }
.pp-cta-banner .pp-btn { font-size: 17px; padding: 16px 42px; }

/* ===== STAT BOXES ===== */
.pp-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .pp-stats-row { grid-template-columns: repeat(2, 1fr); } }
.pp-stat-box {
  background: var(--pp-light);
  border-radius: var(--pp-radius-sm);
  padding: 28px 20px;
  text-align: center;
}
.pp-stat-box strong { display: block; font-size: 2.4rem; font-weight: 900; color: var(--pp-primary); letter-spacing: -1px; }
.pp-stat-box span   { font-size: .82rem; color: var(--pp-muted); margin-top: 4px; display: block; }

/* ===== MY ACCOUNT — PUSH ===== */
.pp-account-box {
  background: var(--pp-white);
  border: 1.5px solid var(--pp-border);
  border-radius: var(--pp-radius);
  padding: 26px 28px;
  margin-bottom: 20px;
}
.pp-account-box h3 {
  font-size: .95rem; font-weight: 700; color: var(--pp-dark);
  margin: 0 0 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--pp-border);
}
.pp-api-key-box {
  background: var(--pp-light);
  border: 1.5px solid var(--pp-border);
  border-radius: var(--pp-radius-sm);
  padding: 12px 16px;
  font-family: monospace; font-size: 13px; color: var(--pp-primary);
  word-break: break-all;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap;
}
.pp-copy-btn {
  background: var(--pp-primary); color: #fff;
  border: none; padding: 6px 14px; border-radius: 6px;
  font-size: 12px; cursor: pointer; white-space: nowrap;
  flex-shrink: 0;
}
.pp-copy-btn:hover { background: var(--pp-primary-d); }
.pp-snippet-box {
  background: var(--pp-dark); color: #A78BFA;
  font-family: monospace; font-size: 12px;
  padding: 16px 20px; border-radius: var(--pp-radius-sm);
  overflow-x: auto; width: 100%;
  white-space: pre-wrap; word-break: break-all;
}
.pp-plan-tag {
  display: inline-block;
  background: var(--pp-primary-l); color: var(--pp-primary);
  font-size: 12px; font-weight: 700;
  padding: 3px 12px; border-radius: 100px;
}
.pp-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 600px) { .pp-account-stats { grid-template-columns: 1fr; } }
.pp-account-stat {
  background: var(--pp-light); border-radius: var(--pp-radius-sm); padding: 16px; text-align: center;
}
.pp-account-stat strong { display: block; font-size: 1.7rem; font-weight: 900; color: var(--pp-primary); }
.pp-account-stat span   { font-size: .8rem; color: var(--pp-muted); }

/* ===== BROWSER POPUP DEMO ===== */
.pp-browser-popup {
  background: #F3F4F6;
  border-radius: 12px;
  padding: 18px 22px;
  max-width: 340px;
  font-size: 14px;
  color: var(--pp-body);
  border: 1px solid var(--pp-border);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.pp-popup-actions { display: flex; gap: 10px; margin-top: 14px; }
.pp-popup-allow {
  flex: 1; padding: 10px;
  background: var(--pp-primary); color: #fff;
  border: none; border-radius: 6px; font-weight: 600; cursor: default;
}
.pp-popup-block {
  flex: 1; padding: 10px;
  background: var(--pp-light); color: var(--pp-muted);
  border: 1.5px solid var(--pp-border); border-radius: 6px; cursor: default;
}

/* ===== CODE BLOCK (dark) ===== */
.pp-code-block {
  background: var(--pp-dark);
  border-radius: var(--pp-radius);
  padding: 28px 30px;
  color: #E2E8F0;
  font-family: 'Fira Code', monospace;
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
  /* Prevent monospace content from expanding the grid cell */
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
  width: 100%;
}
.pp-code-comment  { color: #6EE7B7; }
.pp-code-key      { color: #A78BFA; }
.pp-code-value    { color: #fff; }
.pp-code-dimmed   { color: #94A3B8; }

/* ===== INFO BOX ===== */
.pp-info-box {
  background: var(--pp-primary-l);
  border-radius: var(--pp-radius-sm);
  padding: 16px 20px;
  font-size: .88rem;
  color: var(--pp-primary-d);
  line-height: 1.65;
}
.pp-info-box strong { color: var(--pp-primary); }
.pp-success-box {
  background: #D1FAE5; border-radius: var(--pp-radius-sm);
  padding: 20px 22px; text-align: center;
  color: #065F46; font-weight: 600; font-size: .95rem;
}

/* ===== FOOTER ===== */
.site-footer, footer.site-footer    { background: var(--pp-dark) !important; }
.footer-widget-area                  { background: var(--pp-dark) !important; }
.ast-footer-copyright                { background: rgba(0,0,0,.25) !important; }
.ast-footer-copyright,
.ast-footer-copyright a              { color: rgba(255,255,255,.4) !important; font-size: 13px !important; }

/* ===== WOOCOMMERCE ===== */
.woocommerce-MyAccount-navigation ul    { border: 1.5px solid var(--pp-border) !important; border-radius: var(--pp-radius) !important; overflow: hidden; }
.woocommerce-MyAccount-navigation li    { border-bottom: 1px solid var(--pp-border) !important; }
.woocommerce-MyAccount-navigation li a  { padding: 12px 18px !important; font-size: .9rem !important; font-weight: 500 !important; color: var(--pp-body) !important; display: block !important; }
.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a { color: var(--pp-primary) !important; background: var(--pp-primary-l) !important; }
.woocommerce .button.alt,
.woocommerce button.button { background: var(--pp-primary) !important; color: #fff !important; border-radius: var(--pp-radius-sm) !important; }
.woocommerce .button.alt:hover,
.woocommerce button.button:hover { background: var(--pp-primary-d) !important; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .pp-section { padding: 60px 0; }
  .pp-hero { padding: 72px 0 52px; }
  .pp-hero-stats { gap: 0; }
  .pp-hero-stat { padding: 0 16px; }
  .pp-hero-stat strong { font-size: 1.5rem; }
  .pp-plan-featured { transform: none !important; }
}
@media (max-width: 600px) {
  .pp-hero h1 { letter-spacing: -.5px; }
  .pp-hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .pp-hero-stat { border-right: none; padding: 8px 20px; }
  .pp-container { padding: 0 16px; }
  .pp-btn { padding: 12px 22px; font-size: 14px; }
  .pp-hero-actions .pp-btn { padding: 13px 24px; font-size: 15px; }
  .pp-cta-banner .pp-btn { padding: 14px 28px; font-size: 15px; }
  .pp-code-block { font-size: 12px; padding: 20px 16px; }
}

/* ===== UTILITIES ===== */
.pp-text-center { text-align: center; }
.pp-mt-8  { margin-top: 8px; }
.pp-mt-16 { margin-top: 16px; }
.pp-mt-24 { margin-top: 24px; }
.pp-mt-40 { margin-top: 40px; }
.pp-mb-0  { margin-bottom: 0 !important; }
