/* ===== RESET & BASE ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;color:#0d0d0d;background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}

/* ===== UTILITIES ===== */
.container{max-width:1140px;margin:0 auto;padding:0 24px}
.section{padding:100px 0}
.section--dark{background:#0a0a0a;color:#f5f5f5}
.section--light{background:#f8f8f8}
.tag{display:inline-block;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:6px 14px;border-radius:100px;margin-bottom:20px}
.tag--blue{background:rgba(13,85,255,.08);color:#0D55FF}
.tag--white{background:rgba(255,255,255,.1);color:rgba(255,255,255,.7)}
.tag--dark{background:rgba(0,0,0,.06);color:#555}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5{font-weight:700;line-height:1.15;letter-spacing:-.02em}
h1{font-size:clamp(2.5rem,5.5vw,4rem)}
h2{font-size:clamp(2rem,4vw,3rem)}
h3{font-size:clamp(1.3rem,2.5vw,1.6rem)}
h4{font-size:1.05rem}
.text-muted{color:#666}
.text-muted-light{color:rgba(255,255,255,.5)}
.text-center{text-align:center}
.highlight{color:#0D55FF}
.section--dark .highlight{color:#5B93FF}
.section__sub{font-size:1.05rem;color:#666;margin-top:12px;max-width:560px;margin-left:auto;margin-right:auto;line-height:1.7}

/* ===== BUTTONS ===== */
.btn{display:inline-flex;align-items:center;gap:8px;font-size:.95rem;font-weight:600;padding:14px 32px;border-radius:10px;border:none;cursor:pointer;transition:all .25s ease}
.btn--primary{background:#0D55FF;color:#fff}
.btn--primary:hover{background:#0a47d6;transform:translateY(-1px);box-shadow:0 8px 30px rgba(13,85,255,.25)}
.btn--outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.25)}
.btn--outline:hover{border-color:#5B93FF;color:#5B93FF}
.btn--outline-dark{background:transparent;color:#0d0d0d;border:1.5px solid #ddd}
.btn--outline-dark:hover{border-color:#0D55FF;color:#0D55FF}
.btn--sm{font-size:.85rem;padding:10px 22px;border-radius:8px}
.btn svg{width:18px;height:18px}

/* ===== NAV ===== */
.nav{position:fixed;top:0;left:0;width:100%;z-index:100;padding:16px 0;transition:all .3s}
.nav--scrolled{background:rgba(255,255,255,.95);backdrop-filter:blur(12px);box-shadow:0 1px 0 rgba(0,0,0,.06);padding:10px 0}
.nav__inner{display:flex;align-items:center;justify-content:space-between}
.nav__logo{font-size:1.5rem;font-weight:800;letter-spacing:-.03em;color:#0d0d0d}
.nav__logo span{color:#0D55FF}
.nav__links{display:flex;gap:32px}
.nav__links a{font-size:.88rem;font-weight:500;color:#555;transition:color .2s}
.nav__links a:hover{color:#0D55FF}
.nav__cta{display:inline-flex}
.nav__hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.nav__hamburger span{width:22px;height:2px;background:#0d0d0d;border-radius:2px;transition:all .3s}
.nav__hamburger.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.nav__hamburger.open span:nth-child(2){opacity:0}
.nav__hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* ===== HERO ===== */
.hero{padding-top:160px;padding-bottom:80px;background:#fff}
.hero__content{max-width:680px;margin:0 auto}
.hero__content .tag{margin-bottom:16px}
.hero__body{font-size:1.1rem;color:#666;line-height:1.7;margin-top:16px;max-width:560px;margin-left:auto;margin-right:auto}

/* ===== FEATURED CASE STUDY ===== */
.featured__card{background:#fff;border:1px solid #eee;border-radius:14px;padding:48px 40px;transition:all .3s;box-shadow:0 8px 40px rgba(0,0,0,.04)}
.featured__card:hover{box-shadow:0 12px 48px rgba(0,0,0,.08);border-color:rgba(13,85,255,.15)}
.featured__content .tag{margin-bottom:12px}
.featured__content h2{margin-bottom:16px}
.featured__desc{font-size:1.05rem;color:#666;line-height:1.7;max-width:640px;margin-bottom:32px}
.featured__stats{display:flex;gap:48px;margin-bottom:36px;flex-wrap:wrap}
.featured__stat{display:flex;flex-direction:column}
.featured__stat strong{font-size:1.5rem;font-weight:800;color:#0D55FF}
.featured__stat span{font-size:.8rem;color:#888;text-transform:uppercase;letter-spacing:.04em;margin-top:4px}

/* ===== FILTER TAGS ===== */
.filter__tags{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:36px 0 48px}
.filter__tag{font-size:.82rem;font-weight:500;padding:8px 20px;border-radius:100px;background:#f5f5f5;color:#555;border:1px solid #eee;cursor:pointer;transition:all .2s}
.filter__tag:hover{border-color:#0D55FF;color:#0D55FF}
.filter__tag.active{background:#0D55FF;color:#fff;border-color:#0D55FF}

/* ===== CLIENT LOGOS ===== */
.case-hero__logo{max-height:64px;width:auto;object-fit:contain;padding:10px 24px;background:#fff;border-radius:12px;border:1px solid #eee;margin-bottom:20px;display:block;margin-left:auto;margin-right:auto}
.case__card-logo{max-height:40px;width:auto;object-fit:contain;margin-bottom:14px;display:block}
.featured__logo{max-height:48px;width:auto;object-fit:contain;padding:8px 20px;background:#fff;border-radius:10px;border:1px solid #eee;margin-bottom:16px;display:block;margin-left:auto;margin-right:auto}

/* ===== CASE STUDY CARDS ===== */
.cases__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.case__card{background:#fff;border:1px solid #eee;border-radius:14px;padding:28px 24px;transition:all .3s}
.case__card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(0,0,0,.06);border-color:rgba(13,85,255,.15)}
.case__top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:4px}
.case__industry{font-size:.7rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:4px 12px;border-radius:100px;background:rgba(13,85,255,.06);color:#0D55FF}
.case__metric{font-size:1.6rem;font-weight:800;color:#0D55FF;line-height:1}
.case__metric-label{font-size:.72rem;color:#888;text-transform:uppercase;letter-spacing:.04em;text-align:right;display:block;margin-bottom:16px}
.case__card h3{font-size:1.1rem;margin-bottom:10px;line-height:1.3}
.case__card p{font-size:.88rem;color:#666;line-height:1.6;margin-bottom:20px}
.case__link{font-size:.88rem;font-weight:600;color:#0D55FF;display:inline-flex;align-items:center;gap:6px;transition:gap .2s}
.case__link:hover{gap:10px}
.case__link svg{width:16px;height:16px}

/* ===== INDUSTRIES ===== */
.industries__pills{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:48px}
.industry__pill{font-size:.88rem;font-weight:500;padding:10px 24px;border-radius:100px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.1);transition:all .3s}
.industry__pill:hover{border-color:rgba(91,147,255,.4);color:#5B93FF}

/* ===== METHODOLOGY ===== */
.method__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:56px}
.method__card{background:#fff;border:1px solid #eee;border-radius:14px;padding:36px 28px;transition:all .3s}
.method__card:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(0,0,0,.05);border-color:rgba(13,85,255,.15)}
.method__num{font-size:3rem;font-weight:800;color:rgba(13,85,255,.12);line-height:1;margin-bottom:16px}
.method__card h3{margin-bottom:10px;font-size:1.1rem}
.method__card p{font-size:.88rem;color:#666;line-height:1.7}

/* ===== BOTTOM CTA ===== */
.cta-bottom{padding:100px 0}
.cta-bottom h2{margin-bottom:16px}
.cta__body{font-size:1.05rem;color:rgba(255,255,255,.5);margin-bottom:36px;line-height:1.7}
.cta__actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}

/* ===== FOOTER ===== */
.footer{background:#0a0a0a;color:#f5f5f5;padding:64px 0 32px}
.footer__inner{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:48px}
.footer__brand .nav__logo{color:#f5f5f5}
.footer__brand p{color:rgba(255,255,255,.4);font-size:.9rem;margin-top:12px;max-width:280px;line-height:1.7}
.footer__col h4{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.3);margin-bottom:20px}
.footer__col a{display:block;font-size:.9rem;color:rgba(255,255,255,.6);margin-bottom:12px;transition:color .2s}
.footer__col a:hover{color:#5B93FF}
.footer__bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:24px;display:flex;justify-content:space-between;align-items:center}
.footer__bottom p{font-size:.8rem;color:rgba(255,255,255,.3)}
.footer__bottom a{font-size:.8rem;color:rgba(255,255,255,.4);margin-left:24px}
.footer__bottom a:hover{color:#5B93FF}

/* ===== ANIMATIONS ===== */
.fade-up{opacity:0;transform:translateY(24px);transition:opacity .5s ease,transform .5s ease}
.fade-up.visible{opacity:1;transform:translateY(0)}
/* Stagger case cards */
.case__card.fade-up:nth-child(2){transition-delay:.06s}
.case__card.fade-up:nth-child(3){transition-delay:.12s}
.case__card.fade-up:nth-child(4){transition-delay:.18s}
.case__card.fade-up:nth-child(5){transition-delay:.24s}
.case__card.fade-up:nth-child(6){transition-delay:.3s}
.case__card.fade-up:nth-child(7){transition-delay:.36s}
.case__card.fade-up:nth-child(8){transition-delay:.42s}
.case__card.fade-up:nth-child(9){transition-delay:.48s}
.case__card.fade-up:nth-child(10){transition-delay:.54s}
/* Stagger method cards */
.method__card.fade-up:nth-child(2){transition-delay:.1s}
.method__card.fade-up:nth-child(3){transition-delay:.2s}
.method__card.fade-up:nth-child(4){transition-delay:.3s}
/* Stagger industry pills */
.industry__pill.fade-up:nth-child(2){transition-delay:.05s}
.industry__pill.fade-up:nth-child(3){transition-delay:.1s}
.industry__pill.fade-up:nth-child(4){transition-delay:.15s}
.industry__pill.fade-up:nth-child(5){transition-delay:.2s}
.industry__pill.fade-up:nth-child(6){transition-delay:.25s}
.industry__pill.fade-up:nth-child(7){transition-delay:.3s}
.industry__pill.fade-up:nth-child(8){transition-delay:.35s}
.industry__pill.fade-up:nth-child(9){transition-delay:.4s}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
  .cases__grid{grid-template-columns:repeat(2,1fr)}
  .method__grid{grid-template-columns:repeat(2,1fr)}
  .footer__inner{grid-template-columns:1fr 1fr}
  .featured__card{padding:36px 28px}
  .featured__stats{gap:32px}
}
@media(max-width:768px){
  .section{padding:72px 0}
  .nav__links,.nav__cta{display:none}
  .nav__hamburger{display:flex}
  .nav__links.open{display:flex;flex-direction:column;position:absolute;top:100%;left:0;width:100%;background:#fff;padding:24px;gap:16px;box-shadow:0 8px 30px rgba(0,0,0,.08)}
  .hero{padding-top:120px;padding-bottom:60px}
  .cases__grid{grid-template-columns:1fr}
  .method__grid{grid-template-columns:1fr}
  .featured__card{padding:28px 20px}
  .featured__stats{flex-direction:column;gap:20px}
  .filter__tags{gap:8px}
  .filter__tag{font-size:.78rem;padding:6px 16px}
  .industries__pills{gap:8px}
  .industry__pill{font-size:.82rem;padding:8px 18px}
  .cta__actions{flex-direction:column;align-items:center}
  .footer__inner{grid-template-columns:1fr}
  .footer__bottom{flex-direction:column;gap:16px;text-align:center}
}
