@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --pf-blue: #009FE3;
  --pf-blue-dark: #006B99;
  --pf-navy: #00284A;
  --pf-navy-deep: #001F38;
  --pf-orange: #FF741C;
  --pf-orange-text: #C24A00;
  --pf-pink: #EC2C76;
  --pf-pink-hover: #C81E60;
  --pf-gray: #F5F7FA;
  --pf-text: #3A4B5C;
  --pf-radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--pf-text);
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.pf-main { display: block; width: 100%; overflow-x: hidden; }

.pf-main h1, .pf-main h2, .pf-main h3, .pf-main h4 {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  line-height: 1.2;
}

.pf-main p { margin: 0; }
.pf-main img { max-width: 100%; display: block; }

.pf-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Reveal animation ---------- */
.pf-js .pf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.pf-js .pf-reveal.pf-in { opacity: 1; transform: none; }

/* ---------- Labels ---------- */
.pf-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pf-orange-text);
}
.pf-label-on-dark { color: var(--pf-orange); }

/* ---------- Buttons ---------- */
.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.pf-btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.pf-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 20, 40, .28); }
.pf-btn:hover svg { transform: translateX(4px); }
.pf-btn:focus-visible { outline: 3px solid #FFD27A; outline-offset: 3px; }
.pf-btn-pink { background: var(--pf-pink); color: #fff; }
.pf-btn-pink:hover { background: var(--pf-pink-hover); }
.pf-btn-navy { background: var(--pf-navy); color: #fff; }
.pf-btn-navy:hover { background: #0A4275; }
.pf-btn-white { background: #fff; color: var(--pf-orange-text); }
.pf-btn-white:hover { background: #FFF1E8; }
.pf-btn-outline { background: transparent; color: #fff; border-color: #fff; }
.pf-btn-outline:hover { background: #fff; color: var(--pf-navy); }

/* ---------- Section 1: Hero ---------- */
.pf-hero {
  position: relative;
  background: linear-gradient(170deg, #005F8A 0%, #0079AD 35%, #009FE3 75%, #5CC4F0 100%);
  padding: 110px 0 190px;
  text-align: center;
  color: #fff;
}
.pf-hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.pf-hero-glow-1 { width: 380px; height: 380px; top: -120px; left: -100px; background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%); }
.pf-hero-glow-2 { width: 460px; height: 460px; bottom: 20px; right: -140px; background: radial-gradient(circle, rgba(236,44,118,.28), rgba(236,44,118,0) 70%); }
.pf-hero-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.pf-hero-label {
  display: inline-block;
  background: #fff;
  color: var(--pf-orange-text);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 26px;
  box-shadow: 0 6px 18px rgba(0, 40, 74, .2);
}
.pf-hero-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 2px 14px rgba(0, 40, 74, .3);
}
.pf-hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 500;
  color: #fff;
  max-width: 720px;
  margin: 0 auto 38px !important;
  text-shadow: 0 1px 8px rgba(0, 40, 74, .35);
}
.pf-hero-chips {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.pf-hero-chip {
  background: rgba(0, 40, 74, .55);
  color: #fff;
  padding: 8px 18px;
  border-radius: 40px;
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.35);
}
.pf-hero-wave {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 120px;
  display: block;
  z-index: 1;
}

/* ---------- Section 2: Intro ---------- */
.pf-intro { background: #fff; padding: 40px 0 100px; text-align: center; }
.pf-intro-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--pf-navy);
  margin: 14px auto 22px;
  max-width: 800px;
}
.pf-intro-text { max-width: 760px; margin: 0 auto 54px !important; font-size: 1.08rem; }
.pf-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
.pf-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 38px 24px 30px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 12px 30px rgba(0, 40, 74, .15);
}
.pf-badge:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(0, 40, 74, .28); }
.pf-badge:focus-visible { outline: 3px solid var(--pf-pink); outline-offset: 4px; }
.pf-badge-fb { background: var(--pf-navy); }
.pf-badge-gg { background: linear-gradient(160deg, #009FE3 0%, #00709F 100%); }
.pf-badge-tt { background: linear-gradient(160deg, #FF741C 0%, #D04600 100%); }
.pf-badge-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease;
}
.pf-badge:hover .pf-badge-icon { transform: scale(1.1) rotate(-6deg); }
.pf-badge-icon svg { width: 40px; height: 40px; fill: #fff; }
.pf-badge-name { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
.pf-badge-link {
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
  border-bottom: 2px solid rgba(255,255,255,.7);
  padding-bottom: 2px;
}

/* ---------- Platform shared ---------- */
.pf-platform { padding: 100px 0; position: relative; scroll-margin-top: 70px; }
.pf-platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pf-platform-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pf-platform-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pf-platform-icon svg { width: 28px; height: 28px; fill: #fff; }
.pf-platform-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 18px; }
.pf-platform-text { font-size: 1.05rem; margin-bottom: 30px !important; }

/* ---------- Section 3: Facebook ---------- */
.pf-facebook { background: var(--pf-navy); color: #fff; }
.pf-facebook .pf-platform-icon { background: #1877F2; }
.pf-facebook .pf-platform-title { color: #fff; }
.pf-facebook .pf-platform-text { color: #C9D6E2; }
.pf-fb-cards { display: grid; gap: 14px; margin-bottom: 34px; }
.pf-fb-card {
  background: var(--pf-navy-deep);
  border-left: 5px solid var(--pf-blue);
  border-radius: 12px;
  padding: 16px 20px;
  transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.pf-fb-card:hover { transform: translateX(8px); background: #02335c; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.pf-fb-card h3 { font-size: 1.08rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.pf-fb-card p { font-size: .94rem; color: #C9D6E2; }
.pf-bc-blue { border-left-color: var(--pf-blue); }
.pf-bc-pink { border-left-color: var(--pf-pink); }
.pf-bc-orange { border-left-color: var(--pf-orange); }

/* ---------- Mockups ---------- */
.pf-mock-wrap { display: flex; justify-content: center; position: relative; }
.pf-mock-wrap::before {
  content: "";
  position: absolute;
  width: 78%; height: 78%;
  top: 11%; left: 11%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,159,227,.38), rgba(0,159,227,0) 70%);
  z-index: 0;
}
.pf-phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  background: #0b1622;
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4), inset 0 0 0 2px #25384b;
  transition: transform .4s ease;
}
.pf-phone:hover { transform: translateY(-8px) rotate(-1deg); }
.pf-phone-notch { width: 90px; height: 6px; background: #25384b; border-radius: 6px; margin: 2px auto 10px; }
.pf-phone-screen { background: #fff; border-radius: 28px; overflow: hidden; color: #1a1a1a; }

.pf-fbpost-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.pf-fbpost-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #009FE3, #EC2C76);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .85rem;
}
.pf-fbpost-name { font-size: .88rem; font-weight: 700; color: #111; line-height: 1.2; }
.pf-fbpost-sub { font-size: .72rem; color: #555; }
.pf-fbpost-copy { padding: 0 14px 10px; font-size: .84rem; color: #222; }

.pf-slider { position: relative; overflow: hidden; }
.pf-slides { display: flex; transition: transform .6s ease; }
.pf-slide { min-width: 100%; position: relative; }
.pf-slide img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.pf-slide-tall img { aspect-ratio: 9 / 16; }
.pf-slide-cap {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(0, 40, 74, .88);
  color: #fff; font-size: .72rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
}
.pf-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0; }
.pf-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: #B6C2CE;
  transition: background-color .3s ease, transform .3s ease, width .3s ease;
}
.pf-dot.pf-active { background: var(--pf-pink); width: 26px; border-radius: 10px; }
.pf-dot:focus-visible { outline: 2px solid var(--pf-navy); outline-offset: 2px; }
.pf-dots-dark { background: transparent; }

.pf-fbpost-bar {
  display: flex; justify-content: space-around;
  border-top: 1px solid #E3E8ED;
  padding: 10px 6px;
  font-size: .78rem; font-weight: 600; color: #444;
}

/* Browser mockup */
.pf-browser {
  position: relative; z-index: 1;
  width: 100%; max-width: 520px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #D5DDE5;
  box-shadow: 0 30px 60px rgba(0, 40, 74, .22);
  overflow: hidden;
  transition: transform .4s ease;
}
.pf-browser:hover { transform: translateY(-8px); }
.pf-browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #E9EEF3; }
.pf-browser-dot { width: 11px; height: 11px; border-radius: 50%; }
.pf-browser-url {
  flex: 1; margin-left: 10px;
  background: #fff; border-radius: 20px;
  padding: 5px 14px; font-size: .78rem; color: #3A4B5C;
}
.pf-browser-body { padding: 0; background: #fff; }
.pf-gslide { padding: 22px; min-height: 340px; }
.pf-gsearch {
  border: 1px solid #D5DDE5; border-radius: 30px;
  padding: 10px 18px; font-size: .88rem; color: #1a1a1a; margin-bottom: 18px;
}
.pf-gad-tag { font-size: .75rem; font-weight: 700; color: #1a1a1a; }
.pf-gad-url { font-size: .78rem; color: #3A4B5C; margin-bottom: 2px; }
.pf-gad-title { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 600; color: #0B57D0; margin-bottom: 4px; }
.pf-gad-desc { font-size: .88rem; color: #333; margin-bottom: 14px; }
.pf-gad-block { border-top: 1px solid #E3E8ED; padding-top: 12px; margin-top: 12px; }
.pf-gad-block .pf-gad-title { color: #0B57D0; }
.pf-gimg { width: 100%; }
.pf-gimg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pf-gimg-wide img { aspect-ratio: 16 / 9; }
.pf-browser .pf-slide-cap { background: rgba(0, 40, 74, .9); }

/* TikTok mockup */
.pf-tt-phone { background: #111; max-width: 320px; box-shadow: 0 30px 60px rgba(0, 40, 74, .5), inset 0 0 0 2px #333; }
.pf-tt-screen { position: relative; background: #000; border-radius: 28px; overflow: hidden; }
.pf-tt-screen .pf-slide img { aspect-ratio: 9 / 16; }
.pf-tt-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 16px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0));
  color: #fff; z-index: 3; pointer-events: none;
}
.pf-tt-user { font-weight: 700; font-size: .9rem; }
.pf-tt-cap { font-size: .8rem; margin-top: 2px; }
.pf-tt-sponsor {
  display: inline-block; margin-top: 8px;
  background: #fff; color: #111;
  font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px;
}
.pf-tt-side {
  position: absolute; right: 10px; bottom: 90px; z-index: 3;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.pf-tt-side span {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0, 0, 0, .65); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; border: 1px solid rgba(255,255,255,.4);
}
.pf-tt-dots { position: absolute; top: 12px; left: 0; right: 0; z-index: 3; padding: 0; }
.pf-tt-dots .pf-dot { background: rgba(255,255,255,.7); }
.pf-tt-dots .pf-dot.pf-active { background: var(--pf-pink); }

/* ---------- Section 4: Google ---------- */
.pf-google { background: #fff; }
.pf-google .pf-platform-icon { background: var(--pf-blue-dark); }
.pf-google .pf-platform-title { color: var(--pf-navy); }
.pf-gg-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 34px; }
.pf-gg-card {
  background: var(--pf-gray);
  border-top: 5px solid var(--pf-blue);
  border-radius: 12px;
  padding: 18px 18px 20px;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.pf-gg-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0, 40, 74, .14); background: #EDF1F6; }
.pf-gg-card h3 { font-size: 1.02rem; font-weight: 600; color: var(--pf-navy); margin-bottom: 6px; }
.pf-gg-card p { font-size: .9rem; color: var(--pf-text); line-height: 1.55; }
.pf-gg-card.pf-bt-pink { border-top-color: var(--pf-pink); }
.pf-gg-card.pf-bt-orange { border-top-color: var(--pf-orange); }
.pf-gg-card.pf-bt-navy { border-top-color: var(--pf-navy); }
.pf-gg-card.pf-bt-blue { border-top-color: var(--pf-blue); }
.pf-gg-card.pf-span-2 { grid-column: span 2; }
.pf-google .pf-mock-wrap::before { background: radial-gradient(circle, rgba(0,159,227,.18), rgba(0,159,227,0) 70%); }
.pf-google .pf-dot.pf-active { background: var(--pf-pink); }

/* ---------- Section 5: TikTok ---------- */
.pf-tiktok { background: var(--pf-orange); color: #fff; }
.pf-tiktok .pf-platform-icon { background: var(--pf-navy); }
.pf-tiktok .pf-label-tt {
  display: inline-block;
  background: var(--pf-navy);
  color: #fff;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.pf-tiktok .pf-platform-title { color: #fff; text-shadow: 0 2px 10px rgba(120, 40, 0, .35); }
.pf-tt-bodybox {
  background: rgba(0, 40, 74, .88);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 28px;
}
.pf-tt-bodybox p { color: #fff; font-size: 1.04rem; }
.pf-tt-cards { display: grid; gap: 16px; margin-bottom: 34px; }
.pf-tt-card {
  background: var(--pf-navy);
  color: #fff;
  border-left: 5px solid var(--pf-blue);
  border-radius: 12px;
  padding: 20px 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pf-tt-card:hover { transform: translateX(8px); box-shadow: 0 14px 30px rgba(0, 20, 40, .35); }
.pf-tt-card h3 { font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.pf-tt-card p { font-size: .95rem; color: #E4ECF4; }
.pf-tiktok .pf-mock-wrap::before { background: radial-gradient(circle, rgba(255,255,255,.35), rgba(255,255,255,0) 70%); }

/* ---------- Section 6: Table ---------- */
.pf-compare { background: var(--pf-gray); padding: 100px 0; text-align: center; }
.pf-compare-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700; color: var(--pf-navy);
  margin: 14px 0 44px;
}
.pf-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 40, 74, .12);
  background: #fff;
}
.pf-table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: center; }
.pf-table thead th {
  background: var(--pf-navy);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 20px 16px;
}
.pf-table thead th:first-child, .pf-table tbody th { text-align: left; padding-left: 28px; }
.pf-table tbody th {
  font-weight: 600; color: var(--pf-navy);
  padding-top: 16px; padding-bottom: 16px; padding-right: 16px;
}
.pf-table tbody td { padding: 16px; }
.pf-table tbody tr { transition: background-color .25s ease; }
.pf-table tbody tr:nth-child(odd) { background: #fff; }
.pf-table tbody tr:nth-child(even) { background: var(--pf-gray); }
.pf-table tbody tr:hover { background: #E1F3FC; }
.pf-check { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }
.pf-dash { color: #5B6B7B; font-weight: 700; font-size: 1.2rem; }

/* ---------- Section 7: CTA ---------- */
.pf-cta {
  background: linear-gradient(90deg, #00284A 0%, #00659B 55%, #009FE3 100%);
  padding: 90px 0;
  text-align: center;
  color: #fff;
}
.pf-cta-title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; color: #fff; max-width: 780px; margin: 0 auto 16px; }
.pf-cta-sub { color: #DDF3FF; font-size: 1.15rem; margin-bottom: 36px !important; text-shadow: 0 1px 6px rgba(0, 20, 40, .35); }
.pf-cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pf-platform-grid { gap: 40px; }
  .pf-gg-cards { grid-template-columns: 1fr; }
  .pf-gg-card.pf-span-2 { grid-column: auto; }
}

@media (max-width: 900px) {
  .pf-platform { padding: 76px 0; }
  .pf-platform-grid { grid-template-columns: 1fr; }
  .pf-facebook .pf-mock-wrap, .pf-google .pf-mock-wrap { order: 2; }
  .pf-facebook .pf-platform-content, .pf-google .pf-platform-content { order: 1; }
  .pf-tiktok .pf-mock-wrap { order: 2; }
  .pf-gg-cards { grid-template-columns: repeat(2, 1fr); }
  .pf-gg-card.pf-span-2 { grid-column: span 2; }
  .pf-badges { grid-template-columns: 1fr; max-width: 420px; }
  .pf-hero { padding: 80px 0 150px; }
  .pf-hero-wave { height: 80px; }
}

@media (max-width: 560px) {
  .pf-container { padding: 0 18px; }
  .pf-gg-cards { grid-template-columns: 1fr; }
  .pf-gg-card.pf-span-2 { grid-column: auto; }
  .pf-btn { width: 100%; }
  .pf-cta-btns { flex-direction: column; align-items: stretch; }
  .pf-compare, .pf-cta { padding: 70px 0; }
  .pf-intro { padding-bottom: 70px; }
  .pf-gslide { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .pf-js .pf-reveal { opacity: 1; transform: none; }
}


    /* Editable elements styling - HIGHEST PRIORITY */
    .editable:hover:not(.editor-tool):not([data-editor-tool]) {
      outline: 2px dashed #ff9800 !important;
      outline-offset: 2px !important;
      cursor: pointer !important;
      z-index: 999999 !important;
    }
    .selected-editable:not(.editor-tool):not([data-editor-tool]) {
      outline: 3px solid #ff9800 !important;
      outline-offset: 2px !important;
      box-shadow: 0 0 8px 2px #ff980033 !important;
      z-index: 999999 !important;
    }
    /* Prevent editor tools from having editor styles */
    .editor-tool,
    [data-editor-tool] {
      outline: none !important;
      cursor: default !important;
    }
    /* Drag and drop styles */
    .dragging {
      opacity: 0.5 !important;
    }
    .drag-over {
      border-top: 3px solid #4CAF50 !important;
    }