* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* ==================================================
   VARIABLES
   ================================================== */

:root {
  --accent: #7d6cff;
  --accent-bright: #9b8cff;
  --blue: #62bfff;

  --success: #58dda9;
  --danger: #ff7287;

  --font:
    "Inter",
    sans-serif;

  --heading:
    "Manrope",
    sans-serif;
}


html[data-theme="dark"] {
  --bg: #070912;

  --text: #f6f7fb;
  --soft: #a2a6b6;
  --muted: #676c7d;

  --surface:
    rgba(15, 19, 32, 0.82);

  --surface-solid:
    #0e1220;

  --surface-light:
    rgba(255, 255, 255, 0.035);

  --input:
    rgba(255, 255, 255, 0.028);

  --border:
    rgba(255, 255, 255, 0.105);

  --border-soft:
    rgba(255, 255, 255, 0.06);

  --shadow:
    rgba(0, 0, 0, 0.5);

  --grid:
    rgba(255, 255, 255, 0.024);

  color-scheme: dark;
}


html[data-theme="light"] {
  --bg: #f4f7fc;

  --text: #161927;
  --soft: #646b7d;
  --muted: #969cab;

  --surface:
    rgba(255, 255, 255, 0.83);

  --surface-solid:
    #ffffff;

  --surface-light:
    rgba(22, 29, 52, 0.032);

  --input:
    rgba(28, 35, 58, 0.025);

  --border:
    rgba(25, 32, 52, 0.105);

  --border-soft:
    rgba(25, 32, 52, 0.06);

  --shadow:
    rgba(46, 59, 96, 0.15);

  --grid:
    rgba(42, 52, 80, 0.034);

  color-scheme: light;
}


/* ==================================================
   BASE
   ================================================== */

html,
body {
  width: 100%;
  min-height: 100%;
}


html {
  background: var(--bg);

  transition:
    background 0.4s ease;
}


body {
  min-height: 100vh;

  overflow-x: hidden;
  overflow-y: hidden;

  color: var(--text);

  background:
    var(--bg);

  font-family:
    var(--font);

  transition:
    background 0.4s ease,
    color 0.4s ease;
}


button,
input {
  font: inherit;
}


/* ==================================================
   BACKGROUND
   ================================================== */

.background {
  position: fixed;

  inset: 0;

  overflow: hidden;

  pointer-events: none;
}


.grid {
  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(
      var(--grid) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      var(--grid) 1px,
      transparent 1px
    );

  background-size:
    68px 68px;

  mask-image:
    radial-gradient(
      ellipse at center,
      black 6%,
      transparent 74%
    );

  -webkit-mask-image:
    radial-gradient(
      ellipse at center,
      black 6%,
      transparent 74%
    );
}


.aurora {
  position: absolute;

  border-radius: 50%;

  filter:
    blur(125px);

  opacity: 0.48;

  will-change: transform;
}


.aurora-one {
  width: 720px;
  height: 720px;

  left: -320px;
  top: -300px;

  background:
    rgba(97, 75, 255, 0.24);

  animation:
    auroraOne 17s ease-in-out infinite alternate;
}


.aurora-two {
  width: 700px;
  height: 700px;

  right: -320px;
  bottom: -320px;

  background:
    rgba(55, 165, 255, 0.15);

  animation:
    auroraTwo 19s ease-in-out infinite alternate;
}


.aurora-three {
  width: 420px;
  height: 420px;

  left: 42%;
  top: 38%;

  background:
    rgba(172, 104, 255, 0.08);

  animation:
    auroraThree 14s ease-in-out infinite alternate;
}


html[data-theme="light"]
.aurora-one {
  background:
    rgba(115, 94, 255, 0.14);
}


html[data-theme="light"]
.aurora-two {
  background:
    rgba(69, 165, 255, 0.11);
}


html[data-theme="light"]
.aurora-three {
  background:
    rgba(181, 120, 255, 0.07);
}


@keyframes auroraOne {
  to {
    transform:
      translate(105px, 75px)
      scale(1.12);
  }
}


@keyframes auroraTwo {
  to {
    transform:
      translate(-95px, -70px)
      scale(1.1);
  }
}


@keyframes auroraThree {
  to {
    transform:
      translate(60px, -40px)
      scale(1.08);
  }
}


.mouse-glow {
  position: absolute;

  width: 520px;
  height: 520px;

  left: 50%;
  top: 50%;

  border-radius: 50%;

  transform:
    translate(-50%, -50%);

  background:
    radial-gradient(
      circle,
      rgba(126, 108, 255, 0.07),
      transparent 67%
    );
}


/* ==================================================
   NAVBAR
   ================================================== */

.navbar {
  position: fixed;

  z-index: 50;

  top: 0;
  left: 0;

  width: 100%;

  padding:
    24px 38px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}


.brand {
  display: flex;

  align-items: center;

  gap: 13px;

  color:
    var(--text);

  text-decoration: none;
}


.brand-symbol {
  position: relative;

  width: 36px;
  height: 36px;
}


.brand-symbol span {
  position: absolute;

  inset: 4px;

  border:
    1px solid
    var(--accent);

  border-radius: 10px;

  transform:
    rotate(45deg);
}


.brand-symbol span:last-child {
  inset: 10px;

  border-color:
    var(--blue);

  border-radius: 4px;

  transform:
    rotate(-10deg);
}


.brand-copy strong {
  display: block;

  font-family:
    var(--heading);

  font-size: 12px;

  letter-spacing: 4px;
}


.brand-copy small {
  display: block;

  margin-top: 2px;

  color:
    var(--muted);

  font-size: 5px;

  letter-spacing: 1.7px;
}


.nav-actions {
  display: flex;

  align-items: center;

  gap: 14px;
}


.system-status {
  display: flex;

  align-items: center;

  gap: 7px;

  padding:
    7px 10px;

  color:
    var(--soft);

  border:
    1px solid
    var(--border-soft);

  border-radius: 30px;

  background:
    var(--surface-light);

  font-size: 7px;
}


.online-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background:
    var(--success);

  box-shadow:
    0 0 10px
    var(--success);
}


/* ==================================================
   THEME TOGGLE
   ================================================== */

.theme-toggle {
  width: 52px;
  height: 30px;

  padding: 3px;

  border:
    1px solid
    var(--border);

  border-radius: 30px;

  cursor: pointer;

  background:
    var(--surface);

  transition:
    background 0.4s ease,
    border-color 0.4s ease;
}


.theme-thumb {
  position: relative;

  width: 22px;
  height: 22px;

  display: block;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--blue)
    );

  box-shadow:
    0 5px 14px
    rgba(99, 80, 230, 0.28);

  transition:
    transform 0.35s
    cubic-bezier(.2, .8, .2, 1);
}


html[data-theme="light"]
.theme-thumb {
  transform:
    translateX(22px);
}


.theme-thumb svg {
  position: absolute;

  width: 12px;
  height: 12px;

  left: 5px;
  top: 5px;

  fill: none;

  stroke: white;

  stroke-width: 2;

  stroke-linecap: round;

  opacity: 0;

  transform:
    scale(0.5)
    rotate(-35deg);

  transition:
    opacity 0.25s ease,
    transform 0.3s ease;
}


html[data-theme="dark"]
.moon-icon {
  opacity: 1;

  transform:
    scale(1);
}


html[data-theme="light"]
.sun-icon {
  opacity: 1;

  transform:
    scale(1);
}


/* ==================================================
   DESKTOP PAGE
   ================================================== */

.page {
  position: relative;

  z-index: 5;

  width: 100%;

  min-height: 100vh;

  padding:
    95px 5.5vw 55px;

  display: grid;

  grid-template-columns:
    minmax(760px, 1fr)
    minmax(480px, 535px);

  align-items: center;

  gap:
    clamp(
      55px,
      6vw,
      110px
    );
}


/* ==================================================
   HERO
   ================================================== */

.hero {
  position: relative;

  min-height: 650px;

  display: flex;

  align-items: center;
}


.hero-copy {
  position: relative;

  z-index: 5;

  max-width: 625px;
}


.hero-pill {
  width: fit-content;

  display: flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 24px;

  padding:
    7px 11px;

  color:
    var(--accent-bright);

  border:
    1px solid
    var(--border-soft);

  border-radius: 30px;

  background:
    var(--surface-light);

  font-size: 7px;

  font-weight: 700;

  letter-spacing: 1.8px;
}


.hero h1 {
  font-family:
    var(--heading);

  font-size:
    clamp(
      62px,
      4.6vw,
      90px
    );

  line-height: 1.035;

  letter-spacing:
    -4.5px;

  font-weight: 800;
}


.hero h1 > span {
  display: block;
}


.gradient-title {
  width: fit-content;

  padding-bottom: 6px;

  color: transparent;

  background:
    linear-gradient(
      100deg,
      #916fff,
      #7e91ff,
      #5dc6ff
    );

  background-clip: text;

  -webkit-background-clip: text;

  -webkit-text-fill-color:
    transparent;
}


.hero-description {
  max-width: 505px;

  margin-top: 24px;

  color:
    var(--soft);

  font-size: 12px;

  line-height: 1.8;
}


.feature-row {
  display: flex;

  align-items: center;

  gap: 24px;

  margin-top: 31px;
}


.feature {
  display: flex;

  align-items: center;

  gap: 9px;
}


.feature-icon {
  width: 34px;
  height: 34px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  color:
    var(--accent-bright);

  border:
    1px solid
    var(--border);

  border-radius: 11px;

  background:
    var(--surface);

  box-shadow:
    0 8px 24px
    var(--shadow);
}


.feature strong {
  display: block;

  font-size: 8px;
}


.feature small {
  display: block;

  margin-top: 3px;

  color:
    var(--muted);

  font-size: 6px;
}


/* ==================================================
   PRODUCT SCENE
   ================================================== */

.product-scene {
  --rx: 0deg;
  --ry: 0deg;

  position: absolute;

  z-index: 3;

  width: 510px;
  height: 390px;

  right: -35px;
  top: 50%;

  transform:
    translateY(-25%)
    rotateX(var(--rx))
    rotateY(var(--ry));

  transform-style:
    preserve-3d;

  transition:
    transform 0.16s ease-out;
}


.scene-glow {
  position: absolute;

  width: 390px;
  height: 280px;

  left: 55px;
  top: 50px;

  border-radius: 50%;

  background:
    rgba(114, 93, 255, 0.15);

  filter:
    blur(90px);
}


.analytics-card {
  position: absolute;

  width: 430px;

  left: 36px;
  top: 48px;

  padding: 23px;

  border:
    1px solid
    var(--border);

  border-radius: 18px;

  background:
    var(--surface);

  backdrop-filter:
    blur(26px);

  -webkit-backdrop-filter:
    blur(26px);

  box-shadow:
    0 32px 85px
    var(--shadow);

  transform:
    translateZ(20px);

  transition:
    background 0.4s ease,
    border-color 0.4s ease;
}


.analytics-header {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;
}


.analytics-kicker {
  color:
    var(--muted);

  font-size: 6px;

  letter-spacing: 1.4px;
}


.analytics-header h3 {
  margin-top: 5px;

  font-family:
    var(--heading);

  font-size: 13px;
}


.analytics-header button {
  padding:
    7px 10px;

  color:
    var(--soft);

  border:
    1px solid
    var(--border);

  border-radius: 8px;

  background:
    var(--surface-light);

  font-size: 7px;
}


.main-stat {
  margin-top: 19px;

  display: flex;

  align-items: flex-end;

  justify-content: space-between;
}


.main-stat span:first-child {
  color:
    var(--muted);

  font-size: 6px;
}


.main-stat strong {
  display: block;

  margin-top: 4px;

  font-size: 20px;
}


.growth {
  color:
    var(--success);

  font-size: 8px;
}


.analytics-chart {
  width: 100%;
  height: 105px;

  margin-top: 4px;

  overflow: visible;
}


.chart-line {
  fill: none;

  stroke:
    #8977ff;

  stroke-width: 2;

  vector-effect:
    non-scaling-stroke;

  filter:
    drop-shadow(
      0 0 6px
      rgba(137, 119, 255, 0.5)
    );

  stroke-dasharray: 1000;

  stroke-dashoffset: 1000;
}


.chart-fill {
  fill:
    url(#chartArea);

  opacity: 0;
}


body.loaded
.chart-line {
  animation:
    chartLine 1.8s 0.65s ease forwards;
}


body.loaded
.chart-fill {
  animation:
    chartFill 0.8s 1.3s ease forwards;
}


@keyframes chartLine {
  to {
    stroke-dashoffset: 0;
  }
}


@keyframes chartFill {
  to {
    opacity: 1;
  }
}


.analytics-footer {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 10px;

  padding-top: 12px;

  border-top:
    1px solid
    var(--border-soft);
}


.analytics-footer span {
  color:
    var(--muted);

  font-size: 6px;
}


.analytics-footer strong {
  display: block;

  margin-top: 4px;

  font-size: 9px;
}


.analytics-footer .positive {
  color:
    var(--success);
}


.floating-card {
  position: absolute;

  z-index: 6;

  display: flex;

  align-items: center;

  gap: 10px;

  padding:
    11px 14px;

  border:
    1px solid
    var(--border);

  border-radius: 13px;

  background:
    var(--surface);

  backdrop-filter:
    blur(22px);

  -webkit-backdrop-filter:
    blur(22px);

  box-shadow:
    0 20px 50px
    var(--shadow);
}


.floating-users {
  right: 0;
  top: 8px;

  animation:
    floatOne 5s ease-in-out infinite;
}


.floating-security {
  right: 12px;
  bottom: 3px;

  animation:
    floatTwo 6s ease-in-out infinite;
}


.floating-icon {
  width: 29px;
  height: 29px;

  display: grid;

  place-items: center;

  color:
    var(--accent-bright);

  border-radius: 8px;

  background:
    rgba(125, 108, 255, 0.08);
}


.floating-icon.success {
  color:
    var(--success);

  background:
    rgba(88, 221, 169, 0.08);
}


.floating-card small {
  display: block;

  color:
    var(--muted);

  font-size: 6px;
}


.floating-card strong {
  display: block;

  margin-top: 3px;

  font-size: 9px;
}


@keyframes floatOne {
  50% {
    transform:
      translateY(-7px);
  }
}


@keyframes floatTwo {
  50% {
    transform:
      translateY(7px);
  }
}


/* ==================================================
   AUTH SECTION
   ================================================== */

.auth-section {
  width: 100%;

  opacity: 0;

  transform:
    translateY(24px)
    scale(0.98);

  filter:
    blur(8px);
}


body.loaded
.auth-section {
  animation:
    authEntrance
    0.8s
    0.18s
    cubic-bezier(.2, .8, .2, 1)
    forwards;
}


.auth-card {
  --mx: 50%;
  --my: 50%;

  position: relative;

  width: 100%;

  min-height: 650px;

  padding:
    27px 31px 28px;

  overflow: hidden;

  border:
    1px solid
    var(--border);

  border-radius: 22px;

  background:
    var(--surface);

  backdrop-filter:
    blur(34px);

  -webkit-backdrop-filter:
    blur(34px);

  box-shadow:
    0 42px 110px
    var(--shadow),
    inset 0 1px 0
    rgba(255, 255, 255, 0.045);

  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}


.card-glow {
  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      420px circle
      at var(--mx) var(--my),
      rgba(120, 103, 255, 0.095),
      transparent 48%
    );
}


/* AUTH SWITCH */

.auth-switch {
  position: relative;

  height: 47px;

  display: grid;

  grid-template-columns:
    1fr 1fr;

  padding: 4px;

  border:
    1px solid
    var(--border);

  border-radius: 12px;

  background:
    var(--surface-light);
}


.auth-tab {
  position: relative;

  z-index: 2;

  border: 0;

  cursor: pointer;

  color:
    var(--muted);

  background:
    transparent;

  font-size: 10px;

  font-weight: 500;

  transition:
    color 0.25s ease;
}


.auth-tab.active {
  color:
    var(--text);

  font-weight: 600;
}


.switch-indicator {
  position: absolute;

  left: 4px;
  top: 4px;

  width:
    calc(50% - 4px);

  height:
    calc(100% - 8px);

  border:
    1px solid
    var(--border);

  border-radius: 9px;

  background:
    var(--surface-solid);

  box-shadow:
    0 6px 18px
    var(--shadow);

  transition:
    transform
    0.35s
    cubic-bezier(.2, .8, .2, 1),
    background 0.4s ease;
}


.auth-switch.register
.switch-indicator {
  transform:
    translateX(100%);
}


/* AUTH HEADER */

.auth-header {
  margin-top: 28px;
}


.auth-kicker {
  display: block;

  color:
    var(--accent-bright);

  font-size: 7px;

  font-weight: 700;

  letter-spacing: 2px;
}


.auth-header h2 {
  margin-top: 7px;

  font-family:
    var(--heading);

  font-size: 30px;

  line-height: 1.15;

  letter-spacing: -1px;
}


.auth-header p {
  margin-top: 8px;

  color:
    var(--soft);

  font-size: 10px;
}


/* ==================================================
   SOCIAL AREA
   ================================================== */

.social-area {
  margin-top: 24px;
}


.social-button {
  height: 46px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  border:
    1px solid
    var(--border);

  border-radius: 10px;

  cursor: pointer;

  color:
    var(--text);

  background:
    var(--surface-light);

  font-size: 9px;

  font-weight: 500;

  transition:
    transform 0.18s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}


.social-button:hover {
  transform:
    translateY(-2px);

  border-color:
    rgba(135, 119, 255, 0.34);

  background:
    rgba(126, 106, 255, 0.055);

  box-shadow:
    0 10px 25px
    var(--shadow);
}


.social-button svg {
  width: 16px;
  height: 16px;

  flex-shrink: 0;
}


.google-button {
  width: 100%;

  height: 49px;
}


.google-logo {
  width: 18px !important;
  height: 18px !important;
}


.secondary-social {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 9px;

  margin-top: 9px;
}


/* ==================================================
   DIVIDER
   ================================================== */

.divider {
  display: grid;

  grid-template-columns:
    1fr auto 1fr;

  align-items: center;

  gap: 11px;

  margin:
    20px 0;
}


.divider span {
  height: 1px;

  background:
    var(--border-soft);
}


.divider small {
  color:
    var(--muted);

  font-size: 7px;
}


/* ==================================================
   FORM
   ================================================== */

.field {
  margin-bottom: 12px;
}


.hidden {
  display: none !important;
}


.field-heading {
  display: flex;

  align-items: center;

  justify-content: space-between;
}


.field label {
  display: block;

  margin-bottom: 7px;

  color:
    var(--text);

  font-size: 8px;

  font-weight: 500;
}


.forgot-button {
  margin-bottom: 7px;

  border: 0;

  cursor: pointer;

  color:
    var(--accent-bright);

  background:
    transparent;

  font-size: 8px;
}


.input-wrap {
  position: relative;
}


.input-wrap input {
  width: 100%;

  height: 49px;

  padding:
    0 48px 0 43px;

  border:
    1px solid
    var(--border);

  border-radius: 10px;

  outline: 0;

  color:
    var(--text);

  background:
    var(--input);

  font-size: 10px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.4s ease;
}


.input-wrap input::placeholder {
  color:
    var(--muted);
}


.input-wrap input:focus {
  border-color:
    rgba(131, 113, 255, 0.5);

  box-shadow:
    0 0 0 3px
    rgba(128, 108, 255, 0.055);
}


.field-icon {
  position: absolute;

  z-index: 3;

  left: 14px;
  top: 50%;

  width: 17px;
  height: 17px;

  transform:
    translateY(-50%);

  color:
    var(--muted);
}


.field-icon svg {
  width: 100%;
  height: 100%;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.eye-button {
  position: absolute;

  z-index: 4;

  right: 13px;
  top: 50%;

  width: 20px;
  height: 20px;

  transform:
    translateY(-50%);

  border: 0;

  cursor: pointer;

  color:
    var(--muted);

  background:
    transparent;
}


.eye-button svg {
  position: absolute;

  width: 18px;
  height: 18px;

  left: 1px;
  top: 1px;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    opacity 0.2s ease;
}


.eye-closed {
  opacity: 0;
}


.eye-button.visible
.eye-open {
  opacity: 0;
}


.eye-button.visible
.eye-closed {
  opacity: 1;
}


.error {
  display: block;

  min-height: 11px;

  padding-top: 4px;

  color:
    var(--danger);

  font-size: 7px;
}


/* PASSWORD STRENGTH */

.password-strength {
  margin:
    -1px 0 13px;
}


.strength-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 7px;

  color:
    var(--soft);

  font-size: 7px;
}


.strength-header strong {
  font-weight: 600;
}


.strength-bars {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 5px;
}


.strength-bars i {
  height: 3px;

  border-radius: 10px;

  background:
    var(--border);
}


.strength-bars[data-level="1"]
i:nth-child(-n+1) {
  background:
    #ff7287;
}


.strength-bars[data-level="2"]
i:nth-child(-n+2) {
  background:
    #ffaa61;
}


.strength-bars[data-level="3"]
i:nth-child(-n+3) {
  background:
    #67bcff;
}


.strength-bars[data-level="4"]
i:nth-child(-n+4) {
  background:
    var(--success);
}


/* OPTIONS */

.login-options {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 4px;
}


.remember {
  display: flex;

  align-items: center;

  gap: 8px;

  cursor: pointer;

  color:
    var(--soft);

  font-size: 8px;
}


.remember input {
  display: none;
}


.custom-checkbox {
  width: 16px;
  height: 16px;

  display: grid;

  place-items: center;

  color: transparent;

  border:
    1px solid
    var(--border);

  border-radius: 4px;

  background:
    var(--input);
}


.custom-checkbox svg {
  width: 11px;
  height: 11px;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 2.2;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.remember input:checked
+ .custom-checkbox {
  color: white;

  border-color:
    var(--accent);

  background:
    var(--accent);
}


.passkey-button {
  display: flex;

  align-items: center;

  gap: 6px;

  border: 0;

  cursor: pointer;

  color:
    var(--soft);

  background:
    transparent;

  font-size: 8px;
}


.passkey-button:hover {
  color:
    var(--accent-bright);
}


.passkey-button svg {
  width: 16px;
  height: 16px;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 1.6;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* TERMS */

.terms {
  display: flex;

  align-items: flex-start;

  gap: 8px;

  margin-top: 5px;

  cursor: pointer;

  color:
    var(--soft);

  font-size: 8px;

  line-height: 1.55;
}


.terms input {
  display: none;
}


.terms-checkbox {
  width: 16px;
  height: 16px;

  flex-shrink: 0;

  margin-top: 1px;

  display: grid;

  place-items: center;

  color: transparent;

  border:
    1px solid
    var(--border);

  border-radius: 4px;

  background:
    var(--input);
}


.terms-checkbox svg {
  width: 11px;
  height: 11px;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 2.3;
}


.terms input:checked
+ .terms-checkbox {
  color: white;

  border-color:
    var(--accent);

  background:
    var(--accent);
}


.terms a {
  color:
    var(--accent-bright);

  text-decoration: none;
}


/* SUBMIT */

.submit-button {
  position: relative;

  width: 100%;
  height: 51px;

  margin-top: 22px;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  border: 0;

  border-radius: 10px;

  cursor: pointer;

  color: white;

  background:
    linear-gradient(
      105deg,
      #547dff,
      #7764ff 48%,
      #954cff
    );

  box-shadow:
    0 13px 35px
    rgba(108, 83, 245, 0.31);

  font-size: 9px;

  font-weight: 600;

  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease;
}


.submit-button:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 18px 45px
    rgba(108, 83, 245, 0.4);
}


.submit-button:active {
  transform:
    scale(0.986);
}


.button-shine {
  position: absolute;

  width: 130px;
  height: 140%;

  left: -160px;
  top: -20%;

  transform:
    skewX(-22deg);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent
    );

  transition:
    left 0.6s ease;
}


.submit-button:hover
.button-shine {
  left:
    calc(100% + 30px);
}


.submit-button > span {
  position: relative;

  z-index: 2;
}


.submit-arrow {
  font-size: 15px;

  transition:
    transform 0.2s ease;
}


.submit-button:hover
.submit-arrow {
  transform:
    translateX(5px);
}


/* AUTH FOOTER */

.auth-footer {
  margin-top: 22px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 5px;

  color:
    var(--soft);

  font-size: 8px;
}


.auth-footer button {
  border: 0;

  cursor: pointer;

  color:
    var(--accent-bright);

  background:
    transparent;

  font-size: 8px;

  font-weight: 500;
}


/* SUCCESS */

.success-screen {
  position: absolute;

  z-index: 30;

  inset: 0;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  opacity: 0;

  transform:
    scale(1.04);

  pointer-events: none;

  background:
    var(--surface-solid);

  transition:
    opacity 0.38s ease,
    transform 0.38s ease,
    background 0.4s ease;
}


.auth-card.success
.success-screen {
  opacity: 1;

  transform:
    scale(1);
}


.success-icon {
  width: 72px;
  height: 72px;

  display: grid;

  place-items: center;

  color:
    var(--success);

  border:
    1px solid
    rgba(88, 221, 169, 0.3);

  border-radius: 50%;

  background:
    rgba(88, 221, 169, 0.06);

  box-shadow:
    0 0 50px
    rgba(88, 221, 169, 0.12);

  animation:
    successPulse 1.8s ease-in-out infinite;
}


.success-icon svg {
  width: 28px;
  height: 28px;

  fill: none;

  stroke:
    currentColor;

  stroke-width: 2;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.success-screen > span {
  margin-top: 24px;

  color:
    var(--success);

  font-size: 7px;

  letter-spacing: 2px;
}


.success-screen h3 {
  margin-top: 9px;

  font-family:
    var(--heading);

  font-size: 29px;
}


.success-screen p {
  margin-top: 7px;

  color:
    var(--soft);

  font-size: 10px;
}


@keyframes successPulse {
  50% {
    transform:
      scale(1.07);
  }
}


/* ==================================================
   REVEAL
   ================================================== */

.reveal {
  opacity: 0;

  transform:
    translateY(23px);

  filter:
    blur(8px);
}


body.loaded
.reveal {
  animation:
    revealIn
    0.72s
    cubic-bezier(.2, .8, .2, 1)
    forwards;
}


body.loaded .reveal-1 {
  animation-delay: 0.03s;
}

body.loaded .reveal-2 {
  animation-delay: 0.09s;
}

body.loaded .reveal-3 {
  animation-delay: 0.15s;
}

body.loaded .reveal-4 {
  animation-delay: 0.21s;
}

body.loaded .reveal-5 {
  animation-delay: 0.29s;
}

body.loaded .reveal-6 {
  animation-delay: 0.37s;
}

body.loaded .reveal-7 {
  animation-delay: 0.48s;
}


@keyframes revealIn {
  to {
    opacity: 1;

    transform:
      translateY(0);

    filter:
      blur(0);
  }
}


@keyframes authEntrance {
  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);

    filter:
      blur(0);
  }
}


/* ==================================================
   TOAST
   ================================================== */

.toast {
  position: fixed;

  z-index: 100;

  right: 24px;
  bottom: 24px;

  min-width: 290px;

  padding:
    14px 16px;

  display: flex;

  align-items: center;

  gap: 11px;

  opacity: 0;

  transform:
    translateY(20px);

  pointer-events: none;

  border:
    1px solid
    var(--border);

  border-radius: 13px;

  background:
    var(--surface-solid);

  box-shadow:
    0 22px 60px
    var(--shadow);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.4s ease;
}


.toast.show {
  opacity: 1;

  transform:
    translateY(0);
}


.toast-symbol {
  width: 31px;
  height: 31px;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  color:
    var(--success);

  border-radius: 8px;

  background:
    rgba(88, 221, 169, 0.08);
}


.toast.error
.toast-symbol {
  color:
    var(--danger);

  background:
    rgba(255, 114, 135, 0.08);
}


.toast strong {
  display: block;

  font-size: 8px;
}


.toast p {
  margin-top: 3px;

  color:
    var(--muted);

  font-size: 8px;
}


.mobile-preview-title {
  display: none;
}


/* ==================================================
   WIDE DESKTOP
   ================================================== */

@media (min-width: 1800px) {

  .page {
    padding-left: 7vw;
    padding-right: 7vw;

    grid-template-columns:
      minmax(900px, 1fr)
      555px;

    gap: 90px;
  }


  .hero-copy {
    max-width: 700px;
  }


  .hero h1 {
    font-size:
      clamp(
        72px,
        4.5vw,
        102px
      );
  }


  .hero-description {
    max-width: 540px;

    font-size: 13px;
  }


  .product-scene {
    width: 560px;

    right: -25px;

    transform:
      translateY(-25%)
      scale(1.06)
      rotateX(var(--rx))
      rotateY(var(--ry));
  }


  .auth-card {
    min-height: 675px;

    padding:
      30px 34px 30px;
  }


  .auth-header h2 {
    font-size: 32px;
  }


  .input-wrap input {
    height: 52px;
  }

}


/* ==================================================
   LAPTOP
   ================================================== */

@media (max-width: 1500px) {

  .page {
    grid-template-columns:
      minmax(650px, 1fr)
      minmax(440px, 490px);

    gap: 38px;
  }


  .hero-copy {
    max-width: 530px;
  }


  .product-scene {
    right: -80px;

    transform:
      translateY(-25%)
      scale(0.86)
      rotateX(var(--rx))
      rotateY(var(--ry));
  }

}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 1120px) {

  body {
    overflow-y: auto;
  }


  .navbar {
    position: absolute;
  }


  .page {
    grid-template-columns:
      1fr;

    padding:
      110px 24px 75px;

    gap: 54px;
  }


  .hero {
    min-height: auto;

    display: flex;

    flex-direction: column;

    text-align: center;
  }


  .hero-copy {
    max-width: 740px;

    margin: auto;
  }


  .hero-pill {
    margin-left: auto;
    margin-right: auto;
  }


  .gradient-title {
    margin-left: auto;
    margin-right: auto;
  }


  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }


  .feature-row {
    justify-content: center;
  }


  .product-scene {
    position: relative;

    right: auto;
    top: auto;

    margin:
      34px auto -10px;

    transform:
      scale(0.95);
  }


  .auth-section {
    width:
      min(100%, 540px);

    margin: auto;
  }


  .auth-card {
    min-height: 650px;
  }

}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 700px) {

  body {
    overflow-y: auto;

    padding-bottom:
      env(safe-area-inset-bottom);
  }


  .background {
    position: fixed;
  }


  .mouse-glow {
    display: none;
  }


  .grid {
    background-size:
      46px 46px;

    opacity: 0.55;
  }


  .aurora {
    filter:
      blur(85px);

    animation-duration:
      22s;
  }


  .navbar {
    position: relative;

    padding:
      18px 17px 8px;
  }


  .brand-symbol {
    width: 32px;
    height: 32px;
  }


  .brand-copy strong {
    font-size: 11px;
  }


  .brand-copy small {
    display: none;
  }


  .system-status {
    display: none;
  }


  .theme-toggle {
    width: 50px;
    height: 29px;
  }


  .page {
    display: flex;

    flex-direction: column;

    width: 100%;

    min-height: auto;

    padding:
      25px 15px
      calc(
        50px +
        env(safe-area-inset-bottom)
      );

    gap: 30px;
  }


  /*
    MOBILE:
    Hero chỉ còn intro ngắn.
    Form được đẩy lên trước product preview.
  */

  .hero {
    display: contents;
  }


  .hero-copy {
    order: 1;

    width: 100%;

    text-align: left;
  }


  .hero-pill {
    margin:
      0 0 14px;

    padding:
      6px 9px;

    font-size: 6px;
  }


  .hero h1 {
    font-size:
      clamp(
        39px,
        11vw,
        50px
      );

    line-height: 1.02;

    letter-spacing:
      -2.8px;
  }


  .hero h1
  .reveal-2 {
    display: inline;
  }


  .hero h1
  .reveal-3 {
    display: inline;
  }


  .hero h1
  .gradient-title {
    display: block;

    width: auto;

    margin: 3px 0 0;
  }


  .hero-description {
    max-width: 390px;

    margin:
      17px 0 0;

    font-size: 11px;

    line-height: 1.7;
  }


  .feature-row {
    display: none;
  }


  /* FORM TRƯỚC DASHBOARD */

  .auth-section {
    order: 2;

    width: 100%;

    max-width: 460px;

    margin: 0 auto;
  }


  .auth-card {
    min-height: 0;

    padding:
      18px 16px 21px;

    border-radius: 19px;

    backdrop-filter:
      blur(24px);

    -webkit-backdrop-filter:
      blur(24px);
  }


  .auth-switch {
    height: 48px;
  }


  .auth-tab {
    font-size: 10px;
  }


  .auth-header {
    margin-top: 24px;
  }


  .auth-kicker {
    font-size: 6px;
  }


  .auth-header h2 {
    margin-top: 6px;

    font-size: 27px;
  }


  .auth-header p {
    font-size: 10px;

    line-height: 1.5;
  }


  .social-area {
    margin-top: 21px;
  }


  .google-button {
    height: 52px;

    font-size: 10px;
  }


  .secondary-social {
    gap: 8px;
  }


  .secondary-social
  .social-button {
    height: 49px;

    font-size: 9px;
  }


  .divider {
    margin:
      19px 0;
  }


  .divider small {
    font-size: 6px;
  }


  .field {
    margin-bottom: 13px;
  }


  .field label,
  .forgot-button {
    font-size: 9px;
  }


  .input-wrap input {
    height: 53px;

    padding-left: 44px;

    font-size: 16px;

    /*
      16px để iPhone không tự zoom
      khi focus input.
    */
  }


  .field-icon {
    left: 14px;

    width: 18px;
    height: 18px;
  }


  .eye-button {
    right: 14px;

    width: 22px;
    height: 22px;
  }


  .login-options {
    margin-top: 5px;
  }


  .remember,
  .passkey-button {
    font-size: 9px;
  }


  .submit-button {
    height: 54px;

    margin-top: 22px;

    font-size: 10px;

    border-radius: 11px;
  }


  .auth-footer {
    margin-top: 20px;

    font-size: 9px;
  }


  .auth-footer button {
    font-size: 9px;
  }


  /*
    Product preview mobile:
    nằm SAU form,
    giảm chi tiết bay.
  */

  .product-scene {
    order: 4;

    position: relative;

    width: 100%;
    height: 300px;

    right: auto;
    top: auto;

    margin: 0 auto;

    transform: none;
  }


  .scene-glow {
    width: 90%;
    height: 220px;

    left: 5%;
    top: 35px;
  }


  .analytics-card {
    width: 100%;

    left: 0;
    top: 10px;

    padding: 18px;

    border-radius: 17px;

    transform: none;
  }


  .analytics-chart {
    height: 90px;
  }


  .floating-card {
    display: none;
  }


  .mobile-preview-title {
    order: 3;

    width: 100%;

    margin-top: 6px;

    display: block;

    text-align: center;
  }


  .mobile-preview-title span {
    display: block;

    color:
      var(--accent-bright);

    font-size: 6px;

    font-weight: 700;

    letter-spacing: 1.8px;
  }


  .mobile-preview-title strong {
    display: block;

    margin-top: 6px;

    font-family:
      var(--heading);

    font-size: 17px;
  }


  .toast {
    left: 15px;
    right: 15px;
    bottom:
      calc(
        15px +
        env(safe-area-inset-bottom)
      );

    min-width: 0;
  }


  /*
    Mobile animation:
    bỏ blur mạnh và parallax.
  */

  .reveal {
    filter: none;

    transform:
      translateY(14px);
  }


  body.loaded .reveal {
    animation-duration:
      0.55s;
  }


  .auth-section {
    filter: none;

    transform:
      translateY(16px);
  }


  body.loaded
  .auth-section {
    animation-duration:
      0.6s;
  }

}


/* ==================================================
   SMALL MOBILE
   ================================================== */

@media (max-width: 390px) {

  .page {
    padding-left: 12px;
    padding-right: 12px;
  }


  .navbar {
    padding-left: 14px;
    padding-right: 14px;
  }


  .hero h1 {
    font-size: 39px;
  }


  .auth-card {
    padding:
      16px 13px 20px;
  }


  .secondary-social {
    grid-template-columns:
      1fr 1fr;
  }


  .remember,
  .passkey-button {
    font-size: 8px;
  }


  .analytics-footer span {
    font-size: 5px;
  }

}


/* ==================================================
   REDUCED MOTION
   ================================================== */

@media (
  prefers-reduced-motion:
  reduce
) {

  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;

    scroll-behavior:
      auto !important;
  }

}/* ============================================================
   AETHER v2.2 FINAL
   MOBILE POLISH OVERRIDE
   Paste at the VERY END of style.css
   ============================================================ */


/* ============================================================
   MOBILE — 700px AND BELOW
   ============================================================ */

@media (max-width: 700px) {

  /* ---------- PAGE ---------- */

  html,
  body {
    width: 100%;
    max-width: 100%;

    overflow-x: hidden;
  }


  body {
    overflow-y: auto;

    -webkit-text-size-adjust: 100%;

    padding-bottom:
      env(safe-area-inset-bottom);
  }


  .background {
    position: fixed;
  }


  .mouse-glow {
    display: none;
  }


  .grid {
    background-size:
      48px 48px;

    opacity: 0.52;
  }


  .aurora {
    filter:
      blur(80px);

    opacity: 0.38;

    animation-duration:
      22s;
  }


  .aurora-one {
    width: 430px;
    height: 430px;

    left: -220px;
    top: -160px;
  }


  .aurora-two {
    width: 420px;
    height: 420px;

    right: -230px;
    bottom: -180px;
  }


  .aurora-three {
    width: 300px;
    height: 300px;

    left: 40%;
    top: 42%;
  }


  /* ---------- NAV ---------- */

  .navbar {
    position: relative;

    width: 100%;

    padding:
      16px 16px 5px;

    min-height: 58px;
  }


  .brand {
    gap: 10px;
  }


  .brand-symbol {
    width: 31px;
    height: 31px;
  }


  .brand-symbol span {
    inset: 4px;

    border-radius: 8px;
  }


  .brand-symbol span:last-child {
    inset: 9px;

    border-radius: 4px;
  }


  .brand-copy strong {
    font-size: 11px;

    letter-spacing: 3.5px;
  }


  .brand-copy small {
    display: none;
  }


  .system-status {
    display: none;
  }


  .theme-toggle {
    width: 50px;
    height: 29px;

    padding: 3px;

    flex-shrink: 0;
  }


  .theme-thumb {
    width: 21px;
    height: 21px;
  }


  html[data-theme="light"]
  .theme-thumb {
    transform:
      translateX(21px);
  }


  .theme-thumb svg {
    width: 11px;
    height: 11px;

    left: 5px;
    top: 5px;
  }


  /* ---------- MAIN ---------- */

  .page {
    width: 100%;

    min-height: auto;

    display: flex;

    flex-direction: column;

    gap: 21px;

    padding:
      19px 14px
      calc(
        42px +
        env(safe-area-inset-bottom)
      );
  }


  .hero {
    display: contents;
  }


  /* ============================================================
     MOBILE HERO
     ============================================================ */

  .hero-copy {
    order: 1;

    width: 100%;
    max-width: 460px;

    margin: 0 auto;

    text-align: left;
  }


  .hero-pill {
    margin:
      0 0 12px;

    padding:
      6px 9px;

    gap: 6px;

    font-size: 6px;

    letter-spacing: 1.35px;
  }


  .hero h1 {
    width: 100%;

    font-size:
      clamp(
        35px,
        9.7vw,
        42px
      );

    line-height: 0.99;

    letter-spacing:
      -2.5px;

    font-weight: 800;
  }


  .hero h1 > span {
    display: block;
  }


  .gradient-title {
    margin-top: 3px;

    padding-bottom: 3px;
  }


  .hero-description {
    width: 100%;

    max-width: 410px;

    margin:
      16px 0 0;

    font-size: 11px;

    line-height: 1.58;
  }


  .feature-row {
    display: none;
  }


  /* ============================================================
     AUTH CARD — MAIN MOBILE FOCUS
     ============================================================ */

  .auth-section {
    order: 2;

    width: 100%;
    max-width: 460px;

    margin: 0 auto;

    filter: none;

    transform:
      translateY(12px);
  }


  body.loaded
  .auth-section {
    animation-duration:
      0.55s;
  }


  .auth-card {
    width: 100%;

    min-height: 0;

    padding:
      14px 14px 17px;

    border-radius: 19px;

    backdrop-filter:
      blur(24px);

    -webkit-backdrop-filter:
      blur(24px);

    box-shadow:
      0 22px 55px
      var(--shadow),
      inset 0 1px 0
      rgba(255,255,255,.045);
  }


  .card-glow {
    opacity: 0.65;
  }


  /* ---------- SIGN IN / REGISTER ---------- */

  .auth-switch {
    height: 44px;

    padding: 3px;

    border-radius: 11px;
  }


  .switch-indicator {
    left: 3px;
    top: 3px;

    width:
      calc(50% - 3px);

    height:
      calc(100% - 6px);

    border-radius: 8px;
  }


  .auth-tab {
    font-size: 10px;

    font-weight: 500;
  }


  .auth-tab.active {
    font-weight: 600;
  }


  /* ---------- AUTH TITLE ---------- */

  .auth-header {
    margin-top: 19px;
  }


  .auth-kicker {
    font-size: 6px;

    letter-spacing: 1.6px;
  }


  .auth-header h2 {
    margin-top: 5px;

    font-size: 26px;

    line-height: 1.08;

    letter-spacing: -0.9px;
  }


  .auth-header p {
    margin-top: 5px;

    font-size: 10px;

    line-height: 1.45;
  }


  /* ============================================================
     SOCIAL LOGIN
     ============================================================ */

  .social-area {
    margin-top: 17px;
  }


  .social-button {
    border-radius: 10px;

    font-size: 9.5px;

    touch-action: manipulation;
  }


  .google-button {
    height: 48px;

    font-size: 10px;
  }


  .google-logo {
    width: 18px !important;
    height: 18px !important;
  }


  .secondary-social {
    margin-top: 7px;

    gap: 7px;
  }


  .secondary-social
  .social-button {
    height: 45px;
  }


  .social-button svg {
    width: 16px;
    height: 16px;
  }


  /* ---------- DIVIDER ---------- */

  .divider {
    margin:
      15px 0 14px;

    gap: 9px;
  }


  .divider small {
    font-size: 6.5px;

    white-space: nowrap;
  }


  /* ============================================================
     INPUTS
     ============================================================ */

  .field {
    margin-bottom: 10px;
  }


  .field label {
    margin-bottom: 6px;

    font-size: 9px;

    font-weight: 500;
  }


  .field-heading {
    min-height: 18px;
  }


  .forgot-button {
    margin-bottom: 6px;

    font-size: 8.5px;
  }


  .input-wrap input {
    width: 100%;

    height: 50px;

    padding:
      0 45px 0 43px;

    border-radius: 10px;

    /*
      16px prevents automatic zoom
      on Safari/iPhone.
    */
    font-size: 16px;
  }


  .input-wrap input::placeholder {
    font-size: 14px;
  }


  .field-icon {
    left: 14px;

    width: 18px;
    height: 18px;
  }


  .eye-button {
    right: 13px;

    width: 23px;
    height: 23px;
  }


  .eye-button svg {
    width: 19px;
    height: 19px;

    left: 2px;
    top: 2px;
  }


  /* Remove unnecessary empty space
     when there is no error */
  .error:empty {
    display: none;
  }


  .error:not(:empty) {
    display: block;

    min-height: 0;

    padding:
      5px 1px 0;

    font-size: 8px;

    line-height: 1.35;
  }


  /* ============================================================
     PASSWORD STRENGTH
     ============================================================ */

  .password-strength {
    margin:
      2px 0 12px;
  }


  .strength-header {
    margin-bottom: 6px;

    font-size: 8px;
  }


  .strength-bars {
    gap: 4px;
  }


  .strength-bars i {
    height: 3px;
  }


  /* ============================================================
     OPTIONS
     ============================================================ */

  .login-options {
    margin-top: 4px;

    min-height: 26px;
  }


  .remember,
  .passkey-button {
    font-size: 8.5px;
  }


  .remember {
    gap: 7px;
  }


  .custom-checkbox {
    width: 16px;
    height: 16px;
  }


  .passkey-button {
    gap: 5px;

    padding:
      4px 0;

    touch-action: manipulation;
  }


  .passkey-button svg {
    width: 16px;
    height: 16px;
  }


  /* ---------- REGISTER TERMS ---------- */

  .terms {
    margin-top: 3px;

    gap: 8px;

    font-size: 8.5px;

    line-height: 1.45;
  }


  /* ============================================================
     CTA
     ============================================================ */

  .submit-button {
    height: 52px;

    margin-top: 16px;

    border-radius: 11px;

    font-size: 10px;

    box-shadow:
      0 12px 30px
      rgba(108,83,245,.27);

    touch-action: manipulation;
  }


  .submit-arrow {
    font-size: 16px;
  }


  /* ---------- FOOTER ---------- */

  .auth-footer {
    margin-top: 15px;

    padding-bottom: 1px;

    font-size: 8.5px;
  }


  .auth-footer button {
    font-size: 8.5px;
  }


  /* ============================================================
     PRODUCT PREVIEW BELOW LOGIN
     ============================================================ */

  .mobile-preview-title {
    order: 3;

    width: 100%;

    max-width: 460px;

    margin:
      5px auto -3px;

    display: block;

    text-align: left;
  }


  .mobile-preview-title span {
    display: none;
  }


  .mobile-preview-title strong {
    display: block;

    margin: 0;

    font-family:
      var(--heading);

    font-size: 17px;

    letter-spacing: -0.35px;
  }


  .product-scene {
    order: 4;

    position: relative;

    width: 100%;
    max-width: 460px;

    height: 255px;

    right: auto;
    top: auto;

    margin:
      0 auto;

    transform: none !important;
  }


  .scene-glow {
    width: 90%;
    height: 190px;

    left: 5%;
    top: 25px;

    filter:
      blur(65px);
  }


  .analytics-card {
    width: 100%;

    left: 0;
    top: 5px;

    padding:
      16px;

    border-radius: 16px;

    transform: none;

    box-shadow:
      0 20px 50px
      var(--shadow);
  }


  .analytics-header h3 {
    font-size: 12px;
  }


  .analytics-header button {
    padding:
      6px 8px;

    font-size: 6px;
  }


  .main-stat {
    margin-top: 14px;
  }


  .main-stat strong {
    font-size: 18px;
  }


  .analytics-chart {
    height: 78px;

    margin-top: 2px;
  }


  .analytics-footer {
    padding-top: 9px;
  }


  .analytics-footer span {
    font-size: 5.5px;
  }


  .analytics-footer strong {
    font-size: 8.5px;
  }


  .floating-card {
    display: none;
  }


  /* ============================================================
     SUCCESS SCREEN
     ============================================================ */

  .success-screen {
    border-radius: 18px;
  }


  .success-icon {
    width: 64px;
    height: 64px;
  }


  .success-screen h3 {
    font-size: 25px;
  }


  /* ============================================================
     TOAST
     ============================================================ */

  .toast {
    left: 14px;
    right: 14px;

    bottom:
      calc(
        14px +
        env(safe-area-inset-bottom)
      );

    min-width: 0;

    padding:
      13px 14px;
  }


  /* ============================================================
     MOBILE ANIMATION
     ============================================================ */

  .reveal {
    filter: none;

    transform:
      translateY(12px);
  }


  body.loaded
  .reveal {
    animation-duration:
      0.5s;
  }


  body.loaded
  .reveal-1 {
    animation-delay: 0.02s;
  }


  body.loaded
  .reveal-2 {
    animation-delay: 0.06s;
  }


  body.loaded
  .reveal-3 {
    animation-delay: 0.10s;
  }


  body.loaded
  .reveal-4 {
    animation-delay: 0.14s;
  }


  body.loaded
  .reveal-5 {
    animation-delay: 0.18s;
  }


  body.loaded
  .reveal-7 {
    animation-delay: 0.3s;
  }

}


/* ============================================================
   430px AND BELOW
   ============================================================ */

@media (max-width: 430px) {

  .page {
    padding-left: 12px;
    padding-right: 12px;

    gap: 19px;
  }


  .navbar {
    padding-left: 14px;
    padding-right: 14px;
  }


  .hero h1 {
    font-size:
      clamp(
        34px,
        9.5vw,
        40px
      );

    letter-spacing:
      -2.3px;
  }


  .hero-description {
    max-width: 370px;
  }


  .auth-card {
    padding:
      13px 12px 16px;
  }


  .auth-header h2 {
    font-size: 25px;
  }


  .google-button {
    height: 48px;
  }


  .input-wrap input {
    height: 50px;
  }


  .submit-button {
    height: 52px;
  }

}


/* ============================================================
   SMALL MOBILE — 380px AND BELOW
   ============================================================ */

@media (max-width: 380px) {

  .hero-pill {
    font-size: 5.5px;

    letter-spacing: 1.1px;
  }


  .hero h1 {
    font-size: 33px;

    letter-spacing:
      -2px;
  }


  .hero-description {
    font-size: 10.5px;
  }


  .auth-card {
    padding:
      12px 11px 15px;
  }


  .secondary-social {
    gap: 6px;
  }


  .secondary-social
  .social-button {
    font-size: 8.5px;
  }


  .remember,
  .passkey-button {
    font-size: 8px;
  }


  .divider small {
    font-size: 6px;
  }

}


/* ============================================================
   TOUCH DEVICES
   Remove desktop hover movement
   ============================================================ */

@media (hover: none) {

  .social-button:hover,
  .submit-button:hover {
    transform: none;
  }


  .submit-button:hover
  .submit-arrow {
    transform: none;
  }


  .submit-button:hover
  .button-shine {
    left: -160px;
  }

}