/* Intelligence sign-in page — match reference layout */

.auth-gate{
  position:relative;
  z-index:4;
  min-height:100vh;
  overflow:hidden;
}

.auth-page{
  position:relative;
  min-height:100vh;
  padding:36px 44px 44px;
  background:
    radial-gradient(ellipse 75% 55% at 12% 18%,rgba(219,234,254,.5),transparent 58%),
    radial-gradient(ellipse 60% 45% at 88% 85%,rgba(237,233,254,.45),transparent 52%),
    linear-gradient(165deg,#fafbfc 0%,#f4f6f8 45%,#eef2ff 100%);
}

.auth-shell{
  position:relative;
  z-index:1;
  max-width:1480px;
  margin:0 auto;
  min-height:calc(100vh - 80px);
  display:grid;
  grid-template-columns:minmax(400px,1.1fr) minmax(300px,380px) minmax(400px,440px);
  column-gap:28px;
  align-items:center;
}

/* ── Left column ── */

.auth-showcase{
  display:flex;
  flex-direction:column;
  gap:30px;
  padding-right:12px;
}

.auth-brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.auth-logo{
  position:relative;
  width:54px;
  height:46px;
  flex-shrink:0;
}

.auth-logo-block{
  position:absolute;
  width:36px;
  height:36px;
  border-radius:11px;
}

.auth-logo-block-a{
  left:0;
  top:6px;
  background:linear-gradient(145deg,rgba(56,189,248,.88),rgba(14,165,233,.95));
  box-shadow:0 8px 18px rgba(14,165,233,.2);
}

.auth-logo-block-b{
  left:15px;
  top:0;
  background:linear-gradient(145deg,rgba(96,165,250,.92),rgba(37,99,235,.96));
  box-shadow:0 10px 20px rgba(37,99,235,.18);
}

.auth-logo-badge{
  position:absolute;
  right:-3px;
  bottom:-3px;
  width:22px;
  height:22px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#10b981;
  color:#fff;
  font-family:'Sora',sans-serif;
  font-size:11px;
  font-weight:700;
  border:2.5px solid #fafbfc;
  box-shadow:0 3px 10px rgba(16,185,129,.28);
  z-index:2;
}

.auth-brand-name{
  font-family:'Sora',sans-serif;
  font-size:24px;
  font-weight:700;
  letter-spacing:-.03em;
  color:#111827;
  line-height:1.1;
}

.auth-brand-by{
  margin-top:3px;
  font-size:14px;
  color:#9ca3af;
}

.auth-intro h1{
  display:flex;
  flex-direction:column;
  gap:4px;
  max-width:520px;
  font-family:'Sora',sans-serif;
  font-size:clamp(44px,4.4vw,58px);
  font-weight:700;
  line-height:1.05;
  letter-spacing:-.045em;
}

.auth-blue{
  color:#3b5cff;
}

.auth-black{
  color:#0f172a;
}

.auth-intro p{
  max-width:500px;
  margin-top:16px;
  font-size:16px;
  line-height:1.72;
  color:#6b7280;
}

.auth-feature-list{
  display:flex;
  flex-direction:column;
  gap:22px;
  max-width:520px;
}

.auth-feature{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:16px;
  align-items:flex-start;
}

.auth-feature-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,23,42,.07);
}

.auth-feature-icon svg{
  width:24px;
  height:24px;
}

.auth-feature-title{
  font-family:'Sora',sans-serif;
  font-size:17px;
  font-weight:600;
  color:#111827;
}

.auth-feature-copy{
  margin-top:5px;
  font-size:14px;
  line-height:1.65;
  color:#6b7280;
}

/* ── Center hero ── */

.auth-hero{
  display:flex;
  justify-content:center;
  align-items:center;
  justify-self:center;
  width:100%;
  max-width:380px;
  min-height:400px;
}

.auth-hero-orbit{
  position:relative;
  width:360px;
  height:360px;
}

.auth-hero-rings{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.auth-ring{
  position:absolute;
  border-radius:50%;
  border:1px dashed rgba(148,163,184,.38);
}

.auth-ring-1{ inset:0; }
.auth-ring-2{ inset:11%; }
.auth-ring-3{ inset:22%; opacity:.75; }

.auth-hero-dot{
  position:absolute;
  width:7px;
  height:7px;
  border-radius:50%;
  z-index:1;
}

.auth-dot-1{ top:8%; left:62%; background:#93c5fd; }
.auth-dot-2{ top:22%; left:78%; background:#c4b5fd; width:5px; height:5px; }
.auth-dot-3{ top:55%; left:18%; background:#bfdbfe; }
.auth-dot-4{ top:72%; left:70%; background:#a5b4fc; width:5px; height:5px; }
.auth-dot-5{ top:38%; left:8%; background:#ddd6fe; width:6px; height:6px; }

.auth-hero-core{
  position:absolute;
  left:50%;
  top:50%;
  width:112px;
  height:112px;
  transform:translate(-50%,-50%);
  border-radius:28px;
  background:#fff;
  box-shadow:0 24px 60px rgba(15,23,42,.12);
  display:grid;
  place-items:center;
  overflow:hidden;
  z-index:3;
}

.auth-hero-core-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  opacity:.14;
  pointer-events:none;
}

.auth-hero-core-logo{
  position:relative;
  z-index:2;
  width:58px;
  height:50px;
}

.auth-hero-core-logo .auth-logo-block{
  width:38px;
  height:38px;
  border-radius:11px;
}

.auth-hero-core-logo .auth-logo-block-a{
  left:0;
  top:6px;
}

.auth-hero-core-logo .auth-logo-block-b{
  left:16px;
  top:0;
}

.auth-hero-core-logo .auth-logo-badge{
  right:-4px;
  bottom:-4px;
}

.auth-hero-node{
  position:absolute;
  left:50%;
  top:50%;
  width:60px;
  height:60px;
  border-radius:18px;
  background:#fff;
  display:grid;
  place-items:center;
  box-shadow:0 16px 40px rgba(15,23,42,.1);
  z-index:4;
}

.auth-hero-node svg{
  width:28px;
  height:28px;
}

.auth-hero-node-calendar{
  transform:translate(-50%,-50%) translate(0,-128px);
}

.auth-hero-node-mail{
  transform:translate(-50%,-50%) translate(128px,0);
}

.auth-hero-node-doc{
  transform:translate(-50%,-50%) translate(0,128px);
}

.auth-hero-node-check{
  transform:translate(-50%,-50%) translate(-128px,0);
}

/* ── Right sign-in card ── */

.auth-panel{
  position:relative;
  overflow:hidden;

  width:100%;
  max-width:440px;

  justify-self:end;

  padding:40px 34px 30px;

  border-radius:32px;

  background:
    linear-gradient(
      135deg,
      rgba(59,130,246,.18) 0%,
      rgba(255,255,255,.38) 35%,
      rgba(96,165,250,.14) 100%
    );

  backdrop-filter:blur(28px);
  -webkit-backdrop-filter:blur(28px);

  border:1px solid rgba(255,255,255,.32);

  box-shadow:
    0 10px 40px rgba(37,99,235,.12),
    0 24px 64px rgba(15,23,42,.10),
    inset 0 1px 1px rgba(255,255,255,.45);

  display:flex;
  flex-direction:column;
  gap:24px;
}
.auth-panel::before{
  content:"";
  position:absolute;
  top:-30%;
  left:-20%;
  width:220px;
  height:220px;
  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.45) 0%,
      transparent 70%
    );
  pointer-events:none;
}

.auth-panel::after{
  content:"";
  position:absolute;
  bottom:-80px;
  right:-60px;
  width:180px;
  height:180px;
  background:
    radial-gradient(
      circle,
      rgba(59,130,246,.18) 0%,
      transparent 72%
    );
  pointer-events:none;
}

.auth-panel-kicker{
  display:inline-flex;
  align-self:flex-start;
  padding:9px 16px;
  border-radius:999px;
  background:#eff6ff;
  color:#2563eb;
  font-family:'IBM Plex Mono',monospace;
  font-size:11px;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.auth-panel-head h2{
  margin-top:16px;
  font-family:'Sora',sans-serif;
  font-size:34px;
  font-weight:700;
  line-height:1.1;
  letter-spacing:-.04em;
  color:#111827;
}

.auth-panel-head p{
  margin-top:12px;
  font-size:15px;
  line-height:1.65;
  color:#6b7280;
}

.auth-actions{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.auth-primary{
  width:100%;
  min-height:56px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border:none;
  border-radius:14px;
  background:#111827;
  color:#fff;
  font-family:'Sora',sans-serif;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease;
  box-shadow:0 14px 32px rgba(17,24,39,.2);
}

.auth-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 36px rgba(17,24,39,.24);
}

.auth-primary:disabled{
  cursor:not-allowed;
  opacity:.45;
  transform:none;
  box-shadow:none;
}

.auth-google-mark{
  width:20px;
  height:20px;
  flex-shrink:0;
}

.auth-status{
  font-size:13px;
  line-height:1.55;
  color:#9ca3af;
  text-align:center;
}

.auth-benefits{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.auth-benefit{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.auth-benefit-icon{
  width:42px;
  height:42px;
  flex-shrink:0;
  border-radius:50%;
  display:grid;
  place-items:center;
}

.auth-benefit-icon svg{
  width:20px;
  height:20px;
}

.auth-benefit-icon-shield{ background:#eff6ff; }
.auth-benefit-icon-sync{ background:#ecfdf5; }
.auth-benefit-icon-lock{ background:#f5f3ff; }

.auth-benefit-copy{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}

.auth-benefit-copy strong{
  font-family:'Sora',sans-serif;
  font-size:14px;
  font-weight:600;
  color:#111827;
}

.auth-benefit-copy span{
  font-size:13px;
  line-height:1.5;
  color:#9ca3af;
}

.auth-legal{
  margin-top:6px;
  padding-top:20px;
  border-top:1px solid #f3f4f6;
  font-size:12px;
  line-height:1.6;
  color:#9ca3af;
  text-align:center;
}

.auth-legal a{
  color:#2563eb;
  text-decoration:none;
  font-weight:500;
}

.auth-legal a:hover{
  text-decoration:underline;
}

@media (max-width:1180px){
  .auth-shell{
    grid-template-columns:minmax(0,1fr) minmax(260px,300px) minmax(360px,400px);
    column-gap:20px;
  }
}

@media (max-width:1024px){
  .auth-shell{
    grid-template-columns:1fr;
    row-gap:36px;
    align-items:start;
  }

  .auth-showcase{ order:1; }
  .auth-hero{
    order:2;
    max-width:none;
    min-height:340px;
  }
  .auth-panel{
    order:3;
    max-width:480px;
    justify-self:center;
    width:100%;
  }
}

@media (max-width:720px){
  .auth-page{
    padding:24px 20px 32px;
  }

  .auth-showcase{
    gap:26px;
  }

  .auth-hero-orbit{
    width:300px;
    height:300px;
  }

  .auth-hero-node-calendar{ transform:translate(-50%,-50%) translate(0,-108px); }
  .auth-hero-node-mail{ transform:translate(-50%,-50%) translate(108px,0); }
  .auth-hero-node-doc{ transform:translate(-50%,-50%) translate(0,108px); }
  .auth-hero-node-check{ transform:translate(-50%,-50%) translate(-108px,0); }

  .auth-panel{
    padding:32px 24px 24px;
    border-radius:24px;
  }

  .auth-panel-head h2{
    font-size:28px;
  }
}
