/* DetectraPro Register — Research-era redesign */

.register-page{
  --reg-bg:#06110b;
  --reg-panel:#0b1710;
  --reg-card:#0e1b13;
  --reg-card-2:#111f17;
  --reg-line:rgba(255,255,255,.11);
  --reg-line-green:rgba(119,255,69,.46);
  --reg-green:#78f044;
  --reg-green-2:#97ff64;
  --reg-text:#f3f7f4;
  --reg-muted:#a6b5ab;
  --reg-soft:#718077;
}

.register-page .site-main,
.register-page main{
  background:#06110b;
}

.reg-page{
  min-height:calc(100vh - 80px);
  background:
    radial-gradient(circle at 74% 18%,rgba(78,153,62,.09),transparent 25%),
    radial-gradient(circle at 12% 70%,rgba(60,120,49,.06),transparent 28%),
    #06110b;
  color:var(--reg-text);
}

.reg-shell{
  width:min(1420px,calc(100% - 54px));
  margin:0 auto;
  padding:34px 0 30px;
  display:grid;
  grid-template-columns:minmax(0,.91fr) minmax(620px,1.09fr);
  min-height:790px;
}

/* STORY PANEL */

.reg-story-panel{
  position:relative;
  overflow:hidden;
  min-height:760px;
  border:1px solid rgba(255,255,255,.07);
  border-right:0;
  border-radius:24px 0 0 24px;
  background:#09130d;
}

.reg-story-bg{
  position:absolute;
  inset:0;
  background:
    url("/images/research-past-present.jpg") center/cover no-repeat;
  filter:saturate(.78) brightness(.63);
  transform:scale(1.02);
}

.reg-story-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(4,12,8,.97) 0%,rgba(4,12,8,.84) 42%,rgba(4,12,8,.35) 100%),
    linear-gradient(180deg,rgba(4,12,8,.94) 0%,rgba(4,12,8,.43) 48%,rgba(4,12,8,.75) 100%);
}

.reg-story-content{
  position:relative;
  z-index:2;
  min-height:100%;
  padding:54px 52px 44px;
  display:flex;
  flex-direction:column;
}

.reg-eyebrow,
.reg-mobile-eyebrow{
  display:block;
  color:var(--reg-green);
  font-size:12px;
  line-height:1;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.reg-story-content h1{
  max-width:600px;
  margin:16px 0 14px;
  font-size:clamp(42px,4vw,66px);
  line-height:.99;
  letter-spacing:-.045em;
  font-weight:800;
}

.reg-story-content h1 span{
  color:var(--reg-green);
}

.reg-story-lead{
  max-width:510px;
  margin:0;
  color:#d2dbd5;
  font-size:18px;
  line-height:1.55;
}

.reg-benefits{
  display:grid;
  gap:17px;
  max-width:485px;
  margin-top:32px;
}

.reg-benefit{
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  gap:17px;
  align-items:center;
}

.reg-benefit-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border:1px solid rgba(128,255,76,.25);
  border-radius:13px;
  background:rgba(8,23,14,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  color:var(--reg-green);
  font-size:25px;
}

.reg-benefit strong{
  display:block;
  margin-bottom:3px;
  color:#fff;
  font-size:16px;
}

.reg-benefit span{
  display:block;
  color:#c3cec6;
  font-size:14px;
  line-height:1.45;
}

.reg-story-note{
  width:min(370px,80%);
  margin-top:auto;
  padding:17px 19px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:15px;
  background:rgba(6,17,10,.84);
  box-shadow:0 18px 44px rgba(0,0,0,.25);
  backdrop-filter:blur(10px);
}

.reg-story-note span{
  display:block;
  margin-bottom:7px;
  color:var(--reg-green);
  font-size:10px;
  font-weight:850;
  letter-spacing:.13em;
}

.reg-story-note strong{
  display:block;
  color:#fff;
  font-size:15px;
}

.reg-story-note p{
  margin:5px 0 0;
  color:#b7c4bc;
  font-size:13px;
  line-height:1.45;
}

/* FORM PANEL */

.reg-form-panel{
  position:relative;
  z-index:3;
  align-self:center;
  min-height:760px;
  padding:38px 40px 30px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:0 24px 24px 0;
  background:
    linear-gradient(180deg,rgba(16,30,22,.98),rgba(8,20,13,.99));
  box-shadow:0 26px 80px rgba(0,0,0,.28);
}

.reg-form-heading h2{
  margin:0;
  color:#fff;
  font-size:34px;
  line-height:1.08;
  letter-spacing:-.03em;
}

.reg-form-heading p{
  margin:7px 0 0;
  color:var(--reg-muted);
  font-size:15px;
}

.reg-mobile-eyebrow{
  display:none;
  margin-bottom:10px;
}

.reg-alert{
  display:grid;
  grid-template-columns:26px 1fr;
  gap:10px;
  align-items:start;
  margin:20px 0 0;
  padding:13px 14px;
  border:1px solid rgba(255,95,110,.38);
  border-radius:12px;
  background:rgba(110,22,32,.18);
  color:#ffd8dd;
  font-size:13px;
  line-height:1.45;
}

.reg-alert > span{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#d74b5c;
  color:#fff;
  font-weight:800;
}

.reg-form{
  margin-top:25px;
}

.reg-field-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.reg-field-full{
  grid-column:1 / -1;
}

.reg-field label,
.reg-label{
  display:block;
  margin-bottom:8px;
  color:#eef4f0;
  font-size:13px;
  font-weight:700;
}

.reg-field input{
  width:100%;
  height:48px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:9px;
  outline:0;
  background:#132018;
  color:#fff;
  font:inherit;
  font-size:14px;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}

.reg-field input::placeholder{
  color:#74847a;
}

.reg-field input:focus{
  border-color:rgba(124,255,73,.62);
  background:#15241b;
  box-shadow:0 0 0 3px rgba(119,255,69,.08);
}

.reg-password-wrap{
  position:relative;
}

.reg-password-wrap input{
  padding-right:88px;
}

.reg-password-toggle{
  position:absolute;
  top:50%;
  right:9px;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:6px;
  height:32px;
  padding:0 8px;
  border:0;
  background:transparent;
  color:#dce6df;
  cursor:pointer;
  font-size:12px;
}

.reg-eye{
  color:#adbbb2;
  font-size:14px;
}

.reg-password-rule{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:8px;
  color:#88988e;
  font-size:11px;
}

.reg-password-rule > span{
  width:9px;
  height:9px;
  border:1px solid #6c7e72;
  border-radius:50%;
}

.reg-password-rule > span.is-valid{
  border-color:var(--reg-green);
  background:var(--reg-green);
  box-shadow:0 0 0 3px rgba(119,255,69,.08);
}

.reg-plan-heading{
  margin:27px 0 12px;
}

.reg-plan-heading > div{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
}

.reg-plan-heading .reg-label{
  margin:0;
  font-size:18px;
}

.reg-plan-heading p{
  margin:0;
  max-width:380px;
  color:#8f9f95;
  font-size:11px;
  text-align:right;
}

.reg-plan-grid{
  display:grid;
  grid-template-columns:1fr 1.08fr;
  gap:14px;
}

.reg-plan-card{
  position:relative;
  min-width:0;
  min-height:286px;
  padding:20px 18px 17px;
  border:1px solid rgba(255,255,255,.17);
  border-radius:14px;
  background:rgba(12,27,18,.76);
  cursor:pointer;
  transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease;
}

.reg-plan-card:hover{
  border-color:rgba(135,255,88,.35);
  background:rgba(15,32,22,.9);
}

.reg-plan-card.is-selected{
  border-color:var(--reg-green);
  background:
    linear-gradient(180deg,rgba(31,63,36,.68),rgba(13,30,19,.92));
  box-shadow:
    0 0 0 1px rgba(119,255,69,.08),
    0 14px 36px rgba(0,0,0,.16);
}

.reg-plan-card input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.reg-plan-radio{
  position:absolute;
  top:18px;
  right:17px;
  width:20px;
  height:20px;
  border:2px solid #71837a;
  border-radius:50%;
}

.reg-plan-card.is-selected .reg-plan-radio{
  border-color:var(--reg-green);
  box-shadow:inset 0 0 0 5px var(--reg-green);
  background:#102316;
}

.reg-plan-badge{
  position:absolute;
  top:-10px;
  left:16px;
  display:inline-flex;
  align-items:center;
  min-height:21px;
  padding:3px 8px;
  border-radius:999px;
  background:var(--reg-green);
  color:#09200e;
  font-size:8px;
  line-height:1;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.reg-plan-title{
  padding-right:31px;
}

.reg-plan-title > strong{
  display:block;
  color:#fff;
  font-size:17px;
}

.reg-plan-price{
  display:flex;
  align-items:baseline;
  gap:5px;
  margin-top:3px;
}

.reg-plan-price b{
  color:#fff;
  font-size:17px;
}

.reg-plan-price span{
  color:#c4cec7;
  font-size:12px;
}

.reg-plan-card > p{
  margin:10px 0 10px;
  color:#9eaea4;
  font-size:11px;
}

.reg-plan-card ul{
  display:grid;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}

.reg-plan-card li{
  position:relative;
  padding-left:20px;
  color:#d2dcd5;
  font-size:11px;
  line-height:1.35;
}

.reg-plan-card li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:-1px;
  color:var(--reg-green);
  font-size:13px;
  font-weight:900;
}

.reg-terms{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:18px 0 14px;
  color:#aab8af;
  font-size:11px;
  line-height:1.45;
  cursor:pointer;
}

.reg-terms input{
  position:absolute;
  opacity:0;
}

.reg-check{
  flex:0 0 16px;
  width:16px;
  height:16px;
  margin-top:1px;
  border:1px solid #6d7f74;
  border-radius:3px;
  background:#15231a;
}

.reg-terms input:checked + .reg-check{
  border-color:var(--reg-green);
  background:var(--reg-green);
  box-shadow:inset 0 0 0 3px #112017;
}

.reg-terms a,
.reg-login-link a{
  color:var(--reg-green);
  text-decoration:none;
}

.reg-terms a:hover,
.reg-login-link a:hover{
  text-decoration:underline;
}

.reg-submit{
  width:100%;
  min-height:48px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  padding:0 18px;
  border:0;
  border-radius:9px;
  background:linear-gradient(90deg,#72dd3e,#8cf351);
  color:#07150a;
  cursor:pointer;
  font-size:14px;
  font-weight:850;
  transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;
}

.reg-submit:hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
  box-shadow:0 10px 28px rgba(101,220,58,.16);
}

.reg-submit b{
  font-size:18px;
}

.reg-payment-note{
  margin-top:10px;
  color:#aab8af;
  font-size:10px;
  text-align:center;
}

.reg-payment-note > span{
  margin-right:5px;
  color:var(--reg-green);
}

.reg-payment-note small{
  display:block;
  margin-top:3px;
  color:#77877d;
  font-size:10px;
}

.reg-login-link{
  margin:17px 0 0;
  color:#8e9f94;
  font-size:11px;
  text-align:center;
}

/* TRUST STRIP */

.reg-trust{
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.06);
  background:#0a1510;
}

.reg-trust-shell{
  width:min(1180px,calc(100% - 44px));
  margin:0 auto;
  min-height:72px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  align-items:center;
}

.reg-trust-shell > div{
  min-width:0;
  display:grid;
  grid-template-columns:34px 1fr;
  column-gap:10px;
  padding:10px 23px;
  border-right:1px solid rgba(255,255,255,.09);
}

.reg-trust-shell > div:last-child{
  border-right:0;
}

.reg-trust-shell span{
  grid-row:1 / span 2;
  align-self:center;
  color:#91a69a;
  font-size:20px;
}

.reg-trust-shell strong{
  display:block;
  color:#d9e2dc;
  font-size:11px;
}

.reg-trust-shell small{
  display:block;
  margin-top:2px;
  color:#68786e;
  font-size:9px;
}

/* RESPONSIVE */

@media (max-width:1120px){
  .reg-shell{
    width:min(980px,calc(100% - 38px));
    grid-template-columns:.78fr 1.22fr;
  }

  .reg-story-content{
    padding:45px 34px 38px;
  }

  .reg-story-content h1{
    font-size:48px;
  }

  .reg-form-panel{
    padding:34px 28px 26px;
  }

  .reg-plan-grid{
    grid-template-columns:1fr;
  }

  .reg-plan-card{
    min-height:0;
  }

  .reg-plan-card ul{
    grid-template-columns:1fr 1fr;
  }

  .reg-trust-shell{
    grid-template-columns:1fr 1fr;
  }

  .reg-trust-shell > div:nth-child(2){
    border-right:0;
  }
}

@media (max-width:820px){
  .reg-shell{
    width:min(680px,calc(100% - 28px));
    padding-top:22px;
    grid-template-columns:1fr;
  }

  .reg-story-panel{
    min-height:430px;
    border-right:1px solid rgba(255,255,255,.07);
    border-radius:20px 20px 0 0;
  }

  .reg-story-content{
    min-height:430px;
    padding:38px 30px 32px;
  }

  .reg-story-content h1{
    max-width:520px;
    font-size:45px;
  }

  .reg-story-lead{
    max-width:520px;
  }

  .reg-benefits{
    grid-template-columns:1fr 1fr;
    max-width:none;
  }

  .reg-benefit:last-child{
    grid-column:1 / -1;
  }

  .reg-story-note{
    display:none;
  }

  .reg-form-panel{
    min-height:0;
    border-radius:0 0 20px 20px;
  }

  .reg-mobile-eyebrow{
    display:block;
  }
}

@media (max-width:600px){
  .reg-shell{
    width:100%;
    padding:0;
  }

  .reg-story-panel,
  .reg-form-panel{
    border-left:0;
    border-right:0;
    border-radius:0;
  }

  .reg-story-panel{
    min-height:370px;
  }

  .reg-story-content{
    min-height:370px;
    padding:34px 20px 28px;
  }

  .reg-story-content h1{
    margin-top:13px;
    font-size:38px;
  }

  .reg-story-lead{
    font-size:15px;
  }

  .reg-benefits{
    display:none;
  }

  .reg-form-panel{
    padding:28px 18px 26px;
  }

  .reg-form-heading h2{
    font-size:29px;
  }

  .reg-field-grid{
    grid-template-columns:1fr;
  }

  .reg-field-full{
    grid-column:auto;
  }

  .reg-plan-heading > div{
    display:block;
  }

  .reg-plan-heading p{
    margin-top:5px;
    text-align:left;
  }

  .reg-plan-grid{
    gap:16px;
  }

  .reg-plan-card{
    padding:19px 16px 16px;
  }

  .reg-plan-card ul{
    grid-template-columns:1fr;
  }

  .reg-trust-shell{
    width:100%;
    grid-template-columns:1fr 1fr;
  }

  .reg-trust-shell > div{
    padding:12px 14px;
  }
}

@media (max-width:390px){
  .reg-story-content h1{
    font-size:34px;
  }

  .reg-form-panel{
    padding-left:14px;
    padding-right:14px;
  }

  .reg-trust-shell{
    grid-template-columns:1fr;
  }

  .reg-trust-shell > div,
  .reg-trust-shell > div:nth-child(2){
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.07);
  }
}

@media (prefers-reduced-motion:reduce){
  .reg-plan-card,
  .reg-submit{
    transition:none;
  }
}
