/* ═══════════════════════════════════════════════════════════
   ONBOARDING.CSS — IntakhabAlam
   Layout, Components, Interactions, Responsive
═══════════════════════════════════════════════════════════ */

/* ─── Background Canvas ──────────────────────────────────── */

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.bg-orb--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 70%);
}

.bg-orb--2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: 10%;
  background: radial-gradient(circle, rgba(139,92,246,0.20) 0%, transparent 70%);
}

.bg-orb--3 {
  width: 350px;
  height: 350px;
  top: 40%;
  left: 45%;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ─── Main Layout ────────────────────────────────────────── */

.onboarding-layout {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-columns: 1fr 480px;
  min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════
   LEFT PANEL — Brand + Emotional Zone
═══════════════════════════════════════════════════════════ */

.left-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-16);
  gap: var(--space-8);
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* ─── Brand Nav ──────────────────────────────────────────── */

.brand-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-6);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  transition: var(--transition-base);
}

.logo-mark:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: var(--shadow-glow);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

/* ─── Brand Content ──────────────────────────────────────── */

.brand-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-8);
  max-width: 580px;
}

.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-icon {
  width: 12px;
  height: 12px;
}

/* ─── Brand Headline ─────────────────────────────────────── */

.brand-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.headline-line {
  display: block;
}

.headline-accent {
  display: block;
  line-height: 1.15;
}

/* ─── Brand Description ──────────────────────────────────── */

.brand-description {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 460px;
}

/* ─── Stat Bar ───────────────────────────────────────────── */

.stat-bar {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-left: 1px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* ─── Floating Feature Cards ─────────────────────────────── */

.floating-cards-zone {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 380px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: var(--transition-base);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  border-color: var(--border-emphasis);
  transform: translateX(6px) scale(1.01) !important;
  animation-play-state: paused;
}

.feature-card:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.card-icon--blue  {
  background: var(--accent-blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
}

.card-icon--cyan  {
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
}

.card-icon--purple {
  background: var(--accent-purple-dim);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--accent-purple);
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #22C55E;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-dot--green {
  background: #22C55E;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.card-pulse {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  opacity: 0.6;
}

/* ─── Ecosystem Flow ─────────────────────────────────────── */

.ecosystem-flow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-base);
  cursor: default;
}

.flow-node svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.flow-node span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.flow-node--active {
  background: var(--accent-blue-dim);
  border-color: rgba(59, 130, 246, 0.35);
}

.flow-node--active svg,
.flow-node--active span {
  color: var(--accent-blue);
}

.flow-node:hover {
  background: var(--accent-blue-dim);
  border-color: rgba(59, 130, 246, 0.3);
}

.flow-node:hover svg,
.flow-node:hover span {
  color: var(--accent-blue);
}

.flow-arrow {
  color: var(--text-muted);
  opacity: 0.4;
}

.flow-arrow svg {
  width: 14px;
  height: 14px;
}

/* ─── Trust Row ──────────────────────────────────────────── */

.trust-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.trust-item svg {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
}

.trust-sep {
  color: var(--border-subtle);
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════
   RIGHT PANEL — Action Zone
═══════════════════════════════════════════════════════════ */

.right-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-8);
  gap: var(--space-5);
  background: rgba(11, 16, 32, 0.5);
}

/* ─── Auth Card ──────────────────────────────────────────── */

.auth-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-2xl);
  background: rgba(21, 31, 53, 0.85);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.08),
    0 25px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(59, 130, 246, 0.06);
  transition: var(--transition-slow);
}

.auth-card:hover {
  border-color: rgba(59, 130, 246, 0.20);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.15),
    0 25px 60px rgba(0,0,0,0.6),
    0 0 80px rgba(59, 130, 246, 0.12);
}

.auth-card__glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.auth-card__inner {
  position: relative;
  z-index: 1;
  padding: var(--space-8) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* ─── Auth Header ────────────────────────────────────────── */

.auth-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.auth-logo-mini {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(59, 130, 246, 0.4));
  transition: var(--transition-base);
}

.auth-logo-mini:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 20px rgba(59, 130, 246, 0.6));
}

.auth-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.auth-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.4;
}

.auth-divider-line {
  height: 1px;
  background: var(--border-subtle);
  margin: -var(--space-2) 0;
}

/* ─── Google Sign-In Button ──────────────────────────────── */

.btn-google {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: var(--transition-base);
  overflow: hidden;
}

.btn-google::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-google:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.btn-google:hover::before {
  opacity: 1;
}

.btn-google:active {
  transform: translateY(0);
}

.btn-google__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-google__text {
  flex: 1;
  text-align: center;
}

.btn-google__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition-base);
}

.btn-google__arrow svg {
  width: 16px;
  height: 16px;
}

.btn-google:hover .btn-google__arrow {
  opacity: 0.7;
  transform: translateX(0);
}

/* ─── OR Divider ─────────────────────────────────────────── */

.or-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.or-line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.or-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Email Form ─────────────────────────────────────────── */

.email-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.input-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-base);
}

.input-field {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-base);
}

.input-field::placeholder {
  color: var(--text-muted);
}

.input-field:focus {
  background: rgba(59, 130, 246, 0.05);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.10);
}

.input-field:focus ~ .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--accent-blue);
}

/* ─── Primary Button ─────────────────────────────────────── */

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: var(--text-white);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* ─── Security Row ───────────────────────────────────────── */

.security-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.security-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.security-item svg {
  width: 11px;
  height: 11px;
  color: #22C55E;
}

.security-dot {
  color: var(--border-subtle);
}

/* ─── Auth Terms ─────────────────────────────────────────── */

.auth-terms {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.terms-link {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.terms-link:hover {
  color: #93C5FD;
}

/* ─── Auth Card Footer ───────────────────────────────────── */

.auth-card__footer {
  position: relative;
  z-index: 1;
  padding: var(--space-4) var(--space-8);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.015);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-blue);
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: #93C5FD;
  gap: 6px;
}

.footer-link svg {
  width: 12px;
  height: 12px;
}

/* ─── Testimonial Float Card ─────────────────────────────── */

.testimonial-float {
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.testimonial-avatar {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}

.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient-cool);
  opacity: 0.6;
}

.avatar-inner {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-blue);
  border: 2px solid var(--bg-canvas);
}

.testimonial-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars svg {
  width: 12px;
  height: 12px;
  fill: #FBBF24;
  color: #FBBF24;
}

/* ─── Activity Indicator ─────────────────────────────────── */

.activity-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

.activity-text strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ─── Loading Overlay ────────────────────────────────────── */

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-loading);
  background: rgba(7, 12, 24, 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.loading-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

.loader-ring {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent-blue);
  border-right-color: rgba(59, 130, 246, 0.3);
}

.loader-inner {
  width: 42px;
  height: 42px;
  background: var(--bg-elevated);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Toast Notification ─────────────────────────────────── */

.toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  color: var(--text-primary);
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(100% + 24px));
}

.toast.is-visible {
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  pointer-events: all;
}

.toast.is-hiding {
  animation: toastOut 0.3s ease forwards;
}

.toast-icon {
  width: 18px;
  height: 18px;
  color: #22C55E;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile & Tablet
═══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .left-panel {
    padding: var(--space-8) var(--space-10);
  }
  .brand-headline {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
  }
}

@media (max-width: 900px) {
  .onboarding-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .left-panel {
    padding: var(--space-6) var(--space-6);
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    gap: var(--space-6);
  }

  .brand-content {
    gap: var(--space-6);
  }

  .brand-headline {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .floating-cards-zone {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .feature-card {
    flex: 1;
    min-width: 160px;
  }

  .trust-row {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .right-panel {
    padding: var(--space-8) var(--space-6);
    background: var(--bg-canvas);
  }

  .ecosystem-flow {
    overflow-x: auto;
    padding-bottom: var(--space-2);
    scrollbar-width: none;
  }
  .ecosystem-flow::-webkit-scrollbar { display: none; }
}

@media (max-width: 600px) {
  .left-panel {
    padding: var(--space-5) var(--space-5);
  }

  .brand-nav {
    padding-bottom: var(--space-4);
  }

  .logo-text {
    font-size: 1rem;
  }

  .brand-headline {
    font-size: 1.75rem;
  }

  .stat-bar {
    width: 100%;
    justify-content: space-around;
    gap: var(--space-4);
  }

  .floating-cards-zone {
    flex-direction: column;
  }

  .feature-card {
    width: 100%;
  }

  .right-panel {
    padding: var(--space-6) var(--space-4);
  }

  .auth-card__inner {
    padding: var(--space-6) var(--space-5);
  }

  .testimonial-float {
    flex-wrap: wrap;
  }

  .toast {
    bottom: var(--space-4);
    right: var(--space-4);
    left: var(--space-4);
    transform: translateY(calc(100% + 24px));
  }
}
