/* ===============
   StrataManage Landing Page
   Theme: Navy Blue (#0A2342) + White (#FFFFFF)
   Modern SaaS-style, responsive, minimal, and easy to customize.
   =============== */

:root{
  --navy:#0A2342;
  --white:#FFFFFF;
  --text:#0f172a;
  --muted:rgba(10, 35, 66, 0.72);
  --bg:#ffffff;
  --surface: rgba(255,255,255,0.9);
  --surface-2: rgba(10,35,66,0.06);
  --border: rgba(10,35,66,0.12);
  --border-strong: rgba(10,35,66,0.22);
  --accent: #0EAEC4;
  --shadow: 0 12px 30px rgba(10, 35, 66, 0.10);
  --shadow-soft: 0 8px 20px rgba(10, 35, 66, 0.08);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1120px;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img{ max-width:100%; display:block; }

.container{
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

/* Accessibility */
.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* =============== Header / Navbar =============== */
.site-header{
  position: sticky;
  top:0;
  z-index: 20;
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled{
  background: rgba(10, 35, 66, 0.90);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(10, 35, 66, 0.25);
}

.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 0.6rem;
  text-decoration:none;
}
.brand__mark{
  width: 30px; height: 30px;
  display:inline-grid; place-items:center;
  border-radius: 10px;
  background: rgba(10,35,66,0.10);
  color: var(--navy);
  font-weight: 700;
}
.brand__name{
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.2px;
}

.site-header.is-scrolled .brand__mark{
  background: rgba(255,255,255,0.16);
  color: #fff;
}
.site-header.is-scrolled .brand__name{
  color:#fff;
}

.nav__toggle{
  display:none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  width: 44px; height: 44px;
  border-radius: 14px;
  cursor:pointer;
}
.nav__toggle-bars{
  display:block;
  width: 18px; height: 12px;
  margin: 0 auto;
  position: relative;
}
.nav__toggle-bars::before,
.nav__toggle-bars::after,
.nav__toggle-bars{
  background: transparent;
}
.nav__toggle-bars::before,
.nav__toggle-bars::after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background: var(--navy);
  border-radius: 2px;
}
.nav__toggle-bars::before{ top:0; }
.nav__toggle-bars::after{ bottom:0; }
.nav__toggle-bars{
  height:2px;
  background: var(--navy);
  top: 5px;
  border-radius: 2px;
}

.nav__links{
  display:flex;
  gap: 1.2rem;
  align-items:center;
}

.nav__link{
  text-decoration:none;
  color: rgba(10, 35, 66, 0.82);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  transition: background 160ms ease, color 160ms ease;
}
.nav__link:hover{
  background: rgba(10,35,66,0.06);
  color: var(--navy);
}

.site-header.is-scrolled .nav__link{
  color: rgba(255,255,255,0.88);
}
.site-header.is-scrolled .nav__link:hover{
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* =============== Buttons =============== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration:none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, opacity 160ms ease;
  user-select:none;
}

.btn--primary{
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(10, 35, 66, 0.22);
}
.btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(10, 35, 66, 0.26);
}

.btn--block{ width: 100%; }

/* =============== Hero / Splash =============== */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding: 3.5rem 0 4rem;
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 50% 28%, rgba(14,174,196,0.32) 0%, transparent 55%),
    radial-gradient(circle at 88% 82%, rgba(14,174,196,0.16) 0%, transparent 50%),
    repeating-radial-gradient(circle at 0 0, rgba(255,255,255,0.06) 0 1px, transparent 1.4px 30px),
    radial-gradient(circle at 26% 112%, #15407A 0%, #0A2342 45%, #051426 100%);
  background-position: center;
}

.hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 70px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index:1;
  pointer-events:none;
}

.hero__skyline{
  position:absolute;
  left:0; right:0; bottom:0;
  width:100%;
  height: 190px;
  z-index:0;
  pointer-events:none;
}

.hero__bracket{
  position:absolute;
  width:26px; height:26px;
  border:2px solid rgba(255,255,255,0.22);
  z-index: 2;
}
.hero__bracket--tl{ top:20px; left:20px; border-right:none; border-bottom:none; }
.hero__bracket--tr{ top:20px; right:20px; border-left:none; border-bottom:none; }
.hero__bracket--bl{ bottom:20px; left:20px; border-right:none; border-top:none; }
.hero__bracket--br{ bottom:20px; right:20px; border-left:none; border-top:none; }

.hero__stack{
  position: relative;
  z-index: 1;
  display:flex;
  flex-direction: column;
  align-items:center;
  text-align:center;
  max-width: 720px;
}

.hero__mark{ margin-bottom: 1.3rem; color: #FFFFFF; }

.hero__badge{
  display:inline-flex;
  align-items:center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.hero__badge-dot{
  width:7px; height:7px;
  border-radius:50%;
  background: var(--accent);
  display:inline-block;
}

.hero__eyebrow{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.hero__wordmark{
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  margin: 0 0 0.6rem;
  color: #FFFFFF;
}

.accent-text{ color: var(--accent); }

.hero__product-tag{
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin: 0 0 1.4rem;
}

.hero__tagline{
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  margin: 0 0 0.85rem;
  color: #FFFFFF;
}

.hero__position{
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 1.1rem;
  line-height: 1.55;
}

.hero__desc{
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.hero__form{
  display:flex;
  gap: 0.7rem;
  width: 100%;
  max-width: 420px;
  margin: 0 0 0.5rem;
  position: relative;
  z-index: 1;
}
.hero__form .input{
  flex:1;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.26);
  color: #FFFFFF;
}
.hero__form .input::placeholder{ color: rgba(255,255,255,0.5); }
.hero__form .input:focus{ border-color: var(--accent); }

.hero__form .btn--primary{
  background: var(--accent);
  color: #06202B;
  box-shadow: 0 10px 25px rgba(14,174,196,0.35);
}
.hero__form .btn--primary:hover{
  box-shadow: 0 16px 34px rgba(14,174,196,0.42);
}

.hero__form-msg{
  min-height: 20px;
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0.4rem 0 1.8rem;
  position: relative;
  z-index: 1;
}

.hero__socials{
  display:flex;
  align-items:center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.hero__socials .social{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.26);
  color: #FFFFFF;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.hero__socials .social:hover{
  background: var(--accent);
  border-color: var(--accent);
  color: #06202B;
}

.hero__scroll-cue{
  position:absolute;
  bottom: 22px;
  left:50%;
  transform: translateX(-50%);
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display:flex;
  justify-content:center;
  padding-top: 6px;
  z-index: 2;
}
.hero__scroll-cue span{
  width:4px; height:8px;
  border-radius:2px;
  background: var(--accent);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue{
  0%{ transform: translateY(0); opacity:1; }
  60%{ transform: translateY(8px); opacity:0.2; }
  100%{ transform: translateY(0); opacity:1; }
}

/* =============== Sections =============== */
.section{
  padding: 3.5rem 0;
  background-image: radial-gradient(circle at 100% 0%, rgba(14,174,196,0.06), transparent 55%);
}
.section--accent{
  background: linear-gradient(180deg, rgba(10,35,66,0.045), rgba(255,255,255,0) 80%);
}

.section__header{ margin-bottom: 1.7rem; text-align:center; max-width: 560px; margin-left:auto; margin-right:auto; }
.section__eyebrow{
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}
.section__title{
  margin:0;
  font-size: 1.9rem;
  color: var(--navy);
  letter-spacing: -0.4px;
}
.section__subtitle{
  margin: 0.6rem 0 0;
  color: rgba(10, 35, 66, 0.72);
}

/* =============== Feature Cards =============== */
.cards-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.card{
  background: var(--surface);
  border: 1px solid rgba(10,35,66,0.10);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem 1.1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
  min-height: 186px;
}

.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 35, 66, 0.14);
  border-color: rgba(10,35,66,0.18);
}

.card__icon{
  width: 46px; height: 46px;
  border-radius: 16px;
  background: rgba(10,35,66,0.07);
  display:grid;
  place-items:center;
  margin-bottom: 0.85rem;
}

.card__title{
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-size: 1.07rem;
}

.card__desc{
  margin:0;
  color: rgba(10, 35, 66, 0.72);
  font-size: 0.98rem;
}

/* =============== Inputs =============== */
.input{
  width: 100%;
  padding: 0.95rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(10,35,66,0.18);
  background: rgba(10,35,66,0.04);
  color: rgba(10, 35, 66, 0.90);
  outline: none;
  font-family: inherit;
  font-size: 0.97rem;
}

.input:focus{
  border-color: var(--navy);
}

.input:disabled{
  opacity: 0.85;
}

/* =============== Footer =============== */
.footer{
  padding: 2rem 0;
  border-top: 1px solid rgba(10,35,66,0.08);
  background: #fff;
}

.footer__grid{
  display:flex;
  justify-content: space-between;
  gap: 1rem;
  align-items:flex-start;
}

.footer__brand{
  font-weight: 700;
  color: var(--navy);
}

.footer__small{
  margin-top: 0.35rem;
  color: rgba(10, 35, 66, 0.68);
  font-size: 0.95rem;
}

/* =============== Reveal Animations =============== */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =============== Responsive =============== */
@media (max-width: 980px){
  .cards-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid{ flex-direction: column; }
}

@media (max-width: 640px){
  .nav__toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav__links{
    position:absolute;
    right: 1rem;
    top: 76px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(10,35,66,0.10);
    box-shadow: 0 20px 50px rgba(10,35,66,0.12);
    padding: 0.75rem;
    border-radius: 18px;
    width: min(260px, calc(100% - 2rem));
    display:none;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }
  .nav__links.is-open{ display:flex; }
  .nav__link{ width: 100%; }

  .hero{ padding: 2.6rem 0 3.2rem; }
  .hero__bracket{ width: 18px; height: 18px; }
  .hero__form{ flex-direction: column; }
  .hero__form .btn{ width: 100%; }

  .cards-grid{ grid-template-columns: 1fr; }
}

@media (max-height: 700px) and (max-width: 640px){
  .hero__scroll-cue{ display:none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ transition: none; }
  .reveal.is-visible{ transform:none; }
  .card:hover{ transform:none; }
  .btn--primary:hover{ transform:none; }
  .hero__scroll-cue span{ animation:none; }
}