:root {
  --surface: rgba(255, 255, 255, 0.96);
  --surface-border: rgba(15, 23, 32, 0.08);
  --text: #16202a;
  --muted: #5e6a76;
  --gold: #c9a96a;
  --gold-deep: #a98444;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(17, 25, 33, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 169, 106, 0.25), transparent 30%),
    linear-gradient(135deg, #f8f5ef 0%, #ece4d6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 32, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 32, 42, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
}

.brand-panel {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 48px 56px 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(201, 169, 106, 0.24), transparent 28%),
    linear-gradient(145deg, #102131 0%, #1b354b 38%, #0c1823 100%);
}

.brand-panel__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 20, 0.12) 0%, rgba(8, 14, 20, 0.78) 100%),
    linear-gradient(120deg, rgba(201, 169, 106, 0.18), transparent 42%);
}

.brand-panel__content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  color: #fff;
}

.hero-logo {
  display: block;
  width: min(360px, 100%);
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.eyebrow,
.mini-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.form-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px;
}

.login-card {
  width: min(460px, 100%);
  padding: 36px;
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 30px 68px rgba(17, 25, 33, 0.22);
}

.login-card__header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #1b2732, #314150);
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-mark--logo {
  width: 122px;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.mini-label {
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.login-card h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.intro-copy {
  margin: 18px 0 28px;
  color: var(--muted);
  line-height: 1.7;
}

.login-form {
  display: grid;
  gap: 28px;
}

.input-group {
  display: grid;
  gap: 8px;
}

.input-group span {
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.input-group input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(22, 32, 42, 0.12);
  border-radius: 16px;
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.input-group input:focus {
  outline: none;
  border-color: rgba(169, 132, 68, 0.8);
  box-shadow: 0 0 0 4px rgba(201, 169, 106, 0.16);
  transform: translateY(-1px);
}

.input-group:focus-within span {
  color: var(--gold-deep);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -8px;
  font-size: 0.86rem;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.checkbox-row input {
  accent-color: var(--gold-deep);
}

.text-link {
  color: var(--gold-deep);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: #765b2f;
}

.login-btn {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #1a2530 0%, #324252 100%);
  box-shadow: 0 16px 30px rgba(26, 37, 48, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.login-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 45%, transparent 70%);
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 18px 34px rgba(26, 37, 48, 0.3);
}

.login-btn:hover::after {
  transform: translateX(120%);
}

.login-btn:active {
  transform: translateY(0);
  box-shadow: 0 12px 24px rgba(26, 37, 48, 0.22);
}

.footer-note {
  margin: 22px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.feature-section {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
}

.brand-panel .feature-section {
  width: 100%;
  max-width: 600px;
  margin-top: 14px;
}

.brand-panel .mini-label {
  color: #f0d992;
}

.feature-section__header {
  margin-bottom: 14px;
}

.feature-section__header h1 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.05;
}

.brand-panel .feature-section__header h1 {
  color: #fff;
  font-size: 30px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(22, 32, 42, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(17, 25, 33, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-45%);
  transition: opacity 0.2s ease, transform 0.45s ease;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.brand-panel .feature-card {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 132, 68, 0.4);
  box-shadow: 0 18px 42px rgba(17, 25, 33, 0.14);
}

.feature-card:hover::before {
  opacity: 1;
  transform: translateX(45%);
}

.brand-panel .feature-card:hover {
  border-color: rgba(228, 201, 138, 0.58);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22), 0 0 0 3px rgba(228, 201, 138, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--gold-deep);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(201, 169, 106, 0.2));
  box-shadow: inset 0 0 0 1px rgba(169, 132, 68, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: inset 0 0 0 1px rgba(169, 132, 68, 0.25), 0 10px 18px rgba(0, 0, 0, 0.14);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h4 {
  margin: 1px 0 5px;
  font-size: 1rem;
}

.brand-panel .feature-card h4 {
  color: #fff;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.brand-panel .feature-card p {
  color: rgba(255, 255, 255, 0.86);
}
.feature-card {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.feature-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 164, 83, 0.55);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}
.login-card {
  opacity: 0;
  transform: translateX(24px) scale(0.98);
  animation: loginIn 0.7s ease forwards;
}

@keyframes loginIn {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
.signin-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.signin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(20, 37, 54, 0.3);
}
@media (max-width: 980px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: 420px;
    padding: 28px 24px 34px;
  }

  .form-panel {
    padding: 24px;
    margin-top: -40px;
  }
}

@media (max-width: 640px) {
  .login-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-section__header h1 {
    margin-top: 6px;
  }

  .feature-card {
    grid-template-columns: 44px 1fr;
    padding: 14px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}
