@layer base;

:root{
  --bg: #070b14;
  --bg2: #0b1220;
  --text: #eef2ff;
  --muted: rgba(238,242,255,.72);
  --border: rgba(255,255,255,.10);
  --shadow: 0 18px 55px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(900px 540px at 12% 0%, rgba(94,234,212,.22), transparent 60%),
    radial-gradient(860px 520px at 92% 12%, rgba(96,165,250,.20), transparent 62%),
    radial-gradient(820px 520px at 70% 85%, rgba(34,197,94,.12), transparent 58%),
    linear-gradient(180deg, var(--bg2), var(--bg) 70%);
  color:var(--text);
}

a{color:inherit}
img{max-width:100%; height:auto; display:block}

.container{width:min(1120px, 92vw); margin:0 auto}

.header{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(7,11,20,.6);
  border-bottom:1px solid var(--border);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

/* Full-screen splash intro (for pages using styles.css) */
.splash{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 620px at 30% 20%, rgba(215,58,73,0.26), transparent 60%),
    radial-gradient(820px 620px at 80% 40%, rgba(122,0,25,0.22), transparent 62%),
    linear-gradient(180deg, #070b14, #050811);
}
.splash__inner{display:flex; flex-direction:column; align-items:center; gap:14px}
.splash__logo{width:min(68vmin,520px); height:min(68vmin,520px); object-fit:contain; filter: drop-shadow(0 34px 80px rgba(0,0,0,.60))}
.splash__text{font-weight:950; letter-spacing:-0.03em; font-size: clamp(1.15rem, 3.2vmin, 1.65rem); color: rgba(255,255,255,.92)}
.splash__text span{display:inline-block; margin-left:10px; padding-left:10px; border-left:1px solid rgba(255,255,255,.18); font-size:0.95rem; letter-spacing:0.10em; text-transform:uppercase; color: rgba(238,242,255,.72)}

@media (prefers-reduced-motion: no-preference){
  .splash{opacity:1}
  .splash__logo{opacity:0; transform: translateY(10px) scale(.92)}
  .splash__text{opacity:0; transform: translateY(6px)}

  .splash::before{
    content:'';
    position: fixed;
    inset:-60% -60%;
    background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.14) 50%, transparent 60%);
    transform: translateX(-36%) rotate(12deg);
    opacity:0;
    pointer-events:none;
  }

  body.page-loaded .splash::before{animation: splashShine 1100ms ease-in-out 60ms both}
  body.page-loaded .splash__logo{animation: splashLogo 920ms cubic-bezier(.16, 1, .3, 1) 25ms both}
  body.page-loaded .splash__text{animation: splashText 420ms cubic-bezier(.16, 1, .3, 1) 90ms both}
  .splash.splash--hide{animation: splashOut 420ms ease-in 40ms both}
  @keyframes splashLogo{0%{opacity:0; transform: translateY(18px) scale(.82) rotate(-22deg); filter: drop-shadow(0 16px 44px rgba(0,0,0,.45))} 62%{opacity:1; transform: translateY(0) scale(1.06) rotate(382deg); filter: drop-shadow(0 34px 92px rgba(0,0,0,.62))} 100%{opacity:1; transform: translateY(0) scale(1) rotate(360deg); filter: drop-shadow(0 34px 80px rgba(0,0,0,.60))}}
  @keyframes splashText{0%{opacity:0; transform: translateY(10px)} 100%{opacity:1; transform: translateY(0)}}
  @keyframes splashShine{0%{opacity:0; transform: translateX(-42%) rotate(12deg)} 35%{opacity:.62} 100%{opacity:0; transform: translateX(42%) rotate(12deg)}}
  @keyframes splashOut{0%{opacity:1} 100%{opacity:0; visibility:hidden}}
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.brand__logo{
  border-radius:0;
  border:none;
  width:80px;
  height:80px;
  object-fit:contain;
}
.brand__logoWrap{display:flex; align-items:center; justify-content:center}

.brand__stack{display:flex; flex-direction:row; align-items:baseline; gap:10px; line-height:1}
.brand__mark{display:inline-block; font-weight:950; font-size:1.38rem; letter-spacing:-0.04em; color: rgba(255,255,255,.96)}
.brand__name{
  display:inline-flex;
  align-items:baseline;
  width:auto;
  padding:0 0 0 10px;
  border-radius:0;
  border:0;
  background: transparent;
  font-size:0.92rem;
  font-weight:850;
  letter-spacing:0.10em;
  text-transform:uppercase;
  color: rgba(238,242,255,.72);
  border-left:1px solid rgba(255,255,255,.16);
}

@media (max-width: 768px){
  .brand__logo{width:56px; height:56px}
  .brand__stack{flex-direction:column; align-items:flex-start; gap:4px}
  .brand__mark{font-size:1.18rem}
  .brand__name{font-size:0.78rem; padding-left:0; border-left:0}
}

@media (prefers-reduced-motion: no-preference){
  html.js .brand__logo{opacity:0; transform: translateY(-6px) scale(.92)}
  html.js .brand__stack{opacity:0; transform: translateY(-4px)}

  body.page-loaded .brand__logo{
    animation: brandLogoPop 900ms cubic-bezier(.16, 1, .3, 1) both;
  }
  body.page-loaded .brand__stack{
    animation: brandTextSlide 650ms cubic-bezier(.16, 1, .3, 1) 90ms both;
  }

  @keyframes brandLogoPop{
    0%{opacity:0; transform: translateY(-8px) scale(.90); filter: blur(2px)}
    60%{opacity:1; transform: translateY(0) scale(1.03); filter: blur(0)}
    100%{opacity:1; transform: translateY(0) scale(1)}
  }
  @keyframes brandTextSlide{
    0%{opacity:0; transform: translateY(-6px)}
    100%{opacity:1; transform: translateY(0)}
  }
}

.navToggle{
  display:none;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius:12px;
  padding:10px;
  cursor:pointer;
}
.navToggle__bar{display:block; width:18px; height:2px; background: rgba(238,242,255,.8); margin:3px 0; border-radius:999px}

.nav{display:flex; gap:18px; align-items:center}
.nav a{
  text-decoration:none;
  color: rgba(238,242,255,.84);
  font-weight:750;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, text-shadow .2s, border-color .2s;
}
.nav a:hover{
  color:var(--text);
  border-bottom-color: rgba(122,0,25,0.55);
  text-shadow: 0 0 14px rgba(122,0,25,0.22);
}
.nav a.active{
  color: var(--text);
  border-bottom-color: rgba(122,0,25,0.95);
  text-shadow: 0 0 18px rgba(122,0,25,0.28);
}
.nav__cta{
  background: rgba(255,255,255,0.05);
  padding:8px 16px;
  border-radius:99px;
  border:1px solid var(--border);
}

.hero{padding:62px 0 18px}
.hero__inner{
  display:grid;
  grid-template-columns: 1.25fr .95fr;
  gap:22px;
  align-items:stretch;
}

.eyebrow{color: rgba(238,242,255,.62); font-weight:800; letter-spacing:.14em; text-transform:uppercase; font-size:.78rem; margin: 0 0 12px}
.hero__copy h1{font-size: clamp(2.1rem, 3.4vw, 3.25rem); line-height:1.02; margin:0 0 12px}
.lead{color:var(--muted); font-size:1.08rem; line-height:1.55; margin:0 0 18px}

.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin: 10px 0 18px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
  background: rgba(255,255,255,.02);
  color:var(--text);
}
.btn--primary{
  background: linear-gradient(90deg, rgba(94,234,212,.22), rgba(96,165,250,.18));
  border-color: rgba(94,234,212,.30);
}
.btn--primary:hover{filter:brightness(1.08)}
.btn--ghost:hover{border-color: rgba(255,255,255,.18)}

.pillRow{display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px}
.pill{
  color: rgba(238,242,255,.74);
  border:1px solid var(--border);
  padding:7px 10px;
  border-radius:999px;
  font-weight:750;
  font-size:.9rem;
  background: rgba(255,255,255,.02);
}

.hero__media{display:flex; flex-direction:column; gap:12px}
.hero__imageWrap{
  border:1px solid var(--border);
  border-radius:20px;
  overflow:hidden;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.03);
}
.hero__image{width:100%; height: 260px; object-fit: cover; display:block; filter: saturate(1.06) contrast(1.02)}
.hero__panel{
  border:1px solid var(--border);
  border-radius:20px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.panelCard{border:1px solid var(--border); border-radius:16px; padding:14px; background: rgba(255,255,255,.03)}
.panelCard__title{font-weight:900; letter-spacing:.2px}
.panelCard__body{margin-top:8px; color:var(--muted); line-height:1.45}

.section{padding: 44px 0}
.section--alt{background: rgba(255,255,255,.02); border-top:1px solid var(--border); border-bottom:1px solid var(--border)}
.section h2{margin:0; font-size:1.8rem}
.sectionHead{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-bottom: 14px}
.muted{color:var(--muted)}
.small{font-size:.92rem}

.grid{display:grid; gap:14px}
.grid--3{grid-template-columns: repeat(3, 1fr)}
.grid--2{grid-template-columns: repeat(2, 1fr)}
.card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius:18px;
  padding:18px;
}
.cardImg{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  margin-bottom: 12px;
  filter: saturate(1.06) contrast(1.02);
}
.card h3{margin:0 0 8px}
.card p{margin:0; color:var(--muted); line-height:1.45}

.callout{
  margin-top: 16px;
  border:1px solid rgba(94,234,212,.22);
  background: linear-gradient(90deg, rgba(94,234,212,.08), rgba(96,165,250,.07));
  border-radius:18px;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.callout__title{font-weight:900; margin-bottom:6px}

.logoGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.logoCard{
  border:1px solid var(--border);
  border-radius:16px;
  background: rgba(255,255,255,.03);
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:74px;
}
.logoCard img{height:28px; width:auto; opacity:.95}

.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
label{display:block; margin-top:12px; color:var(--muted); font-weight:650}
input, textarea{
  width:100%;
  margin-top:6px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(7,11,20,.55);
  color: var(--text);
  padding:10px 12px;
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(94,234,212,.35)}

.footer{padding:26px 0 34px}
.footer__inner{display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--border); padding-top:18px; color:var(--muted)}
.footer__links{display:flex; gap:12px; flex-wrap:wrap}
.footer__links a{color:var(--muted); text-decoration:none}
.footer__links a:hover{color:var(--text)}

.footer__copy{display:flex; flex-direction:column; gap:4px}
.footer__watermark{font-size:0.78rem; letter-spacing:0.10em; text-transform:uppercase; opacity:0.82}

@media (max-width: 768px){
  .footer__inner{flex-direction:column; align-items:stretch; gap:12px}
  .footer__links{display:grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap:10px; width:100%}
  .footer__links a{display:inline-block; padding:8px 10px; border:1px solid rgba(255,255,255,.14); border-radius:12px; text-align:center}
}

.cardLink{margin-top:12px}
.cardLink a{color: rgba(94,234,212,.92); text-decoration:none; font-weight:850}
.cardLink a:hover{filter:brightness(1.08)}

.pageHero{padding:58px 0 18px}
.pageHero__inner{display:grid; grid-template-columns: 1.25fr .95fr; gap:22px; align-items:stretch}
.pageHero__card{
  border:1px solid var(--border);
  border-radius:20px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.kpi{border:1px solid var(--border); border-radius:16px; padding:14px; background: rgba(255,255,255,.03)}
.kpi__k{color: rgba(238,242,255,.68); font-weight:800; font-size:.9rem}
.kpi__v{font-weight:950; font-size:1.1rem; margin-top:6px}

.ctaStrip{padding:22px 0}
.ctaStrip__inner{
  border:1px solid rgba(94,234,212,.22);
  background: linear-gradient(90deg, rgba(94,234,212,.08), rgba(96,165,250,.07));
  border-radius:18px;
  padding:16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.ctaStrip__title{font-weight:950; margin-bottom:6px}

.chipGrid{display:flex; flex-wrap:wrap; gap:10px}
.chip{border:1px solid var(--border); background: rgba(255,255,255,.02); border-radius:999px; padding:8px 12px; font-weight:850; color: rgba(238,242,255,.76)}

.quote{
  margin-top: 16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius:18px;
  padding:16px;
  position:relative;
}
.quote__badge{position:absolute; top:14px; right:14px; border:1px solid rgba(94,234,212,.30); background: rgba(94,234,212,.10); padding:6px 10px; border-radius:999px; font-weight:950; font-size:.85rem}
.quote__text{font-size:1.2rem; font-weight:900; line-height:1.3; padding-right:90px}
.quote__meta{margin-top:10px}

.faq{display:grid; gap:10px}
.faqItem{border:1px solid var(--border); border-radius:16px; background: rgba(255,255,255,.03); padding:12px 14px}
.faqItem summary{cursor:pointer; font-weight:900}
.faqItem__body{padding-top:10px; line-height:1.5}

.finalCta{
  margin-top: 16px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:16px;
  background: radial-gradient(700px 260px at 10% 0%, rgba(94,234,212,.10), transparent 60%),
              radial-gradient(700px 260px at 90% 0%, rgba(96,165,250,.10), transparent 60%),
              rgba(255,255,255,.02);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.finalCta__title{font-weight:950; margin-bottom:6px}

.reveal{opacity:0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease}
.reveal.is-visible{opacity:1; transform:none}
@media (prefers-reduced-motion: reduce){
  .reveal{transition:none}
}

@media (max-width: 900px){
  .hero__inner{grid-template-columns: 1fr}
  .grid--3{grid-template-columns: 1fr}
  .grid--2{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .logoGrid{grid-template-columns: repeat(2, 1fr)}

  .navToggle{display:inline-flex}
  .nav{
    position:absolute;
    right: 4vw;
    top: 62px;
    width: min(360px, 92vw);
    padding: 12px;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    border:1px solid var(--border);
    border-radius:16px;
    background: rgba(7,11,20,.92);
    box-shadow: var(--shadow);
    display:none;
  }
  .nav[data-open="true"]{display:flex}
  .nav a{padding:10px 12px; border-radius:12px; border:1px solid transparent}
  .nav a:hover{border-color: rgba(255,255,255,.10)}

  .pageHero__inner{grid-template-columns: 1fr}
  .quote__text{padding-right:0}

  .hero__image{height: 220px}
}
