@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --blue: #4c7dff;
  --blue-dark: #375bd8;
  --mint: #5de2c6;
  --red: #ff8a7a;
  --lime: #a7f3d0;
  --cream: #f4fbfa;
  --paper: #ffffff;
  --ink: #173042;
  --muted: #647887;
  --line: #dbece8;
  --gradient-primary: linear-gradient(135deg, #55dec0 0%, #4c7dff 100%);
  --gradient-soft: linear-gradient(135deg, rgba(93, 226, 198, .18), rgba(76, 125, 255, .13));
  --gradient-warm: linear-gradient(135deg, #ff9d8f 0%, #ffbf75 100%);
  --shadow: 0 28px 80px rgba(55, 91, 145, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: linear-gradient(180deg, #f7fffd 0%, #f3f8ff 48%, #f8fffd 100%); font: 16px/1.5 'DM Sans', sans-serif; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 5% 10%, rgba(93,226,198,.18), transparent 25%), radial-gradient(circle at 95% 18%, rgba(76,125,255,.14), transparent 28%); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: auto; padding: 0 34px; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; font: 800 25px/1 'Manrope'; letter-spacing: -.8px; }
.brand b { color: var(--red); }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--gradient-primary); margin-right: 9px; position: relative; transform: rotate(-4deg); box-shadow: 0 8px 20px rgba(76,125,255,.22); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand-mark { transform: rotate(4deg) scale(1.06); }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; top: 8px; width: 4px; height: 4px; background: white; border-radius: 50%; }
.brand-mark::before { left: 8px; } .brand-mark::after { right: 8px; }
.brand-mark i { position: absolute; width: 14px; height: 7px; border: 3px solid white; border-top: 0; border-radius: 0 0 12px 12px; left: 9px; top: 16px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
nav a { transition: color .25s ease; }
nav a:hover { color: var(--blue); }
.nav-login { border: 1px solid rgba(76,125,255,.22); background: rgba(255,255,255,.72); color: var(--ink); padding: 10px 17px; border-radius: 99px; font-weight: 700; box-shadow: 0 8px 25px rgba(65,100,140,.08); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.nav-login:hover { transform: translateY(-2px); background: white; box-shadow: 0 12px 30px rgba(65,100,140,.14); }
.hero { min-height: 660px; max-width: 1240px; margin: auto; padding: 50px 34px 90px; display: grid; grid-template-columns: 1fr 520px; gap: 80px; align-items: center; position: relative; }
.hero::after { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,138,122,.2), rgba(255,138,122,0) 68%); left: 35%; top: 5%; z-index: -1; animation: float-orb 8s ease-in-out infinite; }
.hero-copy { animation: reveal-up .75s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .02em; display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(93,226,198,.2); animation: soft-pulse 2.4s ease-in-out infinite; }
h1, h2 { font-family: 'Manrope', sans-serif; margin: 0; letter-spacing: -.055em; line-height: .98; }
h1 { font-size: clamp(58px, 6.7vw, 92px); max-width: 670px; }
h1 em { color: var(--blue); font-style: normal; position: relative; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 7px; background: linear-gradient(90deg, var(--mint), #98b7ff); z-index: -1; transform: rotate(-1deg); border-radius: 99px; }
.hero-lede { font-size: 19px; line-height: 1.55; max-width: 560px; color: #474d5d; margin: 28px 0; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.button { border: 0; border-radius: 14px; padding: 16px 20px; font-weight: 700; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, filter .3s ease; position: relative; overflow: hidden; }
.button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.28) 48%, transparent 76%); transform: translateX(-130%); transition: transform .65s ease; }
.button:hover { transform: translateY(-3px); }
.button:hover::after { transform: translateX(130%); }
.button span { margin-left: 14px; }
.button.primary { color: white; background: var(--gradient-primary); box-shadow: 0 14px 30px rgba(76,125,255,.24); }
.button.primary:hover { filter: saturate(1.08); box-shadow: 0 18px 36px rgba(76,125,255,.3); }
.button:disabled { background: #c8cad3; box-shadow: none; cursor: not-allowed; transform: none; }
.button.full { width: 100%; margin-top: 18px; }
.text-link { font-weight: 700; border-bottom: 1px solid var(--ink); transition: color .25s, border-color .25s; }
.text-link:hover { color: var(--blue); border-color: var(--blue); }
.trust-row { margin-top: 27px; display: flex; gap: 20px; color: var(--muted); font-size: 13px; }
.booking-shell { background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.9); border-radius: 28px; box-shadow: var(--shadow), 0 0 0 1px rgba(76,125,255,.08); overflow: hidden; transform: rotate(1deg); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; animation: reveal-card .85s .12s cubic-bezier(.2,.8,.2,1) both; backdrop-filter: blur(16px); }
.booking-shell:hover, .booking-shell.pulse { transform: rotate(0) translateY(-4px); box-shadow: 0 36px 90px rgba(55,91,145,.22), 0 0 0 1px rgba(76,125,255,.1); }
.booking-head { display: flex; align-items: center; gap: 12px; padding: 19px 20px; border-bottom: 1px solid #ececf1; }
.shop-avatar { width: 42px; height: 42px; border-radius: 14px; background: var(--gradient-warm); color: white; display: grid; place-items: center; font-weight: 800; box-shadow: 0 8px 18px rgba(255,138,122,.24); }
.booking-head div:nth-child(2) { display: flex; flex-direction: column; line-height: 1.35; }
.booking-head span { font-size: 12px; color: var(--muted); }
.live-pill { margin-left: auto; font-size: 12px; background: #e6fbf5; color: #167963; padding: 6px 9px; border-radius: 99px; }
.live-pill i { display: inline-block; width: 6px; height: 6px; background: #31bd9c; border-radius: 50%; margin-right: 4px; }
.booking-body { padding: 19px 20px 17px; }
.step-label { font-size: 11px; font-weight: 800; color: #85899a; letter-spacing: .1em; margin: 0 0 10px; }
.service-list { display: grid; gap: 8px; }
.service { width: 100%; border: 1px solid #e2ecea; border-radius: 13px; background: white; display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 11px 13px; color: var(--ink); transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.service:hover { transform: translateX(3px); border-color: rgba(76,125,255,.35); }
.service span { display: flex; flex-direction: column; }
.service small { color: var(--muted); margin-top: 1px; }
.service > strong { font-size: 14px; }
.service.active { border-color: rgba(76,125,255,.45); background: var(--gradient-soft); box-shadow: inset 3px 0 var(--mint), 0 8px 20px rgba(76,125,255,.07); }
.date-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 16px; }
.date { background: white; border: 1px solid #e0ebe8; border-radius: 11px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; color: var(--muted); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.date:hover, .time:hover { transform: translateY(-2px); border-color: var(--blue); }
.date b { color: var(--ink); font-size: 16px; }
.date small { font-size: 10px; text-transform: uppercase; }
.date.active { background: var(--gradient-primary); color: white; border-color: transparent; box-shadow: 0 8px 18px rgba(76,125,255,.2); }
.date.active b { color: white; }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 10px; }
.time { border: 1px solid #dce9e6; background: white; border-radius: 10px; padding: 8px 4px; font-weight: 700; color: var(--ink); font-size: 13px; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.time.active { background: linear-gradient(135deg, #4c7dff, #6a68e8); color: white; border-color: transparent; box-shadow: 0 8px 18px rgba(76,125,255,.2); }
.booking-foot { background: linear-gradient(90deg, #f1fbf8, #f2f5ff); display: flex; justify-content: space-between; padding: 9px 20px; font-size: 11px; color: #758793; }
.booking-foot b { color: var(--blue); }
.ticker { background: var(--gradient-primary); color: white; overflow: hidden; white-space: nowrap; padding: 17px 0; font: 800 13px/1 'Manrope'; letter-spacing: .11em; box-shadow: 0 12px 30px rgba(76,125,255,.14); }
.ticker div { min-width: max-content; text-align: center; }
.ticker i { color: #d6fff5; font-style: normal; margin: 0 18px; }
.steps { max-width: 1240px; margin: auto; padding: 110px 34px 120px; }
.section-kicker { font-size: 12px; font-weight: 800; letter-spacing: .13em; color: var(--blue); margin-bottom: 24px; }
.steps-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.steps h2 { font-size: clamp(44px, 5vw, 68px); }
.steps-intro p { color: var(--muted); font-size: 18px; max-width: 470px; }
.step-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-grid article { padding: 14px 14px 24px; min-height: 410px; border: 1px solid rgba(76,125,255,.09); border-radius: 22px; position: relative; background: rgba(255,255,255,.8); box-shadow: 0 14px 45px rgba(65,100,140,.07); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; overflow: hidden; }
.step-grid article + article { padding-left: 14px; }
.step-grid article:last-child { border-right: 1px solid rgba(76,125,255,.09); }
.step-grid article:hover { transform: translateY(-7px); box-shadow: 0 22px 55px rgba(65,100,140,.13); }
.step-photo-wrap { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; margin-bottom: 20px; background: var(--gradient-soft); }
.step-photo-wrap span { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--blue-dark); font: 800 12px 'Manrope'; box-shadow: 0 7px 20px rgba(23,48,66,.14); backdrop-filter: blur(7px); }
.step-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.step-grid article:hover .step-photo { transform: scale(1.045); filter: saturate(1.05); }
.step-grid h3 { font: 800 22px 'Manrope'; margin: 0 14px 8px; letter-spacing: -.03em; }
.step-grid p { color: var(--muted); margin: 0 14px; max-width: 290px; }
.feature-shelf { max-width: 1172px; margin: 0 auto 90px; padding: 0 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-shelf article { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid rgba(76,125,255,.1); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(238,251,248,.78)); box-shadow: 0 12px 36px rgba(48,83,117,.06); transition: transform .3s ease, box-shadow .3s ease; }
.feature-shelf article:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(48,83,117,.11); }
.feature-shelf article > span { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--gradient-primary); color: white; font: 800 12px 'Manrope'; }
.feature-shelf h3 { margin: 0 0 5px; font: 800 19px 'Manrope'; }
.feature-shelf p { margin: 0; color: var(--muted); font-size: 14px; }
.cta-band { background: linear-gradient(125deg, #4c7dff 0%, #625edc 48%, #51d8bc 115%); color: white; padding: 68px max(34px, calc((100vw - 1172px)/2)); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr); align-items: center; gap: 48px; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.1); top: -260px; left: 35%; }
.cta-story { display: grid; grid-template-columns: minmax(0,1fr) 215px; align-items: center; gap: 32px; position: relative; z-index: 1; }
.cta-copy > p { font-weight: 800; font-size: 12px; letter-spacing: .12em; }
.cta-copy > span { display: block; max-width: 430px; margin-top: 22px; color: rgba(255,255,255,.82); font-size: 17px; }
.cta-band h2 { font-size: clamp(42px, 4.5vw, 64px); }
.cta-portrait { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; border: 4px solid rgba(255,255,255,.2); box-shadow: 0 24px 55px rgba(18,34,76,.28); transform: rotate(2.5deg); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.cta-story:hover .cta-portrait { transform: rotate(0) translateY(-4px); }
.price-card { background: rgba(255,255,255,.95); color: var(--ink); border-radius: 24px; padding: 30px; box-shadow: 12px 12px 0 rgba(93,226,198,.48), 0 24px 60px rgba(20,38,83,.2); transform: rotate(-1.5deg); transition: transform .4s cubic-bezier(.2,.8,.2,1); position: relative; }
.price-card:hover { transform: rotate(0) translateY(-4px); }
.price-card > span { color: var(--muted); }
.price-card > strong { display: block; font: 800 42px 'Manrope'; letter-spacing: -.05em; }
.price-card small { font-size: 15px; letter-spacing: 0; }
.price-card p { color: var(--muted); margin: 2px 0 22px; }
.price-features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.price-features li { position: relative; padding-left: 25px; color: #49606f; font-size: 14px; }
.price-features li::before { content: '✓'; position: absolute; left: 0; top: -1px; color: #22a98b; font-weight: 900; }
.button.ink { background: linear-gradient(135deg, var(--ink), #31536a); color: white; width: 100%; }
footer { max-width: 1240px; margin: auto; padding: 45px 34px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--muted); font-size: 13px; }
footer > span { text-align: right; }
.footer-brand { color: var(--ink); }
dialog { border: 1px solid rgba(255,255,255,.8); border-radius: 24px; padding: 0; width: min(92vw, 480px); max-height: 90vh; box-shadow: 0 35px 110px rgba(36,65,95,.3); background: linear-gradient(180deg, #ffffff, #f8fffd); animation: dialog-in .35s cubic-bezier(.2,.8,.2,1); }
dialog.admin-mode { width: min(94vw, 920px); }
dialog::backdrop { background: rgba(23,48,66,.45); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 14px; top: 12px; border: 0; background: #f0f1f4; width: 34px; height: 34px; border-radius: 50%; font-size: 22px; z-index: 2; }
#dialog-content { padding: 34px; }
#dialog-content h2 { font-size: 34px; margin-bottom: 10px; }
.summary { background: var(--gradient-soft); border: 1px solid rgba(76,125,255,.14); padding: 15px; border-radius: 14px; margin: 20px 0; }
.form-grid { display: grid; gap: 13px; }
.field { display: grid; gap: 5px; }
.field label { font-size: 13px; font-weight: 700; }
.field input { width: 100%; border: 1px solid #d5e6e2; border-radius: 11px; padding: 12px; min-height: 46px; background: rgba(255,255,255,.9); transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(76,125,255,.1); }
.success { text-align: center; padding: 20px 5px 5px; }
.success-mark { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--gradient-primary); color: white; margin: auto auto 20px; font-size: 34px; box-shadow: 0 14px 32px rgba(76,125,255,.22); }
.admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 24px; padding-right: 42px; }
.admin-head h2 { margin-bottom: 8px !important; }
.admin-head p { margin: 0; color: var(--muted); }
.admin-badge { background: var(--gradient-soft); color: var(--blue-dark); border-radius: 99px; font-weight: 800; font-size: 12px; padding: 8px 12px; white-space: nowrap; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.stat { border: 1px solid #dcebe8; border-radius: 16px; padding: 15px; background: rgba(255,255,255,.78); }
.stat span { display: block; color: var(--muted); font-size: 12px; }
.stat strong { font: 800 27px 'Manrope'; letter-spacing: -.04em; }
.agenda-title { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.agenda-title h3 { margin: 0; font: 800 18px 'Manrope'; }
.agenda-title span { color: var(--muted); font-size: 12px; }
.appointment-list { border-top: 1px solid #e2e3e8; }
.appointment { display: grid; grid-template-columns: 74px 1fr auto; gap: 15px; align-items: center; padding: 13px 2px; border-bottom: 1px solid #e8e9ed; }
.appointment-time { color: var(--blue); font: 800 17px 'Manrope'; }
.appointment-main { display: flex; flex-direction: column; }
.appointment-main small { color: var(--muted); }
.status-chip { background: #e2faf4; color: #147760; padding: 6px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; }
.status-chip.demo { background: #fff1ec; color: #a15143; }
.empty-agenda { text-align: center; color: var(--muted); padding: 28px 0; }
.admin-note { margin-top: 18px; color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  nav a { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .trust-row { justify-content: center; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .booking-shell { max-width: 570px; width: 100%; margin: auto; }
  .steps-intro { grid-template-columns: 1fr; gap: 20px; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-story { grid-template-columns: 1fr 190px; }
}
@media (max-width: 620px) {
  .topbar { padding: 0 18px; height: 70px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-mark i { left: 8px; top: 15px; }
  nav { gap: 0; }
  .nav-login { padding: 9px 13px; }
  .hero { padding: 30px 18px 60px; }
  h1 { font-size: 50px; }
  .hero-lede { font-size: 17px; }
  .hero-actions { flex-direction: column; gap: 16px; }
  .trust-row { flex-wrap: wrap; gap: 8px 14px; }
  .booking-shell { border-radius: 18px; }
  .booking-body { padding: 17px 14px; }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .date-strip { gap: 4px; }
  .steps { padding: 80px 18px; }
  .step-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .step-grid article, .step-grid article + article { padding: 12px 12px 22px; border-right: 1px solid rgba(76,125,255,.09); border-bottom: 1px solid rgba(76,125,255,.09); min-height: 0; }
  .feature-shelf { grid-template-columns: 1fr; padding: 0 18px; margin-bottom: 60px; }
  .cta-band { padding: 60px 18px; }
  .cta-story { grid-template-columns: 1fr; text-align: center; }
  .cta-copy > span { margin-left: auto; margin-right: auto; }
  .cta-portrait { aspect-ratio: 16 / 9; max-height: 230px; transform: none; }
  footer { padding: 36px 18px; grid-template-columns: 1fr; gap: 18px; text-align: center; }
  footer > span { text-align: center; }
  #dialog-content { padding: 30px 20px 24px; }
  .stat-grid { grid-template-columns: 1fr; }
  .appointment { grid-template-columns: 60px 1fr; }
  .appointment .status-chip { grid-column: 2; justify-self: start; }
  .admin-head { flex-direction: column; gap: 10px; }
}

@keyframes reveal-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-card { from { opacity: 0; transform: translateY(30px) rotate(2deg) scale(.98); } to { opacity: 1; transform: rotate(1deg) scale(1); } }
@keyframes soft-pulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(93,226,198,.18); } 50% { box-shadow: 0 0 0 9px rgba(93,226,198,.05); } }
@keyframes float-orb { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(18px,22px,0); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

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