.d-flex {
  display: flex;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.justify-content-between {
  display: flex;
  justify-content: space-between;
}

.w-100 {
  width: 100%;
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* Style for landing page */
:root {
  /* Caramel — primary accent used on EVERY page */
  --caramel: #c8813a;
  --caramel-lt: #e8a55a;
  --caramel-dk: #a0631e;

  /* Espresso scale */
  --espresso: #1c0f06;
  --mocha: #3e1f0d;
  --latte: #7a4a2e;
  --milk: #e8cfc2;
  --foam: #f7ede6;
  --cream: #fffdf8;

  /* Neutral */
  --text-dark: #1a0f0a;
  --text-mid: #5c3d2a;
  --text-muted: #9c7b6a;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 129, 58, .12);
  transition: box-shadow .3s;
}

.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--milk);
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-name {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--mocha);
  letter-spacing: .3px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: 6px 4px;
  transition: color .2s;
}

.nav-link:hover {
  color: var(--caramel);
}

.btn-nav {
  padding: 9px 22px;
  background: var(--caramel);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(200, 129, 58, .4);
  transition: background .2s, transform .15s, box-shadow .2s;
}

.btn-nav:hover {
  background: var(--caramel-dk);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(200, 129, 58, .5);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(28, 15, 6, .78) 30%, rgba(28, 15, 6, .1) 100%),
    url("/images/cover.jpg") center / cover no-repeat;
  padding: 120px 80px 80px;
}

.hero-content {
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 129, 58, .18);
  border: 1px solid rgba(200, 129, 58, .4);
  color: var(--caramel-lt);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
  animation: fadeUp .6s .1s ease both;
}

.hero-headline {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  animation: fadeUp .6s .2s ease both;
}

.hero-headline em {
  font-style: normal;
  color: var(--caramel-lt);
}

.hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
  animation: fadeUp .6s .3s ease both;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .6s .4s ease both;
}

.btn-primary {
  padding: 15px 34px;
  background: var(--caramel);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(200, 129, 58, .5);
  transition: background .2s, transform .15s, box-shadow .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--caramel-dk);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(200, 129, 58, .6);
}

.btn-ghost {
  padding: 15px 34px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 99px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .5);
}

.hero-visual {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: clamp(260px, 32vw, 480px);
  z-index: 1;
  animation: floatUp .8s .5s ease both, drift 6s 1.3s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5));
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .4);
  font-size: 12px;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s 1s ease both;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .25);
  animation: lineDrop 2s 1.5s ease infinite;
}

.promo {
  background: var(--mocha);
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.promo-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.promo-text h2 span {
  color: var(--caramel-lt);
}

.promo-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
  max-width: 400px;
  line-height: 1.7;
}

.promo-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(200, 129, 58, .3);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  min-width: 260px;
  text-align: center;
}

.promo-number {
  font-family: "Playfair Display", serif;
  font-size: 72px;
  font-weight: 900;
  color: var(--caramel-lt);
  line-height: 1;
}

.promo-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .55);
  margin-top: 4px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.features {
  padding: 96px 80px;
  background: var(--cream);
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 12px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--espresso);
  max-width: 480px;
  line-height: 1.2;
  margin-bottom: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--milk);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(200, 129, 58, .1);
  border-color: var(--caramel);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--foam);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.cta-banner {
  margin: 0 80px 96px;
  background: linear-gradient(135deg, var(--mocha), var(--latte));
  border-radius: var(--radius-xl);
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  max-width: 420px;
}

.cta-banner h2 span {
  color: var(--caramel-lt);
}

.btn-cta {
  padding: 16px 40px;
  background: var(--caramel);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(200, 129, 58, .5);
  transition: background .2s, transform .15s;
}

.btn-cta:hover {
  background: var(--caramel-dk);
  transform: translateY(-2px);
}

footer {
  background: var(--espresso);
  padding: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: rgba(255, 255, 255, .7);
  font-weight: 700;
}

.footer-note {
  font-size: 13px;
  color: rgba(255, 255, 255, .35);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 2, .55);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 500;
}

.modal.active {
  display: flex;
}

.modal-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  width: 380px;
  padding: 40px 36px 32px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45);
  animation: slideUp .35s cubic-bezier(.22, .68, 0, 1.2) both;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 30px;
  height: 30px;
  background: var(--foam);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mocha);
  line-height: 1;
  transition: background .2s;
}

.modal-close:hover {
  background: var(--milk);
}

.modal-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 4px;
}

.modal-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.input-group {
  position: relative;
  margin-bottom: 12px;
}

.input-group .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
}

.input-group input {
  width: 100%;
  padding: 13px 14px 13px 40px;
  background: #fff;
  border: 1.5px solid var(--milk);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--espresso);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.input-group input::placeholder {
  color: #b0a09a;
}

.input-group input:focus {
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(200, 129, 58, .15);
}

.toggle-pw {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #9ca3af;
  font-size: 15px;
  display: flex;
  transition: color .2s;
}

.toggle-pw:hover {
  color: var(--latte);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: linear-gradient(135deg, var(--mocha), var(--latte));
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(62, 31, 13, .35);
  transition: transform .2s, box-shadow .2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(62, 31, 13, .45);
}

.modal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
  font-size: 12px;
  color: #9ca3af;
}

.modal-divider::before,
.modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--milk);
}

.modal-footer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.modal-footer span {
  color: var(--caramel);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.97);
  }

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

@keyframes lineDrop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .nav {
    padding: 0 24px;
  }

  .hero {
    padding: 100px 28px 60px;
  }

  .hero-visual {
    display: none;
  }

  .promo {
    padding: 56px 28px;
  }

  .features {
    padding: 64px 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-banner {
    margin: 0 24px 64px;
    padding: 48px 32px;
  }

  footer {
    padding: 32px 28px;
  }
}

@media (max-width: 600px) {
  .modal-card {
    width: calc(100vw - 32px);
    padding: 32px 22px 26px;
  }
}