/* ================================================================
   AdRise Studio — main.css
   Master stylesheet. Mobile-first. All breakpoints included.
   ================================================================ */

/* ── GENERATERPRESS HARD RESET ──────────────────────────────────
   GP loads its own CSS for .site-header, body, .entry-content etc.
   These rules must come FIRST so our cascade wins cleanly.
   We depend on parent-style in enqueue, ensuring we load after GP.
──────────────────────────────────────────────────────────────── */

/* Wipe GP's white site-header background */
.site-header,
#site-header,
.site-header.scrolled,
header.site-header {
  background-color: rgba(13,13,26,0.92) !important;
  background: rgba(13,13,26,0.92) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* GP sets its own max-width container inside content; reset it */
.site-content,
#content,
.content-area,
#primary,
.site-main,
.entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  background: transparent !important;
}

/* GP adds padding to <main>; kill it on pages we fully control */
.is-homepage main,
.is-homepage .site-main,
.page-template-page-about main,
.page-template-page-services main,
.page-template-page-contact main {
  padding: 0 !important;
  margin: 0 !important;
}

/* GP's default body background — keep white so sections below hero are visible */
body {
  background-color: #ffffff !important;
}
/* NOTE: do NOT set body.is-homepage to dark — it would bleed through all sections.
   The hero section handles its own dark background. */

/* Kill GP's admin-bar offset on our fixed header */
.admin-bar .site-header,
.admin-bar #site-header {
  top: 32px !important;
}
@media (max-width: 782px) {
  .admin-bar .site-header,
  .admin-bar #site-header { top: 46px !important; }
}

/* ── END GP RESET ─────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: #1E1B3A;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; }
button { font-family: inherit; }

/* ── ACCESSIBILITY ── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: #6C3CE1; color: #fff;
  padding: 8px 16px; z-index: 9999;
  border-radius: 0 0 8px 0;
  text-decoration: none; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── DESIGN TOKENS ── */
:root {
  --c-dark:    #0D0D1A;
  --c-accent:  #6C3CE1;
  --c-accent2: #8B5CF6;
  --c-teal:    #00C896;
  --c-surface: #F5F4FF;
  --c-white:   #FFFFFF;
  --c-text:    #1E1B3A;
  --c-muted:   #6B7280;
  --c-border:  rgba(108,60,225,0.12);
  --radius:    16px;
  --pill:      999px;
  --trans:     0.3s cubic-bezier(0.4,0,0.2,1);
  --shadow:    0 4px 24px rgba(108,60,225,0.10);
  --shadow-lg: 0 20px 60px rgba(108,60,225,0.18);
  --maxw:      1200px;
}

/* ── LAYOUT ── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section   { padding: 80px 0; }
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .section   { padding: 100px 0; }
}
@media (min-width: 1200px) {
  .container { padding: 0 40px; }
}
.bg-white   { background: #ffffff !important; background-color: #ffffff !important; }
.bg-surface { background: #F5F4FF !important; background-color: #F5F4FF !important; }
.bg-dark    { background: #0D0D1A !important; background-color: #0D0D1A !important; }
.text-center { text-align: center; }
.text-center .sec-sub { margin-left: auto; margin-right: auto; }

/* ── SECTION HEADERS ── */
.sec-hdr   { margin-bottom: 56px; }
.sec-lbl   {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.sec-lbl.light { color: rgba(108,60,225,0.65); }
.sec-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.sec-sub {
  font-size: 17px;
  color: var(--c-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--pill);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: var(--trans);
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn-accent  { background: var(--c-accent); color: #fff; }
.btn-accent:hover {
  background: var(--c-accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108,60,225,0.4);
}
.btn-ghost   { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: var(--c-accent); border-color: var(--c-accent); }
.btn-outline:hover { background: var(--c-accent); color: #fff; }
.btn-white   { background: #fff; color: var(--c-accent); }
.btn-white:hover { background: var(--c-surface); transform: translateY(-2px); }
.btn-sm  { padding: 9px 18px; font-size: 13px; }
.btn-lg  { padding: 15px 32px; font-size: 16px; }
.btn-xl  { padding: 18px 44px; font-size: 18px; }
.w-full  { width: 100%; justify-content: center; }

/* ── SCROLL ANIMATIONS ── */
.anim {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim.visible { opacity: 1; transform: translateY(0); }
.anim:nth-child(2) { transition-delay: 0.08s; }
.anim:nth-child(3) { transition-delay: 0.16s; }
.anim:nth-child(4) { transition-delay: 0.24s; }
.anim:nth-child(5) { transition-delay: 0.32s; }
.anim:nth-child(6) { transition-delay: 0.40s; }
.anim:nth-child(7) { transition-delay: 0.48s; }
.anim:nth-child(8) { transition-delay: 0.56s; }
@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  /* Always dark — GP's white background would make logo/nav invisible */
  background: rgba(13,13,26,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(13,13,26,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.logo-accent { color: var(--c-accent); }
.main-nav    { display: none; gap: 24px; }
@media (min-width: 900px) { .main-nav { display: flex; } }
.main-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: #fff; }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.hdr-cta     { display: none; }
@media (min-width: 600px) { .hdr-cta { display: inline-flex; } }
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--trans);
}
@media (min-width: 900px) { .burger { display: none; } }

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: absolute; bottom: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-teal));
  width: 0;
  transition: width 0.1s linear;
}

/* ── MOBILE NAV ── */
.mob-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13,13,26,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mob-nav.open { opacity: 1; pointer-events: all; }
.mob-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mob-nav nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.mob-nav nav a:hover { color: var(--c-teal); }
.mob-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none;
  color: #fff; font-size: 36px;
  cursor: pointer; line-height: 1;
  padding: 4px;
}

/* ── HERO ── */
.hero {
  position: relative !important;
  min-height: 100vh !important;
  width: 100% !important;
  max-width: none !important;
  background: #0D0D1A !important;
  background-color: #0D0D1A !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;   /* vertical center via justify, not align-items */
  overflow: hidden;
  /* push content below fixed header; distribute rest as padding-bottom */
  padding: 100px 0 60px !important;
  box-sizing: border-box;
}
#rocket-canvas {
  /* absolute — stays inside the hero, never overlays sections below */
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  /* No extra top/bottom padding — hero itself handles the offset */
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }
}
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(108,60,225,0.5);
  color: #9d8ff7;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: var(--pill);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5.5vw, 66px);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.025em;
}
.hero-glow {
  color: var(--c-teal);
  text-shadow: 0 0 60px rgba(0,200,150,0.3);
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.75;
  margin: 0 0 32px;
}
.hero-btns   { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust  { margin-top: 24px; font-size: 12px; color: rgba(255,255,255,0.25); }

/* Hero analytics card */
.hero-card {
  display: none;
  background: rgba(26,26,46,0.85);
  border: 1px solid rgba(108,60,225,0.2);
  border-radius: 20px;
  padding: 26px;
  backdrop-filter: blur(12px);
  animation: cardFloat 4s ease-in-out infinite alternate;
}
@media (min-width: 1024px) { .hero-card { display: block; } }
@keyframes cardFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-14px); }
}
.hc-header { display: flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.hc-dot    { width: 10px; height: 10px; border-radius: 50%; }
.hc-dot.green  { background: #00C896; }
.hc-dot.yellow { background: #F59E0B; }
.hc-dot.red    { background: #EF4444; }
.hc-name  { font-size: 12px; color: rgba(255,255,255,0.3); margin-left: 6px; }
.hc-row   { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; color: rgba(255,255,255,0.6); }
.hc-val   { color: var(--c-teal); font-weight: 700; }
.hc-bar   { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; margin-bottom: 18px; overflow: hidden; }
.hc-bar div { height: 100%; background: linear-gradient(90deg, var(--c-accent), var(--c-teal)); border-radius: 3px; animation: barGrow 2s ease forwards; }
@keyframes barGrow { from { width: 0; } }
.hc-note  { font-size: 11px; color: rgba(255,255,255,0.2); text-align: center; }

/* ── BESPLATNA ANALIZA CARD ── */
.analiza-sec {
  background: #F5F4FF !important;
  padding: 64px 0;
  position: relative;
  z-index: 1;
}
.analiza-card {
  background: linear-gradient(135deg, #4C1D95 0%, #6C3CE1 45%, #0a6b4f 100%);
  border-radius: 24px;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
  box-shadow: 0 24px 64px rgba(108,60,225,0.35);
}
@media (min-width: 768px) {
  .analiza-card { grid-template-columns: 1.6fr 1fr; gap: 56px; }
}
.analiza-left h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin: 10px 0 14px;
  color: #fff;
}
.analiza-left p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 20px; }
.analiza-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.analiza-list li {
  font-size: 14px; color: rgba(255,255,255,0.85);
  padding-left: 20px; position: relative;
}
.analiza-list li::before { content: '✓'; position: absolute; left: 0; color: #00C896; font-weight: 700; }
.analiza-right {
  display: flex; flex-direction: column;
  align-items: center; gap: 16px; text-align: center;
}
.analiza-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 18px; border-radius: 999px;
}
.btn-white:hover { background: #F5F4FF; }
.analiza-note { font-size: 12px; color: rgba(255,255,255,0.45); margin: 0; }

/* ── SERVICE CARD BUTTON ── */
.sv-card-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 14px; padding: 9px 18px;
  background: transparent; color: var(--c-accent);
  border: 1.5px solid var(--c-accent); border-radius: 999px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.sv-card-btn:hover { background: var(--c-accent); color: #fff; }
.sv-star .sv-card-btn {
  border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.85);
}
.sv-star .sv-card-btn:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

/* Z-index stacking — canvas is z:0 (absolute inside hero),
   everything else sits in normal flow above it */
.hero-inner        { position: relative; z-index: 2; }
.site-header       { z-index: 1000; }
.mob-nav           { z-index: 2000; }

/* Every section gets an opaque stacking context so nothing bleeds through */
.section,
.stats-bar,
.cta-sec,
.related-posts,
.inner-page,
.page-wrap,
.single-post,
.site-footer {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

/* ── SERVICES GRID ── */
.sv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px)  { .sv-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .sv-grid { grid-template-columns: repeat(4, 1fr); } }

.sv-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
@media (min-width: 600px) { .sv-card { padding: 26px 22px; } }
.sv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.sv-card:hover::before { transform: scaleX(1); }
.sv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108,60,225,0.25);
}

.sv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sv-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sv-price-badge {
  font-size: 10px; font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--pill);
  background: rgba(108,60,225,0.08);
  color: var(--c-accent);
}
.sv-b-teal  { background: rgba(0,200,150,0.1);  color: #00A878; }
.sv-b-amber { background: rgba(245,158,11,0.1); color: #92580a; }
.sv-b-pink  { background: rgba(236,72,153,0.1); color: #9d174d; }
.sv-b-blue  { background: rgba(59,130,246,0.1); color: #1d4ed8; }
.sv-b-red   { background: rgba(239,68,68,0.1);  color: #991b1b; }

.sv-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 800;
  color: var(--c-text); margin: 0 0 4px; line-height: 1.2;
}
.sv-tech { font-size: 11px; color: var(--c-muted); letter-spacing: 0.04em; margin: 0 0 8px; }
.sv-card p { font-size: 13px; color: var(--c-muted); line-height: 1.6; margin: 0; flex: 1; }
.sv-footer {
  display: flex; align-items: baseline; gap: 6px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
}
.sv-footer strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 800; color: var(--c-text);
}
.sv-footer span { font-size: 11px; color: var(--c-muted); }

/* Starter card */
.sv-star {
  background: linear-gradient(135deg, #0D0D1A, #1a0a3c 55%, #0a1f15);
  border-color: rgba(108,60,225,0.35);
}
.sv-star h3  { color: #fff; }
.sv-star .sv-tech { color: rgba(255,255,255,0.45); }
.sv-star p   { color: rgba(255,255,255,0.6); }
.sv-star .sv-footer { border-top-color: rgba(255,255,255,0.1); }
.sv-star .sv-footer span { color: rgba(255,255,255,0.4); }
.sv-rec-badge {
  display: inline-block;
  background: linear-gradient(90deg, #00C896, #6C3CE1);
  color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 14px; border-radius: var(--pill); margin-bottom: 4px;
}
.sv-star-inner {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) {
  .sv-star-inner { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
}
.sv-star-list {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
}
.sv-star-list li {
  font-size: 13px; color: rgba(255,255,255,0.8);
  padding-left: 18px; position: relative;
}
.sv-star-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--c-teal); font-weight: 700; font-size: 12px;
}
.sv-star-right { display: flex; flex-direction: column; gap: 4px; }
.sv-star-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px; font-weight: 900; color: #fff; line-height: 1;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pc {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 30px 26px;
  position: relative;
  transition: transform var(--trans), box-shadow var(--trans);
}
.pc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pc-feat  {
  border: 2px solid var(--c-accent);
  box-shadow: 0 16px 48px rgba(108,60,225,0.18);
}
@media (min-width: 768px) { .pc-feat { transform: translateY(-8px); } }
@media (min-width: 768px) { .pc-feat:hover { transform: translateY(-14px); } }
.pc-feat-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--c-accent); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 16px; border-radius: var(--pill);
  white-space: nowrap;
}
.pc-feat-head {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent2));
  margin: -30px -26px 22px;
  padding: 28px 26px 20px;
  border-radius: 18px 18px 0 0;
}
.pc-name   { font-size: 14px; font-weight: 600; color: var(--c-muted); margin: 0 0 8px; }
.pc-price  {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px; font-weight: 900; color: var(--c-text); margin: 0 0 4px;
}
.pc-period { font-size: 14px; color: var(--c-muted); margin: 0 0 12px; }
.pc-desc   { font-size: 14px; color: var(--c-muted); line-height: 1.6; margin: 0 0 22px; }
.pc-list   {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 11px;
}
.pc-list li {
  font-size: 14px; color: var(--c-text);
  padding-left: 20px; position: relative;
}
.pc-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--c-accent); font-weight: 700; font-size: 12px;
}
.pricing-note { text-align: center; margin-top: 32px; font-size: 14px; color: var(--c-muted); }
.pricing-note a { color: var(--c-accent); text-decoration: none; font-weight: 600; }

/* ── PROCESS ── */
.process-row {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  position: relative;
}
@media (min-width: 768px) {
  .process-row { grid-template-columns: repeat(4, 1fr); }
  .process-row::before {
    content: '';
    position: absolute; top: 30px; left: 12%; right: 12%;
    border-top: 2px dashed var(--c-border);
    z-index: 0;
  }
}
.ps { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.ps-num {
  width: 60px; height: 60px;
  border: 2px solid var(--c-accent);
  color: var(--c-accent);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  background: #fff;
  transition: background 0.3s, color 0.3s;
}
.ps:hover .ps-num { background: var(--c-accent); color: #fff; }
.ps h3 { font-size: 16px; font-weight: 700; color: var(--c-text); margin: 0 0 8px; }
.ps p  { font-size: 14px; color: var(--c-muted); line-height: 1.65; }

/* ── STATS BAR ── */
.stats-bar { background: #0D0D1A !important; background-color: #0D0D1A !important; padding: 70px 0; }
.stats-inner {
  display: flex; justify-content: space-around;
  flex-wrap: wrap; gap: 36px;
}
.stat { text-align: center; }
.stat-n {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 900;
  color: var(--c-teal);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-l { font-size: 13px; color: rgba(255,255,255,0.4); letter-spacing: 0.04em; }

/* ── TEAM ── */
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .team-grid { gap: 20px; } }
.tm {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: transform var(--trans), box-shadow var(--trans);
}
.tm:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tm-av {
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px; font-weight: 800; color: #fff;
  margin: 0 auto 14px;
}
.tm h3 { font-size: 15px; font-weight: 700; color: var(--c-text); margin: 0 0 4px; }
.tm p  { font-size: 13px; color: var(--c-muted); }

/* ── TESTIMONIALS ── */
.testi-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform var(--trans), box-shadow var(--trans);
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { font-size: 18px; color: #F59E0B; margin-bottom: 12px; }
.testi blockquote {
  font-size: 14px; color: var(--c-text); line-height: 1.7;
  font-style: italic; margin: 0 0 18px; padding: 0; border: none;
}
.testi-auth { display: flex; align-items: center; gap: 10px; }
.testi-av {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-auth strong { display: block; font-size: 14px; font-weight: 700; color: var(--c-text); }
.testi-auth span   { font-size: 12px; color: var(--c-muted); }

/* ── BLOG POSTS GRID ── */
.posts-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 600px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .posts-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card-img {
  display: block; overflow: hidden; height: 180px;
}
.post-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 20px; }
.post-card-meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 12px; color: var(--c-muted);
  margin-bottom: 10px; flex-wrap: wrap;
}
.post-cat a {
  color: var(--c-accent); text-decoration: none;
  font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.post-card-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px; font-weight: 700;
  line-height: 1.3; margin: 0 0 8px;
}
.post-card-body h3 a { color: var(--c-text); text-decoration: none; }
.post-card-body h3 a:hover { color: var(--c-accent); }
.post-excerpt   { font-size: 14px; color: var(--c-muted); line-height: 1.6; margin: 0 0 14px; }
.post-read-more { font-size: 13px; font-weight: 600; color: var(--c-accent); text-decoration: none; }

/* ── CTA SECTION ── */
.cta-sec {
  background: linear-gradient(135deg, #0D0D1A, #1a0a3c 45%, #0a2a1a) !important;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.cta-sec::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(108,60,225,0.2), transparent 70%);
  pointer-events: none;
}
.cta-in { position: relative; z-index: 1; }
.cta-sec h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900; color: #fff;
  margin: 0 0 16px; letter-spacing: -0.02em;
}
.cta-sec p  { font-size: 17px; color: rgba(255,255,255,0.6); margin: 0 0 36px; line-height: 1.7; }
.cta-note   { margin-top: 18px !important; font-size: 14px !important; color: rgba(255,255,255,0.3) !important; }
.cta-note a { color: var(--c-teal); text-decoration: none; }

/* ── FOOTER ── */
.site-footer { background: var(--c-dark); color: rgba(255,255,255,0.6); padding: 70px 0 0; }
.ftr-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding-bottom: 50px;
}
@media (min-width: 768px) {
  .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
}
.ftr-logo    { display: block; margin-bottom: 10px; font-size: 21px; }
.ftr-tag     { font-size: 14px; margin: 0 0 18px; }
.ftr-socials { display: flex; gap: 12px; }
.ftr-socials a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.ftr-socials a:hover { color: var(--c-teal); }
.ftr-contact { font-size: 13px; margin-top: 14px; }
.ftr-col h4  { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 14px; letter-spacing: 0.04em; }
.ftr-col a   {
  display: block; font-size: 14px;
  color: rgba(255,255,255,0.5); text-decoration: none;
  margin-bottom: 9px; transition: color 0.2s;
}
.ftr-col a:hover { color: #fff; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.ftr-bot-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
.ftr-bot-inner p   { font-size: 13px; margin: 0; }
.ftr-bot-inner nav { display: flex; gap: 18px; }
.ftr-bot-inner nav a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 20px;
  font-size: 15px; font-weight: 600; color: var(--c-text);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '›'; font-size: 22px; color: var(--c-accent);
  transform: rotate(90deg); transition: transform 0.3s;
  flex-shrink: 0; margin-left: 12px;
}
.faq-item[open] summary::after { transform: rotate(270deg); }
.faq-item p { padding: 0 20px 18px; font-size: 14px; color: var(--c-muted); line-height: 1.7; }

/* ── INNER PAGES ── */
.inner-hero { padding: 140px 0 70px; }
.inner-hero-inner { max-width: 600px; }
.inner-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900; color: #fff; line-height: 1.1;
  margin: 12px 0 16px;
}
.inner-sub { font-size: 17px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.page-header { margin-bottom: 48px; }

/* ── BREADCRUMBS ── */
.breadcrumbs {
  font-size: 13px; color: var(--c-muted);
  padding: 16px 0;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.breadcrumbs a { color: var(--c-accent); text-decoration: none; }
.breadcrumbs span { color: var(--c-muted); }

/* ── ABOUT PAGE ── */
.about-story {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 768px) {
  .about-story { grid-template-columns: 1fr 1fr; align-items: center; }
}
.about-story p { font-size: 16px; color: var(--c-muted); line-height: 1.8; margin-bottom: 16px; }
.about-values  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card    { background: var(--c-surface); border-radius: var(--radius); padding: 20px; }
.value-icon    { font-size: 24px; display: block; margin-bottom: 8px; }
.value-card h3 { font-size: 15px; font-weight: 700; color: var(--c-text); margin: 0 0 6px; }
.value-card p  { font-size: 13px; color: var(--c-muted); line-height: 1.6; margin: 0; }

/* ── BLOG LAYOUT ── */
.page-wrap { padding: 60px 0 80px; }
.blog-layout {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 900px) { .blog-layout { grid-template-columns: 1fr 320px; } }

/* ── PAGINATION ── */
.pagination ul {
  display: flex; gap: 8px; list-style: none; padding: 0;
  margin: 40px 0 0; flex-wrap: wrap;
}
.pagination ul li a,
.pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  border: 1px solid var(--c-border); color: var(--c-text);
  transition: var(--trans);
}
.pagination ul li .current,
.pagination ul li a:hover {
  background: var(--c-accent); color: #fff; border-color: var(--c-accent);
}

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 32px; }
.widget h3 {
  font-size: 16px; font-weight: 700; color: var(--c-text);
  margin: 0 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--c-accent);
  display: inline-block;
}
.sidebar-cta {
  background: var(--c-dark); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.sidebar-cta p { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0 0 16px; }
.widget-categories ul { list-style: none; padding: 0; }
.widget-categories ul li {
  padding: 8px 0; border-bottom: 0.5px solid var(--c-border);
}
.widget-categories ul li a {
  font-size: 14px; color: var(--c-text); text-decoration: none;
  display: flex; justify-content: space-between;
}
.widget-categories ul li a:hover { color: var(--c-accent); }
.recent-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 0.5px solid var(--c-border);
}
.recent-item img {
  width: 60px; height: 60px; object-fit: cover;
  border-radius: 8px; flex-shrink: 0;
}
.recent-item a {
  font-size: 13px; font-weight: 600; color: var(--c-text);
  text-decoration: none; display: block;
  margin-bottom: 4px; line-height: 1.4;
}
.recent-item a:hover { color: var(--c-accent); }
.recent-item time { font-size: 12px; color: var(--c-muted); }
.widget-tags a {
  display: inline-block; font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--pill);
  margin: 3px; color: var(--c-muted); text-decoration: none;
}
.widget-tags a:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

/* ── SINGLE POST ── */
.post-header  { margin-bottom: 32px; }
.post-meta-top {
  display: flex; gap: 14px; align-items: center;
  font-size: 13px; color: var(--c-muted);
  margin-bottom: 16px; flex-wrap: wrap;
}
.post-meta-top .post-cat a {
  color: var(--c-accent); text-decoration: none;
  font-weight: 600; font-size: 12px; text-transform: uppercase;
}
.post-read-time {
  background: var(--c-surface); padding: 3px 10px;
  border-radius: var(--pill); font-size: 12px;
}
.post-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; line-height: 1.15;
  color: var(--c-text); margin: 0 0 16px;
}
.post-excerpt-lead { font-size: 18px; color: var(--c-muted); line-height: 1.7; margin: 0 0 20px; }
.post-author-row   { display: flex; align-items: center; gap: 12px; }
.author-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), var(--c-teal));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 16px;
}
.author-name { display: block; font-size: 14px; font-weight: 700; color: var(--c-text); }
.author-role { display: block; font-size: 12px; color: var(--c-muted); }
.post-featured-img {
  margin: 32px 0; border-radius: var(--radius);
  overflow: hidden; max-height: 500px;
}
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.post-layout {
  display: grid; grid-template-columns: 1fr; gap: 48px; margin-top: 32px;
}
@media (min-width: 900px) { .post-layout { grid-template-columns: 1fr 300px; } }

.post-content { font-size: 17px; line-height: 1.85; color: var(--c-text); }
.post-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px; font-weight: 800; color: var(--c-text); margin: 2em 0 0.8em;
}
.post-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px; font-weight: 700; color: var(--c-text); margin: 1.8em 0 0.7em;
}
.post-content p  { margin: 0 0 1.4em; }
.post-content ul, .post-content ol { margin: 0 0 1.4em 1.5em; }
.post-content li { margin-bottom: 6px; }
.post-content a  { color: var(--c-accent); }
.post-content blockquote {
  border-left: 4px solid var(--c-accent);
  padding: 16px 20px; margin: 2em 0;
  background: var(--c-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.post-content img  { border-radius: var(--radius); margin: 1.5em 0; }
.post-content pre  {
  background: #0D0D1A; color: #E5E7EB;
  padding: 20px; border-radius: var(--radius);
  overflow-x: auto; font-size: 14px; margin: 1.5em 0;
}
.post-content code {
  background: var(--c-surface); padding: 2px 6px;
  border-radius: 4px; font-size: 14px;
}
.post-content pre code { background: none; }

.post-footer {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--c-border);
  display: flex; gap: 24px; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
}
.post-tags a   { color: var(--c-accent); font-size: 13px; }
.post-share    { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.post-share a  { color: var(--c-accent); font-weight: 600; font-size: 13px; text-decoration: none; }
.related-posts { padding: 60px 0; }

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.2fr 1fr; } }
.contact-form-wrap h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px; font-weight: 800; color: var(--c-text); margin-bottom: 28px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row     { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 14px; font-weight: 500; color: var(--c-text); }
.form-row label span { color: #EF4444; }
.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--c-text);
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--c-accent); }
.form-row textarea { resize: vertical; min-height: 120px; }
.checkbox-label {
  display: flex; align-items: flex-start;
  gap: 10px; font-size: 14px; color: var(--c-muted); cursor: pointer;
}
.checkbox-label input { flex-shrink: 0; margin-top: 2px; accent-color: var(--c-accent); }
.form-success {
  background: rgba(0,200,150,0.1);
  border: 1px solid rgba(0,200,150,0.3);
  border-radius: var(--radius);
  padding: 24px; text-align: center;
  color: #065F46; font-size: 16px; font-weight: 500;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.ci-card { background: var(--c-surface); border-radius: var(--radius); padding: 24px; }
.ci-card h3 { font-size: 16px; font-weight: 700; color: var(--c-text); margin: 0 0 16px; }
.ci-row { display: flex; gap: 12px; margin-bottom: 10px; font-size: 14px; color: var(--c-muted); }
.ci-row a { color: var(--c-muted); text-decoration: none; }
.ci-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.ci-socials a { font-size: 14px; color: var(--c-accent); text-decoration: none; font-weight: 500; }
.ci-socials a:hover { text-decoration: underline; }
.ci-card-cta p { font-size: 14px; color: var(--c-muted); margin: 0; }

/* ── NO POSTS ── */
.no-posts { text-align: center; padding: 60px 0; font-size: 16px; color: var(--c-muted); }

/* ── SEARCH FORM ── */
.search-form { display: flex; gap: 8px; width: 100%; margin-top: 16px; }
.search-form input[type="search"] {
  flex: 1; padding: 10px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  font-size: 14px; font-family: 'Inter', sans-serif;
  outline: none; color: var(--c-text);
}
.search-form input[type="search"]:focus { border-color: var(--c-accent); }
.search-form button {
  background: var(--c-accent); color: #fff;
  border: none; padding: 10px 18px;
  border-radius: 10px; cursor: pointer;
  font-size: 14px; font-weight: 600;
  transition: background 0.2s;
}
.search-form button:hover { background: var(--c-accent2); }

/* ── COMMENTS ── */
.comments-area { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--c-border); }
.comments-title { font-size: 22px; font-weight: 700; color: var(--c-text); margin-bottom: 24px; }
.comment-list   { list-style: none; padding: 0; }
.comment { padding: 16px 0; border-bottom: 0.5px solid var(--c-border); display: flex; gap: 14px; }
.comment-author-avatar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.comment-content p { font-size: 14px; color: var(--c-muted); line-height: 1.7; }
.comment-meta a { font-size: 13px; font-weight: 600; color: var(--c-text); text-decoration: none; }
.comment-metadata { font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.comment-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--c-text); }
.comment-form input,
.comment-form textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px; font-size: 14px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px; outline: none;
  color: var(--c-text);
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--c-accent); }
.comment-form .submit {
  background: var(--c-accent); color: #fff; border: none;
  padding: 12px 28px; border-radius: var(--pill);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.comment-form .submit:hover { background: var(--c-accent2); }

/* ── PAGE LINKS (multi-page posts) ── */
.page-links { margin: 2em 0; font-size: 14px; }
.page-links a { color: var(--c-accent); }
