*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#050505;
  color:#ffffff;
  font-family:Arial, Helvetica, sans-serif;
  overflow-x:hidden;
}

a{
  color:inherit;
}

img{
  display:block;
  max-width:100%;
}

/* HEADER */

.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(5,5,5,0.92);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.nav-inner{
  max-width:1440px;
  margin:0 auto;
  padding:18px 48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  flex:0 0 auto;
}

.brand-logo{
  width:230px;
  height:auto;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
  flex:1;
  justify-content:center;
}

.nav-links a{
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:0.12em;
  font-size:13px;
  color:#cfcfcf;
  position:relative;
  transition:color 0.25s ease;
}

.nav-links a:hover{
  color:#ffffff;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-10px;
  width:0;
  height:2px;
  background:#ef1d10;
  transition:width 0.25s ease;
}

.nav-links a:hover::after{
  width:100%;
}

.nav-button{
  flex:0 0 auto;
  text-decoration:none;
  color:#ffffff;
  padding:14px 24px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.05);
  transition:transform 0.25s ease, background 0.25s ease;
}

.nav-button:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,0.09);
}

/* HERO */

.hero{
  position:relative;
  padding-top:118px;
  min-height:100vh;
  overflow:hidden;
}

.hero-inner{
  position:relative;
  z-index:3;
  max-width:1440px;
  margin:0 auto;
  padding:96px 48px 72px;
  min-height:calc(100vh - 118px);
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(380px,0.82fr);
  gap:56px;
  align-items:center;
}

.hero-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size:84px 84px;
  opacity:0.8;
}

.hero-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(120px);
  opacity:0.36;
}

.hero-glow-left{
  width:520px;
  height:520px;
  background:#ef1d10;
  top:-170px;
  left:-160px;
}

.hero-glow-right{
  width:460px;
  height:460px;
  background:#741B55;
  right:-160px;
  bottom:-180px;
}

.hero-copy{
  position:relative;
  z-index:2;
  max-width:820px;
}

.eyebrow{
  color:#9d9d9d;
  text-transform:uppercase;
  letter-spacing:0.38em;
  font-size:13px;
  margin-bottom:22px;
}

.hero-copy h1{
  font-size:66px;
  line-height:0.96;
  letter-spacing:-0.06em;
  max-width:12ch;
  margin-bottom:24px;
  background:linear-gradient(90deg, #ffffff 0%, #b9b9b9 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-copy h1 span{
  display:block;
}

.hero-text{
  max-width:680px;
  color:#a5a5a5;
  font-size:19px;
  line-height:1.85;
}

.hero-actions{
  margin-top:34px;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:999px;
  padding:16px 26px;
  transition:transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  font-size:15px;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  color:#ffffff;
  background:linear-gradient(135deg, #f8a515 0%, #fb5a1d 25%, #ef1d10 52%, #e83a61 75%, #741B55 100%);
  box-shadow:0 18px 40px rgba(239,29,16,0.20);
}

.btn-secondary{
  color:#ffffff;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.03);
}

.hero-chips{
  margin-top:28px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.hero-chips span{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.03);
  color:#d8d8d8;
  font-size:13px;
}

.hero-panel{
  position:relative;
  z-index:2;
  display:grid;
  gap:18px;
}

.panel-card{
  border-radius:28px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  padding:28px;
  box-shadow:0 24px 60px rgba(0,0,0,0.30);
}

.panel-card-main{
  min-height:280px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.03);
}

.panel-label{
  text-transform:uppercase;
  letter-spacing:0.28em;
  font-size:12px;
  color:#9d9d9d;
}

.panel-card-main h2{
  font-size:34px;
  line-height:1.05;
  letter-spacing:-0.04em;
  max-width:12ch;
}

.panel-card-main p{
  color:#a8a8a8;
  line-height:1.7;
  font-size:16px;
  max-width:32ch;
}

.panel-stats{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
}

.panel-stat{
  border-radius:22px;
  padding:20px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
}

.panel-stat strong{
  display:block;
  font-size:30px;
  line-height:1;
  margin-bottom:8px;
}

.panel-stat span{
  color:#a6a6a6;
  font-size:14px;
}

/* TRUST STRIP */

.trust-strip{
  max-width:1440px;
  margin:0 auto;
  padding:0 48px 54px;
}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.trust-row span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  color:#cfcfcf;
  font-size:13px;
}

/* SECTIONS */

.section{
  max-width:1440px;
  margin:0 auto;
  padding:110px 48px;
}

.section-head{
  max-width:820px;
  margin-bottom:44px;
}

.section-kicker{
  text-transform:uppercase;
  letter-spacing:0.38em;
  font-size:13px;
  color:#9d9d9d;
  margin-bottom:18px;
}

.section-head h2{
  font-size:56px;
  line-height:1.02;
  letter-spacing:-0.05em;
  margin-bottom:16px;
}

.section-copy{
  color:#a6a6a6;
  font-size:18px;
  line-height:1.8;
  max-width:760px;
}

/* SERVICES */

.services-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
}

.service-card{
  position:relative;
  overflow:hidden;
  min-height:240px;
  padding:30px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.03);
  transition:transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,255,255,0.15);
}

.service-card-feature{
  min-height:300px;
}

.span-2{
  grid-column:span 2;
}

.wide{
  grid-column:span 3;
  min-height:210px;
}

.card-kicker{
  color:#9d9d9d;
  font-size:13px;
  letter-spacing:0.24em;
  margin-bottom:18px;
}

.service-card h3,
.case-card h3,
.flow-card h3{
  font-size:32px;
  line-height:1.05;
  margin-bottom:16px;
  letter-spacing:-0.04em;
}

.service-card p,
.case-card p,
.flow-card p{
  color:#a6a6a6;
  font-size:16px;
  line-height:1.8;
  max-width:38ch;
}

/* CASE STUDIES */

.case-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
}

.case-card{
  min-height:260px;
  padding:30px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  transition:transform 0.25s ease, border-color 0.25s ease;
}

.case-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,255,255,0.15);
}

.case-tag{
  display:inline-flex;
  margin-bottom:18px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.08);
  color:#d8d8d8;
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
}

/* AUTOMATION */

.automation-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr);
  gap:28px;
  align-items:stretch;
}

.automation-copy{
  border-radius:30px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.03);
  padding:34px;
}

.automation-points{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.automation-point{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  color:#d8d8d8;
  font-size:13px;
}

.automation-flow{
  display:grid;
  grid-template-rows:repeat(3, minmax(0,1fr));
  gap:16px;
}

.flow-card{
  border-radius:26px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  padding:24px;
}

.flow-card-dark{
  background:
    linear-gradient(135deg, rgba(248,165,21,0.12), rgba(116,27,85,0.12)),
    rgba(255,255,255,0.03);
}

.flow-card span{
  display:inline-flex;
  margin-bottom:14px;
  color:#cfcfcf;
  font-size:13px;
  letter-spacing:0.26em;
}

/* CTA */

.cta-section{
  padding-top:60px;
  padding-bottom:120px;
}

.cta-card{
  border-radius:34px;
  border:1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top left, rgba(239,29,16,0.22), transparent 42%),
    radial-gradient(circle at bottom right, rgba(116,27,85,0.20), transparent 45%),
    rgba(255,255,255,0.03);
  padding:42px;
}

.cta-card h2{
  font-size:56px;
  line-height:1.02;
  letter-spacing:-0.05em;
  max-width:14ch;
  margin-bottom:16px;
}

.cta-card .section-copy{
  margin-bottom:28px;
}

/* FOOTER */

.footer{
  max-width:1440px;
  margin:0 auto;
  padding:0 48px 42px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#8f8f8f;
  font-size:14px;
  border-top:1px solid rgba(255,255,255,0.08);
  padding-top:22px;
}

/* DESKTOP SAFETY */

@media (max-width: 1280px){

  .hero-copy h1{
    font-size:58px;
  }

  .section-head h2,
  .cta-card h2{
    font-size:46px;
  }

  .services-grid,
  .case-grid{
    gap:18px;
  }

}

@media (max-width: 1100px){

  .nav-links{
    gap:22px;
  }

  .brand-logo{
    width:200px;
  }

  .hero-inner{
    grid-template-columns:1fr;
    gap:30px;
  }

  .hero-copy h1{
    max-width:none;
  }

  .hero-panel{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .services-grid,
  .case-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .span-2,
  .wide{
    grid-column:span 2;
  }

  .automation-grid{
    grid-template-columns:1fr;
  }

}