:root {
  --bg-main: #f8fafc;
  --bg-soft: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.65);
  --primary: #0066ff;
  --primary-soft: #ede9fe;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-soft: #e5e7eb;
  --hover-bg: #8e4cff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-glass: 0 10px 30px rgba(15, 23, 42, 0.06);
  --container: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.landing-bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg,#9ab7ff,#bff1f5,#8dc6f4);
  background-size: 200% 200%;
  animation: bgMove 5s ease infinite;
  z-index: -1;
  pointer-events: none;
}

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

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f8fafc;
}

.auth-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-box {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.auth-box h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.auth-sub {
  color: #64748b;
  margin-bottom: 1.8rem;
}

.auth-socials {
  width: 100%;
  display: flex;
  gap: 0.8rem;
}

.social {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.social:hover {
  background: #f1f5f9;
}

.social:active {
  background: #f1f5f9;
}

.social.google {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.social.apple .fa-brands {
    font-size: 20px;
}

.divider {
  text-align: center;
  margin: 1.5rem 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.4rem;
}

.form-group input {
  width: 100%;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #94a3b8;
  background: #f8fafc;
  padding: 0 6px;
  transition: 0.25s;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -5px;
  font-size: 0.75rem;
  color: #2563eb;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
}

.auth-row a {
    color: #0066ff;
    text-decoration: none;
    font-weight: 600;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: #2563eb;
  color: #fff;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.submit-btn:hover {
  background: #1d4ed8;
}

.auth-footer {
    margin: 8px 0;
    font-size: 15px;
}

.auth-footer a {
    color: #0066ff;
    text-decoration: none;
    font-weight: 600;
}

.auth-right {
  background: #1d4ed8;
  color: #fff;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 1.5rem;
}

.visual-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  padding: 1.8rem;
  border-radius: 20px;
  width: 260px;
  margin-bottom: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  animation: float 6s infinite ease-in-out;
  color: var(--primary);
}

.visual-card.sidetop {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
    position: relative;
    top: 10px;
}

.visual-card.sidedown {
    position: relative;
    top: -80px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.visual-card h4 {
    font-weight: 500;
}

.visual-card p {
  font-weight: 550;
}

.amount {
  font-size: 1.8rem;
  font-weight: 700;
}

.chip {
  border: 1px solid var(--primary);
  background: #2564eb2f;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: bold;
}

.visual-card.sidetop {
  width: 100%;
  max-width: 560px;
  height: 250px;
  position: relative;
  z-index: 0;
}

.visual-card.sidetop img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.mini-bars {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
}

.mini-bars span {
  width: 8px;
  height: 30px;
  background: #93c5fd;
  border-radius: 4px;
}

.mini-bars span:nth-child(2) { height: 22px; }
.mini-bars span:nth-child(3) { height: 36px; }
.mini-bars span:nth-child(4) { height: 18px; }

.mini-bars.down span:nth-child(2) { height: 32px; }
.mini-bars.down span:nth-child(3) { height: 20px; }
.mini-bars.down span:nth-child(4) { height: 38px; }