@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --header-height: 60px;
  --header-h: var(--header-height);
  --footer-h: 56px;

  --c-bg-body: #F3F4F6;
  --c-bg-card: rgba(255, 255, 255, 0.65);
  --c-bg-glass: rgba(255, 255, 255, 0.4);
  --c-bg-input: rgba(255, 255, 255, 0.5);
  --c-bg-input-focus: #FFFFFF;
  --c-bg-chat: #F8FAFC;

  --c-text-main: #111827;
  --c-text-sub: #4B5563;
  --c-text-mute: #9CA3AF;
  --c-text-on-accent: #FFFFFF;

  --c-accent-primary: #0D9488;
  --c-accent-gradient: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
  --c-accent-hover: #115E59;
  --c-accent-glow: rgba(13, 148, 136, 0.3);

  --c-border: rgba(0, 0, 0, 0.06);
  --c-border-highlight: rgba(255, 255, 255, 0.8);
  --c-border-focus: #0D9488;

  --c-error: #EF4444;
  --c-error-bg: rgba(254, 242, 242, 0.8);

  --f-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --color-primary: #2a9d8f;
  --color-brand-dark: #10302d;
  --color-text-head: #10302d;
  --color-border: #e2e8f0;
  --container-width: 1200px;

  --radius-2xl: 24px;
  --radius-xl: 16px;
  --radius-l: 12px;
  --radius-m: 8px;

  --chat-panel-max: 380px;
  --chat-panel-vw: 29vw;
  --chat-panel-min: 320px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 12px 32px -4px rgba(0, 0, 0, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  --shadow-float: 0 20px 50px -12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.4);
  --shadow-input-focus: 0 0 0 4px var(--c-accent-glow);
  --shadow-btn: 0 4px 12px rgba(13, 148, 136, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);

  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--f-family);
  background-color: var(--c-bg-body);
  color: var(--c-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 50%, rgba(45, 212, 191, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.08), transparent 25%),
    #F8FAFC;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  z-index: 1100;
  backdrop-filter: blur(8px);
}

.header-container {
  width: 100%;
  max-width: 1840px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
}

.logo img {
  width: 120px;
  height: 24px;
  display: block;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.login-button,
.cta-button,
.mobile-login-text {
  font-size: 0.87rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.5rem 1.3rem;
  border: 1px solid transparent;
  text-decoration: none;
}

.login-button {
  border-color: transparent;
  color: var(--color-brand-dark);
}

.cta-button {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(42, 157, 143, 0.25);
}

.cta-button:hover { opacity: 0.9; }

.mobile-login-text {
  display: none;
  color: var(--color-primary);
  padding: 0;
}

.main-container {
  flex: 1;
  display: flex;
  padding-top: var(--header-h);
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(100vh - var(--header-h) - var(--footer-h));
  min-height: calc(100dvh - var(--header-h) - var(--footer-h));
}

.split-wrapper {
  display: flex;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  padding-block: clamp(14px, 1.5vh, 24px);
  padding-inline: clamp(16px, 3.2vw, 36px);
  gap: clamp(24px, 3.8vw, 56px);
}

.form-side {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 460px;
  width: 100%;
  z-index: 2;
  order: 2;
}

.form-card {
  background: var(--c-bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-2xl);
  padding: clamp(20px, 2.6vh, 32px);
  width: 100%;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-head {
  text-align: center;
  margin-bottom: clamp(12px, 1.8vh, 18px);
}

.form-head h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text-main);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.form-head p {
  font-size: 14px;
  color: var(--c-text-sub);
  line-height: 1.45;
}

.btn-google {
  width: 100%;
  height: 48px;
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  color: var(--c-text-main);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.btn-google:hover {
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.04);
}

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

.divider {
  display: flex;
  align-items: center;
  margin: 14px 0;
  color: var(--c-text-mute);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: rgba(0,0,0,0.08);
}

.divider span { padding: 0 16px; }

.field-group { margin-bottom: 12px; }

.label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--c-text-main);
}

.input-container { position: relative; }

.input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-l);
  font-size: 15px;
  color: var(--c-text-main);
  background: var(--c-bg-input);
  transition: all 0.2s var(--ease-spring);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.01);
}

.input::placeholder { color: var(--c-text-mute); }

.input:hover {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.12);
}

.input:focus {
  outline: none;
  background: var(--c-bg-input-focus);
  border-color: var(--c-border-focus);
  box-shadow: var(--shadow-input-focus);
}

.input[readonly] {
  background: rgba(13, 148, 136, 0.08);
  color: var(--c-text-sub);
  cursor: default;
}

.input.error {
  border-color: var(--c-error);
  background: var(--c-error-bg);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 12px;
  color: var(--c-text-sub);
  cursor: pointer;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.2s;
}

.toggle-pw:hover { background: rgba(0,0,0,0.05); color: var(--c-text-main); }

.help-txt {
  font-size: 12px;
  margin-top: 4px;
  color: var(--c-text-mute);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.help-txt.valid { color: var(--c-accent-primary); }

.help-txt svg { width: 14px; height: 14px; }

.terms-wrap {
  margin: 12px 0 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--c-accent-primary);
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid #CBD5E1;
}

.terms-label { font-size: 13px; color: var(--c-text-sub); line-height: 1.5; }

.link {
  color: var(--c-text-main);
  text-decoration: none;
  font-weight: 600;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.3s;
}

.link:hover { background-size: 100% 1px; color: var(--c-accent-primary); }

.btn-submit {
  width: 100%;
  height: 48px;
  background: var(--color-primary);
  color: var(--c-text-on-accent);
  border: none;
  border-radius: var(--radius-l);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  box-shadow: var(--shadow-btn);
  letter-spacing: 0.01em;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(42, 157, 143, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

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

.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.error-msg {
  color: var(--c-error);
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
  display: none;
  animation: slideDown 0.2s ease-out;
}

.register-error-terms {
  margin-top: -12px;
  margin-bottom: 16px;
}

.register-success {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-l);
  background: rgba(240, 253, 250, 0.7);
  border: 1px solid rgba(13, 148, 136, 0.2);
  text-align: left;
}

.success-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-accent-primary);
  margin-bottom: 6px;
}

.success-desc {
  font-size: 12px;
  color: var(--c-text-sub);
  line-height: 1.6;
}

.success-link {
  display: inline-flex;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-accent-primary);
  text-decoration: none;
}

.visual-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  order: 1;
  padding-top: 0;
}

.bg-blob {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, rgba(99, 102, 241, 0.1) 40%, transparent 70%);
  filter: blur(60px);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: pulseBlob 10s infinite alternate ease-in-out;
}

.visual-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: clamp(var(--chat-panel-min), var(--chat-panel-vw), var(--chat-panel-max));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.2vh, 22px);
}

.ai-stage {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.aurora {
  position: absolute;
  inset: -12%;
  z-index: -2;
  pointer-events: none;
  overflow: visible;
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.aurora::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
  z-index: 1;
}

.aurora-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.24;
  mix-blend-mode: screen;
}

.aurora-layer:nth-child(1) {
  top: 10%; left: 15%; width: 70%; height: 60%;
  background: conic-gradient(from 180deg at 50% 50%, #0D9488, #2DD4BF, #0D9488);
  animation: auroraDrift 28s infinite alternate ease-in-out;
}

.aurora-layer:nth-child(2) {
  bottom: 10%; right: 10%; width: 60%; height: 60%;
  background: radial-gradient(ellipse at center, #2DD4BF 0%, transparent 70%);
  animation: auroraMorph 24s infinite alternate ease-in-out;
  animation-delay: -5s;
}

.aurora-layer:nth-child(3) {
  top: 40%; left: 40%; width: 50%; height: 50%;
  background: linear-gradient(135deg, #0F766E, transparent);
  opacity: 0.15;
  filter: blur(32px);
  animation: auroraShift 30s infinite linear;
}

.ai-demo {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-float);
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateZ(0);
}

.ai-demo::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  z-index: 2;
}

.ai-demo-header {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  background: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.ai-header-left { display: flex; align-items: center; gap: 12px; }

.ai-avatar {
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}

.ai-avatar::after { display: none; }

.ai-avatar img { width: 70%; height: 70%; object-fit: contain; }

.ai-info { display: flex; flex-direction: column; line-height: 1.2; }

.ai-name { font-size: 14px; font-weight: 700; color: var(--c-text-main); }

.ai-status { font-size: 11px; color: var(--c-text-sub); }

.ai-badge {
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  color: #15803D;
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(22, 163, 74, 0.1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.chat-container {
  flex: 1;
  min-height: clamp(300px, 40vh, 460px);
  height: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--c-bg-chat);
  position: relative;
  z-index: 1;
}

.chat-container::-webkit-scrollbar { width: 4px; }

.chat-container::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0.1); border-radius: 10px; }

.chat-row {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: flex-end;
}

.chat-row.ai { justify-content: flex-start; margin-left: -4px; }

.chat-row.user { justify-content: flex-end; }

.chat-row.ai { align-items: flex-start; }

.chat-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.10);
  object-fit: contain;
  padding: 0;
  flex-shrink: 0;
  margin-top: 4px;
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  animation: messageIn 0.4s var(--ease-spring) forwards;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #000000;
  font-weight: 400;
  box-shadow: 0 1px 1px rgba(0,0,0,0.03);
}

.chat-bubble.ai {
  background: #FFFFFF;
  border-color: #CFD8DC;
  margin-left: 8px;
  z-index: 1;
}

.chat-bubble.ai::after {
  content: "";
  position: absolute;
  top: 12px;
  left: -6px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 8px 6px 0;
  border-color: transparent #FFFFFF transparent transparent;
}

.chat-bubble.ai::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -7px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 8px 6px 0;
  border-color: transparent #CFD8DC transparent transparent;
}

.chat-bubble.user {
  background: #D3DCF3;
  border-color: #C5CAE9;
  margin-right: 8px;
}

.chat-bubble.user::after {
  content: "";
  position: absolute;
  top: 12px;
  right: -6px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #D3DCF3;
}

.chat-bubble.user::before {
  content: "";
  position: absolute;
  top: 12px;
  right: -7px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #C5CAE9;
}

.typing-indicator {
  display: inline-flex;
  gap: 4px;
  padding: 10px 14px;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #CFD8DC;
  align-self: auto;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
  position: relative;
  z-index: 1;
  margin-left: 8px;
}

.dot {
  width: 6px; height: 6px; background: var(--c-text-mute); border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }

.dot:nth-child(2) { animation-delay: -0.16s; }

.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  padding: 80px 0 0;
  margin-top: 0;
  width: 100%;
  flex-shrink: 0;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

.footer-logo a {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.footer-logo a:hover { opacity: 0.8; }

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-message {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.8;
  font-weight: 500;
  max-width: 260px;
}

.footer-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-head);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  text-decoration: none;
}

.footer-link:hover { color: var(--color-primary); }

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-info-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.footer-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
  vertical-align: middle;
}

.footer-info-text {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  font-weight: 500;
  text-decoration: none;
}

a.footer-info-text:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  text-align: center;
}

.footer-copyright {
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-align: center;
  margin: 0;
}

@keyframes messageIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

@keyframes slideDown { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@keyframes pulseBlob { 0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.95); } 100% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.05); } }

@keyframes auroraDrift {
  0% { transform: translate(-5%, -5%) rotate(-3deg); }
  100% { transform: translate(5%, 5%) rotate(3deg); }
}

@keyframes auroraMorph {
  0% { transform: scale(0.9, 1.1) translate(2%, 0); }
  100% { transform: scale(1.1, 0.9) translate(-2%, 0); }
}

@keyframes auroraShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@media (max-width: 900px) {
  .header-container { padding: 0 2rem; justify-content: space-between; }
  .split-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 24px;
    padding-inline: 24px;
  }
  .form-side { order: 1; max-width: 100%; }
  .visual-side { display: none; }

  .visual-content { max-width: 100%; }
  .ai-demo { max-width: 100%; }
  .chat-container { min-height: 340px; }

  .form-card { padding: 32px 24px; }
  .bg-blob { width: 300px; height: 300px; top: 20%; filter: blur(40px); }
}

@media (max-width: 1024px) {
  .header-buttons .login-button,
  .header-buttons .cta-button {
    display: none;
  }
  .mobile-login-text {
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .header-container { padding: 0 1.5rem; }
  .footer-container {
    padding: 0 1.5rem;
    gap: 40px;
  }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .logo img { width: 130px; }
  .footer-container { padding: 0 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-bubble, .dot, .bg-blob, .btn-submit:hover { animation: none; transition: none; transform: none; }
  .aurora-layer { animation: none; }
}
