/* ==========================================================================
   Enable theme — front-end styles
   Ported from the design source (enable.html) — visuals must stay pixel-perfect.
   ========================================================================== */

/* Defeat WordPress global layout constraints so section backgrounds go edge-to-edge. */
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > main,
.wp-site-blocks > main.wp-block-group,
main.wp-block-group {
  max-width: none !important;
  width: 100%;
  margin: 0;
  padding: 0;
}
main.wp-block-group > section,
main.wp-block-group > .wp-block-html,
main.wp-block-group > .wp-block-html > section {
  max-width: none !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.wp-block-html { width: 100%; }

:root {
  --primary: #3B95C9;
  --primary-dark: #2A6F99;
  --primary-light: #E8F2F9;
  --ink: #0F172A;
  --ink-2: #334155;
  --ink-3: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --accent: #FFB400;
  --radius: 14px;
  --font: 'Heebo', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  direction: rtl;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }

/* Layout container */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink);
}
.logo-img { height: 32px; width: auto; display: block; }
footer .logo-img { height: 28px; }
.nav-links {
  display: flex; gap: 32px; align-items: center;
  font-size: 15px; font-weight: 500;
}
.nav-links a { color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white;
  padding: 10px 20px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff; }
.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   Section primitives
   -------------------------------------------------------------------------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-eyebrow {
  font-size: 13px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 800; margin: 0 0 16px;
  text-wrap: balance;
}
.section-sub {
  font-size: 18px; color: var(--ink-2); line-height: 1.6;
  margin: 0; text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(0,102,204,0.08), transparent 60%),
    radial-gradient(ellipse at 10% 20%, rgba(255,180,0,0.05), transparent 50%);
}
.hero-centered { max-width: 820px; margin: 0 auto; text-align: center; }
.hero-centered .hero-sub { margin-inline: auto; }
.btn-row-center { justify-content: center; }
.hero-meta-center { justify-content: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; background: var(--primary);
  border-radius: 999px;
}
h1.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
h1.hero-title .accent { color: var(--primary); }
.hero-sub {
  font-size: 18px; line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 540px;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600; font-size: 15px;
  transition: all .15s;
  border: 0;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 8px 24px -8px rgba(0,102,204,0.4);
}
.btn-primary:hover {
  background: var(--primary-dark); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px rgba(0,102,204,0.5);
}
.btn-ghost {
  background: white; color: var(--ink); border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { color: var(--primary); transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(0,0,0,0.25); }

/* hero meta */
.hero-meta {
  display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-3);
}
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.check {
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center; font-size: 11px;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats { padding: 0; }
.stats .wrap {
  background: linear-gradient(135deg, var(--bg-soft), white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 56px;
  margin-top: -48px;
  position: relative; z-index: 2;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat {
  text-align: center;
  padding: 0 12px;
  border-inline-end: 1px solid var(--line);
}
.stat:last-child { border-inline-end: none; }
.stat-n {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-l { font-size: 14px; color: var(--ink-2); line-height: 1.4; }

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */
.features { background: var(--bg-soft); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(15,23,42,0.12);
  border-color: rgba(0,102,204,0.2);
}
.feat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-size: 22px;
  transition: all .2s;
}
.feature-card:hover .feat-icon {
  background: var(--primary); color: white;
  transform: scale(1.05);
}
.feature-card h3 {
  font-size: 20px; font-weight: 700; margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--ink-2); margin: 0; font-size: 15px; line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Tools
   -------------------------------------------------------------------------- */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-tile {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: all .2s;
}
.tool-tile:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(59,149,201,0.25);
}
.tool-ic {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid; place-items: center;
  font-weight: 800; font-size: 16px;
}
.tool-t { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.tool-d { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* --------------------------------------------------------------------------
   How it works (steps)
   -------------------------------------------------------------------------- */
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; position: relative;
}
.step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
}
.step-num {
  position: absolute; top: -18px; right: 28px;
  width: 44px; height: 44px;
  background: var(--ink); color: white;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  box-shadow: 0 8px 20px -8px rgba(15,23,42,0.5);
}
.step:nth-child(1) .step-num { background: var(--primary); box-shadow: 0 8px 20px -8px rgba(0,102,204,0.5); }
.step:nth-child(2) .step-num { background: #7C3AED; box-shadow: 0 8px 20px -8px rgba(124,58,237,0.5); }
.step:nth-child(3) .step-num { background: #059669; box-shadow: 0 8px 20px -8px rgba(5,150,105,0.5); }
.step h3 { font-size: 20px; font-weight: 700; margin: 12px 0 10px; letter-spacing: -0.01em; }
.step p { color: var(--ink-2); margin: 0; font-size: 15px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Platforms
   -------------------------------------------------------------------------- */
.platforms { background: var(--bg-soft); }
.platforms-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.platform {
  background: white; border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 16px; text-align: center;
  transition: all .2s;
}
.platform:hover { border-color: var(--primary); }
.platform-n { font-weight: 700; font-size: 16px; margin-bottom: 4px; letter-spacing: -0.01em; }
.platform-l { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing { background: var(--bg-soft); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: white; border: 1px solid var(--line);
  border-radius: 18px; padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative; transition: all .2s;
}
.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 50px -16px rgba(0,102,204,0.25);
  transform: translateY(-8px);
}
.price-badge {
  position: absolute; top: -14px; right: 32px;
  background: var(--primary); color: white;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em;
}
.price-tier-name {
  font-size: 14px; font-weight: 700; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 12px; min-height: 22px; line-height: 1.3;
}
.featured .price-tier-name { color: var(--primary); }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.price-num { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-num.is-custom { font-size: 32px; }
.price-currency { font-size: 22px; font-weight: 700; color: var(--ink-2); }
.price-period { font-size: 15px; color: var(--ink-3); }
.price-desc { font-size: 15px; color: var(--ink-2); margin: 0 0 28px; min-height: 48px; }
.price-divider { height: 1px; background: var(--line); margin: 0 0 24px; }
.price-features {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--ink-2);
}
.price-features .tick {
  flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center;
  font-size: 11px; margin-top: 2px;
}
.price-cta {
  width: 100%; padding: 14px;
  border-radius: 12px; font-weight: 600; font-size: 15px;
  text-align: center; transition: all .15s;
  display: block;
}
.price-cta.primary { background: var(--primary); color: white; }
.price-cta.primary:hover { background: var(--primary-dark); color: #fff; }
.price-cta.secondary { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.price-cta.secondary:hover { border-color: var(--ink-3); color: var(--ink); }

/* Disclaimer */
.disclaimer {
  background: #FFF8E6;
  border: 1px solid #FFE4A8;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex; gap: 18px;
  margin-top: 56px;
}
.disclaimer-icon {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: white;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 800;
}
.disclaimer h4 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: #7A4F00; }
.disclaimer p { font-size: 15px; color: #5A3D00; line-height: 1.6; margin: 0; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.test {
  margin: 0;
  background: white; border: 1px solid var(--line);
  border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.test::before {
  content: '"';
  position: absolute;
  top: 8px; inset-inline-start: 20px;
  font-size: 80px; line-height: 1;
  color: var(--primary);
  opacity: 0.18;
  font-family: Georgia, serif;
}
.test blockquote {
  margin: 0; font-size: 16px; line-height: 1.7;
  color: var(--ink); flex: 1; position: relative;
}
.test figcaption {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.test figcaption strong { font-weight: 700; font-size: 15px; color: var(--ink); }
.test figcaption span { font-size: 13px; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { background: var(--bg-soft); }
.faq-wrap {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 64px; align-items: start;
}
.faq-side { position: sticky; top: 96px; }
.faq-side .section-eyebrow { margin-bottom: 12px; }
.faq-side h2 { text-align: start; }
.faq-side .section-sub { text-align: start; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list details {
  background: white; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  transition: border-color .2s;
}
.faq-list details[open] { border-color: var(--primary); }
.faq-list summary {
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 16px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--bg-soft); color: var(--primary);
  border-radius: 999px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 16px;
  transition: transform .2s, background .2s;
}
.faq-list details[open] summary::after { content: "−"; background: var(--primary-light); }
.faq-list p {
  padding: 0 24px 20px; margin: 0;
  color: var(--ink-2); line-height: 1.7; font-size: 15px;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-section { padding-top: 0 !important; }
.cta-band {
  background: linear-gradient(135deg, #0066CC, #004A99);
  color: white;
  border-radius: 24px;
  padding: 64px 48px;
  max-width: 1152px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255,180,0,0.15), transparent 40%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: white; margin-bottom: 16px; }
.cta-band p {
  font-size: 18px; opacity: 0.9; margin: 0 0 32px;
  max-width: 580px; margin-inline: auto;
}
.cta-band .btn-ghost.on-dark {
  background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.3);
}
.cta-band .btn-ghost.on-dark:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.foot-col h5 {
  font-size: 13px; font-weight: 700; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a:hover { color: var(--primary); }
.foot-bottom {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.foot-tag p { margin: 12px 0 0; max-width: 360px; }

/* --------------------------------------------------------------------------
   Generic page (single post / inner page)
   -------------------------------------------------------------------------- */
.page-shell { padding: 64px 0; }
.page-shell .wrap { max-width: 800px; }
.page-shell h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800; letter-spacing: -0.03em;
  margin: 0 0 12px; line-height: 1.1;
}
.page-shell .page-meta {
  font-size: 14px; color: var(--ink-3); margin: 0 0 32px;
}
.page-shell h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 40px 0 12px; }
.page-shell h3 { font-size: 22px; margin: 32px 0 10px; }
.page-shell p, .page-shell ul, .page-shell ol {
  font-size: 17px; line-height: 1.75; color: var(--ink-2); margin: 0 0 18px;
}
.page-shell a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* 404 */
.error-404 { text-align: center; padding: 120px 0; }
.error-404 .err-num { font-size: clamp(80px, 14vw, 180px); font-weight: 900; color: var(--primary); line-height: 1; letter-spacing: -0.05em; margin: 0 0 16px; }
.error-404 h1 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin: 0 0 12px; }
.error-404 p { font-size: 17px; color: var(--ink-2); margin: 0 auto 28px; max-width: 520px; }

/* --------------------------------------------------------------------------
   Block editor compatibility — neutralize default Gutenberg block layout so
   the design's CSS classes drive the look.
   -------------------------------------------------------------------------- */
.wp-block-buttons { gap: 12px; }
.wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--ink) !important;
  border-color: var(--line);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .features-grid, .how-grid, .pricing-grid, .foot-grid,
  .tools-grid, .platforms-grid, .test-grid, .stats-grid, .faq-wrap {
    grid-template-columns: 1fr;
  }
  .stats .wrap { padding: 32px; margin-top: -32px; }
  .stat { border-inline-end: none; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .faq-side { position: static; }
  .hero { padding: 64px 0 48px; }
  section { padding: 72px 0; }
  .price-card.featured { transform: none; }
  .nav-links { display: none; }
  .cta-band { padding: 48px 28px; }
}
