/* Landing visual reset: keep the performance structure, remove decorative noise. */
#hero{min-height:calc(100vh - 90px);padding:64px 0 28px;isolation:isolate;background:#07090f}
#hero>.texture-bg{display:none!important}
#hero:before{content:"";position:absolute;inset:0;z-index:1!important;background:linear-gradient(90deg,rgba(5,7,12,.88) 0%,rgba(5,7,12,.72) 43%,rgba(5,7,12,.38) 70%,rgba(5,7,12,.58) 100%),linear-gradient(180deg,rgba(5,7,12,.20),rgba(5,7,12,.35) 60%,rgba(5,7,12,.88));pointer-events:none}
#hero>.shell{position:relative;z-index:3!important}
#hero .hero-grid{grid-template-columns:minmax(0,780px) 1fr;min-height:560px;gap:40px;align-items:center;padding-top:10px}
#hero .hero-grid>.reveal{max-width:780px}
#hero h1{font-size:clamp(64px,7vw,112px);line-height:.91;max-width:9.8ch;margin:20px 0 22px;letter-spacing:-.035em}
#hero .hero-copy{font-size:18px;line-height:1.58;max-width:670px;color:rgba(241,244,249,.74)}
#hero .hero-actions{margin-top:30px}
#hero .hero-stats{margin-top:18px;background:rgba(6,7,10,.62);backdrop-filter:blur(12px);border-color:rgba(255,255,255,.09)}
#hero .stat{padding:18px 20px}
#hero .stat strong{font-size:clamp(25px,2.6vw,42px)}
#hero .hero-video-bg video{opacity:.42!important;filter:saturate(.76) contrast(.94) brightness(.58) blur(7px)!important;transform:scale(1.075)!important}
#hero .hero-video-bg:after{background:linear-gradient(90deg,rgba(4,6,10,.66) 0%,rgba(4,6,10,.44) 48%,rgba(4,6,10,.32) 100%),linear-gradient(180deg,rgba(4,6,10,.16),rgba(4,6,10,.40) 62%,rgba(4,6,10,.82) 100%)!important}
.partners{padding:22px 0 18px}
.partners-box{padding:18px 22px;background:rgba(9,10,13,.72);box-shadow:none;backdrop-filter:blur(12px)}
.partners-grid{grid-template-columns:minmax(190px,1.2fr) repeat(3,minmax(130px,.8fr));gap:12px}
.partner{min-height:62px;background:rgba(255,255,255,.025)}

/* Editorial rhythm across the landing. */
body[data-page-type="landing"] .section{padding:128px 0}
body[data-page-type="landing"] .section-head{grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr);gap:72px;align-items:end;margin-bottom:50px}
body[data-page-type="landing"] .section-head h2{font-size:clamp(46px,5vw,76px);line-height:.96;letter-spacing:-.03em;max-width:820px;text-wrap:balance}
body[data-page-type="landing"] .section-head p{font-size:17px;line-height:1.65;max-width:650px;color:rgba(224,229,238,.68)}

/* Where performance breaks: no card wall, just a clear diagnostic list. */
#why{background:#070707}
#why>.section-bg{opacity:.18}
#why .problem-grid{display:block;border-top:1px solid rgba(255,255,255,.12)}
#why .problem{display:grid;grid-template-columns:72px minmax(190px,.55fr) minmax(0,1fr);gap:28px;align-items:start;min-height:0;padding:26px 0;background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.10);border-radius:0;box-shadow:none;overflow:visible;transition:background .25s}
#why .problem:hover{background:linear-gradient(90deg,rgba(41,103,255,.06),transparent 72%)}
#why .problem .cross{display:none}
#why .problem .num{font-size:12px;line-height:1.4;color:#7895dd;letter-spacing:.08em;padding-top:6px}
#why .problem h3{font-size:clamp(28px,2.5vw,40px);line-height:1;margin:0}
#why .problem p{font-size:16px;line-height:1.6;margin:0;color:rgba(218,224,234,.68);max-width:720px}

/* Platforms: editorial rows instead of three repeated cards. */
#platforms{background:#050505}
#platforms .platforms{display:block;border-top:1px solid rgba(255,255,255,.12)}
#platforms .platform-card{position:relative;display:grid;grid-template-columns:124px minmax(0,1fr);gap:30px;align-items:start;padding:40px 0;background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.11);border-radius:0;box-shadow:none;overflow:visible;transition:background .3s}
@media(hover:hover) and (pointer:fine){#platforms .platform-card:hover{background:linear-gradient(90deg,rgba(var(--platform-accent-rgb,41,103,255),.065),rgba(var(--platform-accent-rgb,41,103,255),.015) 55%,transparent)}}
#platforms .platform-card:before{position:absolute;right:0;top:10px;font-size:clamp(64px,8vw,118px);line-height:1;font-weight:600;color:rgba(255,255,255,.025);pointer-events:none}
#platforms .platform-card:nth-child(1):before{content:"01"}
#platforms .platform-card:nth-child(2):before{content:"02"}
#platforms .platform-card:nth-child(3):before{content:"03"}
#platforms .platform-logo{width:118px!important;height:118px!important;min-height:118px!important;padding:3px!important;border-radius:25px!important;background:transparent!important;border:1px solid rgba(255,255,255,.09)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;box-shadow:none!important;transition:transform .22s ease,border-color .22s ease!important}
@media(hover:hover) and (pointer:fine){#platforms .platform-logo:hover{transform:translateY(-2px);border-color:rgba(var(--platform-accent-rgb,41,103,255),.34)!important;box-shadow:none!important}}
#platforms .platform-logo img{width:112px!important;height:112px!important;max-width:112px!important;max-height:112px!important;object-fit:contain!important;display:block!important;transform:scale(1.04);transform-origin:center}
#platforms .platform-card>div:last-child{display:grid;grid-template-columns:minmax(220px,.78fr) minmax(340px,1.22fr);column-gap:54px;align-items:start}
#platforms .platform-card h3{font-size:clamp(42px,4.6vw,68px);line-height:.94;margin:0 0 14px;max-width:8ch}
#platforms .platform-card p{font-size:16px;line-height:1.62;margin:0;color:rgba(220,226,236,.70);max-width:520px}
#platforms .platform-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin-top:2px;border-top:1px solid rgba(255,255,255,.08)}
#platforms .platform-list div{min-height:54px;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:14px;color:rgba(239,242,248,.86)}
#platforms .platform-list span{width:6px;height:6px;flex-basis:6px;margin-top:7px}

/* Featured cases: editorial hierarchy, keep the card design the user likes. */
#featured-cases{padding-top:100px}
#featured-cases .section-head{grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);gap:56px;align-items:end;margin-bottom:38px}
#featured-cases .section-head>div:first-child{min-width:0}
#featured-cases .section-head h2{font-size:clamp(44px,4.1vw,64px);line-height:.98;letter-spacing:-.025em;max-width:900px;text-wrap:balance;margin-top:14px}
#featured-cases .section-copy{max-width:440px!important;font-size:17px!important;line-height:1.58!important;color:rgba(231,235,242,.68)!important;padding-bottom:4px}
#featured-cases .section-copy:after{content:"Задача  →  Що змінили  →  Результат";display:block;margin-top:18px;padding-top:15px;border-top:1px solid rgba(255,255,255,.09);font-size:12px;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;color:rgba(218,227,255,.78)}
#featured-cases .case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#featured-cases .case,#featured-cases .case.big{grid-row:auto;min-width:0;box-shadow:none;background:#090a0d}
#featured-cases .case-media,#featured-cases .case.big .case-media{height:220px;background:#0d0f14;border-bottom:1px solid rgba(255,255,255,.07)}
#featured-cases .case-media img.cover{width:100%;height:100%;object-fit:cover;object-position:center;filter:none;transform:none}
#featured-cases .case:hover .case-media img.cover{transform:scale(1.02)}
#featured-cases .case-body{padding:19px 20px 20px}
#featured-cases .case h3,#featured-cases .case.big h3{font-size:clamp(25px,2.1vw,34px);line-height:1.06;margin:12px 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#featured-cases .case p{font-size:14px;line-height:1.52;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:rgba(222,227,236,.66)}
#featured-cases .case-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
#featured-cases .case-kpi{padding:10px 11px;border-radius:14px}
#featured-cases .case-kpi b{font-size:20px;line-height:1.05}
#featured-cases .case-kpi span{font-size:11px}
#featured-cases .case-link{margin-top:15px;font-size:13px;color:rgba(255,255,255,.86)}

/* Process becomes a timeline, not four more cards. */
#process .process{display:block;border-top:1px solid rgba(255,255,255,.12)}
#process .step{display:grid;grid-template-columns:150px minmax(180px,.55fr) minmax(0,1fr);gap:28px;align-items:start;min-height:0;padding:27px 0;background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.10);border-radius:0;box-shadow:none}
#process .step .num{font-size:12px;line-height:1.4;color:#8da9ef;letter-spacing:.05em;padding-top:5px}
#process .step h3{font-size:clamp(27px,2.3vw,38px);line-height:1;margin:0}
#process .step p{font-size:16px;line-height:1.6;margin:0;color:rgba(218,224,234,.68);max-width:720px}

/* Trust and clients should feel like evidence, not another card collection. */
body[data-page-type="landing"] .trust-grid{gap:34px}
body[data-page-type="landing"] .trust-card{min-height:0;padding:22px 0 0;background:transparent;border:0;border-top:1px solid rgba(255,255,255,.12);border-radius:0;box-shadow:none}
body[data-page-type="landing"] .trust-card h3{font-size:30px}
body[data-page-type="landing"] .clients-strip{gap:0;border-top:1px solid rgba(255,255,255,.10);border-bottom:1px solid rgba(255,255,255,.10)}
body[data-page-type="landing"] .client-card{min-height:100px;background:transparent;border:0;border-right:1px solid rgba(255,255,255,.08);border-radius:0;box-shadow:none}
body[data-page-type="landing"] .client-card:last-child{border-right:0}
body[data-page-type="landing"] .client-card img{opacity:.72;filter:grayscale(1);transition:opacity .25s,filter .25s}
body[data-page-type="landing"] .client-card:hover img{opacity:1;filter:grayscale(0)}

/* Form is the conversion destination: larger, calmer and visually isolated. */
#contact{padding-top:138px;padding-bottom:138px}
#contact .cta-box{gap:68px;align-items:start}
#contact .form-card{box-shadow:none;border-color:rgba(255,255,255,.12);background:rgba(9,10,13,.88)}
#contact .form-title{font-size:clamp(31px,3vw,44px);line-height:1}

@media(max-width:1100px){
  #platforms .platform-card>div:last-child{grid-template-columns:1fr;row-gap:24px}
  #platforms .platform-list{max-width:720px}
}
@media(max-width:980px){
  body[data-page-type="landing"] .section{padding:100px 0}
  body[data-page-type="landing"] .section-head{grid-template-columns:1fr;gap:20px;margin-bottom:36px}
  #hero .hero-grid{grid-template-columns:1fr;min-height:520px}
  #hero h1{max-width:10.5ch}
  #why .problem,#process .step{grid-template-columns:80px 220px 1fr;gap:20px}
  #platforms .platform-card{grid-template-columns:110px 1fr;gap:24px}
  #platforms .platform-logo{width:104px!important;height:104px!important;min-height:104px!important;border-radius:22px!important;padding:3px!important}
  #platforms .platform-logo img{width:98px!important;height:98px!important;max-width:98px!important;max-height:98px!important}
  #featured-cases .section-head{grid-template-columns:1fr;gap:18px}
  #featured-cases .section-head h2{font-size:clamp(42px,6.2vw,58px);max-width:820px}
  #featured-cases .section-copy{max-width:680px!important}
  #featured-cases .case-grid{grid-template-columns:1fr 1fr}
  #featured-cases .case:first-child{grid-column:1/-1}
}
@media(max-width:700px){
  body[data-page-type="landing"] .section{padding:76px 0}
  body[data-page-type="landing"] .section-head h2{font-size:clamp(38px,11vw,52px)}
  #hero{padding-top:36px}
  #hero .hero-grid{min-height:500px}
  #hero h1{font-size:clamp(52px,16vw,76px);max-width:9.5ch}
  #hero .hero-copy{font-size:16px}
  #hero .hero-stats{grid-template-columns:1fr 1fr}
  #hero .stat{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}
  #hero .hero-video-bg video{opacity:.34!important;filter:saturate(.72) brightness(.52) blur(8px)!important}
  .partners-grid{grid-template-columns:1fr 1fr}
  .partners-label{grid-column:1/-1}
  #why .problem,#process .step{grid-template-columns:46px 1fr;gap:12px 16px;padding:22px 0}
  #why .problem h3,#process .step h3{font-size:28px}
  #why .problem p,#process .step p{grid-column:2;font-size:15px}
  #platforms .platform-card{grid-template-columns:1fr;padding:28px 0;gap:16px}
  #platforms .platform-logo{width:100px!important;height:100px!important;min-height:100px!important;border-radius:21px!important;padding:2px!important}
  #platforms .platform-logo img{width:96px!important;height:96px!important;max-width:96px!important;max-height:96px!important}
  #platforms .platform-card h3{font-size:44px;max-width:none}
  #platforms .platform-list{grid-template-columns:1fr}
  #platforms .platform-card:before{font-size:72px;top:18px}
  #featured-cases{padding-top:72px}
  #featured-cases .section-head{margin-bottom:28px}
  #featured-cases .section-head h2{font-size:clamp(38px,11.5vw,50px);line-height:1.02}
  #featured-cases .section-copy{font-size:15px!important}
  #featured-cases .case-grid{grid-template-columns:1fr}
  #featured-cases .case:first-child{grid-column:auto}
  #featured-cases .case-media,#featured-cases .case.big .case-media{height:205px}
  body[data-page-type="landing"] .trust-grid{grid-template-columns:1fr}
  body[data-page-type="landing"] .clients-strip{grid-template-columns:1fr 1fr}
  body[data-page-type="landing"] .client-card:nth-child(2){border-right:0}
  body[data-page-type="landing"] .client-card{border-bottom:1px solid rgba(255,255,255,.08)}
  #contact{padding-top:90px;padding-bottom:90px}
}

/* Hero starts at the viewport edge; navigation floats over the video. */
body[data-page-type="landing"] .nav-wrap{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:60!important;padding:14px 0!important;background:transparent!important}
body[data-page-type="landing"] .nav{background:rgba(7,8,11,.72)!important;border-color:rgba(255,255,255,.10)!important;backdrop-filter:blur(18px) saturate(120%)!important;-webkit-backdrop-filter:blur(18px) saturate(120%)!important;box-shadow:0 16px 48px rgba(0,0,0,.26)!important}
body[data-page-type="landing"] #hero{min-height:100svh!important;padding-top:126px!important;margin-top:0!important}
body[data-page-type="landing"] #hero .hero-video-bg{inset:0!important}
@media(max-width:700px){
  body[data-page-type="landing"] .nav-wrap{padding:10px 0!important}
  body[data-page-type="landing"] #hero{padding-top:104px!important;min-height:100svh!important}
}
