/* Sigma8 Landing — static, deployable
   Replace colors, logo, images as needed.
*/
:root{
  --bg:#0b1220;
  --bg2:#0f1b34;
  --card:#0f1a2d;
  --text:#0b1020;
  --muted:#5b6478;
  --white:#ffffff;
  --line:rgba(255,255,255,.14);
  --accent:#f0c44e;
  --accent2:#ffcf5a;
  --blue:#1e5aa7;
  --blue2:#163f77;
  --shadow: 0 20px 60px rgba(0,0,0,.18);
  --radius: 16px;
  --radius2: 22px;
  --container: 1140px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#0a1020;
  background:#f5f7fb;
  line-height:1.5;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: linear-gradient(180deg, rgba(10,18,32,.92), rgba(10,18,32,.75));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}

.topbar__brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--white);
}
.logo{ width:34px; height:34px; display:block; }
.brand{ font-weight:700; letter-spacing:.2px; }

.nav{
  display:flex;
  gap:14px;
  align-items:center;
}
.nav__link{
  color:rgba(255,255,255,.92);
  font-weight:600;
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
}
.nav__link:hover{
  background:rgba(255,255,255,.08);
  text-decoration:none;
}
.nav__cta{
  border:1px solid rgba(240,196,78,.55);
  background: rgba(240,196,78,.12);
}

.nav-toggle{
  display:none;
  width:44px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:transparent;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height:2px;
  width:20px;
  margin:5px auto;
  background:rgba(255,255,255,.9);
  border-radius:2px;
}

/* Hero */
.hero{
  position:relative;
  color:var(--white);
  overflow:hidden;
  padding:46px 0 22px;
  background: radial-gradient(1200px 700px at 70% 10%, rgba(30,90,167,.55), transparent 60%),
              radial-gradient(900px 560px at 30% 0%, rgba(240,196,78,.35), transparent 55%),
              linear-gradient(180deg, #071024, #0b1732 65%, #f5f7fb 65%);
}

.hero__bg{
  position:absolute;
  inset:-40% -20% auto -20%;
  height:520px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 65%),
    radial-gradient(900px 420px at 70% 15%, rgba(255,255,255,.10), transparent 65%);
  transform: skewY(-6deg);
  opacity:.35;
  pointer-events:none;
}

.hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:28px;
  align-items:start;
}

h1{
  font-size:48px;
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-.8px;
}
.muted{ color:rgba(255,255,255,.78); font-weight:600; }

.lead{
  margin:0 0 18px;
  font-size:16px;
  color:rgba(255,255,255,.86);
  max-width:54ch;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 20px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:700;
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none !important;
}
.btn--primary{
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  color:#10131b;
  box-shadow: 0 16px 36px rgba(240,196,78,.25);
}
.btn--ghost{
  border-color: rgba(255,255,255,.22);
  color:rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
}
.btn--block{ width:100%; }
.btn:hover{ filter: brightness(1.02); }

.hero__badges{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.badge{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 16px;
}
.badge img{ width:26px; height:26px; opacity:.95; }
.badge strong{ display:block; font-size:14px; }
.badge span{ display:block; font-size:12.5px; color:rgba(255,255,255,.78); margin-top:2px; }

.hero__card .card{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: var(--shadow);
}
.card__title{ font-weight:800; margin-bottom:10px; letter-spacing:.2px; }
.card__item{
  display:flex;
  gap:12px;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.card__item:last-of-type{ border-bottom:none; }
.card__item img{ width:18px; height:18px; opacity:.95; }
.label{ font-size:12px; color:rgba(255,255,255,.7); }
.card__hint{ margin:12px 0; font-size:13px; color:rgba(255,255,255,.78); }

/* Sections */
.section{ padding:64px 0; }
.section--alt{ background:#eef3fb; }
.section--dark{
  background: linear-gradient(180deg, var(--blue2), var(--blue));
  color:var(--white);
}
.section__head{ margin-bottom:24px; }
.section__head--center{ text-align:center; }
.section__head--row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.section h2{
  margin:0 0 6px;
  font-size:32px;
  letter-spacing:-.4px;
}
.section p{ margin:0; color:var(--muted); }
.section--dark p{ color:rgba(255,255,255,.78); }

.features{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
}
.feature{
  background: var(--white);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 12px 40px rgba(16,24,40,.08);
  border:1px solid rgba(16,24,40,.06);
}
.feature__icon{
  width:44px; height:44px;
  border-radius:14px;
  background: rgba(30,90,167,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px;
}
.feature__icon img{ width:20px; height:20px; }
.feature h3{ margin:0 0 6px; font-size:16px; }
.feature p{ margin:0; color:var(--muted); font-size:14px; }

.grid{
  display:grid;
  gap:14px;
}
.grid--services{
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.service{
  display:flex;
  gap:14px;
  padding:16px;
  background: var(--white);
  border:1px solid rgba(16,24,40,.06);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(16,24,40,.06);
  transition: transform .12s ease, box-shadow .12s ease;
}
.service:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 60px rgba(16,24,40,.10);
  text-decoration:none;
}
.service img{ width:44px; height:44px; }
.service h3{ margin:0 0 4px; font-size:16px; }
.service p{ margin:0; color:var(--muted); font-size:13.5px; }

.grid--projects{
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.project{
  background: var(--white);
  border:1px solid rgba(16,24,40,.06);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 12px 40px rgba(16,24,40,.06);
}
.project__img{
  height:170px;
  background-size:cover;
  background-position:center;
}
.project__img--1{
  background-image: radial-gradient(900px 300px at 30% 30%, rgba(255,255,255,.35), transparent 55%),
                    linear-gradient(135deg, rgba(30,90,167,.95), rgba(240,196,78,.92));
}
.project__img--2{
  background-image: radial-gradient(700px 260px at 30% 20%, rgba(255,255,255,.32), transparent 60%),
                    linear-gradient(135deg, #3b4a6b, #1e5aa7);
}
.project__img--3{
  background-image: radial-gradient(700px 260px at 30% 20%, rgba(255,255,255,.32), transparent 60%),
                    linear-gradient(135deg, #1e5aa7, #0b1220);
}
.project__body{ padding:14px 16px 16px; }
.project__body h3{ margin:0 0 4px; font-size:16px; }
.project__body p{ margin:0; font-size:13.5px; color:var(--muted); }

.why{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.why__item{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding:18px;
}
.why__item img{ width:26px; height:26px; opacity:.95; }
.why__item h3{ margin:10px 0 6px; font-size:16px; }
.why__item p{ margin:0; color:rgba(255,255,255,.78); font-size:13.5px; }

.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:start;
}

.testimonials{ display:grid; gap:12px; }
.quote{
  margin:0;
  background: var(--white);
  border:1px solid rgba(16,24,40,.06);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 12px 40px rgba(16,24,40,.06);
}
.quote blockquote{ margin:0 0 8px; font-weight:600; }
.quote figcaption{ color:var(--muted); font-size:13.5px; }

.contact__card{
  background: var(--white);
  border:1px solid rgba(16,24,40,.06);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: 0 12px 40px rgba(16,24,40,.08);
}
.contact__info{
  display:grid;
  gap:8px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(16,24,40,.06);
  margin-bottom:14px;
}
.contact__line{
  display:flex;
  gap:10px;
  align-items:center;
  font-weight:600;
}
.contact__line img{ width:18px; height:18px; opacity:.92; }

.form{ display:grid; gap:10px; }
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
label span{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
  font-weight:600;
}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(16,24,40,.10);
  outline:none;
  font: inherit;
  background:#fbfcff;
}
input:focus, textarea:focus{
  border-color: rgba(30,90,167,.45);
  box-shadow: 0 0 0 4px rgba(30,90,167,.12);
}
.form__note{
  margin:0;
  font-size:12px;
  color: var(--muted);
}

/* Footer */
.footer{
  padding:24px 0;
  background:#0b1220;
  color:rgba(255,255,255,.86);
}
.footer__inner{
  display:flex;
  flex-wrap:wrap;
  gap:14px 18px;
  align-items:center;
  justify-content:space-between;
}
.logo--small{ width:28px; height:28px; }
.footer__left{ display:flex; gap:12px; align-items:center; }
.footer__links{ display:flex; gap:12px; }
.footer__links a{ color:rgba(255,255,255,.86); font-weight:600; font-size:14px; }
.footer__legal{ font-size:12.5px; }

/* Toast */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  background:#0b1220;
  color:rgba(255,255,255,.92);
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  max-width:min(560px, calc(100% - 36px));
  display:none;
  z-index:999;
}

/* Responsive */
@media (max-width: 980px){
  h1{ font-size:40px; }
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__card{ order: 3; }
  .hero__badges{ grid-template-columns: 1fr; }
  .features{ grid-template-columns: 1fr; }
  .grid--services{ grid-template-columns: 1fr; }
  .grid--projects{ grid-template-columns: 1fr; }
  .why{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .section__head--row{ align-items:flex-start; flex-direction:column; }
}

@media (max-width: 860px){
  .nav-toggle{ display:block; }
  .nav{
    position:absolute;
    right:20px;
    top:62px;
    width:min(320px, calc(100vw - 40px));
    background: rgba(11,18,32,.96);
    border:1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding:10px;
    display:none;
    flex-direction:column;
    align-items:stretch;
  }
  .nav.is-open{ display:flex; }
  .nav__link{ padding:12px; }
}

/* === Style tune-up to match your sketch (v2) === */

/* Topbar: more solid like in the sketch */
.topbar{
  background: linear-gradient(180deg, rgba(55,62,71,.95), rgba(55,62,71,.86));
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

/* Hero: smoother gold/blue glow + soft fade into light section */
.hero{
  background:
    radial-gradient(980px 520px at 14% 18%, rgba(240,196,78,.40), transparent 62%),
    radial-gradient(1100px 650px at 78% 12%, rgba(30,90,167,.62), transparent 60%),
    linear-gradient(180deg, #0a1328 0%, #0b1833 56%, #f5f7fb 56%);
  padding:56px 0 26px;
}

.hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:140px;
  background: linear-gradient(180deg, rgba(245,247,251,0) 0%, rgba(245,247,251,.9) 55%, #f5f7fb 100%);
  pointer-events:none;
}

.hero__bg{
  opacity:.22;
  height:560px;
}

/* Hero heading spacing/size closer to sketch */
h1{ font-size:54px; letter-spacing:-1px; }
.lead{ max-width:60ch; }

/* Buttons: pill look */
.btn{ border-radius: 999px; padding:12px 18px; }
.btn--primary{ box-shadow: 0 18px 44px rgba(240,196,78,.25); }
.btn--ghost{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.20);
  color: rgba(255,255,255,.92);
}

/* Quick contact card: darker + larger CTA like sketch */
.hero__card .card{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding:18px 18px 16px;
}
.hero__card{ transform: translateY(18px); }
.hero__card .btn--primary{ height:50px; border-radius: 14px; }

/* Badges: fade out into the light area like sketch */
.hero__badges{
  margin-top:22px;
  opacity:.18;
  transform: translateY(34px);
}
.badge{
  background: transparent;
  border-color: rgba(255,255,255,.10);
}

/* First section: tighter top because hero already fades */
.section{ padding:72px 0; }
.section:first-of-type{ padding-top:56px; }

/* Cards: softer shadows like sketch */
.feature, .service, .project, .quote, .contact__card{
  box-shadow: 0 16px 48px rgba(16,24,40,.07);
  border-color: rgba(16,24,40,.06);
}

/* Services section: more bluish tint */
.section--alt{ background:#eef4ff; }

/* Blue "Why" band: match sketch (thin statement line + 3 cards) */
.section--dark{
  background: linear-gradient(180deg, #1d5da9, #1b569c);
  padding:18px 0 26px;
}
.section--dark .section__head--center h2{ display:none; }
.section--dark .section__head--center{ margin:0; }
.section--dark .section__head--center p{
  color: rgba(255,255,255,.92);
  font-weight:700;
  text-align:center;
  margin:0 0 14px;
}
.why{ margin-top:0; }
.why__item{
  background: rgba(13,28,54,.35);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
}

/* Testimonials area: slightly more breathing room */
.split{ gap:28px; }

/* Footer: darker like sketch */
.footer{ background:#0b1220; }

/* Responsive hero */
@media (max-width: 980px){
  h1{ font-size:42px; }
  .hero__badges{ opacity:.12; transform: translateY(18px); }
  .hero__card{ transform:none; }
}

/* === Header/Hero correction (v3) === */

/* Make hero taller and vertically balanced like the sketch */
.hero{
  min-height: 560px;
  padding: 70px 0 40px;
  background:
    radial-gradient(980px 520px at 14% 18%, rgba(240,196,78,.42), transparent 64%),
    radial-gradient(1200px 720px at 82% 8%, rgba(30,90,167,.72), transparent 62%),
    linear-gradient(180deg, #0a1328 0%, #0b1833 72%, #f5f7fb 72%);
}

/* Fade only near the bottom; do not wash out text/buttons */
.hero::after{
  height: 110px;
  background: linear-gradient(180deg, rgba(245,247,251,0) 0%, rgba(245,247,251,.55) 55%, #f5f7fb 100%);
}

/* Better grid alignment and content centering */
.hero__inner{
  align-items: center;
  gap: 34px;
}
.hero__content{ padding-top: 8px; }

/* Typography: clearer hierarchy */
h1{
  font-size: 56px;
  line-height: 1.04;
  margin-bottom: 16px;
}
.lead{
  font-size: 16.5px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: rgba(255,255,255,.88);
}

/* Buttons: visible + consistent */
.hero__actions{ margin: 18px 0 18px; }
.btn{ font-weight: 800; }
.btn--primary{
  padding: 12px 20px;
}
.btn--ghost{
  padding: 12px 18px;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
}

/* Do NOT fade badges so much (they were almost invisible) */
.hero__badges{
  opacity: 1;
  transform: none;
  margin-top: 18px;
}
.badge{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}

/* Quick contact card: stronger contrast, less transparency */
.hero__card .card{
  background: linear-gradient(180deg, rgba(12,24,50,.55), rgba(12,24,50,.35));
  border: 1px solid rgba(255,255,255,.18);
}
.card__item{ border-bottom: 1px solid rgba(255,255,255,.12); }
.hero__card{ transform: translateY(10px); }

/* Topbar: keep it clean, improve CTA pill */
.nav__cta{
  border: 1px solid rgba(240,196,78,.65);
  background: rgba(240,196,78,.10);
}

/* Fix huge empty space on some screens: ensure next section starts closer */
.section{ padding: 68px 0; }

/* Responsive tweaks */
@media (max-width: 980px){
  .hero{ min-height: auto; padding: 54px 0 26px; }
  h1{ font-size: 42px; }
}


/* === Project real images === */
.project__img{
  height: 190px;
  overflow: hidden;
}
.project__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.project:hover .project__img img{
  transform: scale(1.05);
}
