:root {
  --ink: #1b1426;
  --muted: #665f6f;
  --violet: #5b21b6;
  --violet-bright: #7c3aed;
  --mint: #c7f6e7;
  --cream: #f7f1e8;
  --white: #fff;
  --line: rgba(27, 20, 38, .12);
  --shadow: 0 26px 70px rgba(43, 24, 72, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.is-scroll-animating { scroll-behavior: auto; }
[id] { scroll-margin-top: 94px; }
body { margin: 0; color: var(--ink); background: #fdfcf9; font-family: "DM Sans", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: #fff; padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header { height: 82px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; position: fixed; top: 0; z-index: 20; width: 100%; color: #fff; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.site-header.is-scrolled { background: rgba(24,15,34,.9); box-shadow: 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(16px); }
.brico-page .site-header.is-scrolled { background: rgba(16,55,43,.92); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 800 1.25rem "Manrope", sans-serif; letter-spacing: -.04em; }
.brand img { border-radius: 12px; box-shadow: 0 8px 24px rgba(36, 13, 72, .2); }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 46px); font-size: .91rem; }
.nav a { position: relative; text-decoration: none; opacity: .82; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: currentColor; transition: right .25s ease; }
.nav a.is-active { opacity: 1; }
.nav a.is-active::after { right: 0; }
.language-switcher { display: flex; padding: 3px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; }
.language-switcher button { appearance: none; border: 0; background: transparent; color: inherit; font-family: inherit; font-size: .72rem; font-weight: 700; padding: 7px 10px; cursor: pointer; border-radius: 99px; }
.language-switcher button[aria-pressed="true"] { background: #fff; color: var(--violet); }

.hero { min-height: 760px; height: min(900px, 100vh); color: #fff; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(350px, .94fr); align-items: center; padding: 100px clamp(22px, 7.6vw, 120px) 42px; }
.hero-bg, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg { object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(50, 17, 100, .97) 0%, rgba(78, 28, 143, .89) 43%, rgba(35, 18, 64, .18) 80%, rgba(27, 20, 38, .14) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.eyebrow, .kicker { font: 700 .73rem "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .19em; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #d5fbee; margin: 0 0 22px; }
.eyebrow > span:first-child { width: 32px; height: 2px; background: #a7f3d0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 { font-size: clamp(3.3rem, 6.2vw, 6.7rem); line-height: .93; letter-spacing: -.073em; margin: 0; font-weight: 700; }
h1 em { font-style: normal; color: #bbf7e4; }
.hero-copy { font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.65; max-width: 570px; color: rgba(255,255,255,.8); margin: 28px 0; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 12px; min-height: 62px; padding: 10px 20px; border-radius: 14px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(20, 6, 50, .24); }
.button-primary { background: #fff; color: #20142f; }
.button small, .button strong { display: block; }
.button small { font-size: .66rem; color: #6b6473; line-height: 1.1; }
.button strong { font-size: 1.03rem; margin-top: 2px; }
.play-mark { font-size: 1.35rem; color: var(--violet); }
.text-link { display: flex; gap: 9px; align-items: center; text-decoration: none; font-weight: 600; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 4px; }
.trust { margin: 22px 0 0; color: rgba(255,255,255,.62); font-size: .76rem; }
.trust span:first-child { color: #a7f3d0; margin-right: 7px; }
.hero-phone { position: relative; z-index: 2; justify-self: end; width: min(400px, 31vw); transform: rotate(3deg) translateY(34px); margin-right: 3vw; }
.phone { position: relative; overflow: hidden; background: #17131b; border: 7px solid #211d25; border-radius: 44px; box-shadow: var(--shadow); padding: 7px; }
.phone img { width: 100%; border-radius: 31px; aspect-ratio: 9 / 16; object-fit: cover; }
.phone-speaker { position: absolute; z-index: 2; width: 30%; height: 20px; background: #17131b; border-radius: 0 0 14px 14px; left: 35%; top: 5px; }
.floating-card { position: absolute; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 12px; padding: 11px 15px 11px 11px; box-shadow: 0 16px 40px rgba(24,8,44,.22); display: flex; gap: 9px; align-items: center; transform: rotate(-3deg); font-size: .75rem; white-space: nowrap; }
.floating-card span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--mint); color: #16745d; font-weight: 800; }
.floating-card-one { top: 28%; left: -30%; }
.floating-card-two { bottom: 17%; right: -22%; }

.section { padding-left: clamp(22px, 7.6vw, 120px); padding-right: clamp(22px, 7.6vw, 120px); }
.intro { padding-top: 120px; padding-bottom: 58px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.kicker { color: var(--violet); margin: 0 0 20px; }
h2 { font-size: clamp(2.5rem, 4.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.06em; margin: 0; }
.section-lead { margin: 0; font-size: 1.13rem; line-height: 1.65; color: var(--muted); max-width: 460px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 120px; }
.feature { min-height: 350px; padding: 30px; border-radius: 22px; position: relative; display: flex; flex-direction: column; justify-content: end; }
.feature-violet { background: var(--violet); color: #fff; }
.feature-mint { background: var(--mint); }
.feature-cream { background: var(--cream); }
.feature-number { position: absolute; top: 25px; right: 26px; font: 700 .7rem "Manrope"; opacity: .5; letter-spacing: .1em; }
.feature-icon { position: absolute; left: 30px; top: 32px; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 20px; background: rgba(255,255,255,.18); font: 800 1.1rem "Manrope"; }
.feature-mint .feature-icon, .feature-cream .feature-icon { background: rgba(255,255,255,.75); }
.feature h3 { font-size: 1.45rem; letter-spacing: -.035em; margin: 0 0 11px; }
.feature p { line-height: 1.55; opacity: .72; margin: 0; font-size: .94rem; }

.showcase { background: #191220; color: #fff; min-height: 780px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; overflow: hidden; }
.showcase-copy { padding: 90px 0; position: relative; z-index: 2; }
.showcase .kicker { color: #8ef0d1; }
.showcase-copy > p:not(.kicker) { color: rgba(255,255,255,.63); line-height: 1.65; max-width: 480px; margin: 25px 0; }
.showcase ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 15px; color: rgba(255,255,255,.86); }
.showcase li { display: flex; align-items: center; gap: 12px; }
.showcase li > span:first-child { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #245848; color: #9af0d3; font-size: .72rem; }
.phone-stage { position: relative; height: 720px; align-self: end; }
.phone-stage .phone { position: absolute; width: min(330px, 26vw); }
.phone-back { left: 5%; top: 115px; transform: rotate(-7deg); opacity: .8; }
.phone-front { right: 5%; top: 50px; transform: rotate(5deg); z-index: 2; }

.proof { text-align: center; padding-top: 120px; padding-bottom: 120px; background: var(--cream); }
.quote-mark { font: 800 5rem Georgia; color: var(--violet); line-height: .6; }
blockquote { max-width: 890px; margin: 34px auto 24px; font: 600 clamp(1.8rem, 3.2vw, 3.3rem)/1.25 "Manrope"; letter-spacing: -.045em; }
.proof p { color: var(--muted); }
.download { margin: 0; background: linear-gradient(125deg, #4b159b, #7136cc); color: #fff; padding-top: 80px; padding-bottom: 80px; display: flex; justify-content: space-between; align-items: center; overflow: hidden; }
.kicker.light { color: #b9f4df; }
.download h2 { font-size: clamp(2.8rem, 5vw, 5.3rem); }
.download p:not(.kicker) { color: rgba(255,255,255,.72); font-size: 1.05rem; margin: 20px 0 28px; }
.button-light { background: #fff; color: var(--ink); }
.download-icon { margin-right: 9vw; border-radius: 48px; box-shadow: 0 38px 80px rgba(22,4,48,.35); transform: rotate(7deg); }
footer { min-height: 120px; padding: 28px clamp(22px, 7.6vw, 120px); display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: .8rem; color: var(--muted); }
footer a:last-child { color: var(--violet); font-weight: 700; text-decoration: none; }
.back-to-top { position: fixed; right: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 40px); z-index: 30; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: var(--violet); color: #fff; font: 700 1.25rem/1 "Manrope"; box-shadow: 0 12px 32px rgba(27,15,38,.26); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, visibility .2s, transform .2s, filter .2s; }
.brico-page .back-to-top { background: #174f3d; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.12); }
.back-to-top:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; height: auto; min-height: 950px; align-items: start; padding-top: 150px; }
  .hero-bg { object-position: 65% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(66,20,129,.98) 0%, rgba(76,27,142,.94) 57%, rgba(40,19,61,.55) 100%); }
  .hero-phone { width: 290px; justify-self: center; transform: rotate(3deg) translateY(70px); margin: 0; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding-top: 95px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 300px; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-copy { padding-bottom: 0; }
  .phone-stage { height: 620px; }
  .phone-stage .phone { width: 280px; }
  .phone-back { left: 4%; }
  .phone-front { right: 4%; }
}

@media (max-width: 560px) {
  .site-header { height: 72px; }
  .brand img { width: 36px; height: 36px; }
  .hero { min-height: 900px; padding-top: 125px; }
  h1 { font-size: 3.35rem; }
  .hero-copy { font-size: .97rem; }
  .hero-phone { width: 235px; }
  .floating-card-one { left: -24%; }
  .floating-card-two { right: -18%; }
  .intro { padding-top: 80px; }
  .feature-grid { padding-bottom: 80px; }
  .showcase { padding-bottom: 0; }
  .phone-stage { height: 510px; margin-left: -10px; margin-right: -10px; }
  .phone-stage .phone { width: 205px; border-width: 5px; border-radius: 32px; padding: 5px; }
  .phone-stage .phone img { border-radius: 23px; }
  .phone-front { top: 25px; }
  .phone-back { top: 95px; }
  .proof { padding-top: 90px; padding-bottom: 90px; }
  .download { text-align: center; justify-content: center; }
  .download-icon { display: none; }
  footer { flex-direction: column; text-align: center; padding-top: 42px; padding-bottom: 42px; }
}

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