/* Premium landing page styles — TestRun Coming Soon */

:root{
  --ink:#1f2f4f;
  --muted:#50648a;

  --glass: rgba(255,255,255,.72);
  --glass2: rgba(255,255,255,.55);
  --stroke: rgba(255,255,255,.55);

  --shadow: 0 22px 55px rgba(16, 31, 62, .12);
  --shadow2: 0 12px 30px rgba(16, 31, 62, .10);

  --blue1:#2f66b6;
  --blue2:#3a7cd8;

  --green1:#2f8b6b;
  --green2:#36a37d;

  --radius: 22px;
  --max: 1120px;
}

*{ 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: var(--ink);
}

.bg{
  min-height:100%;
  position:relative;
  overflow:hidden;
  z-index: 0;
  background:
    radial-gradient(1200px 680px at 78% 20%, rgba(58,124,216,.18), transparent 60%),
    radial-gradient(980px 640px at 90% 40%, rgba(54,163,125,.14), transparent 65%),
    radial-gradient(1050px 720px at 22% 70%, rgba(58,124,216,.14), transparent 65%),
    linear-gradient(180deg, #f6f9ff 0%, #eef5ff 35%, #edf3ff 100%);
}

.noise{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.08;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode:multiply;
}

.wrap{
  position:relative;
  max-width: var(--max);
  margin:0 auto;
  padding: 34px 22px 28px;
  z-index: 1;
}

/* Floating orbs */
.orb{
  position:absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(26px);
  opacity: .8;
  pointer-events:none;
  transform: translate3d(0,0,0);
  animation: float 10s ease-in-out infinite;
}

.orb--a{
  top:-220px; right:-220px;
  background: radial-gradient(circle at 30% 30%, rgba(58,124,216,.55), transparent 60%);
}
.orb--b{
  top: 220px; left:-260px;
  width: 620px; height:620px;
  background: radial-gradient(circle at 40% 40%, rgba(54,163,125,.45), transparent 62%);
  animation-duration: 12s;
}
.orb--c{
  bottom:-260px; right: 120px;
  width: 680px; height:680px;
  background: radial-gradient(circle at 35% 35%, rgba(58,124,216,.30), transparent 62%);
  animation-duration: 14s;
}

@keyframes float{
  0%,100%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(0, -18px, 0); }
}

@media (prefers-reduced-motion: reduce){
  .orb{ animation:none; }
}

/* Header */
.header{
  display:flex;
  justify-content:center;
  padding-bottom: 14px;
}
.brandLogo{
  height: 78px;
  width:auto;
  display:block;
}

/* Hero */
.hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items:center;
  padding: 10px 2px 6px;
}

.hero-img {
  position: absolute;
  top: 220px;
  right: -30px;
  z-index: -2;
  width: 60%;
}

.hero-img img {
  width: 100%;
}

.heroLeft h1{
  margin:0 0 14px;
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: -0.9px;
}

.heroLeft p{
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
}

.heroLeft p.muted{ color: rgba(80,100,138,.95); }

.heroLeft p.heroWhy{
  margin-top: 4px;
  color: rgba(31,47,79,.82);
}

.pillRow{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 16px;
}
.pill{
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  color: rgba(31,47,79,.88);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 10px 18px rgba(16,31,62,.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.heroRight{
  display:flex;
  justify-content:center;
}

.heroArtFrame{
  width: 100%;
  max-width: 520px;
  border-radius: 26px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.60);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow:hidden;
  position:relative;
}

/* subtle highlight */
.heroArtFrame::before{
  content:"";
  position:absolute;
  inset:-40% -20% auto -20%;
  height: 70%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.75), transparent 60%);
  opacity:.55;
  pointer-events:none;
}

.heroArt{
  display:block;
  width:100%;
  height:auto;
  transform: translateZ(0);
}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 14px;
}

.card{
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 22px 18px;
  position:relative;
  overflow:hidden;
}

.card::after{
  content:"";
  position:absolute;
  inset:auto -60px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(58,124,216,.20), transparent 62%);
  filter: blur(1px);
  pointer-events:none;
}

.card--dev {
  background-image: url(images/teams.png);
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: right bottom;  
}

.card--test {
  background-image: url(images/testers.png);
  background-repeat: no-repeat;
  background-size: 45%;
  background-position: right bottom;
}

.card--test::after{
  background: radial-gradient(circle at 30% 30%, rgba(54,163,125,.18), transparent 62%);
}

.cardHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card h2{
  margin:0;
  font-size: 20px;
  letter-spacing:-0.3px;
}

.badge{
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  color: rgba(47,102,182,.95);
  background: rgba(58,124,216,.14);
  border: 1px solid rgba(58,124,216,.22);
  white-space:nowrap;
}
.badge--green{
  color: rgba(47,139,107,.98);
  background: rgba(54,163,125,.14);
  border: 1px solid rgba(54,163,125,.22);
}

.tickList{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
  color: var(--muted);
  font-size: 16px;
}
.tickList li{
  position:relative;
  padding-left: 26px;
  line-height: 1.45;
}
.tickList li::before{
  content:"";
  position:absolute;
  left:0;
  top: 0.34em;
  width: 14px;
  height: 8px;
  border-left: 3px solid rgba(54,163,125,.95);
  border-bottom: 3px solid rgba(54,163,125,.95);
  transform: rotate(-45deg);
}


  /* Audience radios: big tap targets, wrap cleanly */
.audience-toggle{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin:14px 0 14px;
}

/* hide native radios */
.audience-toggle input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

/* base pill */
.audience-toggle label{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  font-size:0.95rem;
  cursor:pointer;

  background: rgba(255,255,255,0.65);
  border: 2px solid rgba(10, 35, 66, 0.18);
  color:#18324f;

  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

/* make check hidden by default */
.audience-toggle .tick{
  display:none;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  opacity:0;
  transform:scale(0.85);
  transition: opacity .15s ease, transform .15s ease;
}

/* SELECTED */
.audience-toggle input:checked + label{
  background:#2f8f64;
  border-color:#2f8f64;
  box-shadow: 0 8px 18px rgba(47,143,100,0.28);
  outline:3px solid rgba(47,143,100,0.35);
  color:#fff;
  transform: translateY(-1px);
}

/* show the check when selected */
.audience-toggle input:checked + label .tick{
  display: inline-grid;
  opacity:1;
  transform:scale(1);
  background: rgba(255,255,255,0.22);
}

/* keyboard focus */
.audience-toggle input:focus + label{
  outline:3px solid rgba(31,111,235,0.35);
  outline-offset:2px;
}

/* CTA */
.cta{
  margin-top: 16px;
}
.ctaGlass{
  padding: 18px 18px 14px;
  text-align:center;
}
.cta h3{
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.3px;
}

.ctaForm{
  display:flex;
  flex-direction: column;
  justify-content:center;
  gap: 10px;
  flex-wrap:wrap;
}

.cta-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 10px;
}

.ctaForm input[type=email] {
  width: min(520px, 92vw);
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(31,47,79,.16);
  background: rgba(255,255,255,.92);
  font-size: 16px;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.ctaForm input[type=email]:focus{
  border-color: rgba(58,124,216,.55);
  box-shadow: 0 0 0 5px rgba(58,124,216,.18);
}

.ctaForm button {
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--green1), var(--green2));
  box-shadow: 0 18px 30px rgba(54,163,125,.22);
  cursor:pointer;
  transition: transform .15s ease, filter .15s ease;
}
.ctaForm button:hover{ filter: brightness(1.02); transform: translateY(-1px); }
.ctaForm button:active{ transform: translateY(0px); }

.ctaFine{
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(80,100,138,.92);
}
.ctaLead{
  margin: -4px 0 8px;
}

.captcha-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 6px;
}

.captcha-help{
  color: rgba(80,100,138,.92);
}

/* Footer */
.footer{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 6px;
  padding-top: 18px;
  color: rgba(80,100,138,.92);
  font-size: 13px;
}

.footer .provainet-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer img{
  height: 60px;
  width:auto;
}
.footerNote{
  margin: 0;
  text-align: center;
}
.footerLinks{
  margin: 0;
  text-align: center;
  font-size: 13px;
}

.footerLinks a{
  color: var(--blue2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footerLinks a[aria-current="page"]{
  color: rgba(80,100,138,.92);
  text-decoration: none;
  cursor: default;
}

/* Thank-you page */
.thanksMain{
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: 14px 0 8px;
}

.thanksCard{
  width: min(720px, 100%);
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.thanksCard::after{
  content:"";
  position:absolute;
  inset:auto -70px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(54,163,125,.18), transparent 62%);
  pointer-events:none;
}

.thanksBadge{
  margin: 0 auto 10px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  color: rgba(47,139,107,.98);
  background: rgba(54,163,125,.14);
  border: 1px solid rgba(54,163,125,.22);
}

.thanksCard h1{
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}

.thanksLead{
  margin: 0 auto 10px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.thanksFine{
  margin: 0 auto;
  max-width: 52ch;
  color: rgba(80,100,138,.92);
  font-size: 14px;
  line-height: 1.5;
}

.thanksActions{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.thanksBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(31,47,79,.16);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 18px rgba(16,31,62,.06);
  transition: transform .15s ease, filter .15s ease;
}

.thanksBtn:hover{
  filter: brightness(1.01);
  transform: translateY(-1px);
}

.thanksBtn--primary{
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--green1), var(--green2));
  box-shadow: 0 18px 30px rgba(54,163,125,.22);
}

/* Legal page */
.legalMain{
  display: grid;
  place-items: center;
  padding: 10px 0 8px;
}

.legalCard{
  width: min(860px, 100%);
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 26px 22px;
}

.legalCard h1{
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}

.legalCard p,
.legalCard li{
  color: rgba(80,100,138,.96);
  line-height: 1.6;
  font-size: 15px;
}

.legalCard p{
  margin: 0 0 10px;
}

.legalCard a{
  color: var(--blue2);
}

.legalUpdated{
  margin: 0 0 14px;
  font-size: 13px;
  color: rgba(80,100,138,.88);
}

.legalSection{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.5);
}

.legalSection h2{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.legalSection ul{
  margin: 0;
  padding-left: 18px;
}

.legalActions{
  margin-top: 20px;
  justify-content: flex-start;
}

/* Consent banner */
.consentBanner{
  position: fixed;
  inset: auto 14px 14px 14px;
  z-index: 50;
  display: grid;
  justify-items: center;
}
.consentBanner[hidden]{
  display: none !important;
}

.consentCard{
  width: min(760px, 100%);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow2);
  border-radius: 18px;
  padding: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.consentTitle{
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--ink);
}

.consentText{
  margin: 0;
  color: rgba(80,100,138,.95);
  font-size: 14px;
  line-height: 1.45;
}

.consentMeta{
  margin: 8px 0 0;
  font-size: 13px;
}

.consentMeta a{
  color: var(--blue2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consentActions{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.consentBtn{
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(31,47,79,.16);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.consentBtn--primary{
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--green1), var(--green2));
  box-shadow: 0 10px 18px rgba(54,163,125,.18);
}

/* Toast */
.toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(255,255,255,.70);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(12px);
  opacity: 0;
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show{
  opacity: 1;
  transform: translateY(0);
}

.toastIcon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green1), var(--green2));
  box-shadow: 0 12px 20px rgba(54,163,125,.18);
}

.toastTitle{ font-weight: 800; letter-spacing:-0.2px; }
.toastBody{ color: rgba(80,100,138,.95); font-size: 13px; margin-top: 2px; }

/* A11y */
.srOnly{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Responsive */
@media (max-width: 980px){
  /* Stack hero and stop artwork from overlapping copy */
  .hero{
    grid-template-columns: 1fr;
    gap: 14px;
    text-align:left;
    position: relative;
  }
  .hero-img{
    position: static;
    order: 2;
    width: min(680px, 100%);
    margin: 10px auto 0;
    z-index: 0;
  }
  .heroLeft{ order: 1; }
  .heroLeft h1{ font-size: 40px; }

  .cards{ grid-template-columns: 1fr; }

  /* Make card background illustrations safe on mobile */
  .card--dev,
  .card--test{
    padding-bottom: 180px;
  }

  .thanksMain{ min-height: 52vh; }
  .thanksCard{ padding: 22px 18px; }
  .legalCard{ padding: 22px 18px; }

  .consentActions{ justify-content: stretch; }
  .consentBtn{ flex: 1 1 140px; }
}

@media (max-width: 560px){
  /* Tighter typography */
  .heroLeft h1{ font-size: 34px; line-height: 1.08; }
  .heroLeft p{ font-size: 15px; }
  .pillRow{ gap: 8px; }
  .pill{ padding: 10px 14px; }

  /* Cards: keep text clear of artwork */
  .card{ padding: 18px 16px 16px; }
  .card--dev{ background-size: min(340px, 92%); padding-bottom: 200px; }
  .card--test{ background-size: min(300px, 70%); padding-bottom: 200px; }

  /* Forms/buttons: avoid squish */
  .cta-row{ gap: 10px; width: 100%; }
  .ctaBtn{ width: min(520px, 92vw); }

  /* Thank-you & privacy: buttons stack nicely */
  .thanksActions{ flex-direction: column; }
  .thanksBtn{ width: 100%; text-align:center; }

  .audience-toggle{ gap:8px; }
  .audience-toggle label{ width:100%; justify-content:center; padding:12px 14px; }
}