/* =========================================================
   Finance Tools RO — Constellation Design B 9.8
   CSS complet pentru homepage, 54 calculatoare si 50 articole.
   ========================================================= */

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

:root {
  --dark: #07111f;
  --dark-2: #0b1630;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --card: #ffffff;
  --bg: #f8fafc;
  --violet: #7c3aed;
  --blue: #2563eb;
  --cyan: #38bdf8;
  --soft: #f5f3ff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  --shadow-strong: 0 34px 95px rgba(15, 23, 42, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background:
    radial-gradient(circle at 8% 8%, rgba(124, 58, 237, 0.08), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(37, 99, 235, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f8fafc 45%, #ffffff);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid #d8b4fe;
  background: #ffffff;
  color: var(--text);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 7%;
  background: rgba(7, 17, 31, 0.96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(22px);
}

.home .navbar,
.constellation-home .navbar {
  position: fixed;
  width: 100%;
  background: rgba(7, 17, 31, 0.46) !important;
  box-shadow: none;
}

.brand,
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 950;
  color: #ffffff !important;
  letter-spacing: -0.7px;
  white-space: nowrap;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
}

.navbar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.navbar nav a {
  text-decoration: none;
  color: #cbd5e1 !important;
  font-size: 15px;
  font-weight: 850;
  transition: 0.22s ease;
}

.navbar nav a:hover {
  color: #ffffff !important;
}

.nav-action {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.28);
}

.btn,
.hero-btn,
button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #ffffff;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 22px 50px rgba(124, 58, 237, 0.28);
  transition: 0.24s;
  cursor: pointer;
}

.btn.secondary,
.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.btn:hover,
.hero-btn:hover,
button:hover {
  transform: translateY(-3px);
}

.stars,
.page-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  background-image:
    radial-gradient(circle at 6% 12%, rgba(255,255,255,.80) 0 1px, transparent 2px),
    radial-gradient(circle at 12% 74%, rgba(196,181,253,.70) 0 1px, transparent 2px),
    radial-gradient(circle at 19% 28%, rgba(96,165,250,.70) 0 1px, transparent 2px),
    radial-gradient(circle at 28% 84%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    radial-gradient(circle at 35% 18%, rgba(196,181,253,.75) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 62%, rgba(96,165,250,.68) 0 1px, transparent 2px),
    radial-gradient(circle at 52% 12%, rgba(255,255,255,.70) 0 1px, transparent 2px),
    radial-gradient(circle at 59% 78%, rgba(196,181,253,.65) 0 1px, transparent 2px),
    radial-gradient(circle at 66% 33%, rgba(96,165,250,.70) 0 1px, transparent 2px),
    radial-gradient(circle at 73% 56%, rgba(255,255,255,.76) 0 1px, transparent 2px),
    radial-gradient(circle at 81% 18%, rgba(196,181,253,.75) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 72%, rgba(96,165,250,.65) 0 1px, transparent 2px),
    radial-gradient(circle at 94% 38%, rgba(255,255,255,.68) 0 1px, transparent 2px);
}

.aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}

.aurora.one {
  width: 360px;
  height: 360px;
  right: 10%;
  top: 16%;
  background: rgba(124, 58, 237, 0.45);
}

.aurora.two {
  width: 300px;
  height: 300px;
  left: 13%;
  bottom: 8%;
  background: rgba(56, 189, 248, 0.22);
}

/* HOMEPAGE */
.hero,
.constellation-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-top: 82px;
  background:
    radial-gradient(circle at 70% 22%, rgba(124, 58, 237, 0.34), transparent 27%),
    radial-gradient(circle at 20% 18%, rgba(37, 99, 235, 0.22), transparent 28%),
    linear-gradient(135deg, #07111f, #0b1630 55%, #030712);
  color: #ffffff;
}

.hero-grid {
  position: relative;
  max-width: 1280px;
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 90px 24px 74px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.label,
.hero-small-label,
.eyebrow {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c4b5fd;
  font-size: 14px;
  font-weight: 950;
  backdrop-filter: blur(14px);
}

.hero h1,
.constellation-hero h1 {
  max-width: 680px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -4px;
}

.hero p,
.constellation-hero p {
  max-width: 640px;
  margin-top: 28px;
  color: #cbd5e1;
  font-size: 21px;
  line-height: 1.75;
}

.actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.metrics,
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
  max-width: 620px;
}

.metrics div,
.hero-metrics div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
}

.metrics strong,
.hero-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
}

.metrics span,
.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 850;
}

.map-wrap,
.hero-map-wrap {
  position: relative;
  min-height: 560px;
}

.finance-map {
  position: relative;
  width: min(640px, 100%);
  height: 520px;
  margin: auto;
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-lines line {
  stroke: url(#mapGradient);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.6));
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawLine 3.2s ease forwards, glowLine 4s ease-in-out infinite;
}

.map-lines line:nth-child(2) { animation-delay: 0.25s, 0s; }
.map-lines line:nth-child(3) { animation-delay: 0.45s, 0s; }
.map-lines line:nth-child(4) { animation-delay: 0.65s, 0s; }
.map-lines line:nth-child(5) { animation-delay: 0.85s, 0s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes glowLine {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

.node,
.finance-node {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 950;
  transition: 0.28s ease;
}

.node span,
.finance-node span {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.92),
    0 0 42px rgba(124, 58, 237, 0.85);
  position: relative;
}

.node span::after,
.finance-node span::after {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 66%);
  animation: pulse 3s infinite;
}

.node strong,
.finance-node strong {
  font-size: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.node:hover,
.finance-node:hover {
  transform: scale(1.08);
}

.salarii { left: 115px; top: 165px; }
.credite { left: 268px; top: 48px; }
.taxe { left: 306px; top: 230px; }
.investitii { right: 70px; top: 168px; }
.buget { left: 88px; bottom: 70px; }
.economii { right: 98px; bottom: 18px; }

@keyframes pulse {
  0% { transform: scale(0.75); opacity: 0.8; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* PAGE HERO */
.page-hero,
.calc-hero,
.article-hero,
.about-hero,
.contact-hero {
  position: relative;
  overflow: hidden;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 82px 34px 70px;
  border-radius: 0 0 42px 42px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 24%, rgba(56, 189, 248, 0.22), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(124, 58, 237, 0.28), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0b1630 55%, #030712 100%);
  color: #ffffff;
  box-shadow: var(--shadow-strong);
}

.page-hero::before,
.calc-hero::before,
.article-hero::before,
.about-hero::before,
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.68;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255,255,255,.72) 0 1px, transparent 2px),
    radial-gradient(circle at 18% 78%, rgba(196,181,253,.62) 0 1px, transparent 2px),
    radial-gradient(circle at 32% 28%, rgba(96,165,250,.58) 0 1px, transparent 2px),
    radial-gradient(circle at 46% 64%, rgba(255,255,255,.50) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 18%, rgba(196,181,253,.62) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 74%, rgba(96,165,250,.58) 0 1px, transparent 2px),
    radial-gradient(circle at 92% 32%, rgba(255,255,255,.60) 0 1px, transparent 2px);
}

.page-hero > *,
.calc-hero > *,
.article-hero > *,
.about-hero > *,
.contact-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.calc-hero h1,
.article-hero h1,
.about-hero h1,
.contact-hero h1 {
  max-width: 960px;
  margin: 0 auto;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.03;
  letter-spacing: -2.4px;
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.page-hero p,
.calc-hero p,
.article-hero p,
.about-hero p,
.contact-hero p {
  max-width: 760px;
  margin: 22px auto 0;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.7;
}

.shell,
.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 24px;
}

.grid,
.page-grid,
.calculators-grid,
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card,
.tool-card,
.article-card,
.category-card,
.info-card {
  position: relative;
  min-height: 210px;
  padding: 28px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
  transition: 0.24s;
  overflow: hidden;
}

.card::after,
.tool-card::after,
.article-card::after,
.category-card::after,
.info-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16), transparent 70%);
}

.card:hover,
.tool-card:hover,
.article-card:hover,
.category-card:hover,
.info-card:hover {
  transform: translateY(-7px);
  border-color: #c4b5fd;
  box-shadow: 0 34px 90px rgba(124, 58, 237, 0.16);
}

.symbol,
.card-symbol,
.tool-card span,
.article-card span,
.category-card span {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: var(--dark);
  color: #ffffff;
  font-weight: 950;
  position: relative;
  z-index: 1;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.20);
}

.card h2,
.card h3,
.tool-card h2,
.article-card h2,
.category-card h2,
.info-card h2,
.tool-card h3,
.article-card h3,
.category-card h3,
.info-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.card p,
.tool-card p,
.article-card p,
.category-card p,
.info-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

/* CALCULATORS */
.calculator-layout,
.premium-calculator,
.calc-layout {
  max-width: 1180px;
  margin: 42px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 26px;
  align-items: stretch;
}

.calc-card,
.calculator-card,
.calc-box {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 36%),
    #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.calculator-card .calc-box {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

.calc-card h2,
.calculator-card h2,
.calc-box h2 {
  margin: 18px 0 10px;
  color: #111827;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.calc-card h2:first-child,
.calculator-card > h2:first-child,
.calc-box > h2:first-child {
  margin-top: 0;
}

.calc-card input,
.calc-box input,
.calculator-card input,
.calc-card select,
.calc-box select,
.calculator-card select {
  margin-bottom: 16px;
}

.calc-card button,
.calc-box button,
.calculator-card button {
  width: 100%;
  margin-top: 10px;
}

.result,
.rezultat-box {
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.14), transparent 42%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: none;
}

.result h2,
.rezultat-box h2 {
  margin: 0;
  color: #4c1d95;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}

.result p,
.rezultat-box p {
  margin-top: 10px;
  color: var(--muted);
}

.visual,
.calculator-visual {
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 75% 12%, rgba(124, 58, 237, 0.26), transparent 34%),
    radial-gradient(circle at 20% 78%, rgba(56, 189, 248, 0.14), transparent 32%),
    linear-gradient(135deg, #07111f, #111827);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.visual h2,
.visual h3,
.calculator-visual h2,
.calculator-visual h3 {
  color: #ffffff;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.visual p,
.calculator-visual p {
  margin-top: 12px;
  color: #cbd5e1;
}

.mini-bars {
  height: 180px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 34px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mini-bars i {
  flex: 1;
  display: block;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, var(--cyan), var(--violet), var(--blue));
}

.pills,
.visual-pills {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pills div,
.visual-pills div {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* CONTENT */
.content-layout,
.premium-content,
.article-layout {
  max-width: 1180px;
  margin: 58px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.content-main,
.side-stack {
  display: grid;
  gap: 22px;
}

.content,
.side-card,
.faq-item {
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.content {
  padding: 34px;
}

.content h2 {
  margin-bottom: 14px;
  color: #111827;
  font-size: 32px;
  letter-spacing: -1px;
}

.content h3 {
  margin: 24px 0 8px;
  color: #111827;
  font-size: 23px;
}

.content p,
.content li {
  color: #475569;
  font-size: 17px;
}

.content ul {
  padding-left: 24px;
  margin: 14px 0;
}

.faq-item,
.side-card {
  padding: 24px;
}

.side-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.side-list a,
.side-list div {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  color: var(--text);
  text-decoration: none;
  font-weight: 850;
}

.side-card.gradient {
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.18), transparent 40%),
    linear-gradient(135deg, #07111f, #111827);
  color: #ffffff;
}

.side-card.gradient p,
.side-card.gradient .side-list div {
  color: #cbd5e1;
}

.panels,
.about-grid,
.contact-grid {
  max-width: 1180px;
  margin: 58px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.panel,
.about-panel,
.contact-panel {
  padding: 36px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.panel h2,
.about-panel h2,
.contact-panel h2 {
  margin-bottom: 12px;
  font-size: 32px;
  letter-spacing: -1px;
}

.panel p,
.about-panel p,
.contact-panel p {
  color: var(--muted);
  font-size: 17px;
}

.panel a,
.contact-panel a {
  color: var(--violet);
  font-weight: 900;
  text-decoration: none;
}

.section,
.home-section,
.money-path-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 24px 0;
}

.section-head,
.section-heading {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-head h2,
.section-heading h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.section-head p,
.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.path,
.money-path {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 10px;
}

.path a,
.money-path a {
  min-height: 190px;
  padding: 28px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
  transition: 0.24s;
}

.path a:hover,
.money-path a:hover {
  transform: translateY(-7px);
  border-color: #c4b5fd;
}

.path span,
.money-path span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--dark);
  color: #ffffff;
  font-weight: 950;
}

.path strong,
.money-path strong {
  display: block;
  font-size: 28px;
  letter-spacing: -1px;
}

.path small,
.money-path small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.path i,
.money-path i {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--blue));
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.28);
}

.cta,
.final-cta {
  max-width: 1280px;
  margin: 90px auto 20px;
  padding: 0 24px;
}

.cta-box,
.final-cta-box {
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  border-radius: 38px;
  background:
    radial-gradient(circle at right, rgba(124, 58, 237, 0.18), transparent 36%),
    linear-gradient(135deg, #07111f, #111827);
  color: #ffffff;
  box-shadow: var(--shadow-strong);
}

.cta-box h2,
.final-cta-box h2 {
  margin-bottom: 10px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.cta-box p,
.final-cta-box p {
  color: #cbd5e1;
  font-size: 17px;
}

.footer {
  margin-top: 90px;
  padding: 46px 24px;
  text-align: center;
  background: #111827;
  color: #cbd5e1;
}

.footer a {
  margin: 0 7px;
  color: #e9d5ff;
  text-decoration: none;
  font-weight: 850;
}

@media (max-width: 1100px) {
  .hero-grid,
  .cta-box,
  .final-cta-box,
  .calculator-layout,
  .premium-calculator,
  .calc-layout,
  .content-layout,
  .premium-content,
  .article-layout,
  .panels,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .cta-box,
  .final-cta-box {
    text-align: center;
  }

  .hero p,
  .constellation-hero p,
  .actions,
  .hero-actions,
  .metrics,
  .hero-metrics {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .map-wrap,
  .hero-map-wrap {
    min-height: 480px;
  }

  .grid,
  .page-grid,
  .calculators-grid,
  .articles-grid,
  .path,
  .money-path {
    grid-template-columns: 1fr;
  }

  .path i,
  .money-path i {
    width: 4px;
    height: 36px;
    margin: 0 auto;
  }

  .page-hero,
  .calc-hero,
  .article-hero,
  .about-hero,
  .contact-hero {
    margin: 24px 18px 0;
  }
}

@media (max-width: 760px) {
  .navbar {
    flex-direction: column;
    padding: 14px 18px;
  }

  .navbar nav {
    justify-content: center;
    gap: 12px;
  }

  .home .navbar,
  .constellation-home .navbar {
    position: sticky;
    background: rgba(7, 17, 31, 0.94) !important;
  }

  .hero,
  .constellation-hero {
    padding-top: 0;
  }

  .hero-grid {
    padding: 58px 18px 42px;
  }

  .hero h1,
  .constellation-hero h1,
  .page-hero h1,
  .calc-hero h1,
  .article-hero h1,
  .about-hero h1,
  .contact-hero h1 {
    font-size: 38px;
    letter-spacing: -1.4px;
  }

  .hero p,
  .constellation-hero p,
  .page-hero p,
  .calc-hero p,
  .article-hero p,
  .about-hero p,
  .contact-hero p {
    font-size: 17px;
  }

  .actions,
  .hero-actions {
    flex-direction: column;
  }

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

  .metrics,
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-wrap,
  .hero-map-wrap {
    min-height: 410px;
  }

  .finance-map {
    transform: scale(0.78);
    transform-origin: top center;
  }

  .section,
  .home-section,
  .money-path-section,
  .shell,
  .page-shell {
    padding-top: 70px;
  }

  .cta-box,
  .final-cta-box {
    padding: 32px;
  }

  .content,
  .calc-card,
  .calculator-card,
  .calc-box,
  .panel,
  .about-panel,
  .contact-panel {
    padding: 26px;
  }

  .calculator-layout,
  .premium-calculator,
  .calc-layout,
  .content-layout,
  .premium-content,
  .article-layout {
    padding: 0 18px;
  }

  .page-hero,
  .calc-hero,
  .article-hero,
  .about-hero,
  .contact-hero {
    padding: 58px 20px 50px;
    border-radius: 0 0 30px 30px;
  }
}
