/* ==========================================================================
   AESTIA 3D — REGISTER PAGE  
   Premium split-screen design for a 3D printing e-commerce platform
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; height: 100%; }

:root {
  --rose-glow:  rgba(212, 96, 126, 0.25);
  --muted:      #8a5060;
  --dark-bg:    #0e0509;
  --dark-mid:   #1a0b12;
  --dark-panel: rgba(26, 11, 18, 0.92);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--dark-bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── CUSTOM CURSOR ─────────────────────────────── */
@media (pointer: fine) {
  body, a, button, input, label {  }
  
  
  
  body:has(a:hover) 
}
@media (pointer: coarse) {  }

/* ── GRAIN TEXTURE ─────────────────────────────── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 800;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: .6;
}

/* ── SPLIT LAYOUT ───────────────────────────────── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* ═══════════════════════════════════════════════════
   LEFT BRAND PANEL
   ═══════════════════════════════════════════════════ */
.brand-panel {
  position: relative;
  background: var(--dark-mid);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;
}

/* Animated scan lines */
.scan-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(212, 96, 126, 0.03) 3px, rgba(212, 96, 126, 0.03) 4px
  );
}

/* Ambient glow orbs */
.orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(80px); opacity: 0.35;
}
.orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, #d4607e 0%, transparent 70%); top: -100px; left: -100px; animation: driftOrb1 12s ease-in-out infinite alternate; }
.orb-2 { width: 300px; height: 300px; background: radial-gradient(circle, #a83a58 0%, transparent 70%); bottom: -80px; right: -80px; animation: driftOrb2 15s ease-in-out infinite alternate; }
@keyframes driftOrb1 { to { transform: translate(60px, 80px) scale(1.1); } }
@keyframes driftOrb2 { to { transform: translate(-50px, -60px) scale(1.15); } }

/* ── FLOATING 3D OBJECTS ──── */
.floating-objects {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.obj {
  position: absolute; font-size: 1.8rem;
  color: rgba(212, 96, 126, 0.15); animation-timing-function: ease-in-out;
  animation-iteration-count: infinite; animation-direction: alternate;
}
.obj-cube  { top: 10%; left: 6%;  animation: float1 7s infinite alternate; font-size: 2.4rem; color: rgba(212,96,126,.18); }
.obj-layer { top: 25%; right: 8%; animation: float2 9s infinite alternate; font-size: 1.6rem; }
.obj-print { bottom: 30%; left: 8%; animation: float3 8s infinite alternate; font-size: 2rem; }
.obj-gear  { bottom: 12%; right: 10%; animation: float4 11s infinite alternate; font-size: 1.5rem; color: rgba(212,96,126,.12); }
.obj-atom  { top: 55%; left: 15%; animation: float5 10s infinite alternate; font-size: 1.3rem; }
@keyframes float1 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(12px,-18px) rotate(15deg); } }
@keyframes float2 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(-10px,15px) rotate(-12deg); } }
@keyframes float3 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(8px,-12px) rotate(20deg); } }
@keyframes float4 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(-15px,10px) rotate(-25deg); } }
@keyframes float5 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(10px,20px) rotate(180deg); } }

/* ── BRAND CONTENT ─────── */
.brand-content { position: relative; z-index: 3; max-width: 420px; }

.brand-logo {
  display: inline-block;
  font-family: 'Cormorant', serif;
  font-size: 2.4rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; line-height: 1;
  margin-bottom: 6px;
}
.brand-logo .aes { color: #f5e0e8; }
.brand-logo .tia { color: var(--rose); }
.brand-logo .three { color: var(--blush); font-style: italic; }

.brand-sub {
  font-family: 'Jost', sans-serif; font-size: .7rem;
  letter-spacing: .45em; text-transform: uppercase;
  color: var(--blush); opacity: 0.75; margin-bottom: 32px;
}

.brand-divider {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, var(--rose), transparent);
  margin-bottom: 28px;
}

.brand-headline {
  font-family: 'Cormorant', serif;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 400; line-height: 1.15;
  color: #f5e0e8; margin-bottom: 18px;
}
.brand-headline em { color: var(--rose); font-style: italic; }

.brand-desc {
  font-size: .95rem; line-height: 1.7;
  color: rgba(245, 224, 232, 0.6); margin-bottom: 36px;
}

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.feature-list li { display: flex; gap: 15px; align-items: flex-start; }
.feat-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: rgba(212,96,126,0.12); border: 1px solid rgba(212,96,126,0.25);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--rose); font-size: 1rem; margin-top: 2px;
}
.feature-list li strong { display: block; font-size: .95rem; color: #f5e0e8; font-weight: 600; margin-bottom: 3px; }
.feature-list li p { font-size: .82rem; color: rgba(245,224,232,0.5); line-height: 1.5; }

/* ═══════════════════════════════════════════════════
   RIGHT FORM PANEL
   ═══════════════════════════════════════════════════ */
.form-panel {
  background: var(--snow);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 40px;
  position: relative;
}

/* Subtle inner light */
.form-panel::before {
  content: ''; position: absolute; top: -120px; right: -60px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(212,96,126,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.form-wrapper { width: 100%; max-width: 440px; }

/* Mobile logo */
.mobile-logo {
  display: none;
  font-family: 'Cormorant', serif;
  font-size: 2rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; margin-bottom: 28px;
}
.mobile-logo .aes { color: var(--ink); }
.mobile-logo .tia { color: var(--rose); }
.mobile-logo .three { color: var(--blush); font-style: italic; }

/* Form Header */
.form-eyebrow {
  font-size: .65rem; letter-spacing: .35em; text-transform: uppercase;
  font-weight: 600; color: var(--rose); margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px;
}
.form-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--rose); }

.form-title {
  font-family: 'Cormorant', serif;
  font-size: 2.8rem; font-weight: 400; line-height: 1.1;
  color: var(--ink); margin-bottom: 8px;
}
.form-subtitle { font-size: .9rem; color: var(--muted); margin-bottom: 32px; }

/* Google Button */
.google-btn {
  width: 100%; padding: 14px 20px;
  background: white; border: 1.5px solid var(--border-soft);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; gap: 12px; font-size: .95rem;
  font-weight: 500; color: var(--ink); transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 20px;
}
.google-btn:hover { border-color: var(--rose); box-shadow: 0 4px 20px var(--rose-glow); transform: translateY(-2px); }
.google-icon { width: 20px; height: 20px; }

/* OR Divider */
.or-divider {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.or-divider span { flex: 1; height: 1px; background: var(--border-soft); }
.or-divider p { font-size: .8rem; color: var(--muted); white-space: nowrap; }

/* Email Provider Badges */
.email-providers-row {
  display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap;
}
.email-providers-row span {
  font-size: .75rem; padding: 5px 12px; border-radius: 20px;
  border: 1px solid var(--border-soft); color: var(--muted);
  background: var(--petal); display: flex; align-items: center; gap: 5px;
}

/* ── FORM FIELDS ─────────────── */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--warm); margin-bottom: 7px;
}

.input-wrap {
  position: relative; display: flex; align-items: center;
}
.input-icon {
  position: absolute; left: 16px; color: var(--blush);
  font-size: .95rem; pointer-events: none;
  transition: color 0.3s;
}
.input-wrap:focus-within .input-icon { color: var(--rose); }

.input-wrap input {
  width: 100%; padding: 14px 48px;
  background: rgba(255,255,255,0.9);
  border: 1.5px solid var(--border-soft); border-radius: 12px;
  font-family: 'Jost', sans-serif; font-size: .95rem; color: var(--ink);
  outline: none; transition: var(--transition);
}
.input-wrap input::placeholder { color: rgba(90,48,64,0.35); }
.input-wrap input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(212,96,126,0.12);
  background: white;
}

/* Toggle password btn */
.toggle-password {
  position: absolute; right: 14px; background: none;
  border: none; color: var(--blush); font-size: .95rem; padding: 6px;
  transition: color 0.3s;
}
.toggle-password:hover { color: var(--rose); }

/* Password Strength */
.password-strength {
  height: 4px; background: var(--border-soft); border-radius: 2px;
  margin-top: 8px; overflow: hidden;
}
.strength-fill {
  height: 100%; width: 0%; border-radius: 2px;
  transition: width 0.4s ease, background 0.4s ease;
}
.strength-label {
  font-size: .72rem; margin-top: 5px; font-weight: 500;
  letter-spacing: .05em;
}

/* ── TERMS ───────────────────── */
.terms-row { margin-bottom: 22px; }
.terms-label {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .85rem; color: var(--warm); cursor: pointer; line-height: 1.5;
}
.terms-label input[type="checkbox"] { display: none; }
.custom-check {
  flex-shrink: 0; width: 20px; height: 20px;
  border: 2px solid var(--border-soft); border-radius: 5px;
  margin-top: 1px; transition: var(--transition);
  position: relative; background: white;
}
.terms-label input:checked ~ .custom-check {
  background: var(--rose); border-color: var(--rose);
}
.terms-label input:checked ~ .custom-check::after {
  content: '✓'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: white; font-weight: 700;
}
.terms-label a { color: var(--rose); font-weight: 600; text-decoration: none; }
.terms-label a:hover { text-decoration: underline; }

/* ── SUBMIT BUTTON ────────────── */
.submit-btn {
  width: 100%; padding: 16px 24px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: white; border: none; border-radius: 12px;
  font-family: 'Jost', sans-serif; font-size: 1rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 10px 28px rgba(212,96,126,0.35);
  transition: var(--transition); margin-bottom: 20px;
}
.submit-btn:hover:not(:disabled) {
  transform: translateY(-3px); box-shadow: 0 15px 35px rgba(212,96,126,0.45);
}
.submit-btn:disabled { background: var(--muted); box-shadow: none; cursor: not-allowed; }
.submit-btn .hidden { display: none; }

/* ── LOGIN LINK ───────────────── */
.login-link {
  text-align: center; font-size: .9rem; color: var(--muted);
}
.login-link a { color: var(--rose); font-weight: 600; }
.login-link a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .split-layout { grid-template-columns: 1fr; }
  .brand-panel { display: none; }
  .form-panel { padding: 48px 24px; min-height: 100vh; }
  .mobile-logo { display: block; }
  .form-title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .form-panel { padding: 36px 18px; }
  .form-title { font-size: 1.9rem; }
  .email-providers-row { gap: 8px; }
  .google-btn { font-size: .9rem; }
}