/* =========================================================
   Petualangan Dunia Angka — Landing page stylesheet
   Palette and shapes follow the in-game UI (cream plaques,
   wooden borders, sky gradient, emerald/amber buttons).
   ========================================================= */

:root {
  --sky-900: #0d5a79;
  --sky-800: #106d92;
  --sky-700: #1789b5;
  --sky-500: #3fa9d2;
  --sky-300: #8fd5ef;
  --sky-100: #d8f1fb;
  --sky-50: #eefaff;

  --cream: #fff7e2;
  --paper: #fffdf7;
  --sand: #f7dfa4;

  --brown-900: #3d2410;
  --brown-800: #5c3512;
  --brown-700: #8a4e16;
  --brown-500: #9a6532;
  --brown-200: rgba(138, 78, 22, 0.18);

  --amber: #f6c445;
  --amber-600: #e8a51c;
  --amber-800: #8a4e16;

  --emerald: #22b573;
  --emerald-700: #189a5f;
  --emerald-900: #0e633d;

  --ink: #2b1a0c;
  --ink-soft: #5b432c;
  --ink-muted: #7b6550;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 6px rgba(43, 26, 12, 0.08);
  --shadow: 0 10px 24px rgba(43, 26, 12, 0.1);
  --shadow-lg: 0 22px 50px rgba(13, 60, 80, 0.16);
  --shadow-hard: 0 6px 0 rgba(138, 78, 22, 0.9);

  --wrap: 1140px;
  --header-h: 72px;

  --font-display: 'Fredoka', 'Nunito', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Nunito', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--brown-900);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--sky-800);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.wrap-narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brown-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 12px 0;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
}

/* ---------------- Buttons ---------------- */

.btn {
  --btn-bg: var(--sky-700);
  --btn-edge: var(--sky-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 3px solid var(--btn-edge);
  border-radius: 14px;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--btn-edge), 0 12px 22px rgba(13, 60, 80, 0.16);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.btn-primary .svg-play,
.btn svg path[d^='M8 5v14'] {
  fill: currentColor;
  stroke: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 0 var(--btn-edge), 0 16px 26px rgba(13, 60, 80, 0.2);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--btn-edge), 0 4px 10px rgba(13, 60, 80, 0.18);
}

.btn-primary {
  --btn-bg: var(--emerald);
  --btn-edge: var(--emerald-900);
}

.btn-primary:hover {
  --btn-bg: #29c981;
}

.btn-amber {
  --btn-bg: var(--amber);
  --btn-edge: var(--amber-800);
  color: var(--brown-900);
}

.btn-amber:hover {
  --btn-bg: #ffd35c;
}

.btn-light {
  --btn-bg: #fffdf7;
  --btn-edge: var(--brown-700);
  color: var(--brown-900);
}

.btn-wa {
  --btn-bg: #25d366;
  --btn-edge: #128c4a;
  color: #06301a;
}

.btn-wa:hover {
  --btn-bg: #3ce07a;
}

.btn-block {
  width: 100%;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 253, 247, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(138, 78, 22, 0.14);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-stuck {
  box-shadow: 0 8px 24px rgba(43, 26, 12, 0.1);
  background: rgba(255, 253, 247, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffe9a8, var(--amber));
  border: 3px solid var(--brown-700);
  box-shadow: 0 3px 0 rgba(138, 78, 22, 0.75);
  flex: none;
}

.brand-mark span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--brown-900);
  letter-spacing: -0.4px;
}

.brand-mark.small {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.brand-mark.small span {
  font-size: 13px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--brown-900);
}

.brand-text small {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: rgba(63, 169, 210, 0.12);
  color: var(--sky-900);
  text-decoration: none;
}

.nav a.nav-cta {
  margin-left: 6px;
  background: var(--emerald);
  color: #fff;
  border: 3px solid var(--emerald-900);
  box-shadow: 0 3px 0 var(--emerald-900);
  padding: 8px 18px;
  font-family: var(--font-display);
}

.nav a.nav-cta:hover {
  background: #29c981;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px 11px;
  border-radius: 12px;
  border: 2px solid var(--brown-200);
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--brown-700);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  padding: 64px 0 120px;
  background: linear-gradient(180deg, #bfe9f8 0%, #8fd5ef 42%, #cdefff 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-sun {
  position: absolute;
  top: -90px;
  right: 8%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 245, 190, 0.95), rgba(255, 236, 160, 0) 68%);
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 100px;
  filter: blur(0.4px);
  box-shadow: 0 12px 26px rgba(23, 137, 181, 0.12);
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud-1 {
  width: 150px;
  height: 42px;
  top: 12%;
  left: 4%;
  animation: drift 26s linear infinite;
}
.cloud-1::before {
  width: 62px;
  height: 62px;
  top: -26px;
  left: 24px;
}
.cloud-1::after {
  width: 44px;
  height: 44px;
  top: -18px;
  left: 82px;
}

.cloud-2 {
  width: 112px;
  height: 32px;
  top: 32%;
  right: 6%;
  opacity: 0.75;
  animation: drift 34s linear infinite reverse;
}
.cloud-2::before {
  width: 46px;
  height: 46px;
  top: -20px;
  left: 18px;
}
.cloud-2::after {
  width: 34px;
  height: 34px;
  top: -14px;
  left: 60px;
}

.cloud-3 {
  width: 88px;
  height: 26px;
  top: 6%;
  left: 46%;
  opacity: 0.6;
  animation: drift 30s linear infinite;
}
.cloud-3::before {
  width: 38px;
  height: 38px;
  top: -16px;
  left: 14px;
}
.cloud-3::after {
  width: 26px;
  height: 26px;
  top: -10px;
  left: 46px;
}

@keyframes drift {
  0% {
    transform: translateX(-18px);
  }
  50% {
    transform: translateX(18px);
  }
  100% {
    transform: translateX(-18px);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 14px 7px 10px;
  border-radius: 100px;
  background: rgba(255, 253, 247, 0.9);
  border: 2px solid rgba(138, 78, 22, 0.28);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown-800);
}

.eyebrow.center {
  display: flex;
  justify-content: center;
  margin-inline: auto;
  width: fit-content;
}

.eyebrow .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(34, 181, 115, 0.22);
  flex: none;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  line-height: 1.02;
  margin: 0 0 18px;
  color: var(--brown-900);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.55);
}

.hero h1 .hl {
  color: #a8471a;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.7);
}

.hero .lead {
  font-size: 18px;
  line-height: 1.62;
  color: #1f4a5e;
  max-width: 33ch;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 22px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 800;
  color: #1b5069;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--emerald-900);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  padding: 2px;
}

/* Hero visual */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.device-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 4px solid var(--brown-700);
  box-shadow: 0 8px 0 rgba(112, 68, 29, 0.85), 0 26px 44px rgba(13, 60, 80, 0.28);
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: #f3e3c4;
  border-bottom: 2px solid rgba(138, 78, 22, 0.3);
}

.device-bar span[class^='dot-'] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.dot-r {
  background: #ff8f7a;
}
.dot-y {
  background: #ffd166;
}
.dot-g {
  background: #8fdc9a;
}

.device-url {
  margin-left: 8px;
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  color: #8a6a45;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  padding: 3px 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-frame {
  position: absolute;
  bottom: -42px;
  left: -22px;
  width: 132px;
  border-radius: 20px;
  border: 4px solid var(--brown-900);
  box-shadow: 0 6px 0 rgba(61, 36, 16, 0.8), 0 18px 30px rgba(13, 60, 80, 0.3);
  overflow: hidden;
  background: #111;
  transform: rotate(-5deg);
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.float-cube {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: #fffdf7;
  border: 3px solid var(--brown-700);
  box-shadow: 0 4px 0 rgba(138, 78, 22, 0.75);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--brown-900);
  animation: bob 4.6s ease-in-out infinite;
}

.cube-a {
  top: -18px;
  right: -12px;
  transform: rotate(9deg);
}

.cube-b {
  bottom: 34px;
  right: -20px;
  background: #ffe9a8;
  transform: rotate(-8deg);
  animation-delay: 1.1s;
}

.float-coin {
  position: absolute;
  top: 46%;
  left: -34px;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--amber));
  border: 3px solid var(--amber-800);
  box-shadow: 0 4px 0 rgba(138, 78, 22, 0.7);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--brown-900);
  animation: bob 5.4s ease-in-out infinite 0.6s;
}

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: var(--paper);
  clip-path: ellipse(120% 100% at 50% 100%);
}

/* ---------------- Stats ---------------- */

.stats-band {
  background: var(--paper);
  padding: 0 0 10px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--cream);
  border: 3px solid var(--brown-200);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: #b3541e;
  line-height: 1.1;
}

.stat span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
}

/* ---------------- Sections ---------------- */

.section {
  padding: 86px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--sky-50), #fffdf7);
  border-block: 1px solid rgba(138, 78, 22, 0.1);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}

.section-sub {
  font-size: 17px;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 0;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cards > *,
.steps > *,
.download-grid > *,
.hero-grid > * {
  min-width: 0;
}

.card {
  background: #fff;
  border: 2px solid rgba(138, 78, 22, 0.14);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(63, 169, 210, 0.4);
}

.card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.card p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  margin-bottom: 16px;
  border: 2px solid transparent;
}

.card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ic-sky {
  background: var(--sky-50);
  border-color: rgba(63, 169, 210, 0.35);
  color: var(--sky-800);
}

.ic-emerald {
  background: #e8f9f0;
  border-color: rgba(34, 181, 115, 0.35);
  color: var(--emerald-900);
}

.ic-amber {
  background: #fff4d6;
  border-color: rgba(246, 196, 69, 0.55);
  color: #a35b0d;
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 2px solid rgba(138, 78, 22, 0.14);
  border-radius: var(--radius);
  padding: 30px 22px 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  position: absolute;
  top: -20px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffe9a8, var(--amber));
  border: 3px solid var(--brown-700);
  box-shadow: 0 3px 0 rgba(138, 78, 22, 0.7);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--brown-900);
}

.step h3 {
  font-size: 18px;
  margin: 8px 0 8px;
}

.step p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.keys-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin-top: 34px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
}

.keys-hint span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

kbd {
  display: inline-block;
  min-width: 26px;
  padding: 3px 7px;
  border-radius: 7px;
  border: 2px solid rgba(138, 78, 22, 0.28);
  border-bottom-width: 3px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  color: var(--brown-800);
  text-align: center;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery > * {
  min-width: 0;
}

.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  border: 3px solid var(--brown-700);
  box-shadow: 0 6px 0 rgba(138, 78, 22, 0.55), var(--shadow);
  transition: transform 0.25s ease;
}

.shot:hover {
  transform: translateY(-5px) rotate(-0.4deg);
}

.shot img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.shot figcaption {
  padding: 10px 14px 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brown-800);
  background: #fffdf7;
  border-top: 2px solid rgba(138, 78, 22, 0.16);
}



/* Download */

.section-unduh {
  background: linear-gradient(180deg, #f4fbfe, #fffdf7 60%);
  border-top: 1px solid rgba(138, 78, 22, 0.1);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.dl-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 3px solid rgba(138, 78, 22, 0.16);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.dl-apk {
  background: linear-gradient(180deg, #fffdf7, #fff7e2);
  border-color: rgba(138, 78, 22, 0.3);
}

.dl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.dl-head .card-icon {
  margin: 0;
}

.tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--sky-50);
  color: var(--sky-900);
  border: 2px solid rgba(63, 169, 210, 0.35);
}

.tag-green {
  background: #e8f9f0;
  color: var(--emerald-900);
  border-color: rgba(34, 181, 115, 0.4);
}

.dl-card h3 {
  font-size: 23px;
  margin: 0 0 8px;
}

.dl-desc {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.dl-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
}

.dl-list li {
  position: relative;
  padding-left: 28px;
}

.dl-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.dl-list li::after {
  content: '';
  position: absolute;
  left: 5.5px;
  top: 9.5px;
  width: 7px;
  height: 4px;
  border-left: 2.2px solid #fff;
  border-bottom: 2.2px solid #fff;
  transform: rotate(-45deg);
}

.dl-card .btn {
  margin-top: auto;
}

.dl-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.install-help {
  margin-top: 26px;
  background: var(--cream);
  border: 3px dashed rgba(138, 78, 22, 0.3);
  border-radius: var(--radius-lg);
  padding: 26px 26px 20px;
}

.install-help h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.install-help ol {
  margin: 0 0 12px;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.install-help li {
  margin-bottom: 7px;
}

.install-help code {
  background: rgba(138, 78, 22, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.install-meta {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* FAQ */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 2px solid rgba(138, 78, 22, 0.14);
  border-radius: var(--radius);
  padding: 4px 4px 4px 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--brown-900);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 3px solid var(--brown-700);
  border-bottom: 3px solid var(--brown-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details[open] {
  border-color: rgba(63, 169, 210, 0.45);
  box-shadow: var(--shadow);
}

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* CTA band */

.cta-band {
  position: relative;
  padding: 74px 0;
  background: linear-gradient(135deg, var(--sky-800), var(--sky-700) 55%, #2ba0c8);
  color: #fff;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 160, 0.28), transparent 65%);
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 36px;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  text-shadow: 0 2px 0 rgba(13, 60, 80, 0.35);
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cta-phone {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.cta-phone a {
  color: #ffe9a8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 253, 247, 0.14);
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  backdrop-filter: blur(6px);
}

.cta-badge img {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 16px rgba(13, 60, 80, 0.3);
}

.cta-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.cta-badge-text strong {
  font-family: var(--font-display);
  font-size: 17px;
}

.cta-badge-text span {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

/* Footer */

.site-footer {
  background: #2a1a0d;
  color: rgba(255, 247, 226, 0.82);
  padding: 54px 0 82px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 247, 226, 0.16);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff7e2;
  margin-bottom: 6px;
  line-height: 1.35;
}

.footer-brand p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(255, 247, 226, 0.7);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col h4 {
  margin: 0 0 4px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd88a;
}

.footer-col a {
  color: rgba(255, 247, 226, 0.82);
  font-size: 15px;
  font-weight: 600;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255, 247, 226, 0.6);
}

.footer-bottom p {
  margin: 0;
}

/* Floating WhatsApp */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px 12px 14px;
  border-radius: 100px;
  background: #25d366;
  color: #06301a;
  border: 3px solid #128c4a;
  box-shadow: 0 5px 0 #128c4a, 0 14px 26px rgba(13, 60, 80, 0.28);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wa-float:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #128c4a, 0 18px 30px rgba(13, 60, 80, 0.32);
}

.wa-float:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #128c4a;
}

.wa-float svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #06301a;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.wa-tip {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero .lead {
    max-width: 46ch;
  }

  .hero-visual {
    max-width: 620px;
    margin: 0 auto;
  }

  .cards,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery > :last-child {
    grid-column: span 2;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: var(--paper);
    border: 3px solid rgba(138, 78, 22, 0.22);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 12px 14px;
    font-size: 16px;
  }

  .nav a.nav-cta {
    margin: 6px 0 0;
    text-align: center;
    padding: 12px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    padding: 44px 0 96px;
  }

  .hero-visual {
    max-width: 100%;
  }

  .phone-frame {
    width: 96px;
    bottom: -24px;
    left: 4px;
  }

  .float-cube {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .cube-a {
    right: -4px;
    top: -14px;
  }

  .cube-b {
    right: -6px;
  }

  .float-coin {
    width: 50px;
    height: 50px;
    font-size: 14px;
    left: -14px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 10px;
    padding: 20px;
  }

  .section {
    padding: 62px 0;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .shot-wide {
    grid-column: span 1;
  }

  .shot img,
  .shot-mobile img {
    aspect-ratio: 16 / 10;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .cta-badge {
    width: 100%;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
    padding: 11px 14px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 6px 14px;
    font-size: 13px;
  }

  .wa-tip {
    display: none;
  }

  .wa-float {
    padding: 12px;
    border-radius: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
