/* MIRELQO — Electric Lilac website style
   Framework-independent. Add this stylesheet after any reset or framework CSS.
   Suggested page structure: .site-header, .hero, .section, .feature-grid,
   .testimonial, .cta-panel, .site-footer. */

:root {
  color-scheme: light;
  --ml-ink: #261c41;
  --ml-ink-soft: #514666;
  --ml-primary: #7044e8;
  --ml-primary-hover: #5e35d1;
  --ml-lilac: #dbc9ff;
  --ml-mist: #f2edff;
  --ml-white: #ffffff;
  --ml-line: #dfd7eb;
  --ml-shadow: 0 20px 55px rgb(38 28 65 / 9%);
  --ml-font: "Arial Nova", "Inter", "Aptos", system-ui, sans-serif;
  --ml-radius-sm: 14px;
  --ml-radius: 24px;
  --ml-radius-lg: 36px;
  --ml-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ml-white);
  color: var(--ml-ink);
  font-family: var(--ml-font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--ml-primary); outline-offset: 4px; }
::selection { background: var(--ml-lilac); color: var(--ml-ink); }

.container { width: min(100% - 48px, var(--ml-max)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 132px); }
.section--soft { background: var(--ml-mist); }
.section--dark { background: var(--ml-ink); color: var(--ml-white); }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.eyebrow {
  display: inline-block;
  color: var(--ml-primary);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}
.section--dark .eyebrow { color: var(--ml-lilac); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(3.5rem, 7.5vw, 7.5rem); font-weight: 800; }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 800; }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 750; }
.lead { max-width: 640px; color: var(--ml-ink-soft); font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.section--dark .lead { color: #e5dcf6; }
.text-accent { color: var(--ml-primary); }
.section--dark .text-accent { color: var(--ml-lilac); }

/* Navigation */
.site-header { position: relative; z-index: 20; background: var(--ml-white); }
.site-header__inner {
  display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.65rem; font-weight: 800; letter-spacing: -.07em; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.site-nav a:not(.button) { font-size: .95rem; font-weight: 650; transition: color .2s ease; }
.site-nav a:not(.button):hover { color: var(--ml-primary); }

/* Buttons */
.button {
  display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 25px; border: 2px solid transparent; border-radius: 999px;
  background: var(--ml-primary); color: var(--ml-white); font-size: .96rem; font-weight: 750;
  line-height: 1.2; text-align: center; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { background: var(--ml-primary-hover); box-shadow: 0 10px 26px rgb(112 68 232 / 23%); transform: translateY(-2px); }
.button--outline { border-color: var(--ml-ink); background: transparent; color: var(--ml-ink); }
.button--outline:hover { background: var(--ml-ink); color: var(--ml-white); box-shadow: none; }
.button--light { background: var(--ml-white); color: var(--ml-ink); }
.button--light:hover { background: var(--ml-mist); color: var(--ml-ink); }
.button--small { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Homepage hero: give real salon photography a prominent place. */
.hero { overflow: hidden; background: var(--ml-mist); }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  min-height: min(720px, 80vh); align-items: center; gap: clamp(40px, 5vw, 90px);
  padding-block: clamp(64px, 8vw, 110px);
}
.hero h1 { margin: 22px 0 28px; }
.hero .lead { margin-bottom: 34px; }
.hero__visual { position: relative; min-height: 520px; }
.hero__visual::before {
  content: ""; position: absolute; inset: 8% -4% -7% 9%; border-radius: 42% 42% 30px 30px;
  background: var(--ml-lilac); transform: rotate(6deg);
}
.hero__visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 42% 42% 30px 30px;
}
.hero__badge {
  position: absolute; right: -24px; bottom: 28px; max-width: 230px; padding: 18px 22px;
  border: 1px solid var(--ml-line); border-radius: var(--ml-radius-sm);
  background: var(--ml-white); box-shadow: var(--ml-shadow); font-size: .9rem; font-weight: 750;
}

/* Beauty categories and product benefits */
.category-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.category-strip span, .pill {
  display: inline-flex; align-items: center; min-height: 37px; padding: 7px 15px;
  border: 1px solid var(--ml-line); border-radius: 999px;
  background: rgb(255 255 255 / 72%); color: var(--ml-ink); font-size: .85rem; font-weight: 700;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-grid--capabilities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid--capabilities .feature-card { padding: 26px; }
.feature-grid--capabilities .feature-card__icon { margin-bottom: 20px; }
.feature-card {
  padding: clamp(26px, 3vw, 40px); border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius); background: var(--ml-white); box-shadow: 0 12px 40px rgb(38 28 65 / 4%);
}
.feature-card__icon {
  display: grid; width: 54px; height: 54px; margin-bottom: 28px; place-items: center;
  border-radius: 16px; background: var(--ml-mist); color: var(--ml-primary);
}
.feature-card h3 { margin-bottom: 14px; }
.feature-card p { margin-bottom: 0; color: var(--ml-ink-soft); }
.feature-card--accent { border-color: var(--ml-primary); background: var(--ml-primary); color: var(--ml-white); }
.feature-card--accent p { color: #f1eaff; }
.feature-card--accent .feature-card__icon { background: rgb(255 255 255 / 20%); color: var(--ml-white); }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.product-preview { min-width: 0; margin: 0; }
.product-preview figcaption { margin-top: 13px; color: var(--ml-ink-soft); font-size: .9rem; font-weight: 700; }
.preview-window { overflow: hidden; border: 1px solid var(--ml-line); border-radius: var(--ml-radius); background: #fff; box-shadow: var(--ml-shadow); }
.preview-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eee4dc; }
.preview-brand { color: var(--ml-primary); font-weight: 800; }
.preview-badge { padding: 5px 8px; border-radius: 5px; background: #efe9fd; color: var(--ml-primary); font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.preview-body { display: grid; grid-template-columns: 110px minmax(0, 1fr); min-height: 285px; }
.preview-sidebar { display: flex; flex-direction: column; gap: 8px; padding: 20px 9px; border-right: 1px solid #eee4dc; color: #6f627d; font-size: .68rem; }
.preview-sidebar span { padding: 8px; border-radius: 5px; }
.preview-sidebar .preview-active { background: #f3e9e5; color: #984940; font-weight: 800; }
.preview-main { min-width: 0; padding: 20px; }
.preview-main h3 { margin: 0 0 3px; font-size: 1.35rem; }
.preview-muted { margin: 0 0 18px; color: #786e76; font-size: .76rem; }
.preview-appointment { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin: 8px 0; padding: 12px; border-left: 3px solid #a95750; border-radius: 4px; background: #faeeea; font-size: .76rem; }
.preview-appointment strong { white-space: nowrap; }
.preview-appointment small { color: #7b594f; }
.preview-block { margin-top: 10px; padding: 9px 12px; border-radius: 4px; background: #e9e8eb; color: #544e5a; font-size: .74rem; }
.preview-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.preview-metrics div { padding: 11px; border: 1px solid #eee4dc; border-radius: 5px; }
.preview-metrics small { display: block; color: #786e76; font-size: .67rem; }
.preview-metrics strong { display: block; margin-top: 5px; color: #322445; font-size: 1.2rem; }
.preview-chart { display: flex; align-items: end; gap: 12px; height: 74px; margin-top: 13px; padding: 0 10px; border-bottom: 1px solid #ddd4e8; }
.preview-chart span { flex: 1; border-radius: 4px 4px 0 0; background: #8b64e9; }

/* Split editorial section */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 110px); align-items: center; }
.split__media { overflow: hidden; aspect-ratio: 1.1; border-radius: var(--ml-radius-lg); background: var(--ml-lilac); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy h2 { margin: 18px 0 24px; }
.split__copy p { color: var(--ml-ink-soft); }
.check-list { display: grid; gap: 14px; margin: 28px 0 35px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-weight: 650; }
.check-list li::before { content: "✓"; flex: none; color: var(--ml-primary); font-weight: 900; }

/* Social proof, FAQ and final call to action */
.quote-card { padding: clamp(30px, 5vw, 60px); border-radius: var(--ml-radius-lg); background: var(--ml-mist); }
.quote-card blockquote { margin: 0 0 25px; font-size: clamp(1.5rem, 3vw, 2.7rem); font-weight: 750; line-height: 1.25; letter-spacing: -.03em; }
.quote-card cite { font-size: .95rem; font-style: normal; font-weight: 700; }
.faq { border-top: 1px solid var(--ml-line); }
.faq details { border-bottom: 1px solid var(--ml-line); }
.faq summary { padding: 23px 4px; cursor: pointer; font-weight: 750; list-style-position: inside; }
.faq details p { max-width: 780px; margin: 0 0 25px 23px; color: var(--ml-ink-soft); }
.cta-panel {
  padding: clamp(45px, 7vw, 90px); border-radius: var(--ml-radius-lg);
  background: var(--ml-primary); color: var(--ml-white); text-align: center;
}
.cta-panel h2 { max-width: 820px; margin: 0 auto 22px; }
.cta-panel p { max-width: 620px; margin: 0 auto 30px; color: #f1eaff; font-size: 1.13rem; }

/* Forms and footer */
.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 750; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #cfc4e4;
  border-radius: var(--ml-radius-sm); background: var(--ml-white); color: var(--ml-ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.site-footer { padding-block: 55px 30px; background: var(--ml-ink); color: var(--ml-white); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.site-footer a { color: #e5dcf6; }
.site-footer a:hover { color: var(--ml-white); text-decoration: underline; }
.site-footer__bottom { margin-top: 55px; padding-top: 25px; border-top: 1px solid rgb(255 255 255 / 20%); color: #cabee0; font-size: .86rem; }

@media (max-width: 900px) {
  .hero__inner, .split { grid-template-columns: 1fr; }
  .hero__inner { min-height: 0; }
  .hero__visual { min-height: 480px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 17px; }
}
@media (max-width: 640px) {
  .feature-grid--capabilities { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 82px minmax(0, 1fr); }
  .preview-sidebar { font-size: .58rem; padding: 12px 4px; }
  .preview-main { padding: 14px; }
  .container { width: min(100% - 32px, var(--ml-max)); }
  .site-header__inner { min-height: 72px; }
  .brand { font-size: 1.3rem; }
  .brand img { width: 38px; height: 38px; }
  .site-nav a:not(.button) { display: none; }
  .site-nav .button { min-height: 40px; padding: 9px 14px; font-size: .82rem; }
  .hero__inner { gap: 36px; padding-block: 60px 85px; }
  .hero h1 { font-size: clamp(3.2rem, 14vw, 5rem); }
  .hero__visual { min-height: 360px; margin-right: 14px; }
  .hero__badge { right: -8px; bottom: 15px; max-width: 185px; font-size: .8rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .button-row .button { width: 100%; }
  .section { padding-block: 70px; }
  .cta-panel { padding: 45px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Mirelqo platform page */
.site-header .brand img { width: clamp(165px, 20vw, 235px); height: auto; }
.hero-panel { align-self: center; padding: clamp(32px, 5vw, 62px); border: 1px solid var(--ml-line); border-radius: var(--ml-radius-lg); background: var(--ml-white); box-shadow: var(--ml-shadow); }
.hero-panel h2 { margin: 18px 0 22px; font-size: clamp(2.5rem, 4vw, 4.5rem); }
.hero-panel p { max-width: 34rem; color: var(--ml-ink-soft); font-size: 1.08rem; }
.hero-panel .category-strip { margin-top: 26px; }
.hero-panel .category-strip span { background: var(--ml-mist); }
.first-studio-mark { display: flex; min-height: 360px; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--ml-radius-lg); background: radial-gradient(circle at 25% 25%, var(--ml-lilac), transparent 50%), var(--ml-white); color: var(--ml-primary); box-shadow: var(--ml-shadow); }
.first-studio-mark span { font-size: clamp(3rem, 7vw, 5.7rem); font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.first-studio-mark small { margin-top: 14px; color: var(--ml-ink-soft); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; }
.cta-panel .eyebrow { color: var(--ml-lilac); }
.cta-panel .button--light { color: var(--ml-ink); }
.site-footer strong { font-size: 1.35rem; letter-spacing: -.05em; }
@media (max-width: 640px) {
  .hero-panel { padding: 30px; }
  .hero-panel h2 { font-size: 2.6rem; }
  .first-studio-mark { min-height: 260px; }
}
