:root {
  --bg: #060c0f;
  --bg-soft: #0a1317;
  --panel: rgba(15, 27, 31, 0.78);
  --panel-solid: #0e1a1e;
  --line: rgba(151, 255, 231, 0.11);
  --line-bright: rgba(151, 255, 231, 0.2);
  --text: #f3faf8;
  --muted: #8fa7a3;
  --teal: #59e6c5;
  --teal-light: #9affea;
  --blue: #5d9dff;
  --purple: #a78bfa;
  --warning: #f4bd68;
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 12%, rgba(53, 152, 132, .08), transparent 30%),
    linear-gradient(180deg, #071014 0%, #060b0e 48%, #081114 100%);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  z-index: 10;
}

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

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

.page-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: .18;
}

.glow-one { top: 110px; right: -260px; background: #23c8a5; }
.glow-two { top: 600px; left: -350px; background: #3978ff; opacity: .1; }

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1050px;
  opacity: .17;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 230, 211, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 230, 211, .055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.site-header {
  position: relative;
  z-index: 2;
  padding: 27px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -.8px;
}

.brand-k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 2px;
  border-radius: 9px;
  color: #06100e;
  background: linear-gradient(135deg, var(--teal-light), var(--teal), var(--blue));
  box-shadow: 0 0 28px rgba(89, 230, 197, .2);
  font-size: 17px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #a9beb9;
  background: rgba(10, 21, 24, .62);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(16px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(89, 230, 197, .8);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 700px;
  padding-top: 78px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 65px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #73cfc0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

.hero h1 {
  margin: 22px 0 22px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(54px, 6vw, 84px);
  line-height: .98;
  letter-spacing: -4.5px;
  max-width: 690px;
}

.hero h1 span,
.section-heading h2 span,
.closing h2 span {
  color: transparent;
  background: linear-gradient(105deg, #f3faf8 0%, #8ef0da 52%, #63a5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text {
  max-width: 515px;
  margin: 0;
  color: #9bb1ad;
  font-size: 18px;
  line-height: 1.65;
}

.hero-note {
  display: flex;
  gap: 13px;
  align-items: center;
  max-width: 515px;
  margin-top: 30px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 28, 32, .58);
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  backdrop-filter: blur(16px);
}

.note-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #06100e;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.hero-note strong {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}

.hero-note p {
  margin: 0;
  color: #809893;
  font-size: 12px;
  line-height: 1.45;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  color: #58716c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.hero-proof i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #41635d;
}

.dashboard-wrap {
  position: relative;
  perspective: 1300px;
}

.dashboard-glow {
  position: absolute;
  inset: 12% 3% -10%;
  background: radial-gradient(ellipse, rgba(64, 223, 192, .2), transparent 66%);
  filter: blur(25px);
}

.dashboard {
  position: relative;
  padding: 19px;
  border: 1px solid rgba(153, 255, 232, .15);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(20, 36, 40, .94), rgba(8, 16, 19, .95));
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset;
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform .5s ease;
}

.dashboard:hover { transform: rotateY(-1deg) rotateX(0); }

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 4px 17px;
}

.mini-brand {
  color: #9db5b0;
  font-size: 10px;
  font-weight: 700;
}

.mini-brand span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  border-radius: 5px;
  color: #07100e;
  background: var(--teal);
  font-size: 10px;
}

.dash-title {
  margin-top: 7px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.dash-avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: #b7fff1;
  background: #19342f;
  border: 1px solid rgba(89, 230, 197, .18);
  font-size: 11px;
  font-weight: 700;
}

.dash-stats {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 10px;
}

.stat-card, .panel {
  border: 1px solid rgba(153, 255, 232, .09);
  background: rgba(10, 21, 24, .8);
  border-radius: 15px;
}

.stat-card {
  position: relative;
  min-height: 112px;
  padding: 14px;
  overflow: hidden;
}

.stat-card.featured {
  background: linear-gradient(135deg, rgba(25, 67, 61, .75), rgba(10, 30, 30, .85));
  border-color: rgba(89, 230, 197, .17);
}

.stat-label {
  color: #708985;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.stat-value {
  margin-top: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.7px;
}

.stat-value small {
  color: #8ba29e;
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  font-weight: 600;
}

.stat-change {
  margin-top: 7px;
  color: #68e4c5;
  font-size: 9px;
  font-weight: 700;
}

.stat-change span {
  color: #607873;
  font-weight: 500;
}

.stat-change.muted { color: #607873; }
.stat-change.warning { color: var(--warning); }

.sparkline {
  position: absolute;
  right: 9px;
  bottom: 11px;
  width: 82px;
  height: 31px;
  display: flex;
  align-items: end;
  gap: 3px;
}

.sparkline span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(89, 230, 197, .08), rgba(89, 230, 197, .65));
}

.sparkline span:nth-child(1) { height: 27%; }
.sparkline span:nth-child(2) { height: 44%; }
.sparkline span:nth-child(3) { height: 36%; }
.sparkline span:nth-child(4) { height: 66%; }
.sparkline span:nth-child(5) { height: 52%; }
.sparkline span:nth-child(6) { height: 82%; }
.sparkline span:nth-child(7) { height: 69%; }
.sparkline span:nth-child(8) { height: 100%; }

.dash-body {
  display: grid;
  grid-template-columns: 1.55fr .9fr;
  gap: 10px;
  margin-top: 10px;
}

.panel { padding: 15px; }

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 10px;
}

.panel-kicker {
  color: #5f7d77;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.panel h3 {
  margin: 5px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
}

.tiny-badge {
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(89, 230, 197, .07);
  color: #72bcae;
  font-size: 7px;
  font-weight: 600;
}

.sale-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.045);
}

.sale-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #8ff1dc;
  background: #17332f;
  font-size: 8px;
  font-weight: 800;
}

.sale-icon.blue { color: #8dbbff; background: #172b46; }
.sale-icon.purple { color: #c6b5ff; background: #2a2444; }

.sale-info {
  min-width: 0;
  flex: 1;
}

.sale-info strong, .sale-info span {
  display: block;
}

.sale-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
}

.sale-info span {
  margin-top: 2px;
  color: #5d7771;
  font-size: 7px;
}

.sale-price {
  color: #b7ccc8;
  font-size: 8px;
}

.quick-panel h3 { margin-bottom: 13px; }

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}

.qa-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-bottom: 6px;
  border-radius: 7px;
  color: #71e6ca;
  background: rgba(89,230,197,.08);
  font-size: 15px;
}

.qa-icon.box { color: #83b3ff; background: rgba(93,157,255,.08); }
.qa-icon.user { color: #c2aaff; background: rgba(167,139,250,.08); }
.qa-icon.cash { color: #f1c579; background: rgba(244,189,104,.08); }

.quick-action small {
  color: #78908b;
  font-size: 7px;
  font-weight: 600;
}

.features {
  position: relative;
  z-index: 1;
  padding-top: 125px;
}

.section-heading {
  max-width: 650px;
}

.section-heading h2 {
  margin: 17px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.04;
  letter-spacing: -2.6px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-top: 45px;
}

.feature-card {
  position: relative;
  min-height: 285px;
  padding: 23px;
  border: 1px solid rgba(151, 255, 231, .09);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(16, 30, 34, .78), rgba(8, 17, 20, .9));
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -90px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(89, 230, 197, .12);
  filter: blur(25px);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(151, 255, 231, .19);
  background: linear-gradient(145deg, rgba(18, 37, 40, .9), rgba(9, 20, 23, .96));
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 45px;
  border-radius: 13px;
  color: #75ead0;
  background: rgba(89,230,197,.08);
  border: 1px solid rgba(89,230,197,.1);
  font-size: 20px;
}

.feature-icon.stock { color: #83b3ff; background: rgba(93,157,255,.08); }
.feature-icon.clients { color: #c1abff; background: rgba(167,139,250,.08); }
.feature-icon.caisse { color: #f0c477; background: rgba(244,189,104,.08); }

.feature-number {
  position: absolute;
  top: 26px;
  right: 24px;
  color: #344b47;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.feature-card h3 {
  margin: 0 0 9px;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
}

.feature-card p {
  max-width: 220px;
  margin: 0;
  color: #78908b;
  font-size: 13px;
  line-height: 1.6;
}

.closing {
  position: relative;
  z-index: 1;
  padding-top: 125px;
  padding-bottom: 80px;
}

.closing-card {
  position: relative;
  min-height: 355px;
  display: flex;
  align-items: center;
  padding: 55px 65px;
  border: 1px solid rgba(151,255,231,.12);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 50%, rgba(89,230,197,.15), transparent 30%),
    linear-gradient(120deg, rgba(17,38,40,.95), rgba(8,18,21,.98));
  box-shadow: var(--shadow);
}

.closing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 45%, rgba(89,230,197,.035) 70%, transparent 100%);
}

.closing-k {
  position: absolute;
  right: 55px;
  top: 50%;
  transform: translateY(-56%);
  font-family: "Manrope", sans-serif;
  font-size: 270px;
  line-height: 1;
  font-weight: 800;
  color: rgba(89,230,197,.035);
  user-select: none;
}

.closing-content {
  position: relative;
  max-width: 760px;
}

.closing h2 {
  margin: 18px 0 17px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 4.2vw, 55px);
  line-height: 1.04;
  letter-spacing: -2.6px;
}

.closing p {
  max-width: 590px;
  margin: 0;
  color: #819b96;
  font-size: 15px;
  line-height: 1.7;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #506762;
  font-size: 10px;
}

.footer-brand { color: #9bb0ac; font-size: 17px; }
.footer-brand .brand-k { width: 23px; height: 23px; border-radius: 7px; font-size: 13px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 55px; padding-top: 60px; }
  .hero-copy { max-width: 700px; }
  .dashboard-wrap { max-width: 760px; width: 100%; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card { min-height: 250px; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 30px, 1180px); }
  .site-header { padding: 20px 0; }
  .status-pill { display: none; }
  .hero { min-height: auto; padding-top: 58px; }
  .hero h1 { font-size: clamp(48px, 14vw, 66px); letter-spacing: -3px; }
  .hero-text { font-size: 16px; }
  .hero-proof { flex-wrap: wrap; gap: 8px; }
  .hero-proof i { margin: 0 3px; }
  .dashboard { padding: 11px; border-radius: 19px; transform: none; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .stat-card.featured { grid-column: span 2; }
  .dash-body { grid-template-columns: 1fr; }
  .quick-panel { display: none; }
  .features { padding-top: 95px; }
  .section-heading h2 { letter-spacing: -1.8px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .feature-card { min-height: 215px; }
  .feature-icon { margin-bottom: 28px; }
  .closing { padding-top: 90px; padding-bottom: 55px; }
  .closing-card { min-height: 390px; padding: 40px 28px; border-radius: 24px; }
  .closing-k { right: -25px; font-size: 210px; }
  .closing h2 { letter-spacing: -1.8px; }
  .site-footer { flex-wrap: wrap; padding-bottom: 25px; }
  .site-footer > span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dashboard, .feature-card { transition: none; }
}
