/* Bridge2Value starter site
   - Plain HTML/CSS/JS for AWS S3 static hosting
   - Edit CSS variables to rebrand quickly
*/

:root{
  --bg: #0b1220;
  --bg2: #0f1a33;
  --surface: rgba(255,255,255,.06);
  --surface2: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.56);
  --border: rgba(255,255,255,.14);

  --accent: #4f46e5; /* indigo */
  --accent2: #06b6d4; /* cyan */
  --good: #22c55e;

  --shadow: 0 18px 50px rgba(0,0,0,.35);

  --radius: 16px;
  --radius-sm: 12px;

  --container: 1120px;
  --pad: 24px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(79,70,229,.35), transparent 55%),
              radial-gradient(1000px 500px at 90% 0%, rgba(6,182,212,.25), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  line-height: 1.55;
}

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

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

.container{
  width: min(var(--container), calc(100% - 2*var(--pad)));
  margin-inline: auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 10px; }

.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 */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11,18,32,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

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

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

.site-nav{
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-nav a{ color: var(--muted); font-weight: 600; font-size: 14px; }
.site-nav a:hover{ color: var(--text); text-decoration: none; }

.nav-toggle{
  display: none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.nav-toggle-bars{
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,.85);
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,.85);
}
.nav-toggle-bars::before{ top: -6px; }
.nav-toggle-bars::after{ top: 6px; }

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(90deg, rgba(79,70,229,.95), rgba(6,182,212,.80));
  color: rgba(255,255,255,.96);
  font-weight: 750;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.btn:hover{ filter: brightness(1.05); }
.btn:active{ transform: translateY(1px); }

.btn--ghost{
  background: rgba(255,255,255,.06);
  box-shadow: none;
}
.btn--wide{ width: 100%; }

.btn--sm{
  padding: 10px 14px;
  border-radius: 12px;
}

/* Hero */
.hero{
  position: relative;
  padding: 74px 0 40px;
  overflow: hidden;
}
.hero-bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 70% 20%, rgba(79,70,229,.25), transparent 60%),
    radial-gradient(500px 260px at 40% 75%, rgba(34,197,94,.12), transparent 60%),
    radial-gradient(700px 300px at 10% 20%, rgba(6,182,212,.18), transparent 60%);
  pointer-events: none;
  opacity: .9;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 26px;
  align-items: center;
  position: relative;
}

.eyebrow{
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 12px;
}

.hero h1{
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  margin: 0 0 14px;
}
.lead{
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 20px;
  max-width: 60ch;
}

.cta-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-badges li{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}
.hero-badges strong{ color: var(--text); }

.hero-card{ display: flex; justify-content: end; }
.glass-card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  padding: 18px;
  width: min(420px, 100%);
}
.glass-card h2{
  margin: 0 0 8px;
  font-size: 18px;
}
.glass-card p{ margin: 0 0 12px; color: var(--muted); }

.checklist{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.checklist li{
  padding-left: 26px;
  position: relative;
  margin: 8px 0;
  color: var(--muted);
}
.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: rgba(34,197,94,.95);
}

.fineprint{
  color: var(--muted2);
  font-size: 13px;
  margin: 10px 0 0;
}

/* Sections */
.section{
  padding: 64px 0;
}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.section-head{
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
}
.section-head h2{
  margin: 0;
  font-size: 30px;
}
.section-head p{
  margin: 0;
  color: var(--muted);
}

/* Cards */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 18px;
  box-shadow: 0 14px 35px rgba(0,0,0,.20);
}
.card h3{ margin: 0 0 8px; font-size: 18px; }
.card p{ margin: 0 0 12px; color: var(--muted); }

.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.bullets li{ margin: 6px 0; }

/* Steps */
.steps{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.step{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 16px;
  border-radius: var(--radius);
}
.step h3{ margin: 0 0 6px; font-size: 18px; }
.step p{ margin: 0; color: var(--muted); }

.outcomes{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.outcome{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 16px;
  border-radius: var(--radius);
}
.outcome h3{ margin: 0 0 10px; }

/* Pricing */
.pricing{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}
.price-card{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 18px;
  border-radius: var(--radius);
  position: relative;
}
.price-card h3{ margin: 0 0 6px; }
.price{
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 700;
}
.price-card--featured{
  border-color: rgba(6,182,212,.35);
  background: linear-gradient(180deg, rgba(6,182,212,.10), rgba(79,70,229,.08));
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.pill{
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
}

.note{
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-top: 18px;
}
.note p{ margin: 0; color: var(--muted); }

/* About */
.about-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.about-card{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 16px;
  border-radius: var(--radius);
}
.about-card h3{ margin: 0 0 8px; }
.about-card p{ margin: 0; color: var(--muted); }

.faq{
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding: 16px;
}
.faq h3{ margin: 0 0 10px; }
details{
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 10px;
  margin-top: 10px;
}
details:first-of-type{ border-top: 0; padding-top: 0; margin-top: 0; }
summary{
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}
details p{
  margin: 8px 0 0;
  color: var(--muted);
}

/* Contact */
.contact-grid{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 14px;
}
.contact-card{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 16px;
  border-radius: var(--radius);
}
.contact-card h3{ margin: 0 0 8px; }
.contact-card p{ margin: 0 0 10px; color: var(--muted); }

.form{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 16px;
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
}
label{ display: grid; gap: 6px; }
label span{ color: var(--muted); font-weight: 650; font-size: 13px; }
input, textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 12px 12px;
  font: inherit;
}
input:focus, textarea:focus{
  outline: 2px solid rgba(6,182,212,.35);
  outline-offset: 2px;
}
.full{ grid-column: 1 / -1; }

/* Footer */
.site-footer{
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 28px 0;
  background: rgba(0,0,0,.10);
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links a{ color: var(--muted); font-weight: 650; font-size: 14px; }
.footer-links a:hover{ color: var(--text); text-decoration: none; }
.footer-logo{ height: 22px; width: auto; opacity: .95; }

/* Reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-card{ justify-content: start; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .pricing{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .site-nav{
    display: none;
    position: absolute;
    right: var(--pad);
    top: 64px;
    flex-direction: column;
    gap: 10px;
    background: rgba(11,18,32,.88);
    border: 1px solid rgba(255,255,255,.10);
    padding: 14px;
    border-radius: 16px;
    width: min(280px, calc(100% - 2*var(--pad)));
    box-shadow: var(--shadow);
  }
  .site-nav.is-open{ display: flex; }
  .nav-toggle{ display: inline-flex; }
  .cards{ grid-template-columns: 1fr; }
  .footer-inner{ flex-direction: column; }
}
