/*
 Theme Name:   Postsiva Child
 Theme URI:    https://blog.postsiva.com
 Description:  Postsiva Marketing Theme
 Author:       Postsiva
 Template:     astra
 Version:      2.0.0
*/

/* ===== RESET & FULL WIDTH ===== */
:root {
  --brand: #6c47ff;
  --brand-dark: #4f2fe8;
  --brand-light: #ede9ff;
  --brand-glow: rgba(108,71,255,0.35);
  --dark: #0a0a14;
  --dark2: #13131f;
  --text: #1a1a2e;
  --muted: #6b7280;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 4px 32px rgba(108,71,255,0.12);
  --shadow-lg: 0 16px 64px rgba(108,71,255,0.2);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Force full width - override Astra container constraints */
.ast-container,
.ast-grid-right-aside,
.ast-grid-left-aside,
#primary,
.ast-article-post,
.entry-content,
.site-content,
#content,
.ast-wide-width {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

.entry-content > * { max-width: 100% !important; }

/* Hide Astra page title, breadcrumbs */
.entry-header, .ast-breadcrumbs-wrapper,
.ast-above-header-wrap, .page-title,
h1.entry-title, .entry-title { display: none !important; }

/* Remove default padding from content area */
.ast-page-builder-template .entry-content,
.page-template-default .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Clean up WP block margins */
.wp-block-html { margin: 0 !important; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5,h6 { font-family: 'Inter', system-ui, sans-serif; line-height: 1.15; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

/* ===== BUTTONS ===== */
.ps-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 16px;
  cursor: pointer; transition: all 0.22s cubic-bezier(.4,0,.2,1);
  text-decoration: none; border: none; white-space: nowrap;
}
.ps-btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 16px rgba(108,71,255,0.4);
}
.ps-btn-primary:hover {
  background: var(--brand-dark); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(108,71,255,0.5);
}
.ps-btn-outline {
  background: transparent; color: var(--brand);
  border: 2px solid var(--brand);
}
.ps-btn-outline:hover { background: var(--brand); color: #fff; }
.ps-btn-ghost {
  background: rgba(255,255,255,0.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.ps-btn-ghost:hover {
  background: rgba(255,255,255,0.2); color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.ps-btn-white { background: #fff; color: var(--brand); }
.ps-btn-white:hover { background: var(--brand-light); color: var(--brand-dark); }
.ps-btn-sm { padding: 10px 20px; font-size: 14px; }
.ps-btn-lg { padding: 18px 40px; font-size: 18px; }

/* ===== LAYOUT HELPERS ===== */
.ps-container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.ps-container-wide { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.ps-section { padding: 100px 0; width: 100%; }
.ps-section-sm { padding: 64px 0; }
.ps-section-lg { padding: 140px 0; }
.ps-section-dark { background: var(--dark); }
.ps-section-dark2 { background: var(--dark2); }
.ps-section-tinted { background: #f7f5ff; }
.ps-section-gradient { background: linear-gradient(180deg, #fff 0%, #f7f5ff 100%); }

.ps-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-light); color: var(--brand);
  padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 18px;
}
.ps-tag-dark {
  background: rgba(108,71,255,0.18);
  border: 1px solid rgba(108,71,255,0.35);
  color: #a78bfa;
}
.ps-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800; line-height: 1.15;
  color: var(--dark); margin: 0 0 18px;
}
.ps-title-white { color: #fff; }
.ps-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted); line-height: 1.75;
  max-width: 580px; margin: 0 0 52px;
}
.ps-subtitle-white { color: rgba(255,255,255,0.7); }

/* ===== NAVBAR OVERRIDE ===== */
#masthead, .site-header, .ast-site-header-wrap {
  background: rgba(10,10,20,0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  position: sticky !important; top: 0 !important; z-index: 999 !important;
  transition: all 0.3s !important;
}
.ast-site-identity .site-title a,
.ast-site-identity .site-title {
  color: #fff !important; font-weight: 800 !important; font-size: 20px !important;
}
.main-navigation a, .ast-main-navigation .menu-item a,
.main-header-menu .menu-link {
  color: rgba(255,255,255,0.75) !important;
  font-weight: 500 !important; font-size: 15px !important;
  transition: color 0.2s !important;
}
.main-navigation a:hover, .ast-main-navigation .menu-item a:hover,
.main-header-menu .menu-link:hover { color: #fff !important; }
.main-header-menu .current-menu-item > .menu-link { color: #fff !important; }

/* ===== HERO ===== */
.ps-hero {
  background: var(--dark);
  position: relative; overflow: hidden;
  padding: 160px 0 120px;
  width: 100%;
}
.ps-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(108,71,255,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(79,47,232,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 20% 70%, rgba(108,71,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.ps-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,71,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,71,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}
.ps-hero-content { position: relative; z-index: 2; text-align: center; }
.ps-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,71,255,0.15);
  border: 1px solid rgba(108,71,255,0.4);
  color: #c4b5fd; padding: 8px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.ps-hero-eyebrow::before { content: '✦'; font-size: 10px; }
.ps-hero h1 {
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 900; line-height: 1.05;
  color: #fff; margin: 0 0 28px;
  letter-spacing: -0.03em;
}
.ps-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 50%, #c4b5fd 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ps-hero-sub {
  font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,0.6);
  max-width: 640px; margin: 0 auto 48px; line-height: 1.75;
}
.ps-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 80px; }
.ps-hero-note { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 14px; }

/* Networks ticker */
.ps-ticker-wrap {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 48px; overflow: hidden;
}
.ps-ticker-label {
  font-size: 12px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.ps-ticker {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.ps-ticker-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  padding: 9px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.ps-ticker-item:hover {
  background: rgba(108,71,255,0.2);
  border-color: rgba(108,71,255,0.5);
  color: #c4b5fd;
}

/* ===== STATS BAR ===== */
.ps-stats-bar {
  background: #fff;
  border-bottom: 1px solid #f0ecff;
  padding: 0;
}
.ps-stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1160px; margin: 0 auto; padding: 0 40px;
}
.ps-stat-item {
  padding: 48px 24px;
  text-align: center;
  border-right: 1px solid #f0ecff;
}
.ps-stat-item:last-child { border-right: none; }
.ps-stat-num {
  font-size: 52px; font-weight: 900; color: var(--brand);
  line-height: 1; letter-spacing: -0.03em;
}
.ps-stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ===== FEATURE BENTO GRID ===== */
.ps-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.ps-bento-card {
  background: #fff;
  border: 1px solid #ede9ff;
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.ps-bento-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), #a78bfa);
  opacity: 0; transition: opacity 0.25s;
}
.ps-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #c4b5fd;
}
.ps-bento-card:hover::before { opacity: 1; }
.ps-bento-span-4 { grid-column: span 4; }
.ps-bento-span-6 { grid-column: span 6; }
.ps-bento-span-8 { grid-column: span 8; }
.ps-bento-span-12 { grid-column: span 12; }
.ps-bento-dark {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1040 100%);
  border-color: rgba(108,71,255,0.3);
  color: #fff;
}
.ps-bento-dark h3 { color: #fff; }
.ps-bento-dark p { color: rgba(255,255,255,0.65); }
.ps-bento-purple {
  background: linear-gradient(135deg, #6c47ff 0%, #4f2fe8 100%);
  border-color: transparent;
  color: #fff;
}
.ps-bento-purple h3 { color: #fff; }
.ps-bento-purple p { color: rgba(255,255,255,0.8); }
.ps-feature-icon {
  width: 56px; height: 56px;
  background: var(--brand-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 24px;
}
.ps-feature-icon-dark {
  background: rgba(108,71,255,0.2);
  border: 1px solid rgba(108,71,255,0.3);
}
.ps-feature-icon-white {
  background: rgba(255,255,255,0.15);
}
.ps-bento-card h3 { font-size: 21px; font-weight: 700; margin: 0 0 12px; color: var(--dark); }
.ps-bento-card p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }
.ps-bento-badge {
  display: inline-block; background: rgba(108,71,255,0.12);
  color: var(--brand); padding: 3px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 600; margin-bottom: 16px;
}
.ps-bento-badge-white {
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9);
}
.ps-bento-num {
  font-size: 80px; font-weight: 900; opacity: 0.08;
  position: absolute; bottom: 16px; right: 24px;
  line-height: 1; color: var(--brand);
  pointer-events: none;
}


/* ===== HOW IT WORKS ===== */
.ps-steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; position: relative;
}
.ps-steps-row::before {
  content: '';
  position: absolute;
  top: 40px; left: calc(16.6% + 20px); right: calc(16.6% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand), #a78bfa, var(--brand));
  opacity: 0.3;
}
.ps-step-card { padding: 40px 32px; text-align: center; }
.ps-step-circle {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  font-size: 28px; font-weight: 900; color: #fff;
  position: relative; z-index: 1;
  box-shadow: 0 8px 24px rgba(108,71,255,0.4);
}
.ps-step-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; color: var(--dark); }
.ps-step-card p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ===== PRICING ===== */
.ps-plans-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: start;
}
.ps-plan {
  background: #fff; border: 2px solid #ede9ff;
  border-radius: var(--radius-lg); padding: 40px 36px;
  position: relative; transition: all 0.25s;
}
.ps-plan:hover { box-shadow: var(--shadow); }
.ps-plan-pro {
  background: linear-gradient(160deg, #0f0f1a 0%, #1a1040 100%);
  border-color: rgba(108,71,255,0.5);
  box-shadow: 0 8px 48px rgba(108,71,255,0.25);
  transform: scale(1.03);
}
.ps-plan-badge {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand), #a78bfa);
  color: #fff; padding: 6px 22px; border-radius: 100px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.ps-plan-name { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px; }
.ps-plan-name-dark { color: rgba(255,255,255,0.5); }
.ps-plan-price { font-size: 56px; font-weight: 900; color: var(--dark); line-height: 1; letter-spacing: -0.03em; }
.ps-plan-price-dark { color: #fff; }
.ps-plan-price sup { font-size: 24px; vertical-align: super; font-weight: 700; }
.ps-plan-price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.ps-plan-desc { font-size: 14px; color: var(--muted); margin: 12px 0 28px; line-height: 1.6; }
.ps-plan-desc-dark { color: rgba(255,255,255,0.5); }
.ps-plan-divider { height: 1px; background: #f0ecff; margin: 24px 0; }
.ps-plan-divider-dark { background: rgba(255,255,255,0.1); }
.ps-plan-features { list-style: none; padding: 0; margin: 0 0 36px; }
.ps-plan-features li {
  font-size: 14px; padding: 9px 0;
  border-bottom: 1px solid #f7f5ff;
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--text); line-height: 1.5;
}
.ps-plan-features li:last-child { border-bottom: none; }
.ps-plan-features-dark li { border-color: rgba(255,255,255,0.07); color: rgba(255,255,255,0.8); }
.ps-check { color: var(--brand); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.ps-check-white { color: #a78bfa; }

/* ===== TESTIMONIALS ===== */
.ps-testimonials-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ps-tcard {
  background: #fff; border: 1px solid #ede9ff;
  border-radius: var(--radius-lg); padding: 36px;
  transition: all 0.25s; position: relative;
}
.ps-tcard::before {
  content: '\201C'; font-size: 80px; line-height: 1;
  color: var(--brand-light); position: absolute;
  top: 20px; left: 28px; font-family: Georgia, serif;
}
.ps-tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4b5fd; }
.ps-tcard-stars { color: #f59e0b; font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.ps-tcard-text {
  font-size: 16px; line-height: 1.75; color: var(--text);
  margin: 0 0 28px; padding-top: 24px;
}
.ps-tcard-author { display: flex; align-items: center; gap: 14px; }
.ps-tcard-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.ps-tcard-name { font-size: 15px; font-weight: 700; color: var(--dark); }
.ps-tcard-role { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ===== FAQ ===== */
.ps-faq { max-width: 780px; margin: 0 auto; }
.ps-faq-item {
  border-bottom: 1px solid #ede9ff;
  padding: 24px 0;
}
.ps-faq-q {
  font-size: 17px; font-weight: 700; color: var(--dark);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
.ps-faq-q::after { content: '+'; font-size: 24px; color: var(--brand); flex-shrink: 0; font-weight: 400; }
.ps-faq-a { font-size: 15px; color: var(--muted); line-height: 1.8; margin-top: 14px; }

/* ===== CTA BANNER ===== */
.ps-cta-banner {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1040 60%, #2d1b6e 100%);
  padding: 120px 0; text-align: center; position: relative; overflow: hidden;
}
.ps-cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(108,71,255,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.ps-cta-banner-content { position: relative; z-index: 1; }
.ps-cta-banner h2 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900; color: #fff; margin: 0 0 20px;
  letter-spacing: -0.03em;
}
.ps-cta-banner p { font-size: 19px; color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 48px; line-height: 1.7; }
.ps-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ps-cta-trust { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 20px; }

/* ===== FOOTER OVERRIDE ===== */
.site-footer, #colophon {
  background: var(--dark) !important;
  color: rgba(255,255,255,0.5) !important;
  padding: 24px 0 !important;
  text-align: center !important;
}
.site-footer a, #colophon a {
  color: rgba(255,255,255,0.5) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ps-bento-span-4 { grid-column: span 6; }
  .ps-bento-span-8 { grid-column: span 12; }
  .ps-steps-row::before { display: none; }
}
@media (max-width: 768px) {
  .ps-container, .ps-container-wide { padding: 0 20px; }
  .ps-section { padding: 64px 0; }
  .ps-hero { padding: 100px 0 80px; }
  .ps-bento { grid-template-columns: 1fr; }
  .ps-bento-span-4, .ps-bento-span-6, .ps-bento-span-8 { grid-column: span 1; }
  .ps-steps-row, .ps-plans-row, .ps-testimonials-row { grid-template-columns: 1fr; }
  .ps-stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .ps-stat-item { border-right: none; border-bottom: 1px solid #f0ecff; }
  .ps-plan-pro { transform: none; }
}
@media (max-width: 480px) {
  .ps-stats-bar-inner { grid-template-columns: 1fr; }
}

