/* =========================================================
   LÉION / ZARILA.AI — Responsive landing page
   ========================================================= */

:root {
  --navy: #060d31;
  --ink: #111735;
  --muted: #5c627b;
  --gold: #d9a34e;
  --gold-light: #eac47d;
  --pink: #dc4d8a;
  --cream: #fbfaf7;
  --line: #d9d9d5;
  --white: #fff;
  --container: 1440px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

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

/* Header */
.site-header {
  position: absolute;
  z-index: 20;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.96), rgba(255,255,255,.55), transparent);
}
.nav-wrap {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border-radius: 50%;
  font-size: 33px;
  transform: rotate(180deg);
}
.brand strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: .08em;
  line-height: 1;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 8px;
  letter-spacing: .19em;
  font-weight: 600;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 33px;
  margin-left: auto;
}
.desktop-nav a {
  padding: 8px 0;
  font-size: 13px;
  position: relative;
}
.desktop-nav a.active::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  left: 0;
  bottom: 0;
  background: var(--gold);
}
.btn {
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, #e7bd74, #d9a34e);
  color: #10152f;
  box-shadow: 0 8px 25px rgba(130, 89, 23, .12);
}
.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.nav-cta { margin-left: 12px; }
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
}
.mobile-menu {
  display: none;
  padding: 0 24px 24px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 15px 30px rgba(0,0,0,.06);
}
.mobile-menu a:not(.btn) {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

/* Hero */
.hero {
  min-height: 775px;
  position: relative;
  overflow: hidden;
  background: #f5f5f4;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 43%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.78) 8%, rgba(255,255,255,0) 32%),
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,0)),
    url("https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&w=1800&q=85") center/cover;
  filter: saturate(.92);
}
.hero-side-message {
  position: absolute;
  top: 76px;
  right: 18px;
  width: 145px;
  color: #fff;
  z-index: 2;
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .14em;
  font-weight: 600;
}
.hero-side-message i {
  display: block;
  height: 2px;
  width: 37px;
  margin: 20px auto 15px;
  background: var(--gold);
}
.hero-side-message em {
  display: block;
  text-align: left;
  font: italic 34px/1.02 var(--serif);
  letter-spacing: -.03em;
}
.hero-inner {
  min-height: 775px;
  position: relative;
  padding-top: 140px;
}
.hero-copy { width: min(590px, 48%); position: relative; z-index: 3; }
.eyebrow {
  color: #b27e31;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  margin: 0 0 10px;
}
.hero h1 {
  font: 600 70px/.95 var(--serif);
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -.045em;
}
.hero h1 span:last-child { color: var(--pink); }
.zarila-icon {
  font-family: var(--sans);
  font-size: 56px;
  color: var(--pink);
  display: inline-block;
  transform: rotate(-12deg);
  margin-right: 7px;
}
.hero h2 {
  font: italic 500 34px/1.08 var(--serif);
  margin: 0 0 16px;
  color: var(--navy);
  letter-spacing: -.03em;
}
.hero-text {
  max-width: 570px;
  color: #555d78;
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 26px;
}
.watch {
  display: flex;
  align-items: center;
  gap: 10px;
}
.watch .play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
}
.watch strong, .watch small { display: block; }
.watch strong { font-size: 12px; }
.watch small { font-size: 11px; color: var(--muted); }

.ai-card {
  position: absolute;
  z-index: 5;
  top: 290px;
  right: 31%;
  width: 230px;
  padding: 18px;
  background: rgba(255,255,255,.95);
  border-radius: 13px;
  box-shadow: 0 18px 40px rgba(0,0,0,.13);
}
.ai-card > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.2;
}
.heart { color: var(--pink); font-size: 28px; line-height: .8; }
.mini-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 12px;
}
.mini-products span {
  display: block;
  height: 60px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
}
.mini-products .bag { background-image: url("https://images.unsplash.com/photo-1584917865442-de89df76afd3?auto=format&fit=crop&w=300&q=80"); }
.mini-products .shoe { background-image: url("https://images.unsplash.com/photo-1543163521-1bf539c55dd2?auto=format&fit=crop&w=300&q=80"); }
.mini-products .person { background-image: url("https://images.unsplash.com/photo-1496747611176-843222e1e57c?auto=format&fit=crop&w=300&q=80"); }

.feature-row {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 42%;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(5px);
}
.feature-row > div {
  text-align: center;
  padding: 10px 13px;
  border-right: 1px solid #d5d5d5;
}
.feature-row > div:last-child { border: 0; }
.feature-row span {
  display: block;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
  margin-bottom: 5px;
}
.feature-row strong {
  display: block;
  font-size: 11px;
  line-height: 1.25;
}
.hero-checklist {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 24px;
  width: 190px;
  padding: 13px 15px;
  background: rgba(14,18,40,.86);
  color: #fff;
  border-radius: 8px 0 0 8px;
  font-size: 11px;
}
.hero-checklist p { margin: 7px 0; }

/* General sections */
.section { padding: 48px 0; }
.two-col {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 65px;
  align-items: center;
}
.section h2, .closing h2 {
  font: 600 42px/1.02 var(--serif);
  color: var(--navy);
  letter-spacing: -.04em;
  margin: 0 0 16px;
}
.section-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 600px;
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}
.stats > div {
  padding-right: 16px;
  border-right: 1px solid var(--line);
}
.stats > div + div { padding-left: 16px; }
.stats > div:last-child { border: 0; }
.stats strong {
  display: block;
  color: var(--pink);
  font: 500 29px var(--serif);
}
.stats span {
  display: block;
  color: #555d78;
  font-size: 10px;
  line-height: 1.35;
  margin-top: 4px;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.category {
  height: 155px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background-position: center;
  background-size: cover;
}
.category::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.22));
}
.category span {
  position: absolute;
  z-index: 2;
  left: 15px;
  bottom: 12px;
  color: #fff;
  font-size: 12px;
  line-height: 1.1;
  text-shadow: 0 1px 5px rgba(0,0,0,.3);
}
.category b { font-size: 13px; }
.beauty { background-image: url("https://images.unsplash.com/photo-1612817288484-6f916006741a?auto=format&fit=crop&w=700&q=85"); }
.fashion { background-image: url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=700&q=85"); }
.wellness { background-image: url("https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=700&q=85"); }
.lifestyle { background-image: url("https://images.unsplash.com/photo-1548013146-72479768bada?auto=format&fit=crop&w=700&q=85"); }

.advantage { padding-top: 30px; }
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
}
.advantage-grid article {
  display: flex;
  gap: 15px;
  padding: 14px 20px;
  border-right: 1px solid var(--line);
}
.advantage-grid article:first-child { padding-left: 8px; }
.advantage-grid article:last-child { border: 0; }
.advantage-grid article > span {
  font-size: 31px;
  color: var(--navy);
  line-height: 1;
}
.advantage-grid h3 { margin: 0 0 5px; font-size: 13px; }
.advantage-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.3; }

.revenue { padding-top: 24px; }
.revenue-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.revenue-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.revenue-items article {
  min-height: 100px;
  border-right: 1px solid var(--line);
  text-align: center;
  padding: 12px;
}
.revenue-items article:last-child { border: 0; }
.revenue-items span { display: block; font-size: 29px; color: var(--navy); }
.revenue-items p { font-size: 10px; line-height: 1.3; margin: 9px 0 0; }

.chart-wrap { border-left: 1px solid var(--gold); padding-left: 35px; }
.chart-wrap small { font-size: 10px; color: #777; letter-spacing: .08em; }
.chart {
  height: 190px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 15px;
  padding: 20px 5px 0;
  border-bottom: 1px solid #ddd;
}
.bar {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.bar i {
  display: block;
  width: 38%;
  min-width: 18px;
  background: linear-gradient(#e2c18a, #bc8737);
  margin-bottom: 9px;
}
.bar b { font-size: 11px; color: var(--muted); font-weight: 500; }
.bar strong { font-size: 13px; color: var(--navy); margin-top: 2px; }

/* Closing */
.closing {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  min-height: 260px;
}
.closing-image {
  background:
    linear-gradient(90deg, rgba(0,22,65,.15), rgba(0,22,65,.15)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1200&q=85") center/cover;
  position: relative;
}
.closing-image > div {
  position: absolute;
  left: 30px;
  top: 55px;
  color: #fff;
}
.closing-image em {
  font: italic 28px/1.05 var(--serif);
}
.closing-image span {
  display: block;
  width: 35px;
  height: 2px;
  margin-top: 18px;
  background: var(--gold);
}
.closing-copy {
  padding: 35px 7% 35px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.closing-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.closing-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

footer { padding: 25px 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  align-items: center;
  gap: 20px;
}
.footer-inner nav {
  display: flex;
  justify-content: center;
  gap: 27px;
}
.footer-inner nav a { font-size: 11px; color: #31374e; }
.copyright { text-align: right; }
.copyright em, .copyright span { display: block; font-size: 10px; }
.copyright em { color: #697088; }
.copyright span { margin-top: 4px; }

/* Responsive */
@media (max-width: 1100px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .desktop-nav { gap: 20px; }
  .hero-copy { width: 53%; }
  .hero-photo { left: 38%; }
  .ai-card { right: 25%; }
  .feature-row { right: 35%; }
  .hero-checklist { width: 170px; }
  .two-col { gap: 35px; }
  .section h2, .closing h2 { font-size: 37px; }
}

@media (max-width: 820px) {
  .site-header { background: rgba(255,255,255,.96); position: fixed; }
  .nav-wrap { min-height: 72px; }
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu.open { display: block; }

  .hero { min-height: auto; padding-bottom: 0; }
  .hero-media { position: relative; height: 440px; }
  .hero-photo {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.82) 88%, #fff 100%),
      url("https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&w=1300&q=85") center/cover;
  }
  .hero-side-message { display: none; }
  .hero-inner {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 25px;
    margin-top: -80px;
  }
  .hero-copy {
    width: 100%;
    max-width: 650px;
    padding: 24px 20px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
  }
  .hero h1 { font-size: 58px; }
  .hero h2 { font-size: 29px; }
  .ai-card { top: 330px; right: 24px; width: 190px; }
  .feature-row {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 18px;
    grid-template-columns: repeat(2, 1fr);
    background: #fff;
  }
  .feature-row > div:nth-child(2) { border-right: 0; }
  .feature-row > div:nth-child(-n+2) { border-bottom: 1px solid #ddd; }
  .hero-checklist { display: none; }

  .two-col, .revenue-grid, .closing { grid-template-columns: 1fr; }
  .category-grid { margin-top: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(3) { padding-left: 0; }
  .stats > div:nth-child(4) { padding-left: 16px; }

  .advantage-grid { grid-template-columns: 1fr 1fr; }
  .advantage-grid article:nth-child(2) { border-right: 0; }
  .advantage-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .chart-wrap { border-left: 0; border-top: 1px solid var(--gold); padding: 25px 0 0; margin-top: 25px; }
  .closing-image { min-height: 260px; }
  .closing-copy { padding: 40px 24px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-inner .brand { justify-content: center; }
  .footer-inner nav { flex-wrap: wrap; }
  .copyright { text-align: center; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: 20px; }
  .hero-media { height: 350px; }
  .hero-inner { margin-top: -60px; }
  .hero-copy { padding: 20px 16px; }
  .hero h1 { font-size: 48px; }
  .zarila-icon { font-size: 38px; }
  .hero h2 { font-size: 25px; }
  .hero-text { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ai-card { top: 275px; right: 15px; width: 160px; transform: scale(.9); transform-origin: right top; }
  .section { padding: 38px 0; }
  .section h2, .closing h2 { font-size: 32px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .category { height: 130px; }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-grid article { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 5px; }
  .advantage-grid article:last-child { border-bottom: 0; }
  .revenue-items { grid-template-columns: 1fr 1fr; }
  .revenue-items article:nth-child(2) { border-right: 0; }
  .revenue-items article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .chart { height: 175px; gap: 4px; }
  .bar i { width: 48%; }
  .closing-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .desktop-only { display: none; }
}

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