:root {
  --ink-black: #000000;
  --anti-white: #f7f9f6;
  --anti-white-dim: rgba(247, 249, 246, 0.72);
  --anti-white-faint: rgba(247, 249, 246, 0.45);
  --line: rgba(247, 249, 246, 0.14);
  --emerald: #00e87a;
}

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

html,
body {
  /* background: var(--ink-black) url('https://i.pinimg.com/originals/0c/07/e3/0c07e3b1b810f9a46ee2555d74d98aeb.gif') no-repeat center center fixed; */
    background: var(--ink-black) url('https://i.pinimg.com/originals/6d/92/a1/6d92a112e82c8e19fd9e01ef6f0e9299.gif') no-repeat center center fixed;
    /* background: var(--ink-black) url('../img/bg-ultirum.gif') no-repeat center center fixed; */
  background-size: cover;
  color: var(--anti-white);
  font-family: 'Sora', sans-serif;
  height: 100%;
  overflow-x: hidden;
}

.d-none {
  display:none !important;
}
/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.preloader-mark {
  width: 56px;
  height: 56px;
}

.preloader-mark svg {
  width: 100%;
  height: 100%;
  animation: preloaderSpin 1.1s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  transform-origin: 28px 28px;
}

@keyframes preloaderSpin {
  from {
    transform: rotate(0deg) scale(0.9);
  }
  50% {
    transform: rotate(180deg) scale(1.05);
  }
  to {
    transform: rotate(360deg) scale(0.9);
  }
}

.preloader-bar-track {
  width: 160px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--anti-white);
  border-radius: 2px;
}

.preloader-pct {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--anti-white-faint);
  font-weight: 500;
}

.preloader.hide {
  animation: fadeOutPreloader 0.6s ease forwards;
  pointer-events: none;
}

@keyframes fadeOutPreloader {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ---------- Page shell ---------- */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* ---------- Nav ---------- */
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  opacity: 0;
  background: transparent;
}

.logo-new {
  display: flex;
  align-items: center;
}

.logo-new img {
  display: block;
  width: 150px;
  height: auto;
}

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

.btn-pill {
  background: var(--anti-white);
  color: var(--ink-black);
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(247, 249, 246, 0.18);
}

.btn-pill:active {
  transform: translateY(0);
}

.btn-pill.btn-hero-primary {
  padding: 14px 32px;
  font-size: 15px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.btn-survey {
  background: transparent;
  color: var(--anti-white);
  border: 1px solid rgba(247, 249, 246, 0.3);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-survey:hover {
  background: rgba(247, 249, 246, 0.1);
  border-color: rgba(247, 249, 246, 0.5);
  transform: translateY(-1px);
}

.btn-survey:active {
  transform: translateY(0);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 100px;
  gap: 30px;
}

.quote-block {
  max-width: min(720px, 70vw);
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
}

.quote {
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.4;
  opacity: 1;
}

.quote.fade-out {
  opacity: 0;
}

.quote b {
  font-weight: 700;
  color: var(--anti-white);
}

.headline {
  display: none !important;
}

.hero-actions {
  display: flex;
  justify-content: center;
}

/* ---------- Email capture ---------- */
.capture-form {
  display: flex;
  align-items: center;
  background: var(--anti-white);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(247, 249, 246, 0.08);
  opacity: 0;
}

.capture-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-black);
  padding: 8px 0;
  min-width: 0;
}

.capture-form input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.capture-form button {
  background: var(--ink-black);
  color: var(--anti-white);
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}

.capture-form button:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

.capture-form button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.form-note {
  font-size: 12px;
  color: var(--anti-white-faint);
  letter-spacing: 0.2px;
  opacity: 0;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--anti-white-faint);
  text-align: center;
}

.footer-brand img {
  display: block;
  width: 84px;
  height: auto;
}

.footer-brand span {
  letter-spacing: 0.2px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--anti-white-faint);
}

.footer-left .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--anti-white-faint);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--anti-white);
}

.footer-cta {
  background: transparent;
  color: var(--anti-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.footer-cta:hover {
  background: var(--anti-white);
  color: var(--ink-black);
  border-color: var(--anti-white);
  transform: translateY(-1px);
}

/* ---------- Glassmorphism modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 450px;
  min-height: 420px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  position: relative;
  display: flex;
  overflow: hidden;
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-content {
  display: flex;
  width: 100%;
  gap: 0;
  height: 100%;
}

/* .modal-image-section {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--ink-black);
  overflow: hidden;
  height: 100%;
} */

.modal-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}

.modal-form-section {
  flex: 0 0 100%;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
}

.modal-carousel-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--anti-white);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
  line-height: 1.3;
  min-height: 78px;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--anti-white);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--anti-white-faint);
  line-height: 1.5;
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.modal-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--anti-white-dim);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.modal-field input,
.modal-field select,
.modal-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  color: var(--anti-white);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: none;
}

.modal-field input::placeholder,
.modal-field select::placeholder,
.modal-field textarea::placeholder {
  color: rgba(247, 249, 246, 0.35);
}

.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.modal-field select option {
  background: var(--ink-black);
  color: var(--anti-white);
}

.modal-field textarea {
  min-height: 80px;
  line-height: 1.5;
}

.modal-submit {
  margin-top: 8px;
  border: 1px solid rgba(247, 249, 246, 0.28);
  border-radius: 12px;
  padding: 12px 24px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.08);
  color: var(--anti-white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-submit:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(247, 249, 246, 0.45);
  transform: translateY(-1px);
}

.modal-submit:active {
  transform: scale(0.98);
}

.modal-submit:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.modal-note {
  margin-top: 12px;
  font-size: 12.5px;
  text-align: center;
  color: var(--anti-white-faint);
  min-height: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .nav {
    padding: 20px 18px;
  }

  .logo-new img {
    width: 112px;
  }

  .btn-pill {
    padding: 10px 18px;
    font-size: 12px;
  }

  .btn-pill.btn-hero-primary {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 14px;
  }

  .btn-survey {
    padding: 8px 14px;
    font-size: 12px;
  }

  .hero {
    padding: 34px 20px 72px;
    gap: 24px;
  }

  .quote-block {
    max-width: 100%;
  }

  .quote {
    font-size: 20px;
  }

  .headline {
    font-size: 24px;
  }

  .capture-form {
    max-width: 100%;
    padding: 5px 5px 5px 18px;
  }

  .capture-form input {
    font-size: 13px;
  }

  .capture-form button {
    padding: 9px 16px;
    font-size: 12px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    padding: 22px 18px;
    gap: 14px;
  }

  .footer-brand {
    flex-direction: column;
    gap: 8px;
  }

  .footer-brand img {
    width: 72px;
  }

  .footer-right {
    width: 100%;
    justify-content: space-between;
  }

  .modal-card {
    padding: 30px 22px 26px;
  }
}

@media (max-width: 768px) {
  .modal-card {
    max-width: 95%;
    flex-direction: column;
  }

  .modal-content {
    flex-direction: column;
  }

  .modal-image-section {
    flex: 0 0 280px;
    padding: 0;
    background: var(--ink-black);
    height: 280px;
  }

  .modal-image {
    max-width: none;
  }

  .modal-form-section {
    flex: 0 0 auto;
    padding: 24px;
  }

  .modal-carousel-title {
    font-size: 20px;
    min-height: 60px;
  }

  .modal-field input,
  .modal-field select {
    font-size: 13px;
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--anti-white);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark svg {
    animation: none;
  }

  .preloader-mark svg {
    animation: none;
  }
}
