:root {
  --ink: #0d1730;
  --muted: #667085;
  --line: #e7eaf0;
  --soft: #f7f8fb;
  --white: #ffffff;
  --pink: #ff4f9a;
  --pink-soft: #fff0f7;
  --shadow: 0 24px 70px rgba(13, 23, 48, 0.1);
  --shadow-strong: 0 32px 90px rgba(255, 79, 154, 0.18), 0 20px 70px rgba(13, 23, 48, 0.14);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: Inter, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #fbfcff 42%, #fff 100%);
  overflow-x: hidden;
  max-width: 100vw;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(231, 234, 240, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand picture {
  display: inline-flex;
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(13, 23, 48, 0.14));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--pink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.97rem;
  transition: transform 340ms ease-out, box-shadow 340ms ease-out, border-color 340ms ease-out, background 340ms ease-out, background-position 500ms ease-out, filter 340ms ease-out, color 200ms ease-out;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, #ff3d8e 0%, #ff7ab8 50%, #ff3d8e 100%);
  background-size: 200% auto;
  box-shadow: 0 8px 24px rgba(255, 79, 154, 0.38), 0 2px 6px rgba(255, 79, 154, 0.2);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  box-shadow: 0 4px 16px rgba(13, 23, 48, 0.06);
}

.nav-cta:hover,
.button.primary:hover {
  background-position: right center;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 48px rgba(255, 79, 154, 0.45), 0 4px 12px rgba(255, 79, 154, 0.25);
  filter: saturate(1.08);
}

.button.secondary:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--pink-soft);
  border-color: rgba(255, 79, 154, 0.4);
  color: var(--pink);
  box-shadow: 0 10px 28px rgba(255, 79, 154, 0.14), 0 2px 8px rgba(13, 23, 48, 0.06);
}

.nav-cta:active,
.button:active {
  transform: translateY(0) scale(0.99);
  transition-duration: 80ms;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 70px;
  padding: 86px 0 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(3.2rem, 7.5vw, 6.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 4.5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}

.hero-text,
.section-heading p,
.feature-band p,
.page-hero p,
.detail-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 32px;
  font-size: 1.22rem;
}

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

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

.hero-visual {
  position: relative;
  animation: hero-entry 520ms ease-out both;
  min-width: 0;
  width: 100%;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10% -10% -12% -14%;
  border-radius: 44px;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 79, 154, 0.28), rgba(255, 79, 154, 0) 52%),
    radial-gradient(circle at 20% 84%, rgba(120, 144, 255, 0.14), rgba(120, 144, 255, 0) 56%);
  filter: blur(18px);
  z-index: -1;
  animation: lighting-shift 560ms ease-out both, parallax-float 6s ease-out infinite alternate;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 30px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(145deg, rgba(255, 79, 154, 0.34), rgba(255, 79, 154, 0.08), rgba(185, 203, 255, 0.3)) border-box,
    radial-gradient(circle at 80% 4%, rgba(255, 79, 154, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(251, 251, 253, 0.86));
  backdrop-filter: blur(8px);
  box-shadow: 0 34px 88px rgba(13, 23, 48, 0.16);
  animation: dashboard-float 5.8s ease-out infinite alternate;
  will-change: transform;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  pointer-events: none;
}

.panel-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(231, 234, 240, 0.8);
  background: #f9fbff;
}

.panel-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.panel-header span:nth-child(1) {
  background: #ff6f76;
}

.panel-header span:nth-child(2) {
  background: #fbbf24;
}

.panel-header span:nth-child(3) {
  background: #22c55e;
}

.panel-url {
  margin-left: 14px;
  flex: 1;
  color: #98a2b3;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.dash-card {
  border: 1px solid #f4e2ea;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 252, 254, 0.9));
  box-shadow: 0 10px 30px rgba(13, 23, 48, 0.06);
  transition: transform 360ms ease-out, box-shadow 360ms ease-out, border-color 360ms ease-out;
}

.dash-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 79, 154, 0.38);
  box-shadow: 0 20px 42px rgba(13, 23, 48, 0.11), 0 0 0 1px rgba(255, 79, 154, 0.08);
}

.stat-card {
  padding: 16px;
}

.stat-card p {
  margin: 0 0 8px;
  color: #667085;
  font-size: 0.84rem;
  font-weight: 600;
}

.stat-card strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 2rem;
  letter-spacing: -0.04em;
  opacity: 0;
  animation: stat-rise 440ms ease-out forwards;
}

.stat-card span {
  color: #12b76a;
  font-weight: 800;
  font-size: 1rem;
  opacity: 0;
  animation: stat-rise 480ms ease-out forwards;
  animation-delay: 90ms;
}

.stats-row .stat-card:nth-child(2) strong,
.stats-row .stat-card:nth-child(2) span {
  animation-delay: 140ms;
}

.stats-row .stat-card:nth-child(3) strong,
.stats-row .stat-card:nth-child(3) span {
  animation-delay: 220ms;
}

.chart-card {
  margin-bottom: 12px;
  padding: 18px 18px 20px;
}

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

.chart-head p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
}

.chart-head span {
  color: #98a2b3;
  font-size: 0.9rem;
  font-weight: 600;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 5px;
  height: 94px;
}

.chart-bars span {
  height: var(--h);
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #f9a8c5 0%, #ff6ea7 100%);
  transform-origin: bottom;
  transform: scaleY(0.05);
  opacity: 0;
  animation: bar-rise 520ms ease-out forwards;
}

.chart-bars span:nth-child(1) { animation-delay: 40ms; }
.chart-bars span:nth-child(2) { animation-delay: 70ms; }
.chart-bars span:nth-child(3) { animation-delay: 100ms; }
.chart-bars span:nth-child(4) { animation-delay: 130ms; }
.chart-bars span:nth-child(5) { animation-delay: 160ms; }
.chart-bars span:nth-child(6) { animation-delay: 190ms; }
.chart-bars span:nth-child(7) { animation-delay: 220ms; }
.chart-bars span:nth-child(8) { animation-delay: 250ms; }
.chart-bars span:nth-child(9) { animation-delay: 280ms; }
.chart-bars span:nth-child(10) { animation-delay: 310ms; }
.chart-bars span:nth-child(11) { animation-delay: 340ms; }
.chart-bars span:nth-child(12) { animation-delay: 370ms; }

.appointments-card .appointment-row {
  opacity: 0;
  animation: stat-rise 440ms ease-out forwards;
}

.appointments-card .appointment-row:nth-of-type(1) { animation-delay: 140ms; }
.appointments-card .appointment-row:nth-of-type(2) { animation-delay: 220ms; }
.appointments-card .appointment-row:nth-of-type(3) { animation-delay: 300ms; }
.appointments-card .appointment-row:nth-of-type(4) { animation-delay: 380ms; }

.service-card .card-visual {
  transition: transform 420ms ease-out, box-shadow 420ms ease-out;
}

.appointments-card {
  padding: 18px 20px 14px;
}

.appointments-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 700;
}

.appointment-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #f2f4f7;
}

.appointment-row:last-child {
  border-bottom: none;
}

.appointment-row .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
}

.appointment-row .time,
.appointment-row .service {
  color: #98a2b3;
  font-size: 0.92rem;
  font-weight: 500;
}

.appointment-row .client {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.card-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 160px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #f2e6ec;
  background: linear-gradient(145deg, #fff, #f9fafc);
}

.card-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.brand-preview {
  background: linear-gradient(135deg, #fff4f9, #fff);
}

.growth-preview {
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.systems-preview {
  background: linear-gradient(135deg, #f8fbff, #fff4f9);
}

.services-preview,
.steps,
.feature-band,
.final-cta,
.service-detail {
  padding: 90px 0;
}

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

#services-preview-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
}

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

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(13, 23, 48, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 79, 154, 0.5);
  box-shadow: 0 28px 74px rgba(13, 23, 48, 0.14), 0 0 0 1px rgba(255, 79, 154, 0.22), 0 0 48px rgba(255, 79, 154, 0.14);
}

.service-card:hover .card-visual {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13, 23, 48, 0.1);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 78% 22%, rgba(255, 79, 154, 0.12), transparent 46%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease-out;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card p {
  color: var(--muted);
  line-height: 1.65;
}

.service-card ul,
.benefit-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-weight: 600;
}

.service-card li,
.benefit-list li {
  position: relative;
  padding-left: 24px;
}

.service-card li::before,
.benefit-list li::before {
  position: absolute;
  left: 0;
  content: "•";
  color: var(--pink);
}

.learn-more {
  margin-top: auto;
  color: var(--pink);
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 58px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-copy {
  max-width: 520px;
}

.feature-copy p {
  margin-bottom: 28px;
}

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

.feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(231, 234, 240, 0.9);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(13, 23, 48, 0.06);
  font-size: 0.94rem;
  font-weight: 800;
}

.feature-pill span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--pink);
  background: var(--pink-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 79, 154, 0.1);
}

.feature-showcase {
  position: relative;
  min-height: 610px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(231, 234, 240, 0.9);
  border-radius: 42px;
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 79, 154, 0.16), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f6f8fc 48%, #eef3fb 100%);
  box-shadow: var(--shadow-strong);
}

.showcase-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
}

.showcase-orb.one {
  width: 210px;
  height: 210px;
  right: -64px;
  top: -72px;
  background: rgba(255, 79, 154, 0.2);
}

.showcase-orb.two {
  width: 170px;
  height: 170px;
  left: -64px;
  bottom: 70px;
  background: rgba(13, 23, 48, 0.12);
}

.dashboard-card,
.booking-modal,
.sms-card,
.mobile-preview {
  position: relative;
  z-index: 1;
}

.dashboard-card {
  padding: 24px;
  border-radius: 30px;
  color: var(--white);
  background: linear-gradient(145deg, #0d1730, #102438);
  box-shadow: 0 30px 80px rgba(13, 23, 48, 0.25);
}

.dashboard-topbar,
.panel-label,
.staff-row,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-topbar {
  margin-bottom: 22px;
}

.dashboard-topbar strong {
  display: block;
  margin-top: 4px;
  font-size: 1.24rem;
  letter-spacing: -0.04em;
}

.dashboard-kicker,
.live-badge,
.panel-label span,
.metric-card span,
.metric-card small,
.staff-row small,
.staff-row em,
.modal-tag,
.sms-card span,
.mobile-preview span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-badge {
  padding: 8px 12px;
  border-radius: 999px;
  color: #45f2a5;
  background: rgba(69, 242, 165, 0.12);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.metric-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-card.pink {
  background: linear-gradient(135deg, rgba(255, 79, 154, 0.95), rgba(255, 122, 184, 0.88));
}

.metric-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 2rem;
  letter-spacing: -0.06em;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.chart-panel,
.schedule-panel {
  min-height: 190px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.feature-chart {
  display: flex;
  height: 116px;
  align-items: end;
  gap: 9px;
  margin-top: 28px;
}

.feature-chart span {
  flex: 1;
  height: var(--h);
  min-height: 28px;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #ff8bc3, var(--pink));
  box-shadow: 0 12px 24px rgba(255, 79, 154, 0.28);
}

.schedule-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.staff-row {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.staff-row > span {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #ffd8eb);
}

.staff-row div {
  flex: 1;
}

.staff-row strong,
.staff-row small {
  display: block;
}

.staff-row em {
  font-style: normal;
}

.booking-modal {
  position: absolute;
  left: 16px;
  bottom: 64px;
  width: 238px;
  padding: 20px;
  border: 1px solid rgba(231, 234, 240, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(13, 23, 48, 0.18);
}

.booking-modal strong {
  display: block;
  margin: 8px 0 6px;
  letter-spacing: -0.04em;
}

.booking-modal p,
.sms-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.modal-tag,
.sms-card span,
.mobile-preview span {
  color: var(--pink);
}

.modal-actions span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.sms-card {
  position: absolute;
  right: 34px;
  bottom: 28px;
  width: 250px;
  padding: 18px;
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 22px 58px rgba(13, 23, 48, 0.16);
}

.sms-card p {
  margin: 8px 0 0;
}

.mobile-preview {
  position: absolute;
  right: 40px;
  top: 198px;
  width: 156px;
  padding: 28px 14px 14px;
  border: 8px solid #111827;
  border-radius: 34px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #fff7fb);
  box-shadow: 0 30px 70px rgba(13, 23, 48, 0.24);
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: #d7dce7;
  transform: translateX(-50%);
}

.mobile-preview strong,
.mobile-preview span {
  display: block;
}

.mobile-preview strong {
  margin-bottom: 6px;
  font-size: 0.92rem;
  letter-spacing: -0.04em;
}

.time-slots {
  display: grid;
  gap: 7px;
  margin: 16px 0 12px;
}

.time-slots i,
.mobile-preview button {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.time-slots i {
  padding: 7px 10px;
  color: var(--ink);
  background: var(--soft);
  font-style: normal;
}

.mobile-preview button {
  width: 100%;
  padding: 10px;
  color: #fff;
  background: var(--pink);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.steps-grid div {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--soft);
}

.steps-grid span {
  color: var(--pink);
  font-weight: 800;
}

.final-cta {
  margin-bottom: 70px;
  padding: 76px 28px;
  text-align: center;
  border-radius: 42px;
  background:
    radial-gradient(circle at top, rgba(255, 79, 154, 0.2), transparent 35%),
    linear-gradient(135deg, #101a33, #0d1730);
  color: var(--white);
}

.final-cta p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  padding: 118px 0 90px;
  text-align: center;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto 30px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 62px;
  align-items: center;
}

.service-detail.reverse .detail-copy {
  order: 2;
}

.detail-copy p {
  max-width: 650px;
}

.detail-visual {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: linear-gradient(145deg, #ffffff, #f9fafc);
  box-shadow: var(--shadow);
  transition: transform 420ms ease-out, box-shadow 420ms ease-out, border-color 420ms ease-out;
}

.detail-visual:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 79, 154, 0.34);
  box-shadow: 0 34px 90px rgba(13, 23, 48, 0.14), 0 18px 56px rgba(255, 79, 154, 0.14);
}

.detail-visual::before {
  position: absolute;
  inset: -18% -12% auto auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 79, 154, 0.18);
  filter: blur(34px);
  content: "";
  pointer-events: none;
}

.detail-visual::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 30px;
  content: "";
  pointer-events: none;
}

.brand-visual {
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 79, 154, 0.16), transparent 32%),
    linear-gradient(145deg, #ffffff, #fff6fa 48%, #f9fafc);
}

.brand-orb {
  position: absolute;
  left: 42px;
  bottom: 36px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 79, 154, 0.18), rgba(255, 255, 255, 0.64));
  filter: blur(1px);
}

.brand-mockup,
.growth-dashboard,
.growth-float,
.systems-panel {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(231, 234, 240, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 42px rgba(13, 23, 48, 0.1);
  backdrop-filter: blur(14px);
  transition: transform 420ms ease-out, box-shadow 420ms ease-out;
}

.detail-visual:hover .brand-mockup,
.detail-visual:hover .growth-dashboard,
.detail-visual:hover .growth-float,
.detail-visual:hover .systems-panel {
  box-shadow: 0 24px 54px rgba(13, 23, 48, 0.13);
}

.logo-card {
  left: 48px;
  top: 58px;
  width: 190px;
  padding: 24px;
  animation: visual-drift 5.4s ease-out infinite alternate;
}

.logo-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-card small,
.growth-float small,
.growth-stats small {
  color: #98a2b3;
  font-size: 0.78rem;
  font-weight: 700;
}

.type-card {
  right: 58px;
  top: 42px;
  width: 148px;
  padding: 20px;
  animation: visual-drift 5.8s ease-out 140ms infinite alternate;
}

.type-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--pink);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 0.9;
}

.type-card i {
  display: block;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: #eef1f6;
}

.type-card i:nth-child(3) {
  width: 74%;
}

.type-card i:nth-child(4) {
  width: 52%;
}

.feed-card {
  left: 86px;
  bottom: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 178px;
  padding: 14px;
  transform: rotate(-3deg);
}

.feed-card span {
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff0f7, #ffffff);
  border: 1px solid #f4e2ea;
}

.palette-card {
  right: 56px;
  bottom: 68px;
  display: flex;
  gap: 9px;
  padding: 16px;
}

.palette-card span {
  width: 30px;
  height: 68px;
  border-radius: 999px;
}

.palette-card span:nth-child(1) { background: var(--pink); }
.palette-card span:nth-child(2) { background: #ffb7d2; }
.palette-card span:nth-child(3) { background: var(--ink); }
.palette-card span:nth-child(4) { background: #f7f8fb; border: 1px solid var(--line); }

.package-card {
  right: 178px;
  bottom: 42px;
  width: 88px;
  height: 136px;
  border-radius: 28px 28px 16px 16px;
  background:
    linear-gradient(90deg, transparent 36%, rgba(255, 79, 154, 0.16) 36% 64%, transparent 64%),
    linear-gradient(145deg, #ffffff, #fff0f7);
  transform: rotate(4deg);
}

.growth-visual {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 79, 154, 0.22), transparent 30%),
    linear-gradient(145deg, #ffffff, #f6f8fc);
  }

.growth-dashboard {
  left: 50px;
  top: 60px;
  width: min(74%, 360px);
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(13, 23, 48, 0.96), rgba(37, 55, 98, 0.94));
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  animation: visual-drift 5.6s ease-out infinite alternate;
}

.growth-header {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.growth-header span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.growth-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.growth-stats div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.growth-stats strong,
.growth-float strong {
  display: block;
  margin-top: 5px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.growth-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: end;
  height: 118px;
}

.growth-chart span {
  height: var(--h);
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #f9a8c5, #ff6ea7);
  transform-origin: bottom;
  animation: bar-rise 540ms ease-out both;
}

.growth-chart span:nth-child(2) { animation-delay: 70ms; }
.growth-chart span:nth-child(3) { animation-delay: 120ms; }
.growth-chart span:nth-child(4) { animation-delay: 170ms; }
.growth-chart span:nth-child(5) { animation-delay: 220ms; }
.growth-chart span:nth-child(6) { animation-delay: 270ms; }

.growth-float {
  padding: 18px;
  min-width: 132px;
}

.ad-card {
  right: 42px;
  top: 86px;
}

.bookings-card {
  right: 72px;
  bottom: 76px;
  animation: visual-drift 5.8s ease-out 180ms infinite alternate;
}

.systems-visual {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 79, 154, 0.14), transparent 32%),
    repeating-linear-gradient(90deg, rgba(231, 234, 240, 0.46) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, transparent 0 78px, rgba(231, 234, 240, 0.5) 78px 79px),
    linear-gradient(145deg, #ffffff, #f8fbff);
}

.systems-panel {
  padding: 18px;
}

.calendar-panel {
  left: 52px;
  top: 58px;
  width: 180px;
  animation: visual-drift 5.3s ease-out infinite alternate;
}

.mini-header {
  height: 12px;
  width: 74px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), #ffb7d2);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.calendar-grid span {
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f7f8fb;
}

.calendar-grid span:nth-child(2),
.calendar-grid span:nth-child(5) {
  background: var(--pink-soft);
  border-color: #f4e2ea;
}

.crm-panel {
  right: 54px;
  top: 76px;
  width: 178px;
}

.crm-panel span,
.team-panel span {
  display: inline-block;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), #ffb7d2);
}

.crm-panel span {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
}

.crm-panel strong,
.team-panel strong {
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.crm-panel i {
  display: block;
  height: 9px;
  margin-top: 9px;
  border-radius: 999px;
  background: #eef1f6;
}

.crm-panel i:last-child {
  width: 64%;
}

.team-panel {
  left: 118px;
  bottom: 62px;
  width: 220px;
  animation: visual-drift 5.7s ease-out 140ms infinite alternate;
}

.team-panel span {
  width: 30px;
  height: 30px;
  margin-right: -8px;
  border: 2px solid var(--white);
}

.workflow-line {
  position: absolute;
  z-index: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 79, 154, 0), rgba(255, 79, 154, 0.42), rgba(255, 79, 154, 0));
  transform-origin: left center;
}

.line-a {
  left: 206px;
  top: 170px;
  width: 176px;
  transform: rotate(-8deg);
}

.line-b {
  left: 238px;
  bottom: 150px;
  width: 150px;
  transform: rotate(16deg);
}

.map-pin {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 3px solid var(--white);
  border-radius: 999px 999px 999px 0;
  background: var(--pink);
  box-shadow: 0 10px 24px rgba(255, 79, 154, 0.32);
  transform: rotate(-45deg);
  animation: pin-pulse 1.8s ease-out infinite;
}

.pin-a {
  right: 92px;
  bottom: 88px;
}

.pin-b {
  right: 136px;
  bottom: 132px;
  animation-delay: 180ms;
}

.pin-c {
  right: 56px;
  bottom: 158px;
  animation-delay: 320ms;
}

.detail-visual:hover .logo-card,
.detail-visual:hover .growth-dashboard,
.detail-visual:hover .calendar-panel {
  transform: translateY(-4px);
}

.detail-visual:hover .type-card,
.detail-visual:hover .ad-card,
.detail-visual:hover .crm-panel {
  transform: translateY(-8px);
}

.detail-visual:hover .feed-card,
.detail-visual:hover .bookings-card,
.detail-visual:hover .team-panel {
  transform: translateY(-5px) rotate(-2deg);
}

.reveal {
  animation: rise 520ms ease-out both;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 220ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-entry {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lighting-shift {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes dashboard-float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes parallax-float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes bar-rise {
  from {
    opacity: 0;
    transform: scaleY(0.05);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes stat-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visual-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes pin-pulse {
  0% {
    box-shadow: 0 10px 24px rgba(255, 79, 154, 0.24), 0 0 0 0 rgba(255, 79, 154, 0.22);
  }
  100% {
    box-shadow: 0 10px 24px rgba(255, 79, 154, 0.24), 0 0 0 12px rgba(255, 79, 154, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.4rem);
  }

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

  .button,
  .nav-cta {
    width: 100%;
  }

  .service-card,
  .steps-grid div {
    padding: 26px;
  }

  .feature-list,
  .metric-grid,
  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .feature-pill {
    padding: 12px;
  }

  .feature-showcase {
    min-height: auto;
    padding: 18px;
    border-radius: 30px;
  }

  .dashboard-card {
    padding: 18px;
    border-radius: 24px;
  }

  .booking-modal,
  .sms-card,
  .mobile-preview {
    position: relative;
    inset: auto;
    width: auto;
    margin-top: 14px;
  }

  .mobile-preview {
    max-width: 180px;
    margin-left: auto;
  }

  .services-preview,
  .steps,
  .feature-band,
  .final-cta,
  .service-detail {
    padding: 64px 0;
  }
}

/* ===== PREMIUM HEADLINE ===== */
.h1-line {
  display: inline;
}

.h1-accent {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink) 10%, #ff9cc4 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== MOBILE HAMBURGER MENU ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 260ms ease, opacity 200ms ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 20px;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(13, 23, 48, 0.08);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 200ms ease, color 200ms ease;
}

.mobile-menu a:hover {
  background: var(--soft);
  color: var(--pink);
}

.mobile-menu .button.primary {
  margin-top: 8px;
  text-align: center;
  justify-content: center;
}

/* ===== RESPONSIVE OVERRIDES ===== */
@media (max-width: 900px) {
  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 68px;
    padding: 0;
    align-items: center;
  }

  .nav .brand {
    order: 0;
  }

  .nav-hamburger {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .feature-band,
  .service-detail,
  .service-card-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 42px;
    padding-top: 70px;
  }

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

  .feature-copy {
    max-width: none;
  }

  .feature-showcase {
    min-height: 640px;
  }

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

  .stat-card {
    padding: 12px 10px;
  }

  .stat-card strong {
    font-size: 1.55rem;
  }

  .chart-bars {
    height: 78px;
  }

  .appointment-row {
    grid-template-columns: auto auto 1fr;
  }

  .appointment-row .service {
    grid-column: 2 / -1;
    margin-left: 10px;
  }

  .service-detail.reverse .detail-copy {
    order: 0;
  }

  .detail-visual {
    min-height: 320px;
  }
}

/* ===== LOWER PAGE POLISH ===== */

/* Final CTA — more breathing room and refined buttons */
.final-cta {
  margin-bottom: 70px;
  padding: 88px 40px;
  text-align: center;
  border-radius: 42px;
  background:
    radial-gradient(circle at top, rgba(255, 79, 154, 0.22), transparent 38%),
    linear-gradient(135deg, #101a33, #0d1730);
  color: var(--white);
}

.final-cta h2 {
  margin-bottom: 20px;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
}

.final-cta .hero-actions {
  gap: 16px;
  margin-top: 8px;
}

/* Make final-cta secondary button visible on dark background */
.final-cta .button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.final-cta .button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* Steps — richer cards */
.steps-grid div {
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--soft);
  border: 1px solid var(--line);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.steps-grid div:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 79, 154, 0.3);
  box-shadow: 0 16px 40px rgba(13, 23, 48, 0.08), 0 0 0 1px rgba(255, 79, 154, 0.08);
}

/* Service cards — Learn More arrow on hover */
.learn-more::after {
  content: " →";
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
  display: inline-block;
  transform: translateX(-4px);
}

.service-card:hover .learn-more::after {
  opacity: 1;
  transform: translateX(2px);
}

/* ===== MOBILE STABILITY — viewport lock ===== */
@media (max-width: 430px) {
  /* Prevent glow pseudo-element from bleeding outside the viewport */
  .hero-visual::before {
    display: none;
  }

  /* Dashboard: ensure it never escapes its column */
  .hero-panel {
    width: 100%;
    min-height: auto;
    padding: 14px;
  }

  /* Stat numbers: fit 3 columns inside ~375px */
  .stat-card {
    padding: 10px 7px;
  }

  .stat-card strong {
    font-size: 1.28rem;
    letter-spacing: -0.03em;
  }

  .stat-card span {
    font-size: 0.82rem;
  }

  .stat-card p {
    font-size: 0.75rem;
  }

  /* Chart: slightly shorter so it stays readable */
  .chart-bars {
    height: 64px;
    gap: 3px;
  }

  .chart-card {
    padding: 14px 14px 16px;
  }

  /* Panel URL text clamp */
  .panel-url {
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Hero copy: reduce bottom padding */
  .hero {
    padding: 56px 0 48px;
    gap: 32px;
  }

  /* Buttons: always full-width and tappable */
  .hero-actions {
    flex-direction: column;
  }

  .button,
  .nav-cta {
    min-height: 52px;
    font-size: 1rem;
    width: 100%;
  }

  /* sections: tighter but still airy */
  .services-preview,
  .steps,
  .feature-band,
  .final-cta,
  .service-detail {
    padding: 56px 0;
  }

  .final-cta {
    padding: 56px 22px;
    border-radius: 28px;
    margin-bottom: 48px;
  }

  .steps-grid div {
    padding: 22px;
  }
}
