/* =====================================
   GLOBAL RESET & PAGE SETUP
===================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

/* SECTION SPACING */
section {
  position: relative;
  padding: 50px 0;
}

/* HEADINGS DEFAULT */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

/* RESPONSIVE BASE */
@media (max-width: 1024px) {
  section {
    padding: 90px 0;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
}





/* =====================================
   STORY HERO – CONTENT JOURNEY
===================================== */

.story-hero {
  background:
    linear-gradient(
      to bottom,
      var(--bg-dark),
      var(--bg-darker)
    );
}

/* HEADER */
.story-hero-header {
  max-width: 900px;
  margin-bottom: 80px;
}

.story-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 16px 14px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--primary-soft);
  color: var(--accent);
}

.story-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

.story-title span {
  color: var(--accent);
}

.story-subtitle {
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.story-intro {
  max-width: 700px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* FLOW */
.story-flow {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  gap: 20px;
  margin-bottom: 70px;
}

/* STEP */
.story-step {
  padding: 26px 28px;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-med);
  min-width: 220px;
}

.step-label {
  display: block;
  font-size: 0.9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}

.story-step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.story-step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ARROW */
.story-arrow {
  font-size: 1.6rem;
  color: var(--accent);
  opacity: 0.6;
}

/* HOVER */
.story-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(15,23,42,0.18);
  border-color: transparent;
}

/* FINAL STEP */
.story-step.highlight {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent)
  );
}

.story-step.highlight h3,
.story-step.highlight p,
.story-step.highlight .step-label {
  color: #fff;
}

/* CTA */
.story-cta {
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .story-flow {
    grid-template-columns: 1fr;
  }

  .story-arrow {
    transform: rotate(90deg);
    margin: 10px auto;
  }

  .story-title {
    font-size: 2.4rem;
  }
}


/* =====================================
   ULTRA CTA – BORDER FLOW (HOVER ONLY)
===================================== */

.btn-ultra {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding: 18px 46px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent)
  );
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(226,108,12,0.35);
  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    box-shadow .45s cubic-bezier(.22,1,.36,1);
}

/* TEXT */
.btn-ultra .btn-text {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  letter-spacing: .4px;
}

/* ==========================
   GRADIENT BORDER (IDLE)
========================== */
.btn-ultra .btn-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px; /* border thickness */
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--primary),
    var(--accent),
    var(--primary)
  );
  background-size: 300% 100%;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 1;
}

/* CUT CENTER (ONLY BORDER VISIBLE) */
.btn-ultra .btn-border::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent)
  );
}

/* ==========================
   HOVER EFFECTS
========================== */
.btn-ultra:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 30px 70px rgba(226,108,12,0.45);
}

/* BORDER ANIMATION ON HOVER ONLY */
.btn-ultra:hover .btn-border {
  opacity: 1;
  animation: borderFlow 3s linear infinite;
}

/* ==========================
   BORDER FLOW ANIMATION
========================== */
@keyframes borderFlow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 300% 50%;
  }
}



/* =====================================
   BLOG IMPACT SECTION – CONTENT GROWTH
===================================== */

.blog-impact {
  background: var(--bg-light);
}

/* GRID */
.blog-impact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: center;
}

/* TITLE */
.blog-impact-title {
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--text-strong);
}

/* TEXT */
.blog-impact-text {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 26px;
  color: var(--text-muted);
}

/* SUB */
.blog-impact-sub {
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--primary);
}

/* LIST */
.blog-impact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-impact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 1.02rem;
  color: var(--text-main);
}

/* DOT */
.blog-impact-list li span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent)
  );
  flex-shrink: 0;
}

/* VISUAL STACK */
.blog-impact-visual {
  position: relative;
  width: 100%;
  height: 420px;
}

/* LAYERS */
.impact-layer {
  position: absolute;
  width: 260px;
  padding: 22px 26px;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  color: var(--text-strong);
  transition: var(--transition-med);
}

/* POSITIONS */
.layer-1 { top: 40px; left: 0; }
.layer-2 { top: 120px; left: 80px; }
.layer-3 { top: 200px; left: 160px; }
.layer-4 { top: 280px; left: 240px; }

/* HOVER – GROWTH FEEL */
.impact-layer:hover {
  transform: translateY(-10px) scale(1.04);
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent)
  );
  color: #fff;
  border-color: transparent;
  box-shadow: 0 30px 80px rgba(25,68,121,0.35);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .blog-impact-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .blog-impact-visual {
    height: 360px;
  }

  .impact-layer {
    position: relative;
    width: 100%;
    left: 0 !important;
    top: auto;
    margin-bottom: 18px;
  }
}


/* =====================================
   BLOG SERVICES – STICKY + SCROLL
===================================== */

.blog-services {
  background: var(--bg-dark);
}

/* GRID */
.blog-services-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: flex-start;
}

/* LEFT STICKY */
.blog-services-intro {
  position: sticky;
  top: 120px;
}

.blog-services-intro h2 {
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--text-strong);
}

.blog-services-intro p {
  max-width: 420px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* RIGHT LIST */
.blog-services-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* SERVICE CARD */
.blog-service-card {
  position: relative;
  padding: 42px 46px;
  background: var(--bg-surface);
  border-radius: var(--radius-xxl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition-med);
}

/* COVER GRADIENT (HOVER FILL) */
.blog-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent)
  );
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
  z-index: 0;
}

/* BORDER ANIMATION */
.blog-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background:
   
    linear-gradient(135deg, var(--accent), var(--primary)) border-box;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 100;
}

/* CONTENT */
.blog-service-card h3,
.blog-service-card p {
  position: relative;
  z-index: 1000;
}

.blog-service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-strong);
}

.blog-service-card p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* HOVER EFFECT */
.blog-service-card:hover::before {
  transform: scaleX(1);
}

.blog-service-card:hover::after {
  opacity: 1;
}

.blog-service-card:hover h3,
.blog-service-card:hover p {
  color: #fff;
}

.blog-service-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 40px 90px rgba(25,68,121,0.35);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .blog-services-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .blog-services-intro {
    position: relative;
    top: auto;
  }

  .blog-services-intro p {
    max-width: 100%;
  }
}



/* =====================================
   FACEBOOK SERVICES – TREE MAPPING
===================================== */

.fb-tree {
  background:
    radial-gradient(circle at top right, var(--primary-soft), transparent 60%),
    var(--bg-dark);
}

/* HEADER */
.fb-tree-header {
  max-width: 900px;
  margin-bottom: 90px;
}

.fb-tree-header h2 {
  font-size: 2.6rem;
  line-height: 1.2;
}

.fb-tree-header h3 {
  margin-top: 12px;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary);
}

.fb-tree-header p {
  margin-top: 18px;
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* TREE WRAPPER */
.fb-tree-wrapper {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}

/* CENTER LINE */
.fb-tree-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--primary),
    var(--accent)
  );
  transform: translateX(-50%);
  opacity: 0.35;
}

/* ITEMS */
.fb-tree-item {
  position: relative;
  width: 50%;
  padding: 18px 30px;
}

.fb-tree-item.left {
  left: 0;
  text-align: right;
}

.fb-tree-item.right {
  left: 50%;
  text-align: left;
}

/* CONNECTOR DOT */
.fb-tree-item::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent)
  );
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px var(--primary-soft);
}

.fb-tree-item.left::before {
  right: -7px;
}

.fb-tree-item.right::before {
  left: -7px;
}

/* CARD */
.fb-tree-card {
  display: inline-block;
  padding: 22px 28px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-strong);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-med);
}

/* HOVER EFFECT */
.fb-tree-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 25px 60px rgba(15,23,42,0.18);
  border-color: transparent;
}

/* HIGHLIGHT FINAL NODE */
.fb-tree-card.highlight {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent)
  );
  color: #fff;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .fb-tree-wrapper {
    max-width: 100%;
  }

  .fb-tree-line {
    left: 8px;
  }

  .fb-tree-item,
  .fb-tree-item.left,
  .fb-tree-item.right {
    width: 100%;
    left: 0;
    text-align: left;
    padding-left: 40px;
    padding-right: 0;
  }

  .fb-tree-item::before {
    left: 1px;
    right: auto;
  }
}



/* =====================================
   EDITORIAL SEO STRATEGY SECTION
===================================== */

.editorial-seo {
  background: var(--bg-light);
  overflow: hidden;
}

/* GRID */
.editorial-seo-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 120px;
  align-items: center;
}

/* CONTENT */
.editorial-seo-title {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 26px;
  color: var(--text-strong);
}

.editorial-seo-text {
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 22px;
  color: var(--text-main);
}

.editorial-seo-text strong {
  color: var(--primary);
  font-weight: 600;
}

.editorial-seo-text em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

/* POINTS (INLINE, NOT BULLETS) */
.editorial-seo-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 30px;
}

.editorial-seo-points span {
  position: relative;
  padding-bottom: 4px;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: default;
  font-weight: 700;
}

.editorial-seo-points span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.editorial-seo-points span:hover::after {
  transform: scaleX(1);
}

/* VISUAL */
.editorial-seo-visual {
  position: relative;
}

/* IMAGE FRAME */
.visual-frame {
  position: relative;
  border-radius: var(--radius-xxl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(15,23,42,0.15);
}

.visual-frame img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.05);
  transition: transform 1s ease;
}

.editorial-seo:hover .visual-frame img {
  transform: scale(1);
}

/* ABSTRACT ACCENTS */
.visual-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  z-index: -1;
}

.accent-1 {
  width: 220px;
  height: 220px;
  background: var(--primary-soft);
  top: -60px;
  right: -80px;
}

.accent-2 {
  width: 180px;
  height: 180px;
  background: var(--accent-soft);
  bottom: -60px;
  left: -80px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .editorial-seo-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .editorial-seo-title {
    font-size: 2.2rem;
  }
}



/* =====================================
   BLOG FINAL CTA – EDITORIAL IMAGE
===================================== */

.blog-cta-editorial {
  background:
    linear-gradient(
      to right,
      var(--bg-dark),
      var(--bg-darker)
    );
  overflow: hidden;
}

/* GRID */
.blog-cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

/* IMAGE */
.blog-cta-visual {
  position: relative;
  border-radius: var(--radius-xxl);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(15,23,42,0.25);
}

.blog-cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s ease;
}

.blog-cta-editorial:hover .blog-cta-visual img {
  transform: scale(1);
}

/* ABSTRACT ACCENTS */
.cta-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}

.accent-1 {
  width: 260px;
  height: 260px;
  background: var(--primary-soft);
  top: -80px;
  left: -80px;
}

.accent-2 {
  width: 220px;
  height: 220px;
  background: var(--accent-soft);
  bottom: -80px;
  right: -80px;
}

/* CONTENT */
.blog-cta-content h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--text-strong);
}

.blog-cta-meta {
  font-size: 0.9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--primary);
}

.blog-cta-desc {
  max-width: 620px;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  color: var(--text-muted);
}

/* ACTIONS */
.blog-cta-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* SECONDARY BUTTON STYLE (OPTIONAL) */
.btn-secondary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-text-secondary{
  color: var(--primary);

}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .blog-cta-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .blog-cta-content h2 {
    font-size: 2.2rem;
  }
}
