.wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  align-items: stretch;
}

/* ---------- Brand Pane (Left) ---------- */
.brandpane {
  position: relative;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
              radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.2) 0%, transparent 60%),
              rgba(11, 15, 25, 0.95);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Ambient floating glow circles */
.brandpane::before {
  content: "";
  position: absolute;
  top: 30%;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.brandmark {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.brandmark .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 16px #A855F7, 0 0 30px #EC4899;
}

.brandname {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Developer Terminal Card */
.terminal {
  position: relative;
  z-index: 2;
  background: rgba(13, 17, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(20px);
  max-width: 480px;
  margin: 40px 0;
}

.termbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.termbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.termbar span:nth-child(1) { background: #FF5F56; }
.termbar span:nth-child(2) { background: #FFBD2E; }
.termbar span:nth-child(3) { background: #27C93F; }

.termbody {
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 2;
  color: #E2E8F0;
}

.termbody p { margin: 0; }
.termbody .pfx { color: #F472B6; margin-right: 8px; font-weight: 600; }
.termbody .dim { color: #94A3B8; }
.termbody .hl { color: #38BDF8; font-weight: 600; }
.termbody .cursor { color: #F59E0B; animation: blink 1s infinite; display: inline-block; font-weight: 700; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.tagline {
  position: relative;
  z-index: 2;
  color: #94A3B8;
  font-size: 15px;
  line-height: 1.6;
  max-width: 420px;
}

/* Feature badges under tagline */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.feature-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
}

/* ---------- Auth Pane (Right) ---------- */
.authpane {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  position: relative;
  z-index: 2;
}

.authcard {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.authcard-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #A855F7;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}

/* Segmented Tabs */
.tabs {
  display: flex;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}

.tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 0;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab.active {
  background: var(--btn-grad);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.google-btn-container {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.google-btn-container > div {
  width: 100% !important;
}

.recaptcha-container {
  min-height: 78px;
  margin-top: 16px;
  overflow: hidden;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.code-copy {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.code-copy strong {
  color: var(--text);
}

@media (max-width: 860px) {
  .wrap {
    grid-template-columns: 1fr;
  }
  .brandpane {
    display: none;
  }
  .authpane {
    padding: 24px 16px;
  }
}

