/* ═══════════════════════════════════════════
   FITB Theme — AI Web Operations
   ═══════════════════════════════════════════ */

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

:root {
  --black: #050506;
  --surface: #0a0a0c;
  --surface-raised: #111114;
  --surface-hover: #18181c;
  --border: #1e1e24;
  --border-light: #2a2a33;
  --text-primary: #f0f0f2;
  --text-secondary: #8a8a9a;
  --text-tertiary: #5a5a6a;
  --accent: #0055ff;
  --accent-bright: #3380ff;
  --accent-glow: rgba(0, 85, 255, 0.15);
  --accent-glow-strong: rgba(0, 85, 255, 0.3);
  --cyan: #00c2ff;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--black);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a { color: var(--accent-bright); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--text-primary); }

img { max-width: 100%; height: auto; }

/* ─── UTILITY ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.label::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── NAV ─── */
/* Elementor header wrapper — make it fixed/transparent */
.elementor-location-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.elementor-location-header .elementor-section { background: transparent !important; }
.elementor-location-header .elementor-widget-wrap { padding: 0 !important; }

.elementor-location-header.scrolled {
  background: rgba(5, 5, 6, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

/* Nav element — works both inside Elementor and as PHP fallback */
#nav {
  padding: 1.25rem 0;
}

/* Fallback: when no Elementor header, nav itself is fixed */
body:not(.elementor-page) #nav,
#nav:not(.elementor-location-header #nav) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}
body:not(.elementor-page) #nav.scrolled {
  background: rgba(5, 5, 6, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

#nav .container { display: flex; align-items: center; justify-content: space-between; }

.logo { text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
.logo-icon { width: 28px; height: 30px; color: var(--accent-bright); flex-shrink: 0; }
.logo-text { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--text-primary); white-space: nowrap; }

#nav .nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
#nav .nav-links a { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; letter-spacing: 0.03em; transition: color 0.3s ease; }
#nav .nav-links a:hover { color: var(--text-primary); }
#nav .nav-links .nav-cta { font-weight: 600; color: var(--accent-bright); border: 1px solid var(--accent); padding: 0.6rem 1.5rem; border-radius: 6px; }
#nav .nav-links .nav-cta:hover { background: var(--accent); color: white; }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.mobile-toggle span { width: 22px; height: 1.5px; background: var(--text-primary); transition: all 0.3s ease; }

/* Override Hello Elementor parent theme header styles */
.site-header { background: transparent !important; }
.ehf-header { background: transparent !important; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2.25rem; background: var(--accent); color: white;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.02em; border: none; border-radius: 8px;
  cursor: pointer; text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%); opacity: 0; transition: opacity 0.35s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0, 85, 255, 0.35); color: white; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary .arrow { transition: transform 0.3s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.3s ease; }
.btn-ghost:hover { color: var(--text-primary); }

/* ─── HERO ─── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 8rem 0 6rem; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-gradient-1 { position: absolute; top: -20%; right: -10%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%); animation: pulseGlow 8s ease-in-out infinite alternate; }
.hero-gradient-2 { position: absolute; bottom: -30%; left: -15%; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px; background: radial-gradient(ellipse, rgba(0, 194, 255, 0.06) 0%, transparent 70%); animation: pulseGlow 10s ease-in-out 2s infinite alternate; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 80px 80px; opacity: 0.25; mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 100%); }
.hero-noise { position: absolute; inset: 0; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 256px; }

@keyframes pulseGlow { 0% { opacity: 0.5; transform: scale(1); } 100% { opacity: 1; transform: scale(1.05); } }

.hero-content { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.035em; margin: 1.5rem 0 2rem; }
.hero h1 .highlight { color: var(--accent-bright); }
.hero-sub { font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 300; color: var(--text-secondary); line-height: 1.7; max-width: 560px; margin-bottom: 3rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* ─── STATS BAR ─── */
.stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); position: relative; }
.stats-bar::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat-item { padding: 2.5rem 2rem; text-align: center; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: var(--border); }
.stat-number { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.4rem; }
.stat-number .accent { color: var(--accent-bright); }
.stat-desc { font-size: 0.85rem; font-weight: 400; color: var(--text-tertiary); letter-spacing: 0.05em; text-transform: uppercase; }

/* ─── SECTION BASE ─── */
.section { padding: clamp(5rem, 10vw, 8rem) 0; position: relative; }
.section-header { margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 1rem; }
.section-header p { font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; max-width: 520px; margin-top: 1.25rem; }

/* ─── SERVICE CARDS ─── */
.services { background: var(--black); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; position: relative; overflow: hidden; transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1); text-decoration: none; color: inherit; display: block; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-glow-strong), transparent); opacity: 0; transition: opacity 0.45s ease; }
.service-card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4); color: inherit; }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--accent-glow); border: 1px solid rgba(0, 85, 255, 0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 1.75rem; }
.service-icon svg { width: 22px; height: 22px; stroke: var(--accent-bright); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
.service-card p { font-size: 0.9rem; font-weight: 300; color: var(--text-secondary); line-height: 1.75; }
.service-tag { display: inline-block; margin-top: 1.5rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-tertiary); padding: 0.4rem 0.75rem; border: 1px solid var(--border); border-radius: 4px; }

/* ─── PROBLEM ─── */
.problem { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.problem-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.problem-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.problem-stat { background: var(--black); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; position: relative; overflow: hidden; }
.problem-stat::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--cyan)); opacity: 0.5; }
.problem-stat .big { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--text-primary), var(--accent-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 0.5rem; }
.problem-stat .detail { font-size: 0.88rem; font-weight: 400; color: var(--text-secondary); line-height: 1.5; }

/* ─── PROCESS ─── */
.process { background: var(--black); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.process-step { counter-increment: step; position: relative; padding: 2.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.process-step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 3rem; font-weight: 700; color: var(--accent-glow-strong); position: absolute; top: 1.5rem; right: 1.5rem; line-height: 1; }
.step-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; margin-top: 0.5rem; }
.step-desc { font-size: 0.88rem; font-weight: 300; color: var(--text-secondary); line-height: 1.75; }
.process-connector { display: flex; align-items: center; gap: 2rem; margin-top: 3rem; justify-content: center; }
.connector-line { height: 1px; flex: 1; max-width: 200px; background: linear-gradient(90deg, transparent, var(--border-light), transparent); }
.connector-text { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-tertiary); }

/* ─── AUDIENCE ─── */
.audience { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.audience-item { background: var(--surface); padding: 2.5rem 2rem; text-align: center; transition: background 0.3s ease; }
.audience-item:hover { background: var(--surface-hover); }
.audience-icon { font-size: 1.75rem; margin-bottom: 1rem; display: block; opacity: 0.9; }
.audience-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.audience-item p { font-size: 0.88rem; font-weight: 300; color: var(--text-tertiary); line-height: 1.6; }

/* ─── ABOUT ─── */
.about { background: var(--black); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-text p { font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.5rem; }
.about-text p strong { color: var(--text-primary); font-weight: 600; }
.about-credentials { display: flex; flex-direction: column; gap: 1rem; }
.credential { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; transition: border-color 0.3s ease; }
.credential:hover { border-color: var(--border-light); }
.credential-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--accent-glow); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.credential-icon svg { width: 18px; height: 18px; stroke: var(--accent-bright); fill: none; stroke-width: 1.5; }
.credential-text { font-size: 0.85rem; font-weight: 500; }
.credential-sub { font-size: 0.82rem; color: var(--text-tertiary); margin-top: 0.15rem; }

/* ─── FAQ ─── */
.faq { background: var(--surface); border-top: 1px solid var(--border); }
.faq-accordion { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { background: var(--black); border: 1px solid var(--border); border-bottom: none; transition: border-color 0.3s ease; }
.faq-item:first-child { border-radius: 10px 10px 0 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); border-radius: 0 0 10px 10px; }
.faq-item:only-child { border-radius: 10px; border-bottom: 1px solid var(--border); }
.faq-item:hover { border-color: var(--border-light); }
.faq-item.open { border-color: var(--border-light); }

.faq-question {
  font-size: 1rem; font-weight: 600;
  padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  cursor: pointer; user-select: none;
  margin: 0;
}

.faq-toggle {
  width: 24px; height: 24px; flex-shrink: 0;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-toggle::before { width: 14px; height: 1.5px; }
.faq-toggle::after { width: 1.5px; height: 14px; }
.faq-item.open .faq-toggle::after { transform: rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  opacity: 1;
}
.faq-answer p {
  font-size: 0.9rem; font-weight: 300;
  color: var(--text-secondary); line-height: 1.75;
  padding: 0 2rem 1.75rem;
  margin: 0;
}

/* ─── CTA ─── */
.cta-section { padding: clamp(6rem, 12vw, 10rem) 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80vw; height: 50vh; background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%); pointer-events: none; }
.cta-section h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; position: relative; z-index: 1; }
.cta-section .hero-sub { text-align: center; max-width: 480px; margin: 1.5rem auto 2.5rem; position: relative; z-index: 1; }
.cta-section .hero-actions { justify-content: center; position: relative; z-index: 1; }

/* ─── FOOTER ─── */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0; background: var(--black); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-left { display: flex; align-items: center; gap: 2rem; }
.footer-copy { font-size: 0.85rem; color: var(--text-tertiary); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.85rem; color: var(--text-tertiary); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--text-secondary); }
.footer-right { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-tertiary); }

/* ─── SERVICE PAGE ─── */
.service-hero { padding: 10rem 0 5rem; background: var(--surface); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.service-hero::before { content: ''; position: absolute; top: -20%; right: -10%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%); }
.service-hero .container { position: relative; z-index: 2; }
.service-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; margin-top: 1rem; }
.service-hero p { font-size: 1.1rem; font-weight: 300; color: var(--text-secondary); line-height: 1.8; max-width: 600px; margin-top: 1.5rem; }
.service-content { padding: clamp(4rem, 8vw, 6rem) 0; }
.service-content h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin: 2.5rem 0 1rem; }
.service-content h3 { font-size: 1.25rem; font-weight: 600; margin: 2rem 0 0.75rem; }
.service-content p { font-size: 1rem; font-weight: 300; color: var(--text-secondary); line-height: 1.85; margin-bottom: 1.25rem; max-width: 720px; }
.service-content ul, .service-content ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--text-secondary); }
.service-content li { margin-bottom: 0.5rem; font-weight: 300; line-height: 1.7; }

/* ─── BLOG ─── */
.blog-hero { padding: 10rem 0 4rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.blog-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); color: inherit; }
.blog-card-img { aspect-ratio: 16/10; background: var(--surface-raised); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 0.75rem; }
.blog-card h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.75rem; }
.blog-card p { font-size: 0.85rem; font-weight: 300; color: var(--text-tertiary); line-height: 1.6; flex: 1; }

/* Single post */
.single-post-header { padding: 10rem 0 3rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.single-post-header h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; max-width: 800px; }
.single-post-header .post-meta { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); margin-top: 1.25rem; }
.single-post-content { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 0; }
.single-post-content p { font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.9; margin-bottom: 1.5rem; }
.single-post-content h2 { font-size: 1.75rem; font-weight: 700; margin: 3rem 0 1rem; color: var(--text-primary); }
.single-post-content h3 { font-size: 1.3rem; font-weight: 600; margin: 2rem 0 0.75rem; }
.single-post-content ul, .single-post-content ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--text-secondary); }
.single-post-content li { margin-bottom: 0.5rem; line-height: 1.8; font-weight: 300; }
.single-post-content blockquote { border-left: 3px solid var(--accent); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--surface); border-radius: 0 8px 8px 0; }
.single-post-content blockquote p { color: var(--text-primary); font-weight: 400; font-style: italic; margin-bottom: 0; }
.single-post-content code { font-family: var(--font-mono); font-size: 0.88rem; background: var(--surface); padding: 0.15rem 0.4rem; border-radius: 4px; }
.single-post-content img { border-radius: 10px; margin: 2rem 0; }

/* ─── 404 ─── */
.page-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-404 h1 { font-size: 8rem; font-weight: 900; color: var(--accent-glow-strong); line-height: 1; }
.page-404 p { font-size: 1.2rem; color: var(--text-secondary); margin: 1rem 0 2rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .problem-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  #nav .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item { padding: 1.75rem 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .faq-accordion { max-width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .problem-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-item { border-bottom: 1px solid var(--border); }
  .audience-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .problem-stats { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-left { flex-direction: column; gap: 1rem; }
}

/* ─── MOBILE NAV ─── */
@media (max-width: 768px) {
  #nav .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  #nav .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
  }
  #nav .nav-links.mobile-open a {
    font-size: 1.2rem;
  }
}

/* ─── ELEMENTOR OVERRIDES ─── */
/* Let Elementor sections be full-width; our .container handles inner width */
.elementor-page main { padding: 0; }
.elementor-section { background-color: transparent; }
.elementor-section .elementor-container { max-width: 100%; padding: 0; }
.elementor-widget-html .container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); }

/* Force dark backgrounds */
.elementor-widget-text-editor,
.elementor-widget-heading { color: var(--text-primary); }
.elementor-widget-text-editor p { color: var(--text-secondary); }

/* Elementor button styling to match our brand */
.elementor-button {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  border-radius: 8px !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ─── GRAVITY FORM DARK THEME ─── */
.cta-section .gform_wrapper,
.gform_wrapper.gravity-theme {
  --gf-ctrl-border-color: var(--border-light);
  --gf-ctrl-bg-color: var(--surface);
  --gf-ctrl-color: var(--text-primary);
  --gf-label-color: var(--text-primary);
  --gf-desc-color: var(--text-secondary);
}
.gform_wrapper.gravity-theme .gfield_label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.gform_wrapper.gravity-theme .gfield_required,
.gform_wrapper.gravity-theme .gfield_required .gfield_required_text {
  color: var(--accent-bright) !important;
  font-size: 0.78rem;
  font-weight: 400;
}
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme textarea,
.gform_wrapper.gravity-theme select {
  background: var(--surface) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-display);
  font-size: 0.9rem;
  padding: 0.85rem 1rem !important;
  border-radius: 8px !important;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
}
.gform_wrapper.gravity-theme textarea {
  min-height: 120px !important;
  max-height: 200px;
  resize: vertical;
}
.gform_wrapper.gravity-theme input:focus,
.gform_wrapper.gravity-theme textarea:focus,
.gform_wrapper.gravity-theme select:focus {
  border-color: var(--accent) !important;
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.gform_wrapper.gravity-theme input::placeholder,
.gform_wrapper.gravity-theme textarea::placeholder {
  color: var(--text-tertiary);
}
.gform_wrapper.gravity-theme .gform_button,
.gform_wrapper.gravity-theme input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  background: var(--accent) !important;
  color: white !important;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none !important;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1rem;
  width: auto;
}
.gform_wrapper.gravity-theme .gform_button:hover,
.gform_wrapper.gravity-theme input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 85, 255, 0.35);
}
.gform_wrapper.gravity-theme .gform_footer {
  text-align: center;
  padding-top: 1rem;
}
.gform_wrapper.gravity-theme .gfield_description {
  color: var(--text-tertiary);
  font-size: 0.82rem;
}
.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message {
  color: #ff4444;
  font-size: 0.82rem;
}
.gform_wrapper.gravity-theme select option {
  background: var(--surface);
  color: var(--text-primary);
}

/* WordPress core styles */
.page-content img { border-radius: 10px; }
.page-content a { color: var(--accent-bright); }
.page-content a:hover { color: var(--text-primary); }

/* WP pagination — scoped to avoid conflict with #nav .nav-links */
.blog-pagination .nav-links,
.pagination .nav-links,
.post-navigation .nav-links { display: flex; gap: 0.5rem; justify-content: center; list-style: none; }
.page-numbers { padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 6px; color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; transition: all 0.3s ease; }
.page-numbers:hover, .page-numbers.current { background: var(--accent); color: white; border-color: var(--accent); }
