/* =============================================
   API-FIXES.CSS v3 — All retouching overrides
   ============================================= */

/* ---- 1. HERO — Bowtie lens-flare background (blue palette) ---- */
.hero {
  background: #00060f;
  min-height: 100vh;
  overflow: hidden;
}
.hero-bowtie-wrap {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.bowtie-wing {
  position: absolute; top: 0; bottom: 0; width: 62%;
}
.bowtie-left {
  left: 0;
  background: radial-gradient(ellipse 110% 50% at 0% 50%, rgba(45,158,253,0.82) 0%, rgba(36,126,202,0.55) 28%, rgba(13,47,76,0.3) 55%, transparent 72%);
  clip-path: polygon(0% 2%, 100% 44%, 100% 56%, 0% 98%);
  filter: blur(18px);
}
.bowtie-right {
  right: 0;
  background: radial-gradient(ellipse 110% 50% at 100% 50%, rgba(45,158,253,0.82) 0%, rgba(36,126,202,0.55) 28%, rgba(13,47,76,0.3) 55%, transparent 72%);
  clip-path: polygon(0% 44%, 100% 2%, 100% 98%, 0% 56%);
  filter: blur(18px);
}
.bowtie-pinch {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 16% 8% at 50% 50%, rgba(255,255,255,0.72) 0%, rgba(120,180,255,0.38) 40%, transparent 70%);
  filter: blur(14px);
}
.bowtie-glow-top {
  position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13,47,76,0.65) 0%, transparent 70%);
}

/* ---- 2. SERVICES — white background ---- */
.services-section { background: #ffffff; }
.services-section .section-label { color: var(--color-blue); display: block; }
.services-section .section-title { color: #0a1a30; display: block; }
.services-section .section-sub   { color: #4b5563; }

/* ---- 3. AGENTS — BLACK background (odd section #3) ---- */
.agents-section { background: #00060f; }
.agents-section .section-label { color: var(--color-blue-bright); }
.agents-section .section-title { color: #ffffff; }
.agents-section .section-sub   { color: rgba(255,255,255,.65); }
.agents-section .agents-step   { border-color: rgba(255,255,255,.12); }
.agents-section .step-num      { color: var(--color-blue-bright); }
.agents-section .step-body h4  { color: #ffffff; }
.agents-section .step-body p   { color: rgba(255,255,255,.6); }
.agents-section .channel-badge.wa { color: #25d366; background: rgba(37,211,102,.1); border-color: rgba(37,211,102,.4); }
.agents-section .channel-badge.ig { color: #e91e8c; background: rgba(233,30,140,.1); border-color: rgba(233,30,140,.35); }
.agents-section .channel-badge.ms { color: #4d9eff; background: rgba(77,158,255,.1); border-color: rgba(77,158,255,.35); }
.agents-section .agent-floating-badge { background: rgba(13,47,76,.85); border: 1px solid rgba(45,158,253,.3); color: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.agents-section .agent-floating-badge .fbadge-num { color: var(--color-blue-bright); }
.agents-section .agents-inner { color: #fff; }

/* ---- 4. CHANNEL BADGES (social media icons) ---- */
.channel-badge {
  display: flex; align-items: center; gap: 8px; padding: 8px 18px;
  border: 1px solid; border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 700; background: transparent;
}
.channel-badge.wa { border-color: rgba(37,211,102,0.4); color: #128c7e; background: rgba(18,140,126,0.07); }
.channel-badge.ig { border-color: rgba(225,48,108,0.35); color: #c13584; background: rgba(193,53,132,0.07); }
.channel-badge.ms { border-color: rgba(0,120,255,0.35); color: #006afa; background: rgba(0,106,250,0.07); }

/* ---- 5. EXPAND CARDS — Testimonials ---- */
.expand-cards-section { background: var(--bg-deep); }
.expand-cards-wrap {
  display: flex; gap: 8px; height: 420px;
  overflow: hidden; width: 100%;
}
.expand-card {
  flex-shrink: 0; width: 80px; border-radius: 18px; overflow: hidden;
  transition: width .55s cubic-bezier(.4,0,.2,1); cursor: pointer;
  position: relative;
}
.expand-card.active, .expand-card:hover { width: 380px; }
.expand-card-inner {
  width: 380px; height: 420px;
  background-size: cover; background-position: center;
  position: relative; display: flex; flex-direction: column;
  justify-content: space-between; padding: 22px;
}
.expand-overlay {
  position: absolute; inset: 0; border-radius: 18px;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.55) 100%);
  transition: background .3s;
}
.expand-card.active .expand-overlay,
.expand-card:hover .expand-overlay {
  background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 50%, rgba(0,6,15,.7) 100%);
}
.expand-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.expand-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.5); flex-shrink: 0; }
.expand-author { opacity: 0; transition: opacity .3s .1s; white-space: nowrap; overflow: hidden; }
.expand-card.active .expand-author, .expand-card:hover .expand-author { opacity: 1; }
.expand-name { font-size: .9rem; font-weight: 700; color: #fff; display: block; }
.expand-role { font-size: .72rem; color: rgba(255,255,255,.65); }
.expand-content { position: relative; z-index: 1; opacity: 0; transition: opacity .3s .15s; }
.expand-card.active .expand-content, .expand-card:hover .expand-content { opacity: 1; }
.expand-quote-mark { font-size: 2.5rem; line-height: 1; color: var(--color-blue-bright); font-weight: 900; margin-bottom: 6px; }
.expand-text { font-size: .8rem; color: rgba(255,255,255,.88); line-height: 1.6; font-style: italic; }

/* Remove old testi-grid styles override */
.testi-grid { display: none; }

/* ---- 6. AGENT CHAT — wider ---- */
.agent-phone-mock { width: 360px; max-width: 100%; }
.agent-msgs { padding: 20px 18px; min-height: 320px; gap: 12px; }
.agent-msg { font-size: .82rem; padding: 12px 16px; max-width: 88%; }
.agents-inner { gap: 56px; }

/* Step numbers */
.step-num { font-size: 2.8rem; font-weight: 900; color: var(--color-blue); letter-spacing: -.04em; flex-shrink: 0; width: 60px; line-height: 1; margin-top: 4px; }
.step-body h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.step-body p  { font-size: .9rem; }

/* Pricing flip cards (keep from v1) */
.flip-cards-wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; margin-top: 48px; }
.flip-card { perspective: 1000px; cursor: pointer; }
.flip-card-inner { position: relative; width: 340px; height: 590px; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.4,0,.2,1); border-radius: 20px; }
.flip-card:hover .flip-card-inner, .flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back { position: absolute; inset: 0; border-radius: 20px; backface-visibility: hidden; overflow: hidden; border: 1px solid var(--color-border); }
.flip-card-front { background: var(--bg-card); display: flex; flex-direction: column; }
.flip-card-back { background: linear-gradient(160deg,#0d1e3d,#0a1428); border-color: var(--color-border-blue); transform: rotateY(180deg); display: flex; flex-direction: column; padding: 32px 28px; box-shadow: 0 0 40px rgba(26,95,255,.22); }
.flip-card-img { width: 100%; height: 210px; object-fit: cover; display: block; border-radius: 20px 20px 0 0; }
.flip-card-front-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.flip-card-front-body h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.flip-card-front-body p { font-size: .87rem; color: var(--color-muted); line-height: 1.6; flex: 1; }
.flip-card-hint { font-size: .72rem; color: var(--color-blue-bright); margin-top: 14px; display: flex; align-items: center; gap: 6px; }
.flip-card-hint::before { content:'↩'; font-size:.9rem; }
.fb-plan { font-size:.72rem; font-weight:700; color:var(--color-blue-bright); text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
.fb-title { font-size:1.2rem; font-weight:800; margin-bottom:10px; }
.fb-amount { font-size:1.7rem; font-weight:900; letter-spacing:-.04em; margin-bottom:4px; }
.fb-amount span { font-size:.9rem; font-weight:500; color:var(--color-muted); }
.fb-installment { font-size:.76rem; color:rgba(240,244,255,.55); margin-bottom:18px; padding:8px 12px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); border-radius:8px; line-height:1.5; }
.fb-installment strong { color:rgba(240,244,255,.85); }
.fb-features { list-style:none; display:flex; flex-direction:column; gap:8px; margin-bottom:22px; flex:1; }
.fb-features li { font-size:.82rem; color:rgba(240,244,255,.82); display:flex; gap:8px; align-items:flex-start; }
.fb-features li::before { content:'✓'; color:#4ade80; font-weight:800; flex-shrink:0; margin-top:1px; }

/* Wide variant for Services section */
.flip-card-wide .flip-card-inner { width: 440px; }
@media (max-width: 600px) { .flip-card-wide .flip-card-inner { width: 100%; max-width: 440px; } }

/* ---- RESPONSIVE ---- */
@media (max-width:900px) {
  .expand-cards-wrap { height: 360px; flex-wrap: nowrap; overflow-x: auto; }
  .expand-card { min-width: 260px; width: 260px !important; }
  .bowtie-wing { width: 80%; }
}
@media (max-width:600px) {
  .expand-card { min-width: 200px; width: 200px !important; }
  .agent-phone-mock { width: 100%; max-width: 340px; }
}

/* =======================================
   BATCH 3 ADDITIONS
   ======================================= */

/* 1. TESTIMONIALS — White background + centered */
.expand-cards-section { background: #ffffff !important; }
.expand-cards-section .section-label { color: var(--color-blue) !important; }
.expand-cards-section .section-title { color: #0a1a30 !important; }
.expand-cards-section .section-sub   { color: #4b5563 !important; }
.expand-cards-wrap { justify-content: center; }

/* 2. WAVE CANVAS — Hero & CTA */
#hero-wave { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.cta-section { position: relative; overflow: hidden; }
.cta-inner   { position: relative; z-index: 1; }
#cta-wave    { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

/* 3. WEBSITES SECTION — WHITE background (even section #4) */
.websites-section { background: #ffffff !important; }
.websites-section .section-label { color: var(--color-blue) !important; }
.websites-section .section-title { color: #0a1a30 !important; }
.websites-section .section-sub   { color: #4b5563 !important; }
.websites-section .website-type-card {
  background: rgba(0,0,0,.03) !important;
  border-color: #e5e7eb !important;
}
.websites-section .website-type-card h4 { color: #0a1a30 !important; }
.websites-section .website-type-card p  { color: #4b5563 !important; }
.websites-section .websites-inner { align-items: center; }
.websites-section .websites-browser-wrap { position: relative; }
.websites-section .website-browser-mock { border-color: rgba(0,0,0,.15) !important; }

/* Website builder canvas (replaces the static mockup body) */
#wb-canvas {
  display: block;
  width: 100%; height: 300px;
  border-radius: 0 0 10px 10px;
  background: #040c1a;
}
.browser-body { padding: 0 !important; overflow: hidden; }

/* 4. INFINITE GRID COLOR OVERRIDES PER SECTION BG — v3 Speed to Lead */
/* Dark bg sections = light/white grid lines */
.hero .infinite-grid-bg, 
.portfolio-section .infinite-grid-bg,
.cta-section .infinite-grid-bg { color: #ffffff !important; }

/* White bg sections = dark grid lines */
.value-section .infinite-grid-bg, 
.pricing-section .infinite-grid-bg { color: #0a1a30 !important; }

/* 5. VALUE SECTION — WHITE background */
.value-section { background: #ffffff; position:relative; overflow:hidden; }
.value-section .section-label { color: var(--color-blue) !important; }
.value-section .section-title { color: #0a1a30 !important; }
.value-section .section-sub { color: #4b5563 !important; }

/* 6. PORTFOLIO — DARK background */
.portfolio-section { background: #00060f; position:relative; overflow:hidden; }
.portfolio-section .section-label { color: var(--color-blue-bright) !important; }
.portfolio-section .section-title { color: #ffffff !important; }
.portfolio-section .section-sub { color: rgba(255,255,255,.65) !important; }

/* 7. PRICING — WHITE background (clean comparison) */
.pricing-section { background: #ffffff !important; position:relative; overflow:hidden; }
.pricing-section .section-label { color: var(--color-blue) !important; }
.pricing-section .section-title { color: #0a1a30 !important; }
.pricing-section .section-sub { color: #4b5563 !important; }

/* 8. CTA — DARK background with wave */
.cta-section { background: #00060f !important; overflow: hidden; }
.cta-section .section-title { color: #ffffff !important; }
.cta-sub  { color: rgba(255,255,255,.65) !important; }

/* ============================================================
   DEVICE MOCKUPS — Showcase Section
   ============================================================ */
.devices-showcase {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 28px; flex-wrap: wrap; margin-top: 16px;
}
.device-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 1; transform: translateY(0); /* Force visible */
}
.device-wrap.revealed { opacity: 1; transform: translateY(0); }
.device-label { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; }

/* --- Desktop Monitor --- */
.device-monitor { display: flex; flex-direction: column; align-items: center; }
.monitor-screen {
  width: 320px; height: 210px; background: #0a1428;
  border: 3px solid #1e3a5f; border-radius: 10px 10px 0 0;
  overflow: hidden; display: flex; flex-direction: column;
}
.mui-bar { display: flex; gap: 6px; padding: 10px 14px; background: #111827; flex-shrink: 0; }
.mui-bar span { width: 10px; height: 10px; border-radius: 50%; }
.mui-bar span:nth-child(1) { background: #ef4444; }
.mui-bar span:nth-child(2) { background: #eab308; }
.mui-bar span:nth-child(3) { background: #22c55e; }
.mui-content { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mui-row { height: 8px; border-radius: 4px; background: rgba(45,158,253,.35); width: 80%; }
.mui-row.short { width: 55%; background: rgba(255,255,255,.12); }
.mui-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.mui-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); width: 70%; }
.mui-line.short { width: 40%; }
.mui-chat-out { height: 10px; border-radius: 6px; background: #2d9efd; width: 55%; align-self: flex-end; margin-top: 4px; }
.mui-chat-in  { height: 10px; border-radius: 6px; background: rgba(255,255,255,.12); width: 45%; margin-top: 4px; }
.monitor-stand { width: 2px; height: 28px; background: #1e3a5f; }
.monitor-base  { width: 80px; height: 8px; background: #1e3a5f; border-radius: 4px; }

/* --- Tablet --- */
.device-tablet {
  width: 180px; height: 250px; background: #0a1428;
  border: 3px solid #1e3a5f; border-radius: 16px;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
}
.tablet-side-btn { position: absolute; right: -6px; top: 50px; width: 4px; height: 30px; background: #1e3a5f; border-radius: 2px; }
.tablet-screen { flex: 1; display: flex; flex-direction: column; }
.tui-header { background: #0d2f4c; padding: 10px 12px; display: flex; align-items: center; gap: 8px; }
.tui-header span { width: 28px; height: 28px; border-radius: 50%; background: #2d9efd; display: block; }
.tui-content { padding: 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tui-row { height: 7px; border-radius: 4px; background: rgba(45,158,253,.3); width: 80%; }
.tui-row.short { width: 50%; background: rgba(255,255,255,.1); }
.tui-bubble { height: 28px; border-radius: 10px; }
.tui-bubble.in  { background: rgba(255,255,255,.1); width: 75%; }
.tui-bubble.out { background: #2d9efd; width: 60%; align-self: flex-end; }
.tablet-home-btn { width: 28px; height: 4px; border-radius: 2px; background: #1e3a5f; margin: 8px auto; }

/* --- Phone --- */
.device-phone {
  width: 120px; height: 240px; background: #0a1428;
  border: 3px solid #1e3a5f; border-radius: 28px;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
}
.phone-notch { width: 40px; height: 8px; background: #1e3a5f; border-radius: 4px; margin: 10px auto 0; flex-shrink: 0; }
.phone-screen { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.pui-header { background: #0d2f4c; padding: 8px 10px; display: flex; align-items: center; gap: 6px; font-size: .6rem; color: rgba(255,255,255,.8); font-weight: 600; flex-shrink: 0; }
.pui-avatar { width: 22px; height: 22px; border-radius: 50%; background: #25d366; flex-shrink: 0; }
.pui-content { padding: 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pui-bubble { height: 20px; border-radius: 8px; }
.pui-bubble.in  { background: rgba(255,255,255,.1); width: 82%; }
.pui-bubble.out { background: #25d366; width: 65%; align-self: flex-end; }
.pui-bubble.short { width: 55%; }
.phone-home { width: 28px; height: 4px; background: #1e3a5f; border-radius: 2px; margin: 8px auto; flex-shrink: 0; }

/* ============================================================
   FEATURES-10 SERVICE CARDS (Shadcn Strict Replica)
   ============================================================ */
.feat10-wrapper { max-width: 1024px; margin: 0 auto; padding: 0 24px; }
.feat10-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px;
}
@media (min-width: 1024px) {
  .feat10-grid { grid-template-columns: 1fr 1fr; }
}
.feat10-card {
  position: relative; background: #ffffff;
  border: 1px solid #e5e7eb; box-shadow: 0 1px 2px 0 rgba(9, 9, 11, 0.05);
  display: flex; flex-direction: column; overflow: hidden;
}
.feat10-card.col-span-2 { grid-column: minmax(auto, 1/-1); padding: 24px; }

/* Decorators (the corner brackets) */
.feat10-decorator { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.feat10-decorator span { position: absolute; width: 8px; height: 8px; border-style: solid; border-color: #1a5fff; }
.f10-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.f10-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.f10-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.f10-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.f10-card-header { padding-bottom: 12px; }
.f10-header-inner { padding: 24px; }
.f10-icon-label { display: flex; align-items: center; gap: 8px; color: #71717a; font-size: 0.875rem; }
.f10-icon-label svg { width: 16px; height: 16px; }
.f10-title { margin-top: 32px; font-size: 1.5rem; line-height: 2rem; font-weight: 600; color: #09090b; }

.f10-image-wrapper { position: relative; margin-bottom: 24px; border-top: 1px dashed #e5e7eb; }
@media(min-width:640px) { .f10-image-wrapper { margin-bottom: 0; } }
.f10-grad-bg { position: absolute; inset: 0; background: radial-gradient(125% 125% at 50% 0%, transparent 40%, #f4f4f5, white 125%); z-index: 1; }
.f10-aspect-ratio { aspect-ratio: 76/59; padding: 4px 24px; position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.f10-aspect-ratio img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); border: 1px solid #e5e7eb; background: #fff; }

.f10-wide-desc {
  margin: 24px auto; max-width: 28rem; text-align: center;
  font-size: 1.5rem; line-height: 2rem; font-weight: 600; color: #09090b; text-wrap: balance;
}

.f10-circular-row { display: flex; justify-content: center; gap: 24px; overflow: hidden; margin-top: 24px; }
.f10-circular-ui { display: flex; flex-direction: column; align-items: center; }
.f10-cir-border-wrap { background: linear-gradient(to bottom, #e5e7eb, transparent); padding: 1px; border-radius: 16px; width: max-content; }
.f10-cir-inner { background: linear-gradient(to bottom, #ffffff, rgba(244,244,245,0.25)); padding: 16px; border-radius: 15px; display: flex; align-items: center; }
.f10-cir-inner > div { width: 28px; height: 28px; border-radius: 50%; border: 1px solid; margin-left: -16px; position: relative; }
@media(min-width:640px) { .f10-cir-inner > div { width: 32px; height: 32px; } }
.f10-cir-inner > div:first-child { margin-left: 0; z-index: 2; }
.f10-cir-inner > div:nth-child(2) { z-index: 1; }

.f10-c-none { border-color: #1a5fff; background: transparent; }
.f10-c-border { border-color: #1a5fff; background: repeating-linear-gradient(-45deg, #e5e7eb, #e5e7eb 1px, transparent 1px, transparent 4px); }
.f10-c-primary { border-color: #1a5fff; background-color: #ffffff; background-image: repeating-linear-gradient(-45deg, #1a5fff, #1a5fff 1px, transparent 1px, transparent 4px); }
.f10-c-blue { border-color: #3b82f6; background-color: #ffffff; background-image: repeating-linear-gradient(-45deg, #3b82f6, #3b82f6 1px, transparent 1px, transparent 4px); z-index: 3 !important; }

.f10-label { margin-top: 6px; display: block; text-align: center; font-size: 0.875rem; color: #71717a; }

@media (max-width: 768px) {
  .devices-showcase { gap: 16px; }
  .desktop-wrap { display: none; }
}
.infinite-grid-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.ig-glowing-orbs {
  position: absolute; inset: 0; opacity: 0.6;
}
.ig-orb {
  position: absolute; border-radius: 50%; filter: blur(100px);
}
.ig-orb-1 { top: -20%; right: -20%; width: 40%; height: 40%; background: rgba(36,126,202,0.3); } /* #247eca */
.ig-orb-2 { top: -10%; right: 10%; width: 20%; height: 20%; background: rgba(45,158,253,0.25); } /* #2d9efd */
.ig-orb-3 { bottom: -20%; left: -10%; width: 40%; height: 40%; background: rgba(13,47,76,0.35); } /* #0d2f4c */

.ig-static-grid {
  position: absolute; inset: 0; opacity: 0.05;
  background-image: linear-gradient(to right, currentColor 1px, transparent 1px),
                    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 40px 40px;
}
.ig-interactive-grid {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(to right, currentColor 1px, transparent 1px),
                    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(300px circle at -500px -500px, black, transparent);
  mask-image: radial-gradient(300px circle at -500px -500px, black, transparent);
}

/* ============================================================
   V3 — SPEED TO LEAD COMPONENTS
   ============================================================ */

/* ---- VALUE CARDS GRID ---- */
.value-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) { .value-cards-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 999px) { .value-cards-grid { grid-template-columns: repeat(2, 1fr); } }

.value-card {
  background: #00060f;
  border: 1px solid rgba(26,95,255,0.15);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(26,95,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.value-card:hover {
  border-color: rgba(26,95,255,0.4);
  box-shadow: 0 0 40px rgba(26,95,255,0.12);
  transform: translateY(-4px);
}
.value-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(26,95,255,0.1);
  border: 1px solid rgba(45,158,253,0.2);
  display: flex; align-items: center; justify-content: center;
}
.value-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}
.value-card p {
  font-size: .88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin: 0;
}

/* ---- PORTFOLIO CARDS ---- */
.portfolio-cards-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 768px) { .portfolio-cards-wrap { grid-template-columns: 1fr; } }

.portfolio-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .3s, box-shadow .3s;
}
.portfolio-card:hover {
  border-color: rgba(26,95,255,0.35);
  box-shadow: 0 0 30px rgba(26,95,255,0.1);
}
.portfolio-card-ghost {
  border-style: dashed;
  border-color: rgba(255,255,255,0.08);
}
.portfolio-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.portfolio-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2d9efd;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(45,158,253,0.5); }
  50% { opacity: .7; box-shadow: 0 0 0 6px rgba(45,158,253,0); }
}
.portfolio-tag {
  font-size: .68rem;
  font-weight: 700;
  color: #2d9efd;
  background: rgba(45,158,253,0.1);
  border: 1px solid rgba(45,158,253,0.25);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.portfolio-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}
.portfolio-desc {
  font-size: .88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0;
}
.portfolio-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.portfolio-meta {
  font-size: .75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* ---- PRICING SECTION FLIP CARDS — white bg overrides ---- */
.pricing-section .flip-card-front {
  background: #0a1a30;
  border: 1px solid rgba(26,95,255,0.2);
}
.pricing-section .flip-card-front h3 { color: #ffffff; }
.pricing-section .flip-card-front p { color: rgba(255,255,255,0.65); }
.pricing-section .flip-card-hint { color: rgba(255,255,255,0.4); }
.pricing-section .flip-card,
.pricing-section .flip-card-inner,
.pricing-section .flip-card-front,
.pricing-section .flip-card-back { min-height: 380px; max-height: 420px; }

/* ---- WHATSAPP HERO BUTTON ---- */
.btn-wa-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.3);
}

/* ---- BTN SMALL ---- */
.btn-sm { padding: 10px 20px !important; font-size: .82rem !important; }
.btn-sm span { font-size: .82rem !important; }

/* ---- HERO BADGE ---- */
.hero-badge {
  text-transform: uppercase;
}

/* ============================================================
   BLACK SCREEN SAFETY NET (V3 Fix)
   ============================================================ */

/* 1. Force Visibility: Ensure all sections are visible regardless of JS */
.reveal, .animate-up {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

/* 2. Customizer Fix: Force body visibility in WP Admin/Customize */
body.wp-customizer,
body.admin-bar {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 3. Section Container Fixes */
section, 
main#main-content, 
.hero, 
.hero-content {
  display: block !important;
}

/* 4. Infinite Grid Fix: Ensure it remains behind content */
.infinite-grid-bg {
  z-index: 0 !important;
}
