:root {
  --bg: #fffaf2;
  --paper: #ffffff;
  --ink: #1d2a2f;
  --muted: #55666e;
  --orange: #ff7f4d;
  --orange-dark: #f05d22;
  --teal: #27b7af;
  --lemon: #ffd96a;
  --sky: #a8d6ff;
  --mint: #98eadf;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --border: 2px solid rgba(25, 39, 44, 0.12);
  --soft-shadow: 0 20px 45px rgba(34, 53, 59, 0.14);
  --card-shadow: 0 14px 30px rgba(24, 40, 45, 0.2);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #f4fbff 0%, #fff8ef 56%, #ffffff 100%);
  font-family: "Plus Jakarta Sans", sans-serif;
}

body::before {
  display: none;
}

a {
  color: inherit;
}

.protected-image {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.bg-orb {
  display: none;
}

@keyframes floaty {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) translateX(12px) rotate(3deg);
  }
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
}

main {
  width: min(1240px, 92vw);
  margin: 0 auto;
  padding: 116px 0 88px;
}

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  width: min(1220px, 92vw);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 22px;
  border: 1px solid rgba(23, 35, 40, 0.1);
  background: rgba(255, 253, 247, 0.77);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 22px rgba(33, 51, 58, 0.1);
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(35, 52, 59, 0.2);
}

.brand-title {
  margin: 0;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-sub {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(23, 35, 40, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.lang-switch a {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: #5b6c74;
}

.lang-switch a.active {
  color: var(--ink);
}

.lang-switch span {
  color: #8aa0ab;
  font-weight: 700;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
  box-shadow: 0 12px 22px rgba(240, 93, 34, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.appstore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 25px rgba(240, 93, 34, 0.4);
}

.appstore-btn:active {
  transform: translateY(0);
}

.appstore-btn-small {
  padding: 11px 16px;
  font-size: 0.92rem;
}

.appstore-badge-btn {
  padding: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.appstore-badge-btn:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.appstore-badge-btn:active {
  transform: translateY(0);
}

.appstore-badge-img {
  display: block;
  width: 212px;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(28, 43, 49, 0.24);
}

.appstore-badge-img-small {
  width: 168px;
  box-shadow: 0 6px 12px rgba(28, 43, 49, 0.2);
}

.text-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 10px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(28, 43, 49, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #33474f;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  margin-top: 8px;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(2rem, 4.3vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.5;
  max-width: 56ch;
}

.hero-cta-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-stats {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats li {
  background: rgba(255, 255, 255, 0.78);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 14px 14px 13px;
  box-shadow: 0 10px 22px rgba(37, 55, 61, 0.09);
}

.hero-stats strong {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.3rem;
  line-height: 1;
  margin-bottom: 5px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

.hero-stack {
  position: relative;
  min-height: clamp(410px, 51vw, 640px);
}

.stack-card {
  position: absolute;
  border-radius: 22px;
  border: 2px solid rgba(25, 39, 44, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
  padding: 18px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.stack-a {
  inset: 8% 30% 8% 0;
  transform: rotate(-7deg);
}

.stack-b {
  inset: 3% 10% 20% 21%;
  transform: rotate(6deg);
}

.stack-c {
  inset: 17% 0 2% 30%;
  transform: rotate(-3deg);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.carousel-section {
  margin-top: 84px;
}

.carousel-shell {
  position: relative;
  border-radius: var(--radius-xl);
  border: var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(250, 255, 255, 0.62));
  box-shadow: var(--soft-shadow);
  padding: 28px 64px;
}

.carousel-stage {
  position: relative;
  height: clamp(440px, 66vh, 760px);
  perspective: 1600px;
  outline: none;
}

.carousel-track {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  position: relative;
}

.carousel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(220px, 27vw, 420px);
  aspect-ratio: 0.72;
  transform-style: preserve-3d;
  transition:
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.55s ease;
}

.card-paper {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 20px;
  border: 2px solid rgba(27, 42, 47, 0.15);
  padding: clamp(14px, 2vw, 20px);
  background:
    linear-gradient(145deg, #ffffff, #f0f8fc),
    repeating-linear-gradient(
      45deg,
      rgba(44, 69, 77, 0.03) 0,
      rgba(44, 69, 77, 0.03) 3px,
      transparent 3px,
      transparent 8px
    );
  box-shadow: 0 24px 45px rgba(25, 41, 46, 0.2);
}

.card-paper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  display: block;
}

.card-badge {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(18, 34, 39, 0.88);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  color: #16353f;
  background: rgba(255, 255, 255, 0.87);
  box-shadow: 0 10px 24px rgba(24, 40, 46, 0.18);
  font-size: 2.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.carousel-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 2px 4px;
}

.carousel-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(42, 69, 76, 0.22);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-dots button.active {
  transform: scale(1.65);
  background: var(--orange);
}

.wall-section {
  margin-top: 86px;
}

.gallery-wall {
  column-count: 5;
  column-gap: 16px;
  margin-top: 12px;
}

.wall-card {
  break-inside: avoid;
  border-radius: 18px;
  border: 2px solid rgba(26, 40, 47, 0.12);
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(25, 40, 47, 0.13);
  margin: 0 0 16px;
  padding: 12px;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wall-card:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 0 17px 32px rgba(25, 40, 47, 0.19);
}

.wall-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.wall-label {
  margin-top: 9px;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 700;
  color: #3a5059;
  background: rgba(152, 234, 223, 0.35);
  border-radius: 999px;
  padding: 5px 10px;
}

.seo-content {
  margin-top: 88px;
}

.seo-content .section-heading p + p {
  margin-top: 12px;
}

.faq-section {
  margin-top: 84px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 20px rgba(26, 40, 47, 0.1);
  padding: 14px 16px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.35;
}

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

.faq-item p {
  margin: 10px 0 2px;
  color: var(--muted);
  line-height: 1.5;
}

.app-cta {
  margin-top: 90px;
}

.app-cta-card {
  border-radius: var(--radius-xl);
  border: var(--border);
  background:
    linear-gradient(135deg, rgba(255, 127, 77, 0.18), rgba(255, 255, 255, 0.85)),
    linear-gradient(225deg, rgba(39, 183, 175, 0.18), rgba(255, 255, 255, 0.85));
  box-shadow: var(--soft-shadow);
  padding: clamp(28px, 5vw, 52px);
}

.app-cta-card h2 {
  margin: 0;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
}

.app-cta-card p {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.app-cta-card .appstore-btn {
  margin-top: 22px;
}

.site-footer {
  border-top: 1px solid rgba(28, 43, 48, 0.1);
  margin-top: 72px;
  padding: 26px 4vw 34px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: #51646d;
  font-size: 0.9rem;
}

.no-js-note {
  width: min(1120px, 92vw);
  margin: 0 auto 36px;
  background: #fff6d6;
  border: 1px solid rgba(31, 44, 50, 0.2);
  color: #4f3c1c;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-stack {
    min-height: 440px;
    margin-top: 12px;
  }

  .gallery-wall {
    column-count: 4;
  }

  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .topbar {
    top: 12px;
    padding: 8px 10px;
  }

  main {
    padding-top: 102px;
  }

  .brand-title {
    font-size: 1.07rem;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .carousel-shell {
    padding: 20px 42px;
  }

  .carousel-nav {
    width: 42px;
    height: 42px;
    font-size: 1.95rem;
  }

  .carousel-prev {
    left: 6px;
  }

  .carousel-next {
    right: 6px;
  }

  .gallery-wall {
    column-count: 3;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    justify-content: center;
    gap: 10px;
  }

  .lang-switch {
    margin-left: 0;
  }

  .appstore-btn-small {
    display: none;
  }

  .hero-stack {
    min-height: 320px;
  }

  .stack-card {
    padding: 10px;
    border-radius: 16px;
  }

  .carousel-shell {
    padding: 18px 10px 14px;
  }

  .carousel-nav {
    display: none;
  }

  .carousel-stage {
    height: 440px;
  }

  .carousel-card {
    width: clamp(180px, 61vw, 290px);
  }

  .carousel-footer {
    justify-content: center;
    text-align: center;
  }

  .gallery-wall {
    column-count: 2;
    column-gap: 12px;
  }

  .wall-card {
    margin-bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
