/*
Theme Name: PostDovo Elementor Theme
Theme URI: https://example.com/
Author: OpenAI
Description: WordPress theme converted from the PostDovo static site with global header/footer and Elementor-friendly editable pages.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: postdovo-elementor
*/

/* ============================================
   PostDovo — style.css
   ============================================ */

/* --- Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-start: #7c3aed;
  --brand-end: #0ea5e9;
  --brand-gradient: linear-gradient(135deg, var(--brand-start), var(--brand-end));

  --bg: #ffffff;
  --bg-alt: #f8f7ff;
  --bg-card: #ffffff;
  --border: rgba(0,0,0,0.08);
  --text: #0f0f1a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --fi-opacity: 0.38;
  --fi-tk-color: #1a1a2e;
  --fi-x-color: #1a1a2e;
}

[data-theme="dark"] {
  --bg: #0d0d18;
  --bg-alt: #13131f;
  --bg-card: #18182a;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0ff;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --fi-opacity: 0.5;
  --fi-tk-color: #cbd5e1;
  --fi-x-color: #e2e8f0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-header p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Grid --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* --- Badge --- */
.badge {
  display: inline-block;
  background: rgba(124,58,237,0.1);
  color: var(--brand-start);
  border: 1px solid rgba(124,58,237,0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-gradient);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(124,58,237,0.4); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--brand-start); background: rgba(124,58,237,0.05); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.btn-ghost:hover { color: var(--text); background: var(--bg-alt); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--brand-start);
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover { background: #f0f0ff; transform: translateY(-1px); }

.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
[data-theme="dark"] .navbar { background: rgba(13,13,24,0.85); }
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.theme-logo {
  display: block;
  width: auto;
  height: 36px;
  object-fit: contain;
}

.logo--footer .theme-logo {
  height: 34px;
}

.logo-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--brand-start); }
.icon-moon { display: block; }
.icon-sun  { display: none; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun  { display: block; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 160px 0 96px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124,58,237,0.08), transparent),
              radial-gradient(ellipse 60% 40% at 80% 30%, rgba(14,165,233,0.06), transparent);
}

.hero-inner { position: relative; z-index: 1; }

.hero-title {
  margin: 0 auto 24px;
  max-width: 900px;
}

.hero-sub {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.social-proof strong { color: var(--text); }

.avatars { display: flex; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }

.stars { color: #f59e0b; letter-spacing: 2px; }

/* --- Floating Icons --- */
.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

.fi {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--sz);
  height: var(--sz);
  opacity: var(--fi-opacity);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.15));
}
.fi svg { width: 100%; height: 100%; }

.tiktok-icon { fill: var(--fi-tk-color); }
.x-icon { fill: var(--fi-x-color); }

@keyframes floatBob {
  0%,100% { transform: translateY(0)    rotate(var(--r)); }
  33%      { transform: translateY(-20px) rotate(calc(var(--r) + 6deg)); }
  66%      { transform: translateY(-9px)  rotate(calc(var(--r) - 4deg)); }
}
@keyframes floatBobAlt {
  0%,100% { transform: translateY(-4px) rotate(var(--r)); }
  50%     { transform: translateY(16px)  rotate(calc(var(--r) + 8deg)); }
}
.fi:nth-child(odd)  { animation: floatBob    var(--dur) ease-in-out infinite var(--del); }
.fi:nth-child(even) { animation: floatBobAlt var(--dur) ease-in-out infinite var(--del); }

/* ============================================
   PLATFORMS BAR
   ============================================ */
.platforms-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.platforms-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}
.platforms-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.platforms-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marqueeRight 30s linear infinite;
  will-change: transform;
}
.platforms-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
}
.platform-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.platform-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: lowercase;
}
.platform-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.platform-icon--asset {
  background: transparent;
  color: inherit;
}
.platform-icon--asset img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}
.platform-icon--facebook { background: #1877f2; }
.platform-icon--instagram { background: #e1306c; }
.platform-icon--tiktok { background: #111; }
.platform-icon--x { background: #000; }
.platform-icon--threads { background: #111; }
.platform-icon--youtube { background: #ff0000; }
.platform-icon--linkedin { background: #0a66c2; }
.platform-icon--pinterest { background: #e60023; }
.platform-icon--bluesky { background: #1185fe; }
.dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.sm { width: 8px; height: 8px; }

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; color: var(--text); }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================
   STEPS
   ============================================ */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 18px;
}

.step h3 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: 0.85rem; color: var(--text-muted); }

.step-arrow {
  font-size: 1.5rem;
  color: rgba(124,58,237,0.4);
  padding: 0 8px;
  font-weight: 300;
}

/* ============================================
   CALENDAR PREVIEW
   ============================================ */
.calendar-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.cal-title { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.cal-platform-dots { display: flex; gap: 8px; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--border);
}
.cal-day-header {
  padding: 10px 8px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.cal-day {
  padding: 8px;
  min-height: 70px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cal-day:nth-child(7n) { border-right: none; }
.cal-day.today { background: rgba(124,58,237,0.04); }

.cal-date {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.today .cal-date {
  color: white;
  background: var(--brand-start);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}

.cal-post {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 5px;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-fb { background: rgba(24,119,242,0.15); color: #1877F2; }
.cal-ig { background: rgba(225,48,108,0.15); color: #E1306C; }
.cal-tk { background: rgba(100,100,100,0.12); color: var(--text-muted); }
.cal-li { background: rgba(10,102,194,0.15); color: #0A66C2; }
.cal-x  { background: rgba(100,100,100,0.12); color: var(--text-muted); }

.cal-legend {
  display: flex;
  gap: 20px;
  padding: 14px 24px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   APPROVAL WORKFLOW
   ============================================ */
.approval-box {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(14,165,233,0.05));
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
}
.approval-box h2 { margin-bottom: 16px; }
.approval-box p { color: var(--text-muted); max-width: 560px; margin: 0 auto 40px; font-size: 1.05rem; }

.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.wf-step {
  padding: 10px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}
.wf-step.wf-active {
  background: var(--brand-gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}
.wf-arrow { color: var(--text-light); font-size: 1.2rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.stars-row {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.quote {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author > div strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 700;
}
.testimonial-author > div span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.sm-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 12px; }

.pricing-card.popular {
  border-color: var(--brand-start);
  box-shadow: 0 0 0 1px var(--brand-start), var(--shadow-md);
  transform: scale(1.03);
}

.popular-tag {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 0 0 12px 12px;
}

.price { margin: 4px 0 28px; }
.price-num { font-size: 2.8rem; font-weight: 900; letter-spacing: -0.04em; }
.price-per { color: var(--text-muted); font-size: 0.95rem; }

.plan-features {
  list-style: none;
  margin-bottom: 28px;
}
.plan-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(124,58,237,0.35); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--bg-alt); }

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-muted);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta-section { background: var(--bg); }

.final-cta {
  background: var(--brand-gradient);
  border-radius: 24px;
  padding: 80px 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1), transparent 60%);
}
.final-cta h2 { color: white; margin-bottom: 16px; position: relative; }
.final-cta p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 36px; position: relative; }
.final-cta .btn-white { position: relative; }


/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 32px 56px;
  justify-content: end;
  justify-self: end;
  text-align: right;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: right;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
  text-align: right;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text);
}



/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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



@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    z-index: 99;
    box-shadow: var(--shadow-md);
  }

  .steps-grid { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }
  .step-arrow { transform: rotate(90deg); }

  .approval-box { padding: 40px 24px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    grid-template-columns: repeat(2, max-content);
    gap: 24px 32px;
    width: fit-content;
    margin-left: auto;
    justify-content: end;
    justify-self: end;
    text-align: right;
  }

  .footer-col h4,
  .footer-col a {
    text-align: right;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }

  .footer-legal {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .pricing-card.popular { transform: none; }
}




@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 130px 0 64px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .grid-3 { grid-template-columns: 1fr; }

  .footer-links {
    grid-template-columns: 1fr;
    width: fit-content;
    margin-left: auto;
    text-align: right;
  }

  .footer-col h4,
  .footer-col a {
    text-align: right;
  }

  .footer-bottom .container {
    align-items: flex-end;
    text-align: right;
  }

  .footer-legal {
    justify-content: flex-end;
  }

  .workflow-steps { gap: 8px; }
  .wf-step { padding: 8px 14px; font-size: 0.82rem; }
  .approval-box { padding: 32px 18px; }
  .final-cta { padding: 52px 24px; }
}





/* Fix hidden sections in Elementor editor */
.elementor-editor-active section,
.elementor-editor-active .section,
.elementor-editor-active .reveal,
.elementor-editor-active [class*="reveal"],
.elementor-editor-active [class*="fade"],
.elementor-editor-active [class*="animate"] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* Force display if hidden */
.elementor-editor-active .hidden,
.elementor-editor-active [style*="display: none"] {
    display: block !important;
}



@media (max-width: 900px) {
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: flex !important;
  }
}



/* hidden on desktop */
.mobile-only {
  display: none;
}

@media (max-width: 900px) {
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: flex !important;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 14px;
    z-index: 99;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open a {
    width: 100%;
  }

  .nav-links.open .mobile-only {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-signin {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    text-align: center;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    background: transparent;
  }

  .mobile-get-started {
    background: var(--brand-gradient);
    color: #fff !important;
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 20px rgba(124,58,237,0.3);
  }
}


@media (max-width: 900px) {

  .footer-links {
    justify-content: flex-start !important;
    justify-self: flex-start !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  .footer-col h4,
  .footer-col a {
    text-align: left !important;
  }

  .footer-bottom .container {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .footer-legal {
    justify-content: flex-start !important;
  }

}