:root {
  --sync-white: #ffffff;
  --sync-soft-gray: #f6f6f4;
  --sync-ink: #1d2738;
  --sync-s-cyan: #60c8ff;
  --sync-s-sky-blue: #4faef8;
  --sync-y-mint: #79e8d9;
  --sync-y-aqua: #62d8e8;
  --sync-n-blue: #74aeff;
  --sync-n-mid: #8e90ff;
  --sync-n-lilac: #be7dff;
  --sync-c-pink: #f47fa8;
  --sync-c-mid: #f58d91;
  --sync-c-coral: #ff8b61;
  --sync-welcome-bg: linear-gradient(110deg, #eef8fd 0%, #f5f4fb 55%, #fdf2f5 100%);
  --ink: var(--sync-ink);
  --muted: #66758c;
  --surface: #ffffff;
  --soft: #eef8fd;
  --line: #dce8f3;
  --chat: var(--sync-s-sky-blue);
  --aqua: var(--sync-y-aqua);
  --rose: var(--sync-c-pink);
  --gold: #c8a86a;
  --shadow: 0 24px 80px rgba(29, 39, 56, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 12% 16%, rgba(96, 200, 255, 0.25), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(244, 127, 168, 0.18), transparent 28%),
    radial-gradient(circle at 64% 80%, rgba(121, 232, 217, 0.16), transparent 30%),
    var(--sync-welcome-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 46px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.brand-wordmark {
  display: block;
  width: 132px;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--chat), var(--aqua), var(--rose));
  box-shadow: 0 12px 28px rgba(79, 174, 248, 0.28);
}

.nav-link {
  color: var(--muted);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}

.hero-card,
.product-card,
.login-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  padding: clamp(28px, 5vw, 58px);
}

.eyebrow {
  color: var(--chat);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-logo {
  display: block;
  width: min(260px, 70vw);
  height: auto;
  margin-bottom: 26px;
}

h1 {
  margin: 14px 0 16px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sync-s-cyan), var(--sync-y-aqua), var(--sync-n-blue));
  box-shadow: 0 14px 30px rgba(79, 174, 248, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(238, 248, 253, 0.96);
  border: 1px solid rgba(29, 39, 56, 0.08);
}

.button-disabled {
  color: #8b96a7;
  background: #eef1f5;
  cursor: default;
}

.product-grid {
  display: grid;
  gap: 18px;
}

.product-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -44px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(79, 174, 248, 0.12);
}

.product-card.hrms::after {
  background: rgba(200, 168, 106, 0.18);
}

.product-label {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--chat);
  background: #eef8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sync-page {
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
}

.sync-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.sync-orb {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.9), transparent 18%),
    radial-gradient(circle at 76% 20%, rgba(244, 127, 168, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(96, 200, 255, 0.75), rgba(121, 232, 217, 0.42), rgba(190, 125, 255, 0.38), rgba(255, 139, 97, 0.24));
  box-shadow: var(--shadow);
}

.sync-orb img {
  width: min(300px, 72%);
  height: auto;
  filter: drop-shadow(0 26px 45px rgba(29, 39, 56, 0.14));
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.feature {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}

.login-wrap {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(460px, 100%);
  padding: 34px;
}

label {
  display: block;
  margin: 24px 0 8px;
  color: var(--ink);
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--chat);
  box-shadow: 0 0 0 4px rgba(79, 174, 248, 0.15);
}

.message {
  min-height: 24px;
  margin-top: 14px;
  color: #b42318;
  font-weight: 700;
}

.fine-print {
  margin-top: 16px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .hero,
  .sync-panel {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
