/* ================================
   SALON BY LMA TECHS
   Premium Landing Page
================================ */

:root {
  --rose: #cf4868;
  --rose-dark: #b93455;
  --rose-soft: #fff1f4;
  --rose-pale: #fff8f9;
  --ink: #202027;
  --muted: #6e6870;
  --line: #efd8dd;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(119, 47, 67, .12);
  --radius: 22px;
  --container: 1440px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 24px 0;
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-script {
  font-family: "Allura", cursive;
  color: var(--rose);
  font-size: 47px;
}

.brand-sub {
  font-size: 12px;
  letter-spacing: .03em;
  margin-left: 18px;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  transition: color .25s ease, transform .25s ease;
}

.nav-link i {
  margin-right: 7px;
  font-size: 13px;
}

.nav-link:hover {
  color: var(--rose);
  transform: translateY(-1px);
}

.register-link {
  color: var(--rose);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  color: var(--ink);
  cursor: pointer;
}

/* General */

.section {
  position: relative;
}

.eyebrow {
  display: inline-block;
  color: var(--rose);
  background: #fde8ed;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 23px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: .25s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), #d85a77);
  box-shadow: 0 12px 28px rgba(207, 72, 104, .22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(207, 72, 104, .3);
}

.btn-outline {
  border: 1px solid #e7b8c3;
  background: rgba(255,255,255,.7);
}

.btn-outline:hover {
  color: var(--rose);
  border-color: var(--rose);
  transform: translateY(-2px);
}

/* Hero */

.hero {
  min-height: 720px;
  padding: 125px 0 62px;
  background:
    radial-gradient(circle at 65% 42%, rgba(247, 190, 204, .35), transparent 25%),
    linear-gradient(135deg, #fffafa 0%, #fff3f5 58%, #fffafb 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(500px, 1.15fr) 300px;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.hero-copy h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(42px, 4.2vw, 72px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.035em;
}

.hero-copy h1 span {
  display: block;
  color: var(--rose);
  font-family: "Allura", cursive;
  font-size: 1.02em;
  letter-spacing: 0;
  margin-top: 3px;
}

.hero-copy p {
  max-width: 540px;
  margin: 24px 0 28px;
  color: #645b61;
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.hero-main-image {
  position: absolute;
  width: 360px;
  height: 440px;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  border-radius: 50% 50% 46% 46%;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 3;
  border: 10px solid rgba(255,255,255,.68);
}

.hero-main-image img {
  height: 100%;
  object-fit: cover;
}

.floating-image {
  position: absolute;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.9);
  box-shadow: 0 16px 40px rgba(98, 42, 59, .15);
  z-index: 5;
}

.floating-image img {
  height: 100%;
  object-fit: cover;
}

.fitness { top: 38px; left: 18px; }
.clinic { top: 52px; right: 6px; }
.salon { bottom: 50px; left: 12px; }
.wellness { bottom: 30px; right: 12px; }

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(207,72,104,.25);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

.orbit-one {
  width: 470px;
  height: 470px;
}

.orbit-two {
  width: 540px;
  height: 390px;
  transform: translate(-50%,-50%) rotate(-20deg);
}

.petal {
  position: absolute;
  background: linear-gradient(135deg, #f3b6c4, #fff);
  width: 22px;
  height: 48px;
  border-radius: 100% 0 100% 0;
  opacity: .7;
}

.petal-one { left: 37%; bottom: 4%; transform: rotate(25deg); }
.petal-two { left: 47%; bottom: 0; transform: rotate(72deg); }
.petal-three { right: 26%; bottom: 9%; transform: rotate(140deg); }

.why-card {
  background: rgba(255,255,255,.67);
  border: 1px solid #f0cfd7;
  border-radius: 18px;
  padding: 25px 22px;
  box-shadow: 0 15px 45px rgba(112, 40, 61, .06);
  backdrop-filter: blur(10px);
  z-index: 8;
}

.why-card h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 26px;
  line-height: 1.2;
}

.small-line,
.heading-line {
  display: block;
  width: 42px;
  height: 2px;
  background: var(--rose);
  margin: 13px 0 20px;
}

.why-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
}

.why-icon {
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  border: 1px solid #efc4ce;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--rose);
}

.why-item strong,
.why-item small {
  display: block;
}

.why-item strong {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 15px;
}

.why-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

/* Businesses */

.businesses {
  padding: 58px 0 55px;
  background: #fff;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 28px;
}

.heading-line {
  margin: 13px auto 28px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.business-card {
  text-align: center;
  padding: 25px 15px 21px;
  border: 1px solid #f0dce1;
  border-radius: 15px;
  background: linear-gradient(180deg, #fff, #fff9fa);
  transition: transform .25s ease, box-shadow .25s ease;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(103, 41, 57, .09);
}

.service-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--rose);
  background: #fff2f5;
  font-size: 25px;
}

.business-card h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 16px;
  margin-bottom: 9px;
}

.business-card p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  border: 1px solid #f0dce1;
  border-radius: 16px;
  background: #fff9fa;
  padding: 18px 8px;
}

.stat {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  height: 75px;
  width: 1px;
  background: #efdde1;
}

.stat i {
  color: var(--rose);
  font-size: 20px;
  margin-bottom: 2px;
}

.stat strong {
  color: var(--rose);
  font-size: 24px;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}

/* Platform */

.platform {
  padding: 80px 0;
  background: linear-gradient(135deg, #fff7f8, #fff);
  border-top: 1px solid #f8e7ea;
}

.platform-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.feature-copy h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.1;
}

.feature-copy h2 span {
  color: var(--rose);
}

.feature-copy > p {
  max-width: 550px;
  margin: 18px 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.feature-list li {
  color: #4e484c;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.feature-list i {
  color: var(--rose);
}

.dashboard-showcase {
  position: relative;
  min-height: 440px;
}

.dashboard-window {
  position: absolute;
  right: 35px;
  top: 15px;
  width: 650px;
  max-width: 90%;
  min-height: 370px;
  background: #fff;
  border: 1px solid #eadde0;
  border-radius: 17px;
  box-shadow: 0 30px 70px rgba(99, 40, 57, .15);
  overflow: hidden;
}

.dashboard-bar {
  height: 28px;
  border-bottom: 1px solid #f0e5e8;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 12px;
}

.dashboard-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e9b8c4;
}

.dashboard-content {
  display: flex;
  min-height: 342px;
}

.dash-sidebar {
  width: 65px;
  border-right: 1px solid #f1e5e8;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 25px;
  padding: 17px 0;
  color: #9a7c84;
}

.dash-sidebar b {
  color: var(--rose);
  font-size: 11px;
}

.dash-main {
  flex: 1;
  padding: 20px;
}

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

.dash-top small,
.mini-cards small,
.chart-box small {
  color: #9b9095;
  font-size: 9px;
}

.dash-top h4 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 18px;
}

.dash-avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #f5c5d0;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 9px;
  margin-top: 17px;
}

.mini-cards > div {
  padding: 13px;
  border-radius: 8px;
  background: #fff5f7;
}

.mini-cards strong {
  display: block;
  color: var(--rose);
  font-size: 18px;
  margin-top: 4px;
}

.chart-box {
  margin-top: 12px;
  padding: 15px;
  height: 135px;
  border: 1px solid #f0e4e7;
  border-radius: 9px;
}

.chart {
  height: 83px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 10px 12px 0;
}

.chart span {
  display: block;
  flex: 1;
  background: linear-gradient(to top, #d85a77, #f4b8c6);
  border-radius: 5px 5px 0 0;
}

.chart span:nth-child(1) { height: 35%; }
.chart span:nth-child(2) { height: 48%; }
.chart span:nth-child(3) { height: 42%; }
.chart span:nth-child(4) { height: 65%; }
.chart span:nth-child(5) { height: 58%; }
.chart span:nth-child(6) { height: 78%; }
.chart span:nth-child(7) { height: 91%; }

.dash-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.dash-lower div {
  height: 45px;
  background: #fff5f7;
  border-radius: 8px;
}

.phone-mockup {
  position: absolute;
  left: 15px;
  bottom: 5px;
  width: 145px;
  height: 275px;
  background: #1e1c20;
  border-radius: 24px;
  padding: 7px;
  box-shadow: 0 25px 55px rgba(80, 33, 46, .2);
  z-index: 5;
}

.phone-notch {
  position: absolute;
  width: 50px;
  height: 12px;
  border-radius: 0 0 10px 10px;
  background: #1e1c20;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  height: 100%;
  border-radius: 18px;
  background: #fff9fa;
  padding: 24px 10px 10px;
  overflow: hidden;
}

.phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.phone-screen small {
  color: #91848a;
  font-size: 7px;
}

.phone-screen h4 {
  font-family: "DM Serif Display", "Playfair Display", serif;
  font-size: 15px;
  line-height: 1.1;
  margin-top: 2px;
}

.phone-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f2b5c2;
}

.phone-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.phone-metric {
  background: #fff;
  border: 1px solid #f0dce1;
  border-radius: 6px;
  padding: 7px;
}

.phone-metric small {
  display: block;
  font-size: 6px;
}

.phone-metric strong {
  display: block;
  color: var(--rose);
  font-size: 11px;
  margin-top: 2px;
}

.phone-revenue {
  margin-top: 7px;
  padding: 8px;
  background: #fff;
  border: 1px solid #f0dce1;
  border-radius: 6px;
}

.phone-revenue-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-revenue-head strong {
  color: var(--rose);
  font-size: 9px;
}

.phone-chart {
  height: 45px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-top: 7px;
}

.phone-chart i {
  flex: 1;
  display: block;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, #d85a77, #f4b8c6);
}

.phone-chart i:nth-child(1) { height: 35%; }
.phone-chart i:nth-child(2) { height: 52%; }
.phone-chart i:nth-child(3) { height: 45%; }
.phone-chart i:nth-child(4) { height: 68%; }
.phone-chart i:nth-child(5) { height: 58%; }
.phone-chart i:nth-child(6) { height: 80%; }
.phone-chart i:nth-child(7) { height: 94%; }

.phone-appointments {
  margin-top: 7px;
  padding: 7px;
  background: #fff;
  border: 1px solid #f0dce1;
  border-radius: 6px;
}

.phone-appointments > small {
  display: block;
  margin-bottom: 4px;
}

.phone-appointments > div {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 0;
  font-size: 6px;
  white-space: nowrap;
}

.phone-appointments b {
  font-size: 6px;
}

.phone-appointments em {
  font-style: normal;
  color: #81767b;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appointment-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
  flex: 0 0 5px;
}

.phone-bottom-nav {
  height: 22px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 6px;
  color: #9d858c;
  font-size: 8px;
}

.phone-bottom-nav i:first-child {
  color: var(--rose);
}

.tablet-mockup {
  position: absolute;
  right: -4px;
  bottom: 0;
  width: 170px;
  height: 130px;
  padding: 8px;
  background: #242126;
  border-radius: 10px;
  z-index: 5;
  box-shadow: 0 20px 45px rgba(80, 33, 46, .18);
}

.tablet-screen {
  height: 100%;
  padding: 10px;
  border-radius: 5px;
  background: #fff9fa;
}

.tablet-screen small {
  font-family: "DM Serif Display", Georgia, serif;
}

.tablet-item {
  height: 13px;
  background: #f4dce2;
  margin-top: 7px;
  border-radius: 3px;
}

/* CTA */

.cta {
  padding: 0 0 30px;
  background: #fff;
}

.cta-box {
  background: linear-gradient(110deg, #fff0f3, #fff9fa);
  border: 1px solid #f2d8de;
  border-radius: 18px;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  overflow: hidden;
}

.cta-copy {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta-spark {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rose);
  background: #fff;
  border: 1px solid #f0ccd4;
  font-size: 22px;
}

.cta-copy h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 24px;
}

.cta-copy p {
  color: var(--muted);
  margin-top: 5px;
  font-size: 12px;
}

.cta-actions {
  display: flex;
  gap: 10px;
}

/* Footer */

.footer {
  padding: 24px 0 30px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto auto;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #f1e3e6;
  padding-top: 24px;
}

.footer-brand .brand-script {
  font-size: 36px;
}

.footer-brand .brand-sub {
  font-size: 10px;
}

.footer p,
.footer span,
.footer a {
  color: #776d72;
  font-size: 11px;
}

.footer a:hover {
  color: var(--rose);
}

/* Responsive */

@media (max-width: 1250px) {
  .hero-grid {
    grid-template-columns: .85fr 1fr;
  }

  .why-card {
    display: none;
  }

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

  .platform-grid {
    gap: 30px;
  }

  .dashboard-window {
    right: 10px;
    width: 600px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 75px;
    right: 20px;
    width: 220px;
    padding: 16px;
    border: 1px solid #efd8dd;
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 8px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 105px;
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero-copy p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 500px;
    max-width: 680px;
    width: 100%;
    margin: auto;
  }

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

  .business-card:last-child {
    grid-column: 2;
  }

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

  .feature-copy {
    text-align: center;
  }

  .feature-copy > p {
    margin-inline: auto;
  }

  .feature-list {
    max-width: 650px;
    margin-inline: auto;
    text-align: left;
  }

  .dashboard-showcase {
    max-width: 720px;
    width: 100%;
    margin: auto;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-script {
    font-size: 34px;
  }

  .hero {
    padding-bottom: 35px;
  }

  .hero-copy h1 {
    font-size: 43px;
  }

  .hero-copy p {
    font-size: 14px;
  }

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

  .hero-visual {
    min-height: 400px;
    transform: scale(.86);
    transform-origin: top center;
    margin-bottom: -45px;
  }

  .hero-main-image {
    width: 275px;
    height: 340px;
  }

  .floating-image {
    width: 100px;
    height: 100px;
    border-width: 5px;
  }

  .fitness { left: 4px; }
  .clinic { right: 0; }
  .salon { left: 0; }
  .wellness { right: 0; }

  .orbit-one {
    width: 390px;
    height: 390px;
  }

  .orbit-two {
    width: 430px;
    height: 320px;
  }

  .businesses {
    padding-top: 35px;
  }

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

  .business-card:last-child {
    grid-column: auto;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
  }

  .stat:nth-child(2)::after {
    display: none;
  }

  .stat:nth-child(1)::after,
  .stat:nth-child(3)::after {
    height: 55px;
  }

  .platform {
    padding: 55px 0;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .dashboard-showcase {
    min-height: 570px;
    width: 100%;
    transform: none;
    margin: 10px 0 0;
  }

  .dashboard-window {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: none;
    min-height: 330px;
    border-radius: 14px;
  }

  .dashboard-content {
    min-height: 300px;
  }

  .dash-sidebar {
    width: 52px;
    gap: 19px;
  }

  .dash-main {
    padding: 14px;
  }

  .mini-cards {
    gap: 6px;
  }

  .mini-cards > div {
    padding: 10px;
  }

  .mini-cards strong {
    font-size: 14px;
  }

  .chart-box {
    height: 125px;
  }

  .phone-mockup {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 125px;
    height: 235px;
  }

  .tablet-mockup {
    display: none;
  }

  .cta-box {
    padding: 22px 18px;
  }

  .cta-copy {
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }
}

@media (max-width: 390px) {
  .dashboard-showcase {
    min-height: 535px;
  }

  .dash-sidebar {
    width: 42px;
    gap: 17px;
  }

  .dash-sidebar i {
    font-size: 11px;
  }

  .dash-main {
    padding: 11px;
  }

  .mini-cards small {
    font-size: 7px;
  }

  .mini-cards strong {
    font-size: 12px;
  }

  .chart {
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
