:root {
  --indigo: #4F4AAE;
  --indigo-dark: #10094E;
  --indigo-darker: #0A0635;
  --indigo-light: #E1DEFA;
  --indigo-tint: #F5F4FC;
  --amber: #AE894A;
  --coral: #AE4F6E;
  --ink: #1A1733;
  --ink-soft: #4A4665;
  --ink-muted: #6E6A87;
  --line: #E5E2F2;
  --bg: #FBFAFE;
  --white: #FFFFFF;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 9, 78, 0.06);
  --shadow: 0 8px 32px rgba(16, 9, 78, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 9, 78, 0.18);
  --max: 1120px;
  --pad: clamp(20px, 5vw, 48px);
  --font:
    "Lato",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--indigo);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(251, 250, 254, 0.78);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.2px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 14.5px;
}

.nav-links a {
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--indigo);
  text-decoration: none;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(26, 24, 48, 0.78) 0%, rgba(54, 49, 133, 0.68) 55%, rgba(79, 74, 174, 0.55) 100%),
    url("assets/images/background_hero.jpg") center / cover no-repeat,
    linear-gradient(180deg, var(--indigo-darker) 0%, var(--indigo-dark) 60%, var(--indigo) 100%);
  color: var(--white);
  overflow: hidden;
}

@supports (background-image: url("assets/images/background_hero.webp")) {
  .hero {
    background:
      linear-gradient(180deg, rgba(26, 24, 48, 0.78) 0%, rgba(54, 49, 133, 0.68) 55%, rgba(79, 74, 174, 0.55) 100%),
      url("assets/images/background_hero.webp") center / cover no-repeat,
      linear-gradient(180deg, var(--indigo-darker) 0%, var(--indigo-dark) 60%, var(--indigo) 100%);
  }
}

.hero .container {
  padding-block: clamp(56px, 9vw, 110px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.hero h1 .accent {
  color: #F4D9A6;
}

.hero p.lead {
  font-size: clamp(15.5px, 1.6vw, 18px);
  max-width: 540px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.store-btn .label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-btn .label small {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
}

.store-btn .label strong {
  font-size: 15.5px;
}

.store-btn svg {
  width: 22px;
  height: 22px;
}

.hero-meta {
  display: flex;
  gap: 18px;
  margin-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  flex-wrap: wrap;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta svg {
  width: 14px;
  height: 14px;
  stroke: var(--amber);
}

/* ---------- Phone mockup placeholder ---------- */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: clamp(220px, 28vw, 300px);
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(160deg, #fff 0%, #efeaff 100%);
  border-radius: 38px;
  border: 8px solid #1B1437;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  overflow: hidden;
  transform: rotate(-3deg) translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 22px;
  background: #1B1437;
  border-radius: 0 0 14px 14px;
}

.phone .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--indigo-dark);
  font-weight: 600;
  font-size: 13px;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(174, 137, 74, 0.18), transparent),
    linear-gradient(180deg, #fff, #f0eefb);
}

.phone .placeholder span {
  display: block;
  margin-top: 8px;
  font-weight: 800;
  font-size: 16px;
  color: var(--indigo);
}

/* If a real screenshot is added: <img src="..." class="phone-shot"> inside .phone */
.phone picture,
.phone img.phone-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ---------- Sections ---------- */
section {
  padding-block: clamp(64px, 9vw, 110px);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}

.section-head .kicker {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber);
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 10px 0 12px;
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 16.5px;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 880px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--indigo-light);
  color: var(--indigo-dark);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.feature .icon.amber {
  background: rgba(174, 137, 74, 0.16);
  color: var(--amber);
}

.feature .icon.coral {
  background: rgba(174, 79, 110, 0.14);
  color: var(--coral);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------- §3 Callout ---------- */
.callout {
  background: var(--indigo-darker);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background-image:
    radial-gradient(40% 100% at 100% 0%, rgba(174, 79, 110, 0.25), transparent),
    radial-gradient(40% 100% at 0% 100%, rgba(174, 137, 74, 0.18), transparent);
}

@media (max-width: 880px) {
  .callout {
    grid-template-columns: 1fr;
  }
}

.callout .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(174, 137, 74, 0.18);
  color: #F4D9A6;
  border: 1px solid rgba(244, 217, 166, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.callout h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 14px 0 10px;
  letter-spacing: -0.4px;
  line-height: 1.15;
}

.callout p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.callout-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}

.callout-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.92);
}

.callout-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #F4D9A6;
}

ul.callout-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---------- Screenshot showcase ---------- */
.shots {
  background: var(--indigo-tint);
}

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

@media (max-width: 880px) {
  .shots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .shots {
    /* Let the slider bleed to viewport edges */
    overflow: hidden;
  }
  .shots .container {
    padding-inline: 0;
  }
  .shots .section-head {
    padding-inline: 24px;
  }
  .shots-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 8px 24px 24px;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
  }
  .shots-grid::-webkit-scrollbar {
    display: none;
  }
  .shots-grid > .shot {
    flex: 0 0 72%;
    max-width: 320px;
    scroll-snap-align: center;
  }
  .shots-grid > .shot:first-child {
    scroll-snap-align: start;
  }
  .shots-grid > .shot:last-child {
    scroll-snap-align: end;
  }
}

.shot {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.shot:hover {
  transform: translateY(-3px);
}

.shot picture,
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 6px 0 14px;
  letter-spacing: -0.4px;
}

.about p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 12px;
}

.about-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.about-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.about-points svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--indigo);
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: var(--bg);
}

.faq details[open] {
  border-color: var(--indigo);
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--indigo);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  color: var(--ink-soft);
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- CTA bottom ---------- */
.bottom-cta {
  background: var(--indigo);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px);
  margin-block: clamp(48px, 8vw, 96px);
  background-image:
    radial-gradient(40% 100% at 0% 0%, rgba(244, 217, 166, 0.18), transparent),
    radial-gradient(40% 100% at 100% 100%, rgba(174, 79, 110, 0.22), transparent);
}

.bottom-cta h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 10px;
}

.bottom-cta p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 24px;
}

.bottom-cta .cta-row {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--indigo-darker);
  color: rgba(255, 255, 255, 0.72);
  padding-block: 36px;
  font-size: 14px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

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

.site-footer nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.site-footer .social-link svg {
  display: block;
  opacity: 0.85;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: 920px;
  margin-inline: auto;
  background: var(--indigo-darker);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  background-image:
    radial-gradient(40% 100% at 0% 0%, rgba(244, 217, 166, 0.16), transparent),
    radial-gradient(40% 100% at 100% 100%, rgba(174, 79, 110, 0.20), transparent);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1 1 320px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-banner__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #F4D9A6;
  margin-bottom: 6px;
}

.cookie-banner__kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.cookie-banner__text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.cookie-banner__text a {
  color: #F4D9A6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  border: 1px solid transparent;
}

.cookie-btn--primary {
  background: var(--white);
  color: var(--ink);
}

.cookie-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.cookie-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.28);
}

.cookie-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 560px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
  }
}

/* ---------- Legal pages ---------- */
.legal {
  padding-block: clamp(48px, 7vw, 80px);
  background: var(--white);
}

.legal .container {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
  letter-spacing: -0.4px;
}

.legal .updated {
  color: var(--ink-muted);
  font-size: 13px;
  margin: 0 0 32px;
}

.legal h2 {
  font-size: 19px;
  margin: 32px 0 10px;
  letter-spacing: -0.2px;
}

.legal h3 {
  font-size: 15.5px;
  margin: 22px 0 6px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.legal ul {
  padding-left: 22px;
  margin: 8px 0 14px;
}

.legal a {
  color: var(--indigo);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.legal .lead {
  background: var(--indigo-tint);
  border-radius: var(--radius);
  padding: 16px 20px;
  border-left: 4px solid var(--indigo);
  color: var(--ink);
}
