
:root{
  --white:#ffffff;
  --black:#05070a;

  --orange:#ff761B;
  --navy:#2472b4;
  --navy2:#003366;
  --ink:#0d0f12;
  --muted:#3b4a5a;

  --cardShadow: 0 18px 45px rgba(0,0,0,.25);

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --max: 1500px;

  --ease-out: cubic-bezier(.2,.8,.2,1);
}

/* Reset */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--max), calc(100% - 48px)); margin-inline:auto}

/* Page base */
html{ scroll-behavior:smooth; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#0b0f14;
  color:#111;
  transition: background .25s ease, color .25s ease;
}

/* ===== NAV PILL ===== */
.top{
  position:fixed;
  top:24px; left:0; right:0;
  z-index:50;
  pointer-events:none;
}
.navpill{
  pointer-events:auto;
  width:min(980px, calc(100% - 40px));
  margin:0 auto;
  padding:14px 18px;
  border-radius: 28px;
  background: rgba(45,45,45,.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;

  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out);
}
.navpill:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 65px rgba(0,0,0,.40);
}

.navpill__burger{
  display:none;
  width:44px; height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25);
  cursor:pointer;
}
.navpill__burger span{
  display:block;
  height:2px; width:20px;
  background:#fff;
  margin:5px auto;
  border-radius:2px;
  opacity:.9;
}
.navpill__links{
  display:flex; align-items:center; gap:38px;
  padding-left:8px;
}
.navpill__link{
  font-weight:600;
  color:#e6e6e6;
  opacity:.95;
  position:relative;
  padding:10px 6px;
}
.navpill__link.is-active{
  color: var(--orange);
}
.navpill__link.is-active::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:3px;
  width:8px; height:8px;
  background:var(--orange);
  border-radius:999px;
}

/* underline sweep hover */
.navpill__link::before{
  content:"";
  position:absolute;
  left:6px; right:6px;
  bottom:6px;
  height:2px;
  border-radius:2px;
  background: rgba(255,255,255,.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease-out);
}
.navpill__link:hover::before{ transform: scaleX(1); }
.navpill__link.is-active::before{ display:none; }

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius: 12px;
  font-weight:700;
  border:1px solid transparent;
  cursor:pointer;
  white-space:nowrap;

  transition: transform .18s var(--ease-out), filter .18s var(--ease-out), box-shadow .18s var(--ease-out), background .18s var(--ease-out);
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0px) scale(.98); }

.btn--pill{ border-radius: var(--radius-pill); padding:12px 22px; }
.btn--orange{ background:var(--orange); color:#fff; }
.btn--orange:hover{ filter:brightness(.96); }

.btn--white{
  background:#fff; color:#111;
  box-shadow: 0 16px 35px rgba(0,0,0,.25);
}
.btn--ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,.4);
  color:#fff;
}
.btn--ghost:hover{ background:rgba(255,255,255,.06); }

/* ===== HERO ===== */
.hero{
  position:relative;
  min-height: 92vh;
  display:grid;
  place-items:center;
  padding: 120px 0 70px;
  overflow:hidden;
}
.hero__bg{
  position:absolute; 
  inset:0;

  --hero-darkness: .65;
  background:
    linear-gradient(rgba(0,0,0,var(--hero-darkness)), rgba(0,0,0,var(--hero-darkness))),
    url("Assets/img/closeup-electronic-circuit-board-with-cpu-microchip-electronic-components-background\ 1.png") center/cover no-repeat;
  filter:saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}

.hero__grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items:center;
}
.hero__left{ padding-top:18px; }
.hero__title{
  margin:0 0 18px;
  font-family: Orbitron, Inter, sans-serif;
  letter-spacing: .5px;
  line-height: .92;
  font-size: clamp(42px, 5.2vw, 74px);
  text-shadow: 0 22px 60px rgba(0,0,0,.55);
}
.hero__titleTop{display:block;color:#f2f2f2}
.hero__titleAccent{display:block;color:var(--orange)}
.hero__sub{
  color:#d7dce3;
  max-width: 520px;
  line-height:1.65;
  font-size: 14.5px;
  opacity:.92;
  margin:0 0 24px;
}
.hero__actions{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}

/* Hero right image float */
.hero__right{ position:relative; width:100%; }
.hero__right img{
  width:100%;
  transform: translateZ(0);
  animation: hero-float 6s var(--ease-out) infinite;
  will-change: transform;
}
@keyframes hero-float{
  0%,100%{ transform: translateY(0px); }
  50%{ transform: translateY(-10px); }
}

/* ===== LOGO STRIP ===== */
.logos{
  background:#ffffff;
  padding: 100px 0;
  overflow: hidden;
}
.logos__marquee{
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  position: relative;

  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.logos__track{
  display:flex;
  width: max-content;
  gap: 28px;
  animation: logos-scroll 18s linear infinite;
}
.logos__set{
  display:flex;
  align-items:center;
  gap: 28px;
  padding: 4px 0;
}
.logos__set img{
  height: 70px;
  width:auto;
  object-fit:contain;
}
@keyframes logos-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logos__marquee:hover .logos__track{ animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){
  .logos__track{ animation:none; }
}

/* ===== SERVICES SECTION ===== */
.services{
  background: var(--navy);
  color:#fff;
  padding: 66px 0 76px;
  position:relative;
  overflow:hidden;
}
.services__topLine{
  position:absolute; left:0; right:0; top:0;
  height:3px;
  background: var(--orange);
}
.sectionTitle{
  text-align:center;
  margin:0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight:800;
}
.sectionTitle--light{ color:#fff; }
.sectionSub{
  text-align:center;
  margin:0 auto 34px;
  max-width: 680px;
  line-height:1.6;
  font-size: 14px;
}
.sectionSub--light{ color:#d6e1ef; opacity:.95; }

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items:stretch;
  margin-top: 28px;
}
.card{
  border-radius: var(--radius-xl);
  padding: 20px 20px 18px;
  background:
    linear-gradient(120deg, rgba(0,0,0,.55), rgba(0,0,0,.30)),
    var(--bg) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  position:relative;
  overflow:hidden;
  min-height: 255px;

  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), filter .22s var(--ease-out);
}
.card::after{
  content:"";
  position:absolute; inset:0;
  opacity:.92;
  pointer-events:none;
}
.card--orange::after{ background: rgba(255,122,26,.55); }
.card--blue::after{ background: rgba(8, 86, 150, .55); }
.card--dark::after{ background: rgba(0,0,0,.45); }
.card > *{ position:relative; z-index:2; }

.card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 40%);
  transform: rotate(8deg);
  opacity:0;
  transition: opacity .22s var(--ease-out);
  pointer-events:none;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0,0,0,.30);
  filter: saturate(1.05);
}
.card:hover::before{ opacity:1; }

.card__icon{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--orange);
  display:grid;
  place-items:center;
  font-weight:900;
  margin-bottom: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.card__title{
  margin:0 0 8px;
  font-weight:800;
  font-size: 18px;
}
.card__text{
  margin:0 0 14px;
  line-height:1.6;
  color:#f2f6ff;
  opacity:.92;
  font-size: 13px;
}
.card__link{
  display:inline-block;
  margin-top:auto;
  font-weight:700;
  opacity:.95;
  transition: transform .18s var(--ease-out), opacity .18s var(--ease-out);
}
.card:hover .card__link{
  transform: translateX(4px);
  opacity:1;
}

/* ===== ABOUT ===== */
.about{
  padding: 70px 0 58px;
  position:relative;
}
.about,
.faq,
.logos{
  background: var(--white);
  color: var(--black);
}

.about__topLine, .about__bottomLine{
  position:absolute; left:0; right:0;
  height:3px;
  background: var(--orange);
}
.about__topLine{ top:0; }
.about__bottomLine{ bottom:0; }

.about__inner{
  position:relative;
  padding: 20px 0;
}
.about__title{
  text-align:center;
  margin: 0 0 18px;
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight:900;
  color: var(--navy);
  line-height:1.05;
}
.about__text{
  max-width: 720px;
  margin:0 auto;
  color:#2a3640;
  line-height:1.65;
  font-size: 13px;
}
.about__tagline{
  text-align:center;
  margin-top: 24px;
  font-weight:900;
  color: var(--orange);
  font-family: Orbitron, Inter, sans-serif;
}

/* dotted patterns */
.dots{
  position:absolute;
  width: 180px; height: 180px;
  background:
    radial-gradient(circle, rgba(120,130,140,.45) 2px, transparent 3px);
  background-size: 12px 12px;
  opacity:.55;
  filter: blur(.2px);
}
.dots--left{ left:-40px; bottom:-30px; transform: rotate(10deg); }
.dots--right{ right:-30px; top:30px; transform: rotate(-12deg); }

/* ===== ADVANTAGES ===== */
.advantages{
  background: var(--navy);
  color:#fff;
  padding: 70px 0 80px;
  overflow:hidden;
  position:relative;
}
.advantages__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items:center;
}
.adv__circle{
  width: min(520px, 48vw);
  aspect-ratio: 1/1;
  border-radius: 999px;
  overflow:hidden;
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 70px rgba(0,0,0,.35);
}
.adv__circle img{
  width:100%; height:100%;
  object-fit:cover;
  filter: saturate(1.05);
}
.adv__title{
  margin: 0 0 18px;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing:.5px;
}
.advList{display:flex; flex-direction:column; gap:22px}
.advItem{
  display:grid;
  grid-template-columns: 52px 1fr;
  gap:14px;
  align-items:flex-start;

  padding: 8px 10px;
  border-radius: 14px;
  transition: background .18s var(--ease-out), transform .18s var(--ease-out);
}
.advItem:hover{
  background: rgba(255,255,255,.05);
  transform: translateY(-2px);
}
.advItem__icon{
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--orange);
  display:grid;
  place-items:center;
  font-weight:900;
  box-shadow: 0 14px 30px rgba(0,0,0,.25);

  transition: transform .18s var(--ease-out), filter .18s var(--ease-out);
}
.advItem:hover .advItem__icon{
  transform: translateY(-2px) rotate(-2deg);
  filter: brightness(1.05);
}
.advItem__title{
  margin:0 0 6px;
  font-size: 16px;
  font-weight:900;
}
.advItem__text{
  margin:0;
  color:#d7e6f7;
  opacity:.92;
  line-height:1.6;
  font-size: 13px;
}

/* ===== FAQ ===== */
.faq{
  background:#fff;
  padding: 74px 0;
  position:relative;
  overflow:hidden;
}
.faq__grid{
  display:grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 30px;
  align-items:start;
}
.faq__left{
  position:relative;
  min-height: 380px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.faqShape{
  position:absolute;
  left:-60px; top: 80px;
  width: 240px;
  height: 520px;
  background: linear-gradient(180deg, var(--navy), #1b75b7);
  border-radius: 40px;
  transform: rotate(16deg);
  opacity: 1;
}
.faq__title{
  position:relative;
  font-size: clamp(40px, 6vw, 74px);
  font-weight:900;
  color:#1b1f24;
  letter-spacing:1px;
  margin:0;
}

.accordion{
  display:flex;
  flex-direction:column;
  gap: 16px;
}
.accItem{
  background:#fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15,23,42,.14);
  border: 1px solid rgba(15,23,42,.06);
  overflow:hidden;
}
.accBtn{
  width:100%;
  background:transparent;
  border:none;
  padding: 22px 22px;
  text-align:left;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  cursor:pointer;
  font-weight:600;
  font-size: 16px;
  color:#1e2932;

  transition: background .18s var(--ease-out);
}
.accBtn:hover{ background: rgba(15,23,42,.04); }

.accChevron{
  font-size: 20px;
  transform: rotate(0deg);
  transition: transform .18s var(--ease-out);
  opacity:.8;
}
.accPanel{
  max-height:0;
  overflow:hidden;
  transition: max-height .28s var(--ease-out);
}
.accPanel p{
  margin:0;
  padding: 0 22px 22px;
  color:#4b5a67;
  line-height:1.6;
  font-size: 13.5px;
}
.accItem.is-open .accChevron{ transform: rotate(180deg); }

/* ===== FOOTER ===== */
.footer{
  background: var(--navy);
  color:#e9f2ff;
  padding: 48px 0 0;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.1fr .7fr 1.2fr;
  gap: 26px;
  align-items:start;
  padding-bottom: 34px;
}

.footerLogo{display:flex; align-items:center; gap:12px}
.footerLogo__mark{
  width: 90px; height: 90px;
  position:relative;
}
.footerLogo__name{font-weight:900; letter-spacing:1px}
.footer__script{
  margin-top: 14px;
  font-family: "Inter", sans-serif;
  font-style: italic;
  opacity:.85;
}

.footer__head{
  margin: 6px 0 12px;
  font-size: 14px;
  font-weight:800;
}
.footer__links{display:flex; flex-direction:column; gap:10px}
.footer__links a{opacity:.9}
.footer__links a:hover{opacity:1; text-decoration:underline}

.subscribe{
  display:flex;
  gap: 12px;
  align-items:center;
  margin: 14px 0 16px;
}
.subscribe__input{
  flex:1;
  height: 44px;
  border-radius: 10px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  color:#fff;
  padding: 0 14px;
  outline:none;
}
.subscribe__input::placeholder{color: rgba(255,255,255,.55)}
.subscribe__btn{
  height: 44px;
  border-radius: 10px;
  border: none;
  padding: 0 18px;
  font-weight:800;
  cursor:pointer;
  background:#fff;
  color:#0b1b29;
}
.subscribe__btn:hover{filter:brightness(.96)}

.footer__social{
  display:flex;
  align-items:center;
  gap: 12px;
}
.footer__follow{opacity:.85; margin-right:6px; font-size: 13px}
.footer__social a{
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  opacity:.95;

  transition: transform .18s var(--ease-out), background .18s var(--ease-out);
}
.footer__social a:hover{
  background: rgba(255,255,255,.12);
  transform: translateY(-2px) scale(1.03);
}

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 16px 0;
}
.footer__bottomInner{
  display:flex;
  justify-content:center;
  opacity:.85;
  font-size: 13px;
}

/* ===== REVEAL ON SCROLL ===== */
.reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in{
  opacity:1;
  transform: translateY(0px);
}

/* Stagger children */
.reveal-stagger > *{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.reveal-stagger.is-in > *{
  opacity:1;
  transform: translateY(0px);
}
.reveal-stagger.is-in > *:nth-child(1){ transition-delay: .00s; }
.reveal-stagger.is-in > *:nth-child(2){ transition-delay: .06s; }
.reveal-stagger.is-in > *:nth-child(3){ transition-delay: .12s; }
.reveal-stagger.is-in > *:nth-child(4){ transition-delay: .18s; }
.reveal-stagger.is-in > *:nth-child(5){ transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(6){ transition-delay: .30s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; gap: 26px}
  .cards{grid-template-columns: 1fr; }
  .advantages__grid{grid-template-columns: 1fr; }
  .adv__circle{width: min(520px, 86vw); margin: 0 auto}
  .faq__grid{grid-template-columns: 1fr; }
  .faq__left{min-height: 180px}
  .faqShape{height:260px; top:0}
  .footer__grid{grid-template-columns: 1fr; }
}

@media (max-width: 780px){
  .navpill{gap:10px}
  .navpill__burger{display:inline-block}
  .navpill__links{
    position:absolute;
    top:72px;
    left:50%;
    transform: translateX(-50%);
    width:min(520px, calc(100% - 40px));
    background: rgba(45,45,45,.92);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 14px;
    display:none;
    flex-direction:column;
    gap:10px;
  }
  .navpill__links.is-open{display:flex}
  .navpill__link{width:100%}
  .hero{padding-top: 110px}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .hero__right img{ animation:none; }
  .reveal, .reveal-stagger > *{ transition:none; transform:none; opacity:1; }
  .btn, .card, .advItem, .navpill, .footer__social a{ transition:none; }
}
