/* ============================================================
   DigiHub · Performance Marketing Agency
   Stylesheet
   ============================================================ */

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

:root {
  --navy:   #152535;
  --navy-2: #1e3548;
  --orange: #f05a28;
  --org-l:  #ff7545;
  --cream:  #f2ede6;
  --cream2: #ede7df;
  --sand:   #e8dfd5;
  --gray:   #7a8a96;
  --body:   #3d5060;
  --white:  #ffffff;
  --f:      'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--f);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 52px;
  transition: background .3s, box-shadow .3s;
}
nav.on {
  background: rgba(242,237,230,.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(21,37,53,.08);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lm {
  width: 38px; height: 38px; background: var(--navy); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #fff; position: relative;
}
.lm::after {
  content: ''; position: absolute; width: 9px; height: 9px;
  background: var(--orange); border-radius: 50%; top: 7px; right: 7px;
}
.lt { font-weight: 800; font-size: 19px; color: var(--navy); letter-spacing: -.02em; }
.lt span { color: var(--orange); }

/* Nav links */
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--body);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--navy); }

/* Dropdown */
.nav-links li { position: relative; }
.nav-links li.has-drop > a { display: flex; align-items: center; gap: 5px; }
.nav-links li.has-drop > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.nav-links li.has-drop:hover > a::after {
  transform: rotate(-135deg) translateY(-2px);
}
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 8px;
  min-width: 210px;
  box-shadow: 0 12px 40px rgba(21,37,53,.12);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 200;
}
.nav-links li.has-drop:hover .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown::before {
  content: '';
  position: absolute; top: -6px; left: 50%;
  width: 10px; height: 10px;
  background: var(--white);
  border-left: 1px solid var(--sand);
  border-top: 1px solid var(--sand);
  transform: translateX(-50%) rotate(45deg);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 9px;
  font-size: 13px; font-weight: 600;
  color: var(--body); text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--cream); color: var(--navy); }
.dropdown a .dico {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
  transition: background .15s;
}
.dropdown a:hover .dico { background: var(--sand); }

/* Nav CTA button */
.ncta {
  background: var(--orange); color: #fff; font-weight: 700; font-size: 14px;
  padding: 11px 26px; border-radius: 10px; text-decoration: none;
  transition: background .2s, transform .15s;
}
.ncta:hover { background: var(--org-l); transform: translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; padding: 140px 52px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  position: relative; overflow: hidden;
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.b1 { width: 520px; height: 420px; background: rgba(240,90,40,.11); top: -80px; right: -120px; }
.b2 { width: 360px; height: 360px; background: rgba(240,90,40,.06); bottom: -40px; left: 8%; }

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

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sand); color: var(--orange); font-size: 12px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 100px; margin-bottom: 28px;
  opacity: 0; animation: up .7s ease .2s forwards;
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

h1 {
  font-weight: 800; font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.05; letter-spacing: -.03em; color: var(--navy);
  margin-bottom: 24px; opacity: 0; animation: up .8s ease .35s forwards;
}
h1 em { font-style: normal; color: var(--orange); }

.hsub {
  font-size: 17px; color: var(--body); max-width: 460px; line-height: 1.75;
  margin-bottom: 40px; opacity: 0; animation: up .8s ease .5s forwards;
}
.hacts { display: flex; align-items: center; gap: 20px; opacity: 0; animation: up .8s ease .65s forwards; }

/* Buttons */
.bp {
  background: var(--navy); color: #fff; font-weight: 700; font-size: 15px;
  padding: 15px 34px; border-radius: 10px; text-decoration: none;
  transition: background .2s, transform .15s;
}
.bp:hover { background: var(--navy-2); transform: translateY(-2px); }
.bs {
  border: 1.5px solid var(--sand); color: var(--navy); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 10px; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.bs:hover { border-color: var(--navy); background: var(--sand); }
.bo {
  background: var(--orange); color: #fff; font-weight: 700; font-size: 15px;
  padding: 16px 36px; border-radius: 10px; text-decoration: none;
  transition: background .2s, transform .15s;
}
.bo:hover { background: var(--org-l); transform: translateY(-2px); }

/* Hero right: metric dashboard */
.hero-r {
  position: relative; z-index: 1;
  opacity: 0; animation: fi 1s ease .8s forwards;
}
.dash {
  background: var(--white); border-radius: 24px; padding: 28px 28px 24px;
  box-shadow: 0 10px 48px rgba(21,37,53,.10);
}
.dash-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.dash-title { font-size: 12px; font-weight: 700; color: var(--gray); letter-spacing: .06em; text-transform: uppercase; }
.dash-live { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #2db37a; font-weight: 700; }
.dash-live::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #2db37a; animation: pulse 1.5s infinite;
}
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--cream); border-radius: 14px; padding: 16px 18px; }
.kpi .n {
  font-weight: 800; font-size: 26px; letter-spacing: -.03em; color: var(--navy);
  line-height: 1; margin-bottom: 3px;
}
.kpi .n em { font-style: normal; color: var(--orange); }
.kpi .l  { font-size: 11px; color: var(--gray); }
.kpi .up { font-size: 10px; font-weight: 700; color: #2db37a; margin-top: 2px; }

.perf-bars { display: flex; flex-direction: column; gap: 10px; }
.pb-row { display: grid; grid-template-columns: 110px 1fr 40px; gap: 8px; align-items: center; }
.pb-label { font-size: 12px; color: var(--body); }
.pb-track { height: 8px; background: var(--cream); border-radius: 100px; overflow: hidden; }
.pb-fill { height: 100%; border-radius: 100px; animation: gw 1.2s ease 1.2s both; }
.pb-fill.org { background: var(--orange); }
.pb-fill.nvy { background: var(--navy); }
.pb-fill.grn { background: #2db37a; }
.pb-val { font-size: 11px; font-weight: 700; color: var(--navy); text-align: right; }

/* Float badges */
.fb {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 12px 16px; box-shadow: 0 6px 24px rgba(21,37,53,.12);
  display: flex; align-items: center; gap: 10px;
  animation: fi 1s ease 1.2s both;
}
.fbi {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.fbi.o { background: var(--orange); }
.fbi.n { background: var(--navy); }
.fb-t strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.fb-t span   { font-size: 10px; color: var(--gray); }
.fb1 { top: -22px; right: -16px; }
.fb2 { bottom: -18px; left: -18px; }

/* ============================================================
   INDUSTRIES BAR
   ============================================================ */
.industries {
  background: var(--white); padding: 40px 52px;
  border-bottom: 1px solid var(--sand);
}
.ind-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray); text-align: center; margin-bottom: 22px;
}
.ind-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ind-tag {
  background: var(--cream); border: 1px solid var(--sand); color: var(--body);
  font-size: 12px; font-weight: 600; padding: 7px 16px; border-radius: 100px;
  transition: background .2s, color .2s, border-color .2s;
}
.ind-tag:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
section { padding: 110px 52px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--orange); border-radius: 2px;
}

.sh {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-bottom: 60px; align-items: end;
}
h2 {
  font-weight: 800; font-size: clamp(30px, 3.6vw, 50px);
  letter-spacing: -.03em; line-height: 1.1; color: var(--navy);
}
h2 em { font-style: normal; color: var(--orange); }
.sd { font-size: 16px; color: var(--body); line-height: 1.8; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--white); }

.svc-hero {
  background: var(--navy); border-radius: 20px; padding: 44px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; margin-bottom: 16px;
}
.svc-hero-l h3 {
  font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: #fff;
  margin-bottom: 12px; line-height: 1.2;
}
.svc-hero-l p { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.75; }
.svc-hero-r { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-stat {
  background: rgba(255,255,255,.07); border-radius: 14px; padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.08);
}
.svc-stat .n { font-weight: 800; font-size: 26px; letter-spacing: -.03em; color: var(--orange); }
.svc-stat .l { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 3px; }

.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sc {
  background: var(--cream); border-radius: 16px; padding: 28px 24px;
  position: relative; overflow: hidden; transition: background .25s, transform .2s;
}
.sc::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.sc:hover { background: var(--sand); transform: translateY(-3px); }
.sc:hover::after { transform: scaleX(1); }
.sc-icon {
  width: 44px; height: 44px; border-radius: 12px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(21,37,53,.06);
}
.sc h3 { font-weight: 800; font-size: 15px; letter-spacing: -.01em; color: var(--navy); margin-bottom: 8px; }
.sc p  { font-size: 13px; color: var(--body); line-height: 1.65; }

/* ============================================================
   CASE STUDIES / RESULTS
   ============================================================ */
.results { background: var(--navy); padding: 110px 52px; }
.results .eyebrow { color: var(--orange); }
.results .eyebrow::before { background: var(--orange); }
.results h2 { color: #fff; }
.results .sd { color: rgba(255,255,255,.5); }

.res-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 60px;
}
.rc {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; padding: 32px; transition: background .3s;
  display: flex; flex-direction: column;
}
.rc:hover { background: rgba(255,255,255,.08); }
.rc-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(240,90,40,.15); color: var(--orange);
  padding: 4px 12px; border-radius: 100px; display: inline-block; margin-bottom: 22px;
  align-self: flex-start;
}
.rc-n {
  font-weight: 800; font-size: 52px; letter-spacing: -.04em;
  line-height: 1; color: #fff; margin-bottom: 5px;
}
.rc-n em { font-style: normal; color: var(--orange); }
.rc-l { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: auto; padding-bottom: 20px; }
.rc-div { height: 1px; background: rgba(255,255,255,.07); margin-bottom: 14px; }
.rc-ind { font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .04em; text-transform: uppercase; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--cream2); }
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 60px; }
.ps {
  background: var(--white); border-radius: 18px; padding: 32px 26px;
  transition: background .25s, transform .2s;
}
.ps:hover { background: var(--cream); transform: translateY(-3px); }
.ps-n {
  font-weight: 800; font-size: 42px; color: rgba(240,90,40,.12);
  letter-spacing: -.04em; line-height: 1; margin-bottom: 18px;
}
.ps h3 { font-weight: 800; font-size: 17px; letter-spacing: -.01em; color: var(--navy); margin-bottom: 8px; }
.ps p  { font-size: 13px; color: var(--body); line-height: 1.75; }

/* ============================================================
   WHY DIGIHUB
   ============================================================ */
.diff { background: var(--white); }
.diff-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-top: 60px; align-items: start;
}
.diff-l h2 { margin-bottom: 18px; }
.diff-l p  { font-size: 15px; color: var(--body); line-height: 1.8; margin-bottom: 30px; }
.diff-acts { display: flex; gap: 12px; flex-wrap: wrap; }

.pillars { display: flex; flex-direction: column; gap: 14px; }
.pill-card {
  background: var(--cream); border-radius: 16px; padding: 22px 24px;
  display: flex; gap: 16px; align-items: flex-start; transition: background .2s;
}
.pill-card:hover { background: var(--sand); }
.pi {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.pi.o { background: var(--orange); }
.pi.n { background: var(--navy); }
.pc h4 { font-weight: 800; font-size: 15px; color: var(--navy); margin-bottom: 5px; }
.pc p  { font-size: 13px; color: var(--body); line-height: 1.65; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--cream2); }

.tcard-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 0;
}
.tcard {
  background: var(--white); border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  border: 1px solid var(--sand);
  transition: transform .2s, box-shadow .2s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(21,37,53,.08); }
.tcard.featured { background: var(--navy); border-color: var(--navy); }

.tcard-stars { font-size: 14px; color: var(--orange); letter-spacing: 2px; }
.tcard-q {
  font-size: 14px; line-height: 1.75; color: var(--body);
  flex: 1; font-style: italic;
}
.tcard.featured .tcard-q { color: rgba(255,255,255,.7); }

.tcard-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--sand);
}
.tcard.featured .tcard-author { border-top-color: rgba(255,255,255,.1); }
.tcard-av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
}
.tcard-author strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.tcard.featured .tcard-author strong { color: #fff; }
.tcard-author span { font-size: 11px; color: var(--gray); }
.tcard.featured .tcard-author span { color: rgba(255,255,255,.45); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: var(--cream); padding: 140px 52px;
  text-align: center; position: relative; overflow: hidden;
}
.cta h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 18px; position: relative; z-index: 1; }
.cta-sub {
  font-size: 17px; color: var(--body); max-width: 500px;
  margin: 0 auto 48px; line-height: 1.8; position: relative; z-index: 1;
}
.cta-acts {
  display: flex; justify-content: center; gap: 14px;
  flex-wrap: wrap; position: relative; z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy); padding: 44px 52px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.fc { font-size: 12px; color: rgba(255,255,255,.3); margin-top: 6px; }
footer ul { display: flex; gap: 28px; list-style: none; }
footer ul a { font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
footer ul a:hover { color: #fff; }

/* ============================================================
   ANIMATIONS & UTILITIES
   ============================================================ */
@keyframes up    { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fi    { from { opacity: 0; } to { opacity: 1; } }
@keyframes gw    { from { width: 0 !important; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

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