:root {
  --font-heading: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --color-navy: #07142f;
  --color-ink: #102039;
  --color-muted: #5d6b82;
  --color-soft: #f5f8ff;
  --color-line: rgba(38, 63, 108, 0.12);
  --color-white: #ffffff;
  --color-blue: #2457ff;
  --color-indigo: #4c35d9;
  --color-cyan: #00aeea;
  --color-purple: #8a5cf6;
  --color-green: #16a36a;
  --shadow-soft: 0 24px 80px rgba(15, 39, 92, 0.14);
  --shadow-card: 0 18px 50px rgba(15, 39, 92, 0.1);
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --section: clamp(72px, 9vw, 128px);
  --container: 1180px;
}

[data-theme="dark"] {
  --color-navy: #edf4ff;
  --color-ink: #e7eefb;
  --color-muted: #aab8ce;
  --color-soft: #0a1224;
  --color-line: rgba(218, 230, 255, 0.14);
  --color-white: #0d172b;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(36, 87, 255, 0.11), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, var(--color-white) 30%, var(--color-soft) 100%);
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

/* Keep reveal motion from expanding the page width before animation runs. */
[data-aos="fade-left"],
[data-aos="fade-right"] {
  transform: translate3d(0, 24px, 0);
}

[data-aos="fade-left"].aos-animate,
[data-aos="fade-right"].aos-animate {
  transform: translate3d(0, 0, 0);
}

[data-theme="dark"] body,
body[data-theme="dark"] {
  background:
    radial-gradient(circle at top left, rgba(36, 87, 255, 0.18), transparent 30rem),
    linear-gradient(180deg, #081123 0%, #0d172b 52%, #0a1224 100%);
}

body.menu-open { overflow: hidden; }

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

img { max-width: 100%; }

:focus-visible {
  outline: 3px solid rgba(0, 174, 234, 0.75);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  color: #fff;
  background: var(--color-blue);
  border-radius: var(--radius-sm);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

.container {
  max-width: var(--container);
}

.section-pad {
  padding: var(--section) 0;
}

.section-header {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header.compact {
  margin-bottom: 28px;
}

.section-header h2,
.contact-panel h2 {
  margin: 12px 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--color-navy);
}

.section-header p,
.contact-panel p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--color-blue), var(--color-indigo));
  box-shadow: 0 14px 30px rgba(36, 87, 255, 0.24);
}

.btn-outline-primary {
  border-color: rgba(36, 87, 255, 0.28);
  color: var(--color-blue);
  background: rgba(255, 255, 255, 0.72);
}

[data-theme="dark"] .btn-outline-primary {
  background: rgba(255, 255, 255, 0.04);
}

.navbar {
  padding: 18px 0;
  background: transparent;
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 14px 44px rgba(11, 31, 73, 0.08);
  backdrop-filter: blur(18px);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(9, 18, 35, 0.86);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, #fff 0 8%, transparent 9%),
    conic-gradient(from 160deg, var(--color-cyan), var(--color-blue), var(--color-purple), var(--color-cyan));
  box-shadow: 0 0 26px rgba(36, 87, 255, 0.36);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.42);
}

.nav-link {
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 700;
  margin: 0 4px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-blue);
}

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

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .icon-button {
  background: rgba(255, 255, 255, 0.05);
}

.icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 87, 255, 0.38);
  box-shadow: var(--shadow-card);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 126px;
  position: relative;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(36, 87, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 87, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 84%);
}

.hero-section h1 {
  margin: 18px 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--color-navy);
}

.hero-copy {
  max-width: 620px;
  color: var(--color-muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.75;
}

.hero-actions,
.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.dashboard-shell,
.showcase-board,
.contact-panel {
  border: 1px solid var(--color-line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 255, 0.72));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

[data-theme="dark"] .dashboard-shell,
[data-theme="dark"] .showcase-board,
[data-theme="dark"] .contact-panel {
  background: linear-gradient(145deg, rgba(20, 32, 55, 0.9), rgba(13, 23, 43, 0.78));
}

.dashboard-shell {
  border-radius: var(--radius-lg);
  padding: 18px;
  transform: perspective(1200px) rotateY(-7deg) rotateX(4deg);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 18px;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.dashboard-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d4dbea;
}

.dashboard-topbar strong {
  margin-left: auto;
  color: var(--color-navy);
}

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

.metric-tile,
.chart-panel,
.mini-table,
.insight-card,
.metric-card,
.product-card,
.capability,
.testimonial-card,
.blog-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 36px rgba(14, 35, 80, 0.07);
}

[data-theme="dark"] .metric-tile,
[data-theme="dark"] .chart-panel,
[data-theme="dark"] .mini-table,
[data-theme="dark"] .insight-card,
[data-theme="dark"] .metric-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .capability,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .blog-card {
  background: rgba(255, 255, 255, 0.045);
}

.metric-tile {
  padding: 20px;
}

.metric-tile small,
.metric-tile span,
.chart-header,
.mini-table span,
.insight-card span {
  color: var(--color-muted);
}

.metric-tile strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--color-navy);
  font-size: 1.8rem;
}

.accent-blue span { color: var(--color-blue); }
.accent-green span { color: var(--color-green); }

.chart-panel {
  grid-column: span 2;
  padding: 20px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font-weight: 800;
}

.bar-chart {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 12px;
}

.bar-chart span {
  flex: 1;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--color-cyan), var(--color-blue));
}

.bar-h-48 { height: 48%; }
.bar-h-56 { height: 56%; }
.bar-h-68 { height: 68%; }
.bar-h-72 { height: 72%; }
.bar-h-88 { height: 88%; }
.bar-h-94 { height: 94%; }

.mini-table {
  grid-column: span 2;
  padding: 10px 18px;
}

.mini-table div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
}

.mini-table div:last-child { border-bottom: 0; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  animation: floatY 5s ease-in-out infinite;
}

[data-theme="dark"] .float-card {
  background: rgba(18, 30, 52, 0.92);
}

.float-card i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
}

.float-card strong,
.float-card span {
  display: block;
}

.float-card span {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.float-card-one {
  right: 0;
  top: 70px;
}

.float-card-two {
  left: 0;
  bottom: 70px;
  animation-delay: -2s;
}

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

.trust-section,
.partners-section {
  padding: 56px 0;
}

.audience-strip,
.partner-cloud {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.audience-strip span,
.partner-cloud span {
  padding: 10px 16px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

[data-theme="dark"] .audience-strip span,
[data-theme="dark"] .partner-cloud span {
  background: rgba(255, 255, 255, 0.04);
}

.metric-card {
  padding: 28px;
  text-align: center;
}

.metric-card strong {
  display: block;
  color: var(--color-navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-family: var(--font-heading);
}

.metric-card strong::after {
  content: "+";
}

.metrics-row .col-lg-3:nth-child(4) strong::after {
  content: "%";
}

.metric-card span {
  color: var(--color-muted);
  font-weight: 800;
}

.product-card {
  height: 100%;
  padding: 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover,
.capability:hover,
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 87, 255, 0.28);
  box-shadow: var(--shadow-card);
}

.product-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 24px;
}

.tax { background: linear-gradient(135deg, #2457ff, #00aeea); }
.invoice { background: linear-gradient(135deg, #4c35d9, #8a5cf6); }
.tools { background: linear-gradient(135deg, #0ea5a6, #16a36a); }
.trade { background: linear-gradient(135deg, #2457ff, #7c3aed); }
.portfolio { background: linear-gradient(135deg, #0f766e, #2457ff); }
.invest { background: linear-gradient(135deg, #16a36a, #6d5dfc); }

.product-card h3,
.capability h3,
.timeline-item h3,
.blog-card h3 {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
}

.product-card p,
.capability p,
.timeline-item p,
.blog-card time,
.testimonial-card p {
  color: var(--color-muted);
  line-height: 1.65;
}

.product-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.product-card li {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--color-blue);
  background: rgba(36, 87, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-weight: 800;
}

.why-section {
  background: linear-gradient(180deg, transparent, rgba(36, 87, 255, 0.04), transparent);
}

.capability {
  height: 100%;
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.capability i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--color-blue);
  background: rgba(36, 87, 255, 0.08);
}

.insight-visual {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.insight-card {
  min-height: 170px;
  padding: 24px;
}

.insight-card.wide {
  grid-row: span 2;
  min-height: 360px;
}

.insight-card strong {
  display: block;
  margin-top: 12px;
  color: var(--color-navy);
  font-size: 2rem;
  font-family: var(--font-heading);
}

.line-chart {
  height: 190px;
  margin-top: 34px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, transparent 52%, rgba(36, 87, 255, 0.24) 53%, transparent 55%),
    linear-gradient(160deg, transparent 34%, rgba(0, 174, 234, 0.22) 35%, transparent 38%),
    linear-gradient(180deg, rgba(36, 87, 255, 0.08), rgba(0, 174, 234, 0.04));
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  display: flex;
  gap: 12px;
  color: var(--color-muted);
  font-weight: 700;
}

.feature-list i {
  color: var(--color-green);
  font-size: 1.2rem;
  flex: 0 0 auto;
}

.showcase-board {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.showcase-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px 22px;
  border-right: 1px solid var(--color-line);
}

.showcase-sidebar span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(36, 87, 255, 0.1);
}

.showcase-sidebar .active {
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
}

.showcase-main {
  padding: clamp(24px, 5vw, 44px);
}

.showcase-header,
.showcase-kpis,
.showcase-content {
  display: grid;
  gap: 18px;
}

.showcase-header {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 22px;
}

.showcase-header strong {
  color: var(--color-navy);
  font: 800 1.5rem var(--font-heading);
}

.showcase-header button {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--color-blue);
  background: transparent;
  font-weight: 800;
}

.showcase-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.showcase-kpis div {
  padding: 22px;
  border-radius: 18px;
  background: rgba(36, 87, 255, 0.06);
}

.showcase-kpis span,
.showcase-kpis strong {
  display: block;
}

.showcase-kpis span {
  color: var(--color-muted);
  font-weight: 700;
}

.showcase-kpis strong {
  margin-top: 8px;
  color: var(--color-navy);
  font-size: 1.55rem;
}

.showcase-content {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  min-height: 300px;
}

.donut {
  width: min(240px, 100%);
  aspect-ratio: 1;
  margin: auto;
  border-radius: 50%;
  background: conic-gradient(var(--color-blue) 0 42%, var(--color-cyan) 42% 68%, var(--color-purple) 68% 84%, rgba(36, 87, 255, 0.12) 84% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: var(--color-white);
}

.report-lines {
  display: grid;
  gap: 16px;
}

.report-lines span {
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(36, 87, 255, 0.14), rgba(0, 174, 234, 0.05));
}

.report-lines span:nth-child(2) { width: 82%; }
.report-lines span:nth-child(3) { width: 68%; }
.report-lines span:nth-child(4) { width: 92%; }
.report-lines span:nth-child(5) { width: 74%; }

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.timeline-item {
  padding: 24px;
  border-top: 2px solid rgba(36, 87, 255, 0.28);
}

.timeline-item span {
  color: var(--color-blue);
  font-weight: 900;
}

.testimonial-card {
  height: 100%;
  padding: 26px;
}

.stars {
  color: #e9a80f;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.testimonial-card div:last-child {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  align-items: center;
}

.testimonial-card div:last-child span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--color-indigo), var(--color-cyan));
  font-weight: 900;
}

.testimonial-card strong,
.testimonial-card small {
  display: block;
}

.testimonial-card small {
  color: var(--color-muted);
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.partner-cloud span {
  color: #79859a;
  filter: grayscale(1);
  transition: color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.partner-cloud span:hover {
  color: var(--color-blue);
  filter: grayscale(0);
  transform: translateY(-2px);
}

.aura-accordion .accordion-item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  background: transparent;
}

.aura-accordion .accordion-button {
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
  font-weight: 800;
}

[data-theme="dark"] .aura-accordion .accordion-button {
  background: rgba(255, 255, 255, 0.04);
}

.accordion-body {
  color: var(--color-muted);
  background: var(--color-white);
}

.blog-card {
  min-height: 240px;
  padding: 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-card span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--color-blue);
  background: rgba(36, 87, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.blog-card h3 {
  margin: 18px 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.contact-panel {
  padding: clamp(26px, 5vw, 54px);
  border-radius: var(--radius-lg);
}

.contact-info {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.contact-info a,
.contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-muted);
  font-weight: 700;
}

.map-placeholder {
  min-height: 160px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(36, 87, 255, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-muted);
  background: rgba(36, 87, 255, 0.05);
  text-align: center;
}

.map-placeholder i {
  display: block;
  color: var(--color-blue);
  font-size: 1.8rem;
}

.contact-form label {
  margin-bottom: 8px;
  color: var(--color-navy);
  font-weight: 800;
}

.form-control,
.form-select,
.newsletter input {
  min-height: 52px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .newsletter input {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-ink);
}

textarea.form-control {
  min-height: 140px;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.form-status.success {
  color: var(--color-green);
  font-weight: 800;
}

.site-footer {
  padding: 70px 0 30px;
  color: rgba(255, 255, 255, 0.72);
  background: #07142f;
}

.site-footer .brand-lockup,
.site-footer h2 {
  color: #fff;
}

.site-footer h2 {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  margin: 10px 0;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  margin: 34px 0 20px;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.newsletter label {
  color: #fff;
  font-weight: 900;
}

.newsletter div {
  display: flex;
  gap: 10px;
}

.newsletter input {
  min-width: min(320px, 56vw);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-indigo));
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
  }

  .nav-actions {
    margin-top: 12px;
  }

  .hero-section {
    padding-top: 112px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .dashboard-shell {
    transform: none;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    border-top: 0;
    border-left: 2px solid rgba(36, 87, 255, 0.28);
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 72px 0;
  }

  .hero-section h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .dashboard-grid,
  .showcase-board,
  .showcase-content,
  .showcase-kpis,
  .insight-visual {
    grid-template-columns: 1fr;
  }

  .chart-panel,
  .mini-table,
  .insight-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-visual {
    min-height: auto;
    padding-bottom: 72px;
  }

  .float-card {
    position: relative;
    inset: auto;
    margin-top: 14px;
    width: 100%;
  }

  .showcase-sidebar {
    display: none;
  }

  .showcase-board {
    min-height: auto;
  }

  .newsletter,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn,
  .contact-form .btn,
  .newsletter button {
    width: 100%;
  }

  .newsletter div {
    width: 100%;
    flex-direction: column;
  }

  .newsletter input {
    min-width: 100%;
  }
}
