/* =========================
   RESET & VARIABLES
========================= */

:root {
  --bg-main: #f7f6f3;
  --bg-soft: #ffffff;
  --bg-cloud: rgba(255, 255, 255, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.6);
  --bg-ice: rgba(247, 248, 251, 0.9);

  --text-main: #1f1f1f;
  --text-muted: #6f6f6f;

  --beige: #e8dfd3;
  --cloud: #eef0f2;
  --accent: #5b5bff;
  --accent-soft: rgba(91, 91, 255, 0.14);
  --accent-deep: #3e3ee6;

  --border-soft: rgba(0,0,0,0.08);
  --shadow-soft: 0 20px 50px rgba(0,0,0,0.08);
  --shadow-hover: 0 30px 70px rgba(0,0,0,0.12);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --font-display: "Space Grotesk", "Manrope", Arial, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  position: relative;
  overflow-x: hidden;
}

body.is-loading {
  background: #000;
  overflow: hidden;
}

html.skip-loader .page-loader {
  display: none;
}

html.skip-loader body,
html.skip-loader body.is-loading {
  background: var(--bg-main);
  overflow-x: hidden;
}

html.dark-mode {
  --bg-main: #0b0f1c;
  --bg-soft: #0f1426;
  --bg-ice: rgba(18, 22, 36, 0.9);
  --text-main: #f1f4ff;
  --text-muted: #a9b2c7;
  --beige: rgba(91, 91, 255, 0.2);
  --border-soft: rgba(255,255,255,0.08);
  --shadow-soft: 0 20px 50px rgba(0,0,0,0.45);
}

html.dark-mode body::before {
  background: rgba(91, 91, 255, 0.25);
}

html.dark-mode body::after {
  background: rgba(15, 18, 30, 0.9);
}

.page-shell {
  transition: filter 0.35s ease;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .page-shell {
  filter: blur(6px);
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  z-index: -1;
}

body::before {
  background: rgba(91, 91, 255, 0.15);
  top: -120px;
  left: -160px;
}

body::after {
  background: rgba(232, 223, 211, 0.6);
  bottom: -180px;
  right: -140px;
}

/* =========================
   PAGE LOADER
========================= */

.page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.page-loader.is-active {
  opacity: 1;
  pointer-events: auto;
}

.loader-text {
  font-family: "Open Sans", "Manrope", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(70px, 14vw, 180px);
  letter-spacing: 0.18em;
  color: #ffffff;
  animation: loader-glimmer 1.2s ease infinite;
}

@keyframes loader-glimmer {
  0% { text-shadow: 0 0 0 rgba(255,255,255,0.2); opacity: 0.9; }
  50% { text-shadow: 0 0 28px rgba(255,255,255,0.65); opacity: 1; }
  100% { text-shadow: 0 0 0 rgba(255,255,255,0.2); opacity: 0.9; }
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1440px;
  z-index: 1000;
}

.navbar-inner {
  height: 62px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-md);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  height: 62px;
}

html.dark-mode .navbar-inner {
  background: rgba(12, 16, 30, 0.85);
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  position: relative;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent-deep);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* BADGE */
.badge {
  background: var(--beige);
  color: var(--text-main);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

/* ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: border 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-btn {
  background: var(--accent);
  border: none;
  color: #fff;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(91, 91, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-btn:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(91, 91, 255, 0.3);
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border 0.3s ease, background 0.3s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

html.dark-mode .theme-toggle {
  background: rgba(14, 18, 32, 0.9);
  border-color: var(--border-soft);
  color: var(--text-main);
}

.theme-toggle-fab {
  position: fixed;
  right: 24px;
  top: 16px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1850;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

@media (max-width: 900px) {
  .theme-toggle-fab {
    top: 12px;
    width: 54px;
    height: 54px;
  }
}

.theme-toggle-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}

.theme-toggle-fab .sun,
.theme-toggle-fab .moon {
  position: absolute;
  font-size: 16px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle-fab .moon {
  opacity: 0;
  transform: scale(0.6);
}

html.dark-mode .theme-toggle-fab {
  background: rgba(14, 18, 32, 0.95);
  border-color: var(--border-soft);
  color: var(--text-main);
}

html.dark-mode .theme-toggle-fab .sun {
  opacity: 0;
  transform: scale(0.6);
}

html.dark-mode .theme-toggle-fab .moon {
  opacity: 1;
  transform: scale(1);
}

.golden-visa-card .cta-btn {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, border 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ghost-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 120px;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(247,247,246,0.25),
    rgba(247,247,246,0.9)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 88px);
  font-family: "Manrope", "Space Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.hero p {
  margin: 22px auto 36px;
  font-size: clamp(16px, 2.1vw, 20px);
  color: #111111;
  max-width: 580px;
}

.hero h1 {
  color: #111111;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   CONTENT BACKGROUND
========================= */

.content-bg {
  background: linear-gradient(
    to bottom,
    var(--bg-main),
    #ffffff
  );
}

/* =========================
   DESCRIPTION
========================= */

.description {
  padding: 160px 24px 120px;
}

.description-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 160px;
}

/* =========================
   REVIEWS
========================= */

.reviews {
  padding: 120px 16px 60px;
}

.reviews-header {
  max-width: 1200px;
  margin: 0 auto 36px;
  text-align: center;
}

.reviews-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 16px 0 10px;
}

.reviews-header p {
  color: var(--text-muted);
}

.reviews-slider {
  width: 96vw;
  max-width: 1700px;
  margin: 0 auto;
  overflow: hidden;
  scroll-behavior: smooth;
  background: transparent;
}

.reviews-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: 360px;
  min-height: 250px;
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 26px 30px;
  border: none;
  box-shadow: none;
  color: var(--text-main);
}

.review-stars {
  color: transparent;
  font-size: 0;
  margin-bottom: 16px;
}

.review-stars::before {
  content: "★★★★★";
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
}

.reviews-track .review-card:nth-child(8) .review-stars::before,
.reviews-track .review-card:nth-child(16) .review-stars::before,
.reviews-track .review-card:nth-child(24) .review-stars::before,
.reviews-track .review-card:nth-child(32) .review-stars::before,
.reviews-track .review-card:nth-child(40) .review-stars::before {
  content: "★★★★☆";
}

.review-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #1a1a1a;
}

.reviewer {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 700;
  color: #111111;
}

.reviews .review-stars::before {
  content: none;
}

.reviews .review-stars::after {
  content: "★★★★★";
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #4f5bff;
}

.reviews .review-stars::before {
  content: none !important;
}

.reviews .review-card:nth-child(3) .review-stars::after,
.reviews .review-card:nth-child(7) .review-stars::after,
.reviews .review-card:nth-child(11) .review-stars::after,
.reviews .review-card:nth-child(15) .review-stars::after,
.reviews .review-card:nth-child(19) .review-stars::after {
  content: "★★★★☆";
}

.reviews-track .review-card:nth-child(n+21) {
  display: none;
}

.desc-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 120px;
  align-items: center;
}

.desc-row.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.desc-text h2 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
}

.desc-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
}

.desc-pill {
  display: inline-block;
  background: var(--beige);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.desc-pill.purple {
  background: var(--accent);
  color: #fff;
}

.desc-media img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* =========================
   PROPERTIES
========================= */

.properties {
  padding: 120px 0 0;
  text-align: center;
}

.properties h2 {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 60px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1400px;
  margin: auto;
  padding: 0 24px;
}

.property-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.6s ease, border 0.6s ease;
  border: 1px solid var(--border-soft);
}

html.dark-mode .property-card,
html.dark-mode .care-item,
html.dark-mode .faq-item,
html.dark-mode .result-card,
html.dark-mode .calculator-card,
html.dark-mode .property-modal-card,
html.dark-mode .newsletter-inner,
html.dark-mode .deblock-footer,
html.dark-mode .footer-top,
html.dark-mode .footer-bottom {
  background: rgba(14, 18, 32, 0.95);
  border-color: var(--border-soft);
}

html.dark-mode .modal-card,
html.dark-mode .modal-bullets li {
  background: rgba(18, 22, 36, 0.98);
  border-color: var(--border-soft);
}

html.dark-mode .calculator-shell {
  background: linear-gradient(135deg, rgba(14,18,32,0.9), rgba(12,16,28,0.9));
  border-color: var(--border-soft);
}

html.dark-mode .desc-text p,
html.dark-mode .faq-answer p,
html.dark-mode .calculator-hint,
html.dark-mode .footer-legal,
html.dark-mode .footer-contact,
html.dark-mode .modal-card-body p,
html.dark-mode .newsletter-form input::placeholder {
  color: var(--text-muted);
}

html.dark-mode .footer-links a {
  color: var(--text-main);
}

html.dark-mode .hero h1 {
  color: #111111;
}

html.dark-mode .hero p {
  color: #111111;
}

html.dark-mode .ghost-btn {
  color: #f5f7ff;
  border-color: rgba(255,255,255,0.2);
  background: rgba(15, 18, 30, 0.7);
}

html.dark-mode .floating-whitepaper {
  background: rgba(14, 18, 32, 0.92);
  border-color: var(--border-soft);
}

html.dark-mode .floating-whitepaper-link {
  color: var(--text-main);
}

html.dark-mode .floating-whitepaper-close {
  background: rgba(18, 22, 36, 0.95);
  border-color: var(--border-soft);
  color: var(--text-main);
}

html.dark-mode .golden-visa-card,
html.dark-mode .token-explainer-card {
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.98), rgba(12, 18, 34, 0.95));
  border-color: var(--border-soft);
}

html.dark-mode .review-card {
  background: rgba(12, 16, 28, 0.9);
  box-shadow: none;
}

html.dark-mode .review-card p,
html.dark-mode .reviewer {
  color: var(--text-main);
}

html.dark-mode .review-stars {
  color: #9aa7ff;
}

html.dark-mode .golden-visa-text p,
html.dark-mode .token-content p {
  color: var(--text-muted);
}

html.dark-mode .content-bg {
  background: linear-gradient(to bottom, #0b0f1c, #0a0d18);
}

html.dark-mode .deblock-footer {
  background: #0b0f1c;
}

html.dark-mode select.calculator-input {
  background: rgba(14, 18, 32, 0.9);
  color: var(--text-main);
  border-color: var(--border-soft);
}

html.dark-mode select.calculator-input option {
  color: #f1f4ff;
  background: #101424;
}

html.dark-mode .calculator-input {
  background: rgba(14, 18, 32, 0.9);
  color: var(--text-main);
  border-color: var(--border-soft);
}

.newsletter-form input {
  color: #111111;
}

.newsletter-form input::placeholder {
  color: #111111;
}

html.dark-mode .newsletter-form input {
  background: rgba(255,255,255,0.9);
  color: #111111;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.image-wrap {
  position: relative;
}

.image-wrap img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.property-body {
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.property-body h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.property-card.coming-soon .property-body h3 {
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 15px;
}

.property-card.coming-soon {
  background: linear-gradient(135deg, rgba(247, 248, 251, 0.85), #ffffff);
  border-style: dashed;
}

.property-card.coming-soon .image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,91,255,0.2), rgba(232,223,211,0.15));
}

.coming-soon-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.coming-soon-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.coming-soon-icon {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-main);
  background: radial-gradient(circle at top left, rgba(91,91,255,0.2), rgba(255,255,255,0));
  text-transform: uppercase;
  text-align: center;
  padding: 0 20px;
}

html.dark-mode .coming-soon-icon {
  color: var(--text-main);
  background: radial-gradient(circle at top left, rgba(91,91,255,0.25), rgba(12,16,28,0.2));
}
.property-card.coming-soon .join-btn {
  display: none;
}

.join-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(91, 91, 255, 0.25);
}

/* =========================
   TOKEN EXPLAINER
========================= */

.token-explainer {
  padding: 140px 24px;
  display: flex;
  justify-content: center;
}

/* =========================
   GOLDEN VISA PREVIEW
========================= */

.golden-visa-preview {
  padding: 120px 24px 40px;
  display: flex;
  justify-content: center;
}

.golden-visa-card {
  max-width: 1400px;
  width: 100%;
  background: linear-gradient(135deg, #ffffff, var(--bg-ice));
  border-radius: 36px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 56px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  align-items: center;
  scroll-behavior: smooth;
}

.golden-visa-text h2 {
  font-size: 40px;
  margin-bottom: 18px;
}

.golden-visa-text p {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 22px;
}

.golden-visa-media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  mix-blend-mode: multiply;
  opacity: 0.95;
}

.golden-visa-media {
  background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(247,248,251,0.9));
  border-radius: 28px;
  padding: 14px;
}

html.dark-mode .golden-visa-media {
  background: linear-gradient(135deg, rgba(210, 214, 224, 0.9), rgba(190, 196, 210, 0.85));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15), 0 18px 36px rgba(0,0,0,0.35);
}

html.dark-mode .golden-visa-media img {
  mix-blend-mode: normal;
  opacity: 1;
}

.token-explainer-card {
  max-width: 1500px;
  width: 100%;
  background: linear-gradient(135deg, #ffffff, var(--bg-ice));
  border-radius: 36px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: var(--shadow-soft);
  padding: 64px;
  gap: 40px;
  border: 1px solid var(--border-soft);
  align-items: center;
  transition: background 0.6s ease, border 0.6s ease, box-shadow 0.6s ease;
}

html.dark-mode .token-explainer-card {
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.98), rgba(12, 18, 34, 0.95));
  border-color: var(--border-soft);
}

.token-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 320px;
}

.token-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.token-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.token-content .desc-pill {
  font-size: 14px;
  padding: 8px 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(232, 223, 211, 0.85);
  align-self: flex-start;
  line-height: 1.1;
}

html.dark-mode .token-content .desc-pill {
  background: rgba(91, 91, 255, 0.18);
  color: #f5f7ff;
}

.token-content p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 17px;
}

.token-content .cta-btn {
  align-self: flex-start;
}

/* =========================
   CARE
========================= */

.care {
  padding: 120px 24px 140px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.care-title {
  text-align: center;
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 100px;
  grid-column: 1 / -1;
}

.care-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.6s ease, border 0.6s ease;
  position: relative;
  overflow: hidden;
}

.care-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91,91,255,0.15), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.care-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.12);
}

.care-item:hover::after {
  opacity: 1;
}

/* =========================
   PARTNERS
========================= */

.partners {
  padding: 60px 24px 140px;
  text-align: center;
}

.partners h2 {
  font-size: 44px;
  margin-bottom: 40px;
}

.partners-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.partners-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: partners-scroll 20s linear infinite;
}

.partner-card {
  min-width: 300px;
  height: 165px;
  background: rgba(10, 14, 26, 0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.partner-card img {
  max-height: 72px;
  max-width: 210px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.partner-card img[alt="Dubai Properties"] {
  filter: brightness(1) invert(0);
  transform: translateY(-3px) scale(1.5);
}

.partner-card img[alt="Sobha"] {
  transform: translateY(3px);
}

.partner-card img[alt="Ellington"] {
  transform: scale(1.15);
}

@keyframes partners-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

html.dark-mode .partner-card {
  background: rgba(10, 14, 26, 0.95);
  border-color: rgba(255,255,255,0.12);
}

.care-item h3 {
  margin-bottom: 12px;
}

.care-item p {
  color: var(--text-muted);
}

/* =========================
   FAQ
========================= */

.faq {
  padding: 140px 24px 160px;
  max-width: 980px;
  margin: 0 auto;
}

.faq h2 {
  text-align: center;
  font-size: 44px;
  margin-bottom: 60px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: background 0.6s ease, border 0.6s ease, box-shadow 0.6s ease;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.faq-answer p {
  color: var(--text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.45s ease;
  opacity: 0;
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}

.faq-icon {
  font-size: 18px;
  transition: transform 0.35s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

/* =========================
   CALCULATOR
========================= */

.calculator-section {
  padding: 0 24px 160px;
  display: flex;
  justify-content: center;
}

.calculator-shell {
  max-width: 1100px;
  width: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(247,248,251,0.7));
  border-radius: 36px;
  padding: 50px;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: background 0.6s ease, border 0.6s ease, box-shadow 0.6s ease;
}

.calculator-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(91,91,255,0.18), transparent 50%);
  pointer-events: none;
}

.calculator-header h2 {
  font-size: 42px;
  margin: 10px 0 12px;
}

.calculator-header p {
  color: var(--text-muted);
  max-width: 520px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 24px;
}

.calculator-card {
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 30px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.6s ease, border 0.6s ease, box-shadow 0.6s ease;
}

.calculator-card label {
  font-weight: 600;
  font-size: 14px;
}

.calculator-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  background: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: box-shadow 0.3s ease, border 0.3s ease, background 0.3s ease;
}

select.calculator-input {
  appearance: none;
  background-image: linear-gradient(135deg, rgba(91,91,255,0.35), rgba(91,91,255,0.08));
  background-position: right 14px center;
  background-size: 10px 10px;
  background-repeat: no-repeat;
  padding-right: 40px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.calculator-input:focus {
  outline: none;
  border-color: rgba(91, 91, 255, 0.45);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 25px rgba(91, 91, 255, 0.12);
}

.sum-card {
  justify-content: center;
  background: rgba(91, 91, 255, 0.12);
}

.sum-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-deep);
}

.calculator-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.calculator-hint {
  color: var(--text-muted);
  font-size: 14px;
}

.calculator-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.result-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 30px rgba(0,0,0,0.06);
  transition: background 0.6s ease, border 0.6s ease, box-shadow 0.6s ease;
}

.result-card.is-animating {
  animation: calc-glow 0.9s ease;
}

@keyframes calc-glow {
  0% { box-shadow: 0 0 0 rgba(91, 91, 255, 0); opacity: 0.85; }
  100% { box-shadow: 0 0 20px rgba(91, 91, 255, 0.45); opacity: 1; }
}

.result-label {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.result-value {
  font-size: 22px;
  font-weight: 700;
}

.calculator-shell.is-animating .result-card {
  animation: calc-pop 0.5s ease;
}

.calculator-shell.is-animating .sum-card {
  animation: calc-pulse 0.5s ease;
}

@keyframes calc-pop {
  0% { transform: translateY(8px); opacity: 0.7; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes calc-pulse {
  0% { transform: scale(0.98); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* =========================
   PROPERTY MODAL
========================= */

.property-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

.property-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.property-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 24, 0.45);
}

.property-modal-card {
  position: relative;
  width: min(1100px, calc(100% - 48px));
  max-height: calc(100% - 120px);
  overflow: auto;
  background: linear-gradient(135deg, #ffffff, var(--bg-ice));
  border-radius: 36px;
  padding: 40px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 40px 80px rgba(0,0,0,0.18);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}

.modal-header h2 {
  font-size: 38px;
  margin: 12px 0 10px;
}

.modal-header p {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}

.modal-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
}

.modal-bullets li {
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

.modal-bullets .bullet-label {
  color: var(--text-muted);
  font-weight: 600;
}

.modal-bullets .bullet-value {
  color: var(--text-main);
  font-weight: 700;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.modal-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}

.modal-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.modal-card-body {
  padding: 16px 18px;
}

.modal-card-body h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.modal-card-body p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* =========================
   FLOATING WHITEPAPER BUTTON
========================= */

.floating-whitepaper {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px 12px 8px 18px;
  box-shadow: var(--shadow-soft);
  z-index: 1800;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, background 0.6s ease, border 0.6s ease;
}

.floating-whitepaper.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.floating-whitepaper.is-revealing {
  animation: float-in 0.45s ease;
}

.floating-whitepaper:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(91, 91, 255, 0.18);
  background: rgba(255, 255, 255, 0.95);
}

.floating-whitepaper-link {
  text-decoration: none;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.floating-whitepaper:hover .floating-whitepaper-link {
  color: var(--accent-deep);
}

.floating-whitepaper-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.6s ease, border 0.6s ease, color 0.6s ease;
}

@keyframes float-in {
  0% { opacity: 0; transform: translateY(14px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================
   FOOTER
========================= */

.deblock-footer {
  background: #ffffff;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 90px 24px 50px;
  color: var(--text-main);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  align-content: start;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-deep);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================
   NEWSLETTER
========================= */

.newsletter {
  padding: 120px 24px 60px;
}

.newsletter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.newsletter-inner h2 {
  font-size: 32px;
}

.newsletter-form {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.newsletter-form input {
  min-width: 260px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.85);
  font-size: 14px;
}

.footer-contact {
  color: var(--text-muted);
  font-size: 13px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .desc-row,
  .token-explainer-card,
  .golden-visa-card {
    grid-template-columns: 1fr;
  }

  .desc-row {
    gap: 60px;
  }

  .property-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px;
  }

  .care {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .navbar-inner {
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .description-inner {
    gap: 100px;
  }

  .calculator-grid,
  .calculator-results {
    grid-template-columns: 1fr;
  }

  .care {
    grid-template-columns: 1fr;
  }

  .modal-bullets,
  .modal-gallery {
    grid-template-columns: 1fr;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .property-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    width: 100%;
  }

  .calculator-shell {
    padding: 36px 24px;
  }

  .property-modal-card {
    padding: 32px 22px;
  }

  .floating-whitepaper {
    right: 14px;
    bottom: 14px;
    padding: 8px 10px 8px 14px;
  }

  .newsletter-form input {
    width: 100%;
  }
}

/* =========================
   SCROLL ANIMATIONS
========================= */

.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.animate-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-stagger > *.in-view {
  opacity: 1;
  transform: translateY(0);
}


.visa-style {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3a2a00;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(160, 120, 0, 0.35);
    background: linear-gradient(135deg, #f9e7a6, #d7a94c);
    box-shadow: 0 12px 24px rgba(197, 147, 35, 0.22);
    opacity: 1;
    font-weight: 700 !important;
}

.page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

    .page-loader.is-active {
        opacity: 1;
        pointer-events: auto;
    }

/* !!!!! **INLINE: Logo-based loader style added.** */
.loader-logo img {
    height: clamp(70px, 14vw, 180px);
    width: auto;
    display: block;
    animation: loader-glimmer 1.5s ease infinite;
}

@keyframes loader-glimmer {
    0% {
        filter: drop-shadow(0 0 0 rgba(255,255,255,0.2));
        opacity: 0.9;
    }

    50% {
        filter: drop-shadow(0 0 28px rgba(255,255,255,0.65));
        opacity: 1;
    }

    100% {
        filter: drop-shadow(0 0 0 rgba(255,255,255,0.2));
        opacity: 0.9;
    }
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1440px;
    z-index: 1000;
}

.navbar-inner {
    height: 79px;
    background: var(--bg-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-md);
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    height: 79px;
}

html.dark-mode .navbar-inner {
    background: rgba(12, 16, 30, 0.92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

    .nav-links a {
        color: var(--text-main);
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        opacity: 0.85;
        position: relative;
        transition: opacity 0.3s ease, color 0.3s ease;
    }

        .nav-links a:hover {
            opacity: 1;
            color: var(--accent-deep);
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 100%;
            height: 2px;
            background: var(--accent);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .nav-links a:hover::after {
            transform: scaleX(1);
        }

    .nav-links .nav-gold {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #3a2a00;
        font-weight: 700;
        padding: 8px 16px;
        border-radius: 999px;
        border: 1px solid rgba(160, 120, 0, 0.35);
        background: linear-gradient(135deg, #f9e7a6, #d7a94c);
        box-shadow: 0 12px 24px rgba(197, 147, 35, 0.22);
        opacity: 1;
    }

        .nav-links .nav-gold::after {
            display: none;
        }

        .nav-links .nav-gold:hover {
            color: #2a1d00;
            transform: translateY(-1px);
            box-shadow: 0 16px 30px rgba(197, 147, 35, 0.3);
        }

html.dark-mode .nav-links .nav-gold {
    color: #2a1d00;
    background: linear-gradient(135deg, #f6e6ad, #c9983c);
    border-color: rgba(255, 229, 156, 0.35);
}

/* BADGE */
.badge {
    background: var(--beige);
    color: var(--text-main);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
    margin-left: 8px;
}

/* ACTIONS */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn {
    background: transparent;
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 15px;
    cursor: pointer;
    transition: border 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-btn {
    background: var(--accent);
    border: none;
    color: #fff;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(91, 91, 255, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .cta-btn:hover {
        background: var(--accent-deep);
        transform: translateY(-2px);
        box-shadow: 0 16px 32px rgba(91, 91, 255, 0.3);
    }

.theme-toggle {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border 0.3s ease, background 0.3s ease;
}

    .theme-toggle:hover {
        transform: translateY(-1px);
        border-color: var(--accent);
    }

html.dark-mode .theme-toggle {
    background: rgba(14, 18, 32, 0.9);
    border-color: var(--border-soft);
    color: var(--text-main);
}

.theme-toggle-fab {
    position: fixed;
    right: 24px;
    top: 16px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 1850;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

@media (max-width: 900px) {
    .theme-toggle-fab {
        top: 12px;
        width: 54px;
        height: 54px;
    }
}

.theme-toggle-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}

.theme-toggle-fab .sun,
.theme-toggle-fab .moon {
    position: absolute;
    font-size: 16px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle-fab .moon {
    opacity: 0;
    transform: scale(0.6);
}

html.dark-mode .theme-toggle-fab {
    background: rgba(14, 18, 32, 0.95);
    border-color: var(--border-soft);
    color: var(--text-main);
}

    html.dark-mode .theme-toggle-fab .sun {
        opacity: 0;
        transform: scale(0.6);
    }

    html.dark-mode .theme-toggle-fab .moon {
        opacity: 1;
        transform: scale(1);
    }

.golden-visa-card .cta-btn {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.ghost-btn {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, border 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .ghost-btn:hover {
        border-color: var(--accent);
        transform: translateY(-2px);
    }

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 120px;
}

    .hero video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(247,247,246,0.25), rgba(247,247,246,0.9) );
        z-index: 1;
    }

.hero-stats {
    position: absolute;
    left: 50%;
    bottom: 68px;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 48px));
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 255, 0.95));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 26px 30px;
    box-shadow: var(--shadow-soft);
    z-index: 2;
    transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .hero-stats .stat {
        text-align: center;
        padding: 10px 14px;
        position: relative;
    }

        .hero-stats .stat:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 10px;
            right: 0;
            width: 1px;
            height: calc(100% - 20px);
            background: rgba(0, 0, 0, 0.06);
        }

    .hero-stats .stat-value {
        font-family: var(--font-display);
        font-size: 30px;
        font-weight: 800;
        color: var(--accent);
        letter-spacing: -0.01em;
    }

    .hero-stats .stat-label {
        margin-top: 8px;
        font-size: 14px;
        color: #2f2f2f;
        font-weight: 600;
    }

.hero-stats-note {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: min(900px, calc(100% - 64px));
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-stats.animate-stagger > .stat {
    transition-duration: 0.75s;
    transition-timing-function: ease-out;
}

html.dark-mode .hero-stats {
    background: rgba(12, 16, 30, 0.92);
    border-color: var(--border-soft);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

    html.dark-mode .hero-stats .stat-value {
        color: var(--accent);
    }


    html.dark-mode .hero-stats .stat:not(:last-child)::after {
        background: rgba(255, 255, 255, 0.12);
    }

    html.dark-mode .hero-stats .stat-label {
        color: rgba(241, 244, 255, 0.75);
    }

html.dark-mode .hero-stats-note {
    color: rgba(241, 244, 255, 0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
}

.hero h1 {
    font-size: clamp(52px, 7.2vw, 90px);
    font-family: "Manrope", "Space Grotesk", sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
    line-height: 1.08;
    margin-bottom: 28px;
}

.hero-emphasis {
    font-weight: 900;
}

.hero p {
    margin: 22px auto 36px;
    font-size: clamp(16px, 2.1vw, 20px);
    color: #111111;
    max-width: 580px;
}

.hero h1 {
    color: #111111;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================
   CONTENT BACKGROUND
========================= */

.content-bg {
    background: linear-gradient( to bottom, var(--bg-main), #ffffff );
}

/* =========================
   DESCRIPTION
========================= */

.description {
    padding: 160px 24px 120px;
}

.description-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 160px;
}

/* !!!!! **INLINE: Main container style for the new funding section.** */
.funding-stages-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.92));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 32px;
}

.funding-head {
    display: block;
}

.funding-head-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.funding-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.45;
}

.funding-layout {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.45fr 0.95fr;
    gap: 16px;
    align-items: stretch;
}

.funding-current,
.funding-side,
.funding-graph {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
}

.funding-side {
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.funding-current {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.funding-insight {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.insight-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

    .insight-row strong {
        color: var(--accent);
        font-family: var(--font-display);
        font-size: clamp(18px, 2vw, 22px);
        font-weight: 800;
        letter-spacing: -0.01em;
    }

.funding-raised {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #5b5bff, #7a74ff);
    font-size: 20px;
    font-weight: 700;
    align-self: center;
    margin-bottom: 0;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 18px rgba(91, 91, 255, 0.24);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funding-mini-note {
    order: 3;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 0;
}

.funding-graph {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ladder-row {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    padding: 12px;
}

.ladder-head,
.ladder-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ladder-head {
    font-size: 14px;
    font-weight: 700;
}

.ladder-foot {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.ladder-bar {
    margin-top: 8px;
    height: 16px;
    border-radius: 3px;
    background: #e5e8f3;
    overflow: hidden;
}

.ladder-fill {
    height: 100%;
    background: linear-gradient(90deg, #6f74ff, #4f5bff);
}

    .ladder-fill.muted {
        background: linear-gradient(90deg, #c3c9f8, #aeb8ff);
    }

/* !!!!! **INLINE: Countdown layout for days/hours/seconds.** */
.funding-countdown {
    order: 2;
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.countdown-item {
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    padding: 10px 8px;
    text-align: center;
}

.countdown-value {
    display: block;
    font-family: var(--font-display);
    color: var(--accent);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 800;
}

.countdown-label {
    display: block;
    margin-top: 1px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

html.dark-mode .funding-stages-card,
html.dark-mode .funding-current,
html.dark-mode .funding-insight,
html.dark-mode .funding-graph,
html.dark-mode .countdown-item {
    background: rgba(14, 18, 32, 0.95);
    border-color: var(--border-soft);
}

html.dark-mode .ladder-row {
    background: rgba(18, 22, 36, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark-mode .ladder-bar {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .funding-stages-card {
        padding: 22px 14px;
    }

    .funding-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .funding-raised {
        font-size: 18px;
    }

    .funding-countdown {
        gap: 8px;
    }
}

/* =========================
   REVIEWS
========================= */

.reviews {
    padding: 120px 16px 60px;
    background: #fbfaf8;
}

.reviews-header {
    max-width: 1200px;
    margin: 0 auto 36px;
    text-align: center;
}

    .reviews-header h2 {
        font-size: clamp(28px, 4vw, 44px);
        margin: 16px 0 10px;
    }

    .reviews-header p {
        color: var(--text-muted);
    }

.reviews-slider {
    width: 96vw;
    max-width: 1700px;
    margin: 0 auto;
    overflow: hidden;
    scroll-behavior: smooth;
    background: transparent;
}

.reviews-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.review-card {
    display: flex;
    flex-direction: column;
    min-width: 320px;
    max-width: 360px;
    min-height: 270px;
    background: #ffffff;
    border-radius: 22px;
    padding: 34px 30px 32px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none;
    color: var(--text-main);
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

    .review-card:hover {
        transform: translateY(-3px);
        background: #f6f6fb;
        border-color: rgba(0, 0, 0, 0.1);
    }

.review-stars {
    color: transparent;
    font-size: 0;
    margin-bottom: 16px;
}

    .review-stars::before {
        content: "★★★★★";
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 4px;
    }

.reviews-track .review-card:nth-child(8) .review-stars::before,
.reviews-track .review-card:nth-child(16) .review-stars::before,
.reviews-track .review-card:nth-child(24) .review-stars::before,
.reviews-track .review-card:nth-child(32) .review-stars::before,
.reviews-track .review-card:nth-child(40) .review-stars::before {
    content: "★★★★☆";
}

.review-card p {
    font-size: 17px;
    line-height: 1.55;
    color: #1a1a1a;
}

.reviewer {
    margin-top: auto;
    padding-top: 18px;
    font-weight: 600;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reviewer-name {
    font-size: 17px;
    font-weight: 600;
    color: #111111;
}

.reviewer-country {
    margin-top: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #4b5563;
    text-align: center;
}

.reviews .review-stars::before {
    content: none;
}

.reviews .review-stars::after {
    content: "★★★★★";
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #4f5bff;
}

.reviews .review-stars::before {
    content: none !important;
}

.reviews .review-card:nth-child(3) .review-stars::after,
.reviews .review-card:nth-child(7) .review-stars::after,
.reviews .review-card:nth-child(11) .review-stars::after,
.reviews .review-card:nth-child(15) .review-stars::after,
.reviews .review-card:nth-child(19) .review-stars::after {
    content: "★★★★☆";
}

.reviews-track .review-card:nth-child(n+21) {
    display: none;
}

.desc-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 120px;
    align-items: center;
}

    .desc-row.reverse {
        grid-template-columns: 1fr 1.1fr;
    }

.desc-text h2 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 26px;
}

.desc-text p {
    font-size: 19px;
    line-height: 1.72;
    color: var(--text-muted);
    max-width: 520px;
}

.desc-pill {
    display: inline-block;
    background: var(--beige);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}

    .desc-pill.purple {
        background: var(--accent);
        color: #fff;
    }

    .desc-pill.badge-lg {
        font-size: 14px;
        font-weight: 600;
        padding: 8px 16px;
    }

.desc-media img {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

    .desc-media img:hover {
        transform: scale(1.05);
        box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
    }

/* =========================
   PROPERTIES
========================= */

.properties {
    padding: 120px 0 0;
    text-align: center;
}

    .properties h2 {
        font-size: 52px;
        font-weight: 900;
        margin-bottom: 60px;
    }

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1400px;
    margin: auto;
    padding: 0 24px;
}

.property-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.6s ease, border 0.6s ease;
    border: 1px solid var(--border-soft);
}

html.dark-mode .property-card,
html.dark-mode .care-item,
html.dark-mode .faq-item,
html.dark-mode .result-card,
html.dark-mode .calculator-card,
html.dark-mode .property-modal-card,
/* !!!!! **INLINE: Footer class renamed to REALIS version.** */
html.dark-mode .realis-footer {
    background: rgba(14, 18, 32, 0.95);
    border-color: var(--border-soft);
}

html.dark-mode .modal-card,
html.dark-mode .modal-bullets li {
    background: rgba(18, 22, 36, 0.98);
    border-color: var(--border-soft);
}

html.dark-mode .calculator-shell {
    background: linear-gradient(135deg, rgba(14,18,32,0.9), rgba(12,16,28,0.9));
    border-color: var(--border-soft);
}

html.dark-mode .desc-text p,
html.dark-mode .faq-answer p,
html.dark-mode .calculator-hint,
html.dark-mode .footer-contact,
html.dark-mode .modal-card-body p,
html.dark-mode .newsletter-form input::placeholder {
    color: var(--text-muted);
}

html.dark-mode .hero h1 {
    color: #111111;
}

html.dark-mode .hero p {
    color: #111111;
}

html.dark-mode .ghost-btn {
    color: #f5f7ff;
    border-color: rgba(255,255,255,0.2);
    background: rgba(15, 18, 30, 0.7);
}

html.dark-mode .floating-whitepaper {
    background: rgba(14, 18, 32, 0.92);
    border-color: var(--border-soft);
}

html.dark-mode .floating-whitepaper-link {
    color: var(--text-main);
}

html.dark-mode .floating-whitepaper-close {
    background: rgba(18, 22, 36, 0.95);
    border-color: var(--border-soft);
    color: var(--text-main);
}

html.dark-mode .golden-visa-card,
html.dark-mode .token-explainer-card {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.98), rgba(12, 18, 34, 0.95));
    border-color: var(--border-soft);
}

html.dark-mode .review-card {
    background: rgba(14, 18, 32, 0.95);
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.12);
}

html.dark-mode .reviews {
    background: #0b0f1c;
}

html.dark-mode .review-card p,
html.dark-mode .reviewer {
    color: var(--text-main);
}

html.dark-mode .reviewer-name {
    color: #f5f7fa;
    font-weight: 600;
}

html.dark-mode .reviewer-country {
    color: #a1a1aa;
}

html.dark-mode .review-stars {
    color: #9aa7ff;
}

html.dark-mode .golden-visa-text p,
html.dark-mode .token-content p {
    color: var(--text-muted);
}

html.dark-mode .content-bg {
    background: linear-gradient(to bottom, #0b0f1c, #0a0d18);
}

html.dark-mode .realis-footer {
    background: #0b0f1c;
}

html.dark-mode select.calculator-input {
    background: rgba(14, 18, 32, 0.9);
    color: var(--text-main);
    border-color: var(--border-soft);
}

    html.dark-mode select.calculator-input option {
        color: #f1f4ff;
        background: #101424;
    }

html.dark-mode .calculator-input {
    background: rgba(14, 18, 32, 0.9);
    color: var(--text-main);
    border-color: var(--border-soft);
}


.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.image-wrap {
    position: relative;
}

    .image-wrap img {
        width: 100%;
        height: 230px;
        object-fit: cover;
    }

.property-body {
    padding: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.location {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.property-body h3 {
    margin-bottom: 6px;
    font-size: 20px;
}

.property-card.coming-soon .property-body h3 {
    color: var(--text-muted);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 15px;
}

.property-card.coming-soon {
    background: linear-gradient(135deg, rgba(247, 248, 251, 0.85), #ffffff);
    border-style: dashed;
}

    .property-card.coming-soon .image-wrap::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(91,91,255,0.2), rgba(232,223,211,0.15));
    }

.coming-soon-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.coming-soon-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-soft);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.coming-soon-icon {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-main);
    background: radial-gradient(circle at top left, rgba(91,91,255,0.2), rgba(255,255,255,0));
    text-transform: uppercase;
    text-align: center;
    padding: 0 20px;
}

html.dark-mode .coming-soon-icon {
    color: var(--text-main);
    background: radial-gradient(circle at top left, rgba(91,91,255,0.25), rgba(12,16,28,0.2));
}

.property-card.coming-soon .join-btn {
    display: none;
}

.allocation-image {
    width: 100%;
    height: 230px;
    background: radial-gradient(circle at top left, rgba(180, 186, 202, 0.35), rgba(255, 255, 255, 0) 55%), linear-gradient(140deg, #f1f2f6, #dfe3ef);
}

.allocation-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.allocation-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-main);
}

.allocation-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.allocation-subtext {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

html.dark-mode .allocation-image {
    background: radial-gradient(circle at top left, rgba(120, 130, 160, 0.25), rgba(12, 16, 28, 0) 55%), linear-gradient(140deg, #1a1d28, #23283a);
}

html.dark-mode .allocation-text {
    color: var(--text-main);
}

html.dark-mode .allocation-subtext {
    color: var(--text-muted);
}

.join-btn {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .join-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(91, 91, 255, 0.25);
    }

/* =========================
   TOKEN EXPLAINER
========================= */

.token-explainer {
    padding: 140px 24px;
    display: flex;
    justify-content: center;
}

/* =========================
   GOLDEN VISA PREVIEW
========================= */

.golden-visa-preview {
    padding: 160px 24px 40px;
    display: flex;
    justify-content: center;
}

.golden-visa-card {
    max-width: 1400px;
    width: 100%;
    background: linear-gradient(135deg, #ffffff, var(--bg-ice));
    border-radius: 36px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    padding: 48px 56px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    align-items: center;
    scroll-behavior: smooth;
}

.golden-visa-text .desc-pill {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    margin-bottom: 22px;
    background: rgba(232, 223, 211, 0.95);
    color: #2b2419;
}

.golden-visa-text h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.12;
    max-width: 560px;
    margin-bottom: 22px;
}

.golden-visa-text p {
    color: var(--text-muted);
    line-height: 1.72;
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 28px;
}

.golden-visa-media img {
    width: 100%;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    mix-blend-mode: multiply;
    opacity: 0.95;
}

.golden-visa-media {
    background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(247,248,251,0.9));
    border-radius: 28px;
    padding: 14px;
}

.golden-visa-card .cta-btn {
    height: 48px;
    font-size: 16px;
    padding: 0 28px;
    box-shadow: 0 14px 28px rgba(91, 91, 255, 0.22);
}

html.dark-mode .golden-visa-media {
    background: linear-gradient(135deg, rgba(210, 214, 224, 0.9), rgba(190, 196, 210, 0.85));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15), 0 18px 36px rgba(0,0,0,0.35);
}

    html.dark-mode .golden-visa-media img {
        mix-blend-mode: normal;
        opacity: 1;
    }

.token-explainer-card {
    max-width: 1500px;
    width: 100%;
    background: linear-gradient(135deg, #ffffff, var(--bg-ice));
    border-radius: 36px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    box-shadow: var(--shadow-soft);
    padding: 64px;
    gap: 40px;
    border: 1px solid var(--border-soft);
    align-items: center;
    transition: background 0.6s ease, border 0.6s ease, box-shadow 0.6s ease;
}

html.dark-mode .token-explainer-card {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.98), rgba(12, 18, 34, 0.95));
    border-color: var(--border-soft);
}

.token-media {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 320px;
}

    .token-media video {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.token-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .token-content .desc-pill {
        font-size: 14px;
        padding: 8px 16px;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        background: rgba(232, 223, 211, 0.85);
        align-self: flex-start;
        line-height: 1.1;
    }

html.dark-mode .token-content .desc-pill {
    background: rgba(91, 91, 255, 0.18);
    color: #f5f7ff;
}

.token-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 17px;
}

.token-content .cta-btn {
    align-self: flex-start;
}

/* =========================
   CARE
========================= */

.care {
    padding: 120px 24px 140px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.care-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 100px;
    grid-column: 1 / -1;
}

.care-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin: -70px auto 90px;
    max-width: 820px;
    grid-column: 1 / -1;
}

.care-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 42px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.07);
    border: 1px solid var(--border-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.6s ease, border 0.6s ease;
    position: relative;
    overflow: hidden;
}

    .care-item::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(91,91,255,0.15), rgba(255,255,255,0));
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .care-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 50px rgba(0,0,0,0.12);
    }

        .care-item:hover::after {
            opacity: 1;
        }

/* =========================
   PARTNERS
========================= */

.partners {
    padding: 60px 24px 140px;
    text-align: center;
}

    .partners h2 {
        font-size: 44px;
        margin-bottom: 40px;
    }

.partners-marquee {
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    height: 248px;
    touch-action: pan-x;
}

.partners-track {
    display: flex;
    gap: 24px;
    width: max-content;
    align-items: center;
    animation: partners-scroll 90s linear infinite;
    animation-play-state: running;
    will-change: transform;
    flex-wrap: nowrap;
    --marquee-distance: 0px;
}

.partners-list {
    display: flex;
    gap: 24px;
    align-items: center;
    flex: 0 0 auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.partners-marquee.is-dragging .partners-track {
    animation-play-state: paused;
}

.partner-card {
    min-width: 450px;
    height: 248px;
    background: rgba(10, 14, 26, 0.95);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    padding: 24px;
}

    .partner-card img {
        max-height: 108px;
        max-width: 315px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

        .partner-card img[alt="Dubai Properties"] {
            filter: brightness(1) invert(0);
            transform: translateY(-3px) scale(1.5);
        }

        .partner-card img[alt="Sobha"] {
            transform: translateY(3px);
        }

        .partner-card img[alt="Ellington"] {
            transform: scale(1.15);
        }



.partners-marquee::-webkit-scrollbar {
    display: none;
}

.partners-marquee {
    scrollbar-width: none;
}


html.dark-mode .partner-card {
    background: rgba(10, 14, 26, 0.95);
    border-color: rgba(255,255,255,0.12);
}

.care-item h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.care-item p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* =========================
   FAQ
========================= */

.faq {
    padding: 140px 24px 160px;
    max-width: 900px;
    margin: 0 auto;
}

    .faq h2 {
        text-align: center;
        font-size: 44px;
        margin-bottom: 60px;
    }

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 26px 30px;
    margin-bottom: 22px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 26px rgba(0,0,0,0.06);
    transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    cursor: pointer;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-main);
    font-weight: 600;
    font-size: 19px;
    cursor: pointer;
}

.faq-answer p {
    color: #3b3b3b;
    font-size: 17px;
    line-height: 1.65;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(4px);
}

.faq-item.is-open .faq-answer {
    max-height: 320px;
    opacity: 1;
    margin-top: 14px;
    transform: translateY(0);
}

.faq-icon {
    font-size: 18px;
    transition: transform 0.3s ease-in-out;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-item.is-open {
    background: #f6f7fb;
    padding-bottom: 32px;
}

    .faq-item.is-open .faq-question {
        font-weight: 700;
    }

/* =========================
   CALCULATOR
========================= */

.calculator-section {
    padding: 0 24px 160px;
    display: flex;
    justify-content: center;
}

.calculator-shell {
    max-width: 1100px;
    width: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(247,248,251,0.7));
    border-radius: 36px;
    padding: 50px;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    transition: background 0.6s ease, border 0.6s ease, box-shadow 0.6s ease;
}

    .calculator-shell::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(91,91,255,0.18), transparent 50%);
        pointer-events: none;
    }

.calculator-header h2 {
    font-size: 42px;
    margin: 10px 0 12px;
}

.calculator-header p {
    color: var(--text-muted);
    max-width: 520px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0 24px;
}

.calculator-card {
    background: rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 16px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.6s ease, border 0.6s ease, box-shadow 0.6s ease;
}

    .calculator-card label {
        font-weight: 600;
        font-size: 14px;
    }

.calculator-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: box-shadow 0.3s ease, border 0.3s ease, background 0.3s ease;
}

select.calculator-input {
    appearance: none;
    background-image: linear-gradient(135deg, rgba(91,91,255,0.35), rgba(91,91,255,0.08));
    background-position: right 14px center;
    background-size: 10px 10px;
    background-repeat: no-repeat;
    padding-right: 40px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.calculator-input:focus {
    outline: none;
    border-color: rgba(91, 91, 255, 0.45);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 25px rgba(91, 91, 255, 0.12);
}

.sum-card {
    justify-content: center;
    background: rgba(91, 91, 255, 0.12);
}

.sum-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-deep);
}

.calculator-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.calculator-hint {
    color: var(--text-muted);
    font-size: 14px;
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.result-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 16px 30px rgba(0,0,0,0.06);
    transition: background 0.6s ease, border 0.6s ease, box-shadow 0.6s ease;
}

    .result-card.is-animating {
        animation: calc-glow 0.9s ease;
    }

@keyframes calc-glow {
    0% {
        box-shadow: 0 0 0 rgba(91, 91, 255, 0);
        opacity: 0.85;
    }

    100% {
        box-shadow: 0 0 20px rgba(91, 91, 255, 0.45);
        opacity: 1;
    }
}

.result-label {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 6px;
}

.result-value {
    font-size: 22px;
    font-weight: 700;
}

.calculator-shell.is-animating .result-card {
    animation: calc-pop 0.5s ease;
}

.calculator-shell.is-animating .sum-card {
    animation: calc-pulse 0.5s ease;
}

@keyframes calc-pop {
    0% {
        transform: translateY(8px);
        opacity: 0.7;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes calc-pulse {
    0% {
        transform: scale(0.98);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================
   PROPERTY MODAL
========================= */

.property-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2000;
}

    .property-modal.is-open {
        opacity: 1;
        pointer-events: auto;
    }

.property-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 16, 24, 0.45);
}

.property-modal-card {
    position: relative;
    width: min(1100px, calc(100% - 48px));
    max-height: calc(100% - 120px);
    overflow: auto;
    background: linear-gradient(135deg, #ffffff, var(--bg-ice));
    border-radius: 36px;
    padding: 40px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 40px 80px rgba(0,0,0,0.18);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: #fff;
    cursor: pointer;
    font-size: 18px;
}

.modal-header h2 {
    font-size: 38px;
    margin: 12px 0 10px;
}

.modal-header p {
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 640px;
}

.modal-bullets {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 28px;
    padding: 0;
}

    .modal-bullets li {
        background: #fff;
        border-radius: 14px;
        padding: 12px 16px;
        border: 1px solid var(--border-soft);
        display: flex;
        justify-content: space-between;
        gap: 12px;
        font-weight: 600;
    }

    .modal-bullets .bullet-label {
        color: var(--text-muted);
        font-weight: 600;
    }

    .modal-bullets .bullet-value {
        color: var(--text-main);
        font-weight: 700;
    }

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.modal-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}

    .modal-card img {
        width: 100%;
        height: 160px;
        object-fit: cover;
    }

.modal-card-body {
    padding: 16px 18px;
}

    .modal-card-body h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .modal-card-body p {
        color: var(--text-muted);
        font-size: 14px;
        line-height: 1.5;
    }

/* =========================
   FLOATING WHITEPAPER BUTTON
========================= */

.floating-whitepaper {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 8px 12px 8px 18px;
    box-shadow: var(--shadow-soft);
    z-index: 1800;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, background 0.6s ease, border 0.6s ease;
}

    .floating-whitepaper.is-hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px);
    }

    .floating-whitepaper.is-revealing {
        animation: float-in 0.45s ease;
    }

    .floating-whitepaper:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 36px rgba(91, 91, 255, 0.18);
        background: rgba(255, 255, 255, 0.95);
    }

.floating-whitepaper-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.floating-whitepaper:hover .floating-whitepaper-link {
    color: var(--accent-deep);
}

.floating-whitepaper-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.6s ease, border 0.6s ease, color 0.6s ease;
}

@keyframes float-in {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================
   NEWSLETTER BAR
========================= */

.newsletter-bar {
    padding: 28px 24px 18px;
    background: #0b0f1c;
}

.newsletter-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

    .newsletter-bar-inner h2 {
        color: #e6e9f2;
        font-size: 18px;
        font-weight: 600;
    }

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-fields {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.newsletter-form .cta-btn {
    height: 42px;
    padding: 0 18px;
    font-size: 14px;
    box-shadow: none;
}

.newsletter-form input {
    min-width: 280px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: #e6e9f2;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

    .newsletter-form input::placeholder {
        color: rgba(230, 233, 242, 0.6);
    }

.newsletter-error {
    min-height: 18px;
    font-size: 12px;
    color: rgba(255, 180, 180, 0.9);
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.newsletter-form.has-error .newsletter-error {
    opacity: 1;
    transform: translateY(0);
}

.newsletter-form.has-error input {
    border-color: rgba(255, 160, 160, 0.6);
}

.newsletter-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(138, 214, 180, 0.95);
    text-align: center;
}

.newsletter-check {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(138, 214, 180, 0.6);
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.newsletter-form.is-subscribed .newsletter-fields,
.newsletter-form.is-subscribed .newsletter-error {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}

.newsletter-form.is-subscribed .newsletter-success {
    display: inline-flex;
}

.newsletter-form.is-submitting .cta-btn {
    transform: scale(0.97);
}

/* =========================
   FOOTER
========================= */

.realis-footer {
    background: #0b0f1c !important;
    color: #e6e9f2;
    padding: 90px 24px 50px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand img {
    height: 120px;
    margin-bottom: 14px;
}

.footer-subtext {
    color: #a9b2c7;
    font-size: 13px;
    margin-bottom: 22px;
}

.footer-heading {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    color: #cfd6e6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-links a {
        text-decoration: none;
        color: #cfd6e6;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.2s ease, text-decoration-color 0.2s ease;
    }

        .footer-links a:hover {
            color: #ffffff;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 3px;
        }

.footer-contact {
    margin-top: 18px;
    font-size: 13px;
    color: #a9b2c7;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-cta p {
    color: #a9b2c7;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.footer-cta-link {
    color: #e6e9f2;
    text-decoration: none;
    font-weight: 600;
}

    .footer-cta-link:hover {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

.footer-disclaimer {
    max-width: 1200px;
    margin: 40px auto 24px;
    font-size: 12px;
    color: #8b93a6;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #8b93a6;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 18px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

    .footer-social a {
        color: #cfd6e6;
        text-decoration: none;
        font-size: 12px;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        opacity: 0.7;
        transition: opacity 0.2s ease;
    }

        .footer-social a:hover {
            opacity: 1;
        }

/* =========================
   RADIUS REFINEMENT
========================= */

.navbar-inner,
.hero-stats,
.review-card,
.property-card,
.golden-visa-card,
.token-explainer-card,
.calculator-card,
.care-item,
.faq-item,
.result-card,
.property-modal-card,
.modal-card,
.floating-whitepaper,
.footer-inner,
.footer-disclaimer,
.footer-bottom {
    border-radius: var(--radius-lg);
}

.desc-media img,
.golden-visa-media,
.golden-visa-media img,
.token-media,
.image-wrap img,
.allocation-image,
.calculator-shell,
.property-modal-card,
.property-modal-backdrop {
    border-radius: var(--radius-md);
}



.calculator-input,
.modal-bullets li,
.modal-gallery img,
.property-card .join-btn {
    border-radius: var(--radius-sm);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .desc-row,
    .token-explainer-card,
    .golden-visa-card {
        grid-template-columns: 1fr;
    }

    .desc-row {
        gap: 60px;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 24px;
    }

    .care {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .navbar-inner {
        padding: 0 18px;
    }

    .nav-links {
        display: none;
    }

    .description-inner {
        gap: 100px;
    }

    .calculator-grid,
    .calculator-results {
        grid-template-columns: 1fr;
    }

    .care {
        grid-template-columns: 1fr;
    }

    .modal-bullets,
    .modal-gallery {
        grid-template-columns: 1fr;
    }

    .newsletter-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .hero-stats {
        position: static;
        transform: none;
        margin: 18px auto 0;
        grid-template-columns: 1fr;
        gap: 12px;
    }

        .hero-stats .stat:not(:last-child)::after {
            display: none;
        }

    .hero-stats-note {
        position: static;
        transform: none;
        width: auto;
        margin: 14px auto 0;
        padding: 0 16px;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        width: 100%;
    }

    .calculator-shell {
        padding: 36px 24px;
    }

    .property-modal-card {
        padding: 32px 22px;
    }

    .floating-whitepaper {
        right: 14px;
        bottom: 14px;
        padding: 8px 10px 8px 14px;
    }

    .newsletter-form input {
        width: 100%;
    }
}

/* =========================
   SCROLL ANIMATIONS
========================= */

.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

    .animate.in-view {
        opacity: 1;
        transform: translateY(0);
    }

.animate-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .animate-stagger > *.in-view {
        opacity: 1;
        transform: translateY(0);
    }

.country-text {
    display: flex;
    justify-content: center;
}


.access-btn {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}