/* Trustora v3.2 branded installer */

:root{
  --installer-navy:#071b36;
  --installer-navy-2:#0b2d4a;
  --installer-green:#009B72;
  --installer-green-light:#dff7ef;
  --installer-bg:#edf3f7;
  --installer-border:#d6e1e9;
  --installer-text:#15243a;
  --installer-muted:#667789;
  --installer-danger:#a52d38;
  --installer-warning:#8b6200;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(0,155,114,.1),
      transparent 27%
    ),
    var(--installer-bg);
  color:var(--installer-text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

button,
input,
select{
  font:inherit;
}

.installer-page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.installer-topbar{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:10px clamp(18px,4vw,58px);
  background:
    linear-gradient(
      100deg,
      var(--installer-navy),
      var(--installer-navy-2)
    );
  box-shadow:
    0 12px 32px
    rgba(4,20,43,.18);
}

.installer-brand{
  display:flex;
  align-items:center;
}

.installer-brand img{
  width:auto;
  height:52px;
  max-width:290px;
  object-fit:contain;
}

.installer-version{
  padding:7px 12px;
  border:
    1px solid rgba(255,255,255,.22);
  border-radius:999px;
  color:#dce9f2;
  background:rgba(255,255,255,.06);
  font-size:.76rem;
  font-weight:800;
}

.installer-shell{
  width:min(100%,1420px);
  margin:0 auto;
  padding:
    clamp(24px,4vw,52px)
    clamp(18px,4vw,52px);
  display:grid;
  grid-template-columns:
    minmax(250px,320px)
    minmax(0,1fr);
  gap:34px;
  flex:1;
}

.installer-sidebar{
  position:sticky;
  top:24px;
  height:max-content;
  padding:28px;
  border-radius:24px;
  color:#fff;
  background:
    linear-gradient(
      155deg,
      #071b36,
      #0b304c
    );
  box-shadow:
    0 20px 50px
    rgba(6,25,51,.18);
}

.installer-sidebar h1{
  margin:8px 0;
  font-size:1.65rem;
}

.installer-sidebar>p{
  margin:0;
  color:#bfd0de;
  line-height:1.65;
  font-size:.9rem;
}

.installer-kicker{
  color:#79dfc1;
  font-size:.7rem;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.installer-steps{
  display:grid;
  gap:8px;
  margin:28px 0;
}

.installer-step{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:11px;
  align-items:center;
  padding:10px;
  border-radius:13px;
  color:#91a7ba;
}

.installer-step>span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:
    1px solid rgba(255,255,255,.18);
  border-radius:11px;
  font-size:.75rem;
  font-weight:900;
}

.installer-step div{
  display:grid;
  gap:2px;
}

.installer-step strong{
  color:inherit;
  font-size:.83rem;
}

.installer-step small{
  color:#778fa4;
  font-size:.67rem;
}

.installer-step.active{
  color:#fff;
  background:rgba(0,155,114,.2);
  box-shadow:
    inset 0 0 0 1px
    rgba(121,223,193,.17);
}

.installer-step.active>span,
.installer-step.complete>span{
  color:#062b22;
  border-color:#79dfc1;
  background:#79dfc1;
}

.installer-step.complete{
  color:#cbd9e4;
}

.installer-detected{
  display:grid;
  gap:5px;
  padding:15px;
  border:
    1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.05);
}

.installer-detected strong{
  color:#79dfc1;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.installer-detected span{
  overflow-wrap:anywhere;
  color:#d8e5ee;
  font-size:.76rem;
}

.installer-content{
  min-width:0;
}

.installer-heading{
  margin-bottom:18px;
}

.installer-heading h2{
  margin:7px 0;
  color:var(--installer-navy);
  font-size:
    clamp(1.8rem,3vw,2.65rem);
  letter-spacing:-.035em;
}

.installer-heading p{
  max-width:760px;
  margin:0;
  color:var(--installer-muted);
  line-height:1.65;
}

.installer-card{
  padding:
    clamp(24px,4vw,42px);
  border:
    1px solid rgba(11,35,69,.08);
  border-radius:25px;
  background:#fff;
  box-shadow:
    0 20px 50px
    rgba(11,35,69,.1);
}

.installer-hero-grid{
  display:grid;
  grid-template-columns:
    minmax(0,1.2fr)
    minmax(250px,.8fr);
  gap:28px;
  align-items:start;
}

.installer-badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  color:#087254;
  background:var(--installer-green-light);
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.08em;
}

.installer-card h3{
  margin:12px 0 8px;
  color:var(--installer-navy);
  font-size:1.45rem;
}

.installer-card p{
  color:var(--installer-muted);
  line-height:1.7;
}

.installer-feature-list{
  display:grid;
  gap:9px;
  margin:22px 0 0;
  padding:0;
  list-style:none;
}

.installer-feature-list li{
  position:relative;
  padding-left:25px;
  color:#31475d;
}

.installer-feature-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--installer-green);
  font-weight:900;
}

.installer-preview-panel{
  display:grid;
  gap:7px;
  padding:22px;
  border:
    1px solid var(--installer-border);
  border-radius:18px;
  background:
    linear-gradient(
      145deg,
      #f8fbfd,
      #edf8f4
    );
}

.installer-preview-panel strong{
  color:var(--installer-navy);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.installer-preview-panel span{
  overflow-wrap:anywhere;
  color:var(--installer-muted);
  font-size:.82rem;
}

.installer-choice-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:13px;
  margin-top:28px;
}

.installer-choice,
.installer-option{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:18px;
  border:
    1px solid var(--installer-border);
  border-radius:16px;
  background:#fff;
  cursor:pointer;
}

.installer-choice:hover,
.installer-option:hover{
  border-color:#8ccfbb;
  background:#f7fcfa;
}

.installer-choice input,
.installer-option input{
  width:18px;
  height:18px;
  margin-top:2px;
  accent-color:var(--installer-green);
}

.installer-choice span,
.installer-option span{
  display:grid;
  gap:4px;
}

.installer-choice strong,
.installer-option strong{
  color:var(--installer-navy);
}

.installer-choice small,
.installer-option small{
  color:var(--installer-muted);
  line-height:1.5;
}

.installer-check-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:10px;
}

.installer-check{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:11px;
  align-items:center;
  padding:14px;
  border:
    1px solid var(--installer-border);
  border-radius:14px;
}

.installer-check>span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  font-weight:900;
}

.installer-check div{
  display:grid;
  gap:3px;
}

.installer-check strong{
  color:var(--installer-navy);
  font-size:.84rem;
}

.installer-check small{
  color:var(--installer-muted);
  overflow-wrap:anywhere;
}

.installer-check.pass{
  background:#f0faf6;
}

.installer-check.pass>span{
  color:#087254;
  background:#d7f4e9;
}

.installer-check.fail{
  background:#fff0f1;
}

.installer-check.fail>span{
  color:var(--installer-danger);
  background:#ffdfe3;
}

.installer-check.warn{
  background:#fff9e8;
}

.installer-check.warn>span{
  color:var(--installer-warning);
  background:#fff0c5;
}

.installer-form-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:15px;
}

.installer-form-grid label{
  display:grid;
  gap:7px;
  color:var(--installer-navy);
  font-size:.84rem;
  font-weight:800;
}

.installer-form-grid input,
.installer-form-grid select{
  width:100%;
  min-height:46px;
  border:
    1px solid var(--installer-border);
  border-radius:12px;
  padding:11px 12px;
  color:var(--installer-text);
  background:#fff;
  outline:none;
}

.installer-form-grid input:focus,
.installer-form-grid select:focus{
  border-color:var(--installer-green);
  box-shadow:
    0 0 0 3px
    rgba(0,155,114,.12);
}

.installer-form-grid small{
  color:var(--installer-muted);
  font-weight:500;
  line-height:1.45;
}

.installer-full{
  grid-column:1/-1;
}

.installer-note,
.installer-alert{
  margin-top:18px;
  padding:14px 16px;
  border-radius:13px;
  color:#4e6071;
  background:#edf3f8;
  line-height:1.55;
}

.installer-alert.success{
  color:#087254;
  background:#def7ed;
}

.installer-alert.warning{
  color:#805d00;
  background:#fff4d7;
}

.installer-alert.danger{
  color:var(--installer-danger);
  background:#ffe7ea;
}

.installer-option-list{
  display:grid;
  gap:12px;
}

.installer-summary-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:11px;
}

.installer-summary-grid>div{
  display:grid;
  gap:5px;
  padding:15px;
  border:
    1px solid var(--installer-border);
  border-radius:14px;
  background:#f9fbfc;
}

.installer-summary-grid span{
  color:var(--installer-muted);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:800;
}

.installer-summary-grid strong{
  overflow-wrap:anywhere;
  color:var(--installer-navy);
}

.installer-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:25px;
}

.installer-actions.split{
  justify-content:space-between;
}

.installer-actions>div{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

.installer-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:45px;
  padding:11px 20px;
  border:
    1px solid transparent;
  border-radius:999px;
  text-decoration:none;
  cursor:pointer;
  font-weight:850;
}

.installer-button.primary{
  color:#fff;
  background:var(--installer-green);
  box-shadow:
    0 10px 24px
    rgba(0,155,114,.22);
}

.installer-button.secondary{
  color:var(--installer-navy);
  border-color:var(--installer-border);
  background:#fff;
}

.installer-button.large{
  min-height:50px;
  padding-inline:27px;
}

.installer-button:disabled{
  opacity:.5;
  cursor:not-allowed;
}

.installer-complete{
  display:grid;
  justify-items:center;
  text-align:center;
}

.installer-success-icon{
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  border-radius:25px;
  color:#fff;
  background:var(--installer-green);
  box-shadow:
    0 18px 38px
    rgba(0,155,114,.25);
  font-size:2rem;
  font-weight:900;
}

.installer-progress-list{
  display:grid;
  gap:8px;
  margin:28px 0;
}

.installer-progress-row{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:12px;
  border:
    1px solid var(--installer-border);
  border-radius:13px;
}

.installer-progress-row span{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#087254;
  background:#dff7ef;
  font-weight:900;
}

.installer-security-list{
  margin-top:24px;
  padding:20px;
  border:
    1px solid var(--installer-border);
  border-radius:16px;
  background:#f8fbfd;
}

.installer-security-list h3{
  margin-top:0;
}

.installer-security-list ul{
  display:grid;
  gap:8px;
  margin-bottom:0;
  color:#45596c;
  line-height:1.5;
}

.installer-footer{
  width:min(100%,1420px);
  margin:0 auto;
  padding:
    18px
    clamp(18px,4vw,52px)
    28px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#788b9c;
  font-size:.75rem;
}

@media(max-width:980px){
  .installer-shell{
    grid-template-columns:1fr;
  }

  .installer-sidebar{
    position:static;
  }

  .installer-steps{
    grid-template-columns:
      repeat(4,minmax(0,1fr));
  }

  .installer-step{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
  }

  .installer-detected{
    display:none;
  }
}

@media(max-width:720px){
  .installer-topbar{
    min-height:68px;
  }

  .installer-brand img{
    height:43px;
    max-width:230px;
  }

  .installer-version{
    display:none;
  }

  .installer-steps{
    display:none;
  }

  .installer-hero-grid,
  .installer-choice-grid,
  .installer-check-grid,
  .installer-form-grid,
  .installer-summary-grid{
    grid-template-columns:1fr;
  }

  .installer-full{
    grid-column:auto;
  }

  .installer-actions.split{
    align-items:stretch;
    flex-direction:column-reverse;
  }

  .installer-actions.split>div{
    display:grid;
  }

  .installer-button{
    width:100%;
  }

  .installer-footer{
    align-items:flex-start;
    flex-direction:column;
  }
}
