:root {
  --bg: #05070c;
  --bg-2: #07111f;
  --ink: #f8f5eb;
  --muted: #b9c1ce;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.13);
  --gold: #d6a84a;
  --gold-2: #f4d98d;
  --navy: #07162b;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
}

body.light-mode {
  --bg: #f7f4ec;
  --bg-2: #ffffff;
  --ink: #101725;
  --muted: #4f5f70;
  --line: rgba(12, 19, 31, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.92);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 112px 0;
  position: relative;
}

.section-dark {
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 168, 74, 0.16), transparent 32%),
    linear-gradient(135deg, #05070c, #07162b 58%, #03050a);
  color: #fff;
}

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 7, 12, 0.66);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 217, 141, 0.7);
  border-radius: 8px;
  background: linear-gradient(145deg, #1a1620, #d6a84a);
  color: #fff7d8;
  font-family: "Playfair Display", serif;
  font-size: 25px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--gold-2);
}

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

.mobile-toggle,
.theme-toggle {
  border: 1px solid var(--line);
  background: var(--glass);
  color: #fff;
  cursor: pointer;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #a9781f, #f4d98d 45%, #be8428);
  color: #11100b;
  box-shadow: 0 14px 40px rgba(214, 168, 74, 0.28);
}

.btn-ghost,
.btn-glass {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(18px);
}

.glow {
  box-shadow: 0 0 24px rgba(244, 217, 141, 0.42), 0 18px 44px rgba(214, 168, 74, 0.34);
}

.hero {
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 150px 0 76px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.92), rgba(3, 5, 10, 0.38)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2200&q=85") center/cover;
  transform: scale(1.03);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 92px);
}

h2 {
  color: var(--ink);
  font-size: clamp(34px, 4vw, 58px);
}

.section-dark h2,
.hero h1 {
  color: #fff;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

p {
  color: var(--muted);
}

.hero-subtitle {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-panel {
  position: relative;
  min-height: 540px;
}

.floating-card,
.glass-terminal,
.metric-card,
.plan-card,
.property-card,
.dashboard-shell,
.admin-grid article,
.architecture,
.testimonial-card,
.calc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.card-main {
  position: absolute;
  top: 20px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(360px, 82%);
  padding: 22px;
  animation: float 7s ease-in-out infinite;
}

.card-main p,
.metric-card small {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-main strong {
  display: block;
  color: var(--gold-2);
  font-size: 42px;
}

.pulse-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #5bf2a2;
  box-shadow: 0 0 0 12px rgba(91, 242, 162, 0.12);
}

.investment-orbit {
  position: absolute;
  inset: 60px 0 0 0;
}

.metric-card {
  position: absolute;
  width: 190px;
  padding: 18px;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 30px;
}

.metric-card.one {
  left: 16px;
  top: 160px;
}

.metric-card.two {
  right: 0;
  top: 210px;
}

.metric-card.three {
  left: 120px;
  bottom: 78px;
}

.glass-terminal {
  position: absolute;
  left: 0;
  right: 28px;
  bottom: 10px;
  padding: 18px;
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.terminal-head span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.terminal-head em {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.terminal-row,
.portfolio-list span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.bar {
  height: 8px;
  margin: 8px 0 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker span {
  padding: 14px 42px;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.split,
.calc-layout,
.testimonial-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p {
  max-width: 660px;
}

.lux-copy {
  font-size: 18px;
}

.mini-grid,
.feature-grid,
.admin-grid,
.dash-metrics,
.stats-grid {
  display: grid;
  gap: 16px;
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.mini-grid span,
.feature-grid article,
.stat-card,
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  padding: 20px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(230px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.plan-card {
  position: relative;
  min-height: 560px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    #07111f;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 217, 141, 0.66);
  box-shadow: 0 22px 80px rgba(214, 168, 74, 0.18);
}

.plan-card.featured {
  background:
    linear-gradient(160deg, rgba(214, 168, 74, 0.28), rgba(255, 255, 255, 0.05)),
    #07111f;
}

.plan-card h3 {
  color: var(--gold-2);
  font-size: 24px;
}

.plan-price {
  margin: 18px 0;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}

.plan-details,
.plan-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.plan-details span,
.plan-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.plan-card .btn {
  width: 100%;
  margin-top: 22px;
}

.calc-card {
  padding: 26px;
}

.calc-card label {
  display: block;
  margin: 14px 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.calc-card select,
.calc-card input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 14px;
}

.calc-card option {
  color: #111;
}

.calc-card input[type="range"] {
  padding: 0;
  accent-color: var(--gold);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.calc-results div,
.dash-metrics article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.calc-results span,
.dash-toolbar span,
.dash-metrics span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-transform: uppercase;
}

.calc-results strong,
.dash-toolbar strong,
.dash-metrics strong {
  display: block;
  color: #fff;
  font-size: 24px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 18px;
  overflow-x: auto;
}

.property-card {
  overflow: hidden;
  background: #fff;
  color: #111827;
  box-shadow: 0 18px 54px rgba(8, 16, 32, 0.14);
}

.property-image {
  height: 190px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.property-card:hover img {
  transform: scale(1.08);
}

.property-body {
  padding: 18px;
}

.property-body p {
  margin: 4px 0 12px;
}

.funding {
  margin: 14px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: steps;
}

.step span {
  color: var(--gold-2);
  font-family: "Playfair Display", serif;
  font-size: 42px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article span {
  color: var(--gold);
  font-size: 28px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 520px;
  overflow: hidden;
}

.dash-sidebar {
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.dash-sidebar strong {
  display: block;
  margin-bottom: 20px;
}

.dash-sidebar button {
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 12px;
  text-align: left;
}

.dash-sidebar button.active {
  border-color: rgba(244, 217, 141, 0.42);
  background: rgba(214, 168, 74, 0.14);
  color: #fff;
}

.dash-content {
  padding: 24px;
}

.dash-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.dash-toolbar div {
  margin-right: auto;
}

.dash-toolbar strong {
  font-size: 36px;
}

.dash-panel {
  display: none;
}

.dash-panel.active {
  display: block;
}

.dash-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

canvas {
  width: 100%;
  max-width: 100%;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
}

.portfolio-list,
.notice-stack {
  display: grid;
  gap: 12px;
}

.portfolio-list span,
.notice-stack p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-grid article,
.architecture {
  padding: 22px;
  background: #fff;
  color: #111827;
  box-shadow: 0 18px 54px rgba(8, 16, 32, 0.11);
}

.admin-grid span,
.admin-grid em {
  display: block;
  color: #617084;
}

.admin-grid strong {
  display: block;
  margin: 8px 0;
  color: #111827;
  font-size: 32px;
}

.architecture {
  margin-top: 18px;
}

.testimonial-card {
  min-height: 330px;
  padding: 30px;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.testimonial-profile img {
  width: 72px;
  height: 72px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card blockquote {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 22px;
}

.profit-pill {
  display: inline-flex;
  margin-top: 20px;
  border: 1px solid rgba(244, 217, 141, 0.4);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--gold-2);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 20px;
  text-align: left;
  font-weight: 800;
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 20px 20px;
}

.faq-item.open p {
  display: block;
}

.footer {
  padding: 44px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  max-width: 560px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .calc-layout,
  .testimonial-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 470px;
  }

  .stats-grid,
  .steps,
  .feature-grid,
  .dash-metrics,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 76px 0;
  }

  .nav {
    grid-template-columns: auto auto;
  }

  .mobile-toggle {
    display: block;
    justify-self: end;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav.open .nav-links,
  .nav.open .nav-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 128px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-panel {
    min-height: 620px;
  }

  .card-main,
  .glass-terminal,
  .metric-card {
    position: static;
    width: 100%;
    margin-bottom: 14px;
  }

  .investment-orbit {
    position: static;
  }

  .stats-grid,
  .steps,
  .feature-grid,
  .dash-metrics,
  .admin-grid,
  .calc-results,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dash-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .property-grid,
  .plans-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
