:root {
  --bg: #06131f;
  --bg-soft: #0b2234;
  --panel: rgba(13, 30, 46, 0.8);
  --panel-strong: #0f2639;
  --text: #eaf8ff;
  --muted: #a8c2d2;
  --line: rgba(148, 188, 214, 0.24);
  --accent: #37d8ff;
  --accent-soft: #86e56f;
  --shadow: 0 28px 60px rgba(3, 12, 20, 0.5);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, #1f7ba5 0%, rgba(31, 123, 165, 0) 40%),
    radial-gradient(circle at 110% 30%, rgba(57, 190, 216, 0.22) 0%, rgba(57, 190, 216, 0) 45%),
    linear-gradient(180deg, #04101a 0%, #071928 50%, #04111b 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.ambient--one {
  background:
    radial-gradient(circle at 15% 35%, rgba(59, 170, 233, 0.23) 0%, rgba(59, 170, 233, 0) 40%),
    radial-gradient(circle at 70% 15%, rgba(140, 238, 159, 0.11) 0%, rgba(140, 238, 159, 0) 45%);
}

.ambient--two {
  background-image:
    linear-gradient(90deg, rgba(156, 211, 242, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(156, 211, 242, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 75%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.section {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 4.5rem 0;
}

.topbar {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 1.4rem auto 0;
  position: sticky;
  top: 1rem;
  z-index: 40;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: none;
  backdrop-filter: blur(16px);
  background: rgba(6, 21, 34, 0.65);
  box-shadow: 0 14px 40px rgba(3, 8, 12, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: none;
  background: rgba(4, 18, 29, 0.58);
  max-width: min(58vw, 430px);
  overflow-x: auto;
  scrollbar-width: none;
}

.lang-switch::-webkit-scrollbar {
  display: none;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  color: #b3ccdc;
}

.lang-link.is-active {
  color: #032638;
  background: linear-gradient(120deg, var(--accent-soft) 0%, var(--accent) 100%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

.topbar-cta {
  border-radius: 999px;
  background: linear-gradient(110deg, var(--accent) 0%, #73f0bd 100%);
  color: #052130;
  padding: 0.55rem 1.05rem;
  font-weight: 700;
  font-size: 0.93rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2.4rem;
  padding-top: 5.4rem;
  isolation: isolate;
}

.rain-3d-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 36px;
  overflow: hidden;
  mask-image: radial-gradient(circle at center, black 38%, transparent 100%);
  opacity: 0.9;
}

#rain3d {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  color: var(--accent-soft);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.hero-lead {
  margin-top: 1.3rem;
  font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.store-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.store-badge-link {
  display: inline-block;
  line-height: 0;
  border-radius: 0;
  background: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge {
  display: block;
  width: clamp(180px, 16vw, 230px);
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
  aspect-ratio: auto;
  filter: none;
  clip-path: none;
}


.store-badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.trust-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.trust-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.trust-points li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent-soft) 0%, var(--accent) 100%);
  position: absolute;
  top: 0.55rem;
  left: 0;
}

.hero-visual {
  position: relative;
}

.phone-stack {
  position: relative;
  height: clamp(440px, 58vw, 610px);
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}

.phone {
  margin: 0;
  position: absolute;
  width: clamp(178px, 18vw, 236px);
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
}

.phone img {
  width: 100%;
  height: auto !important;
  object-fit: contain;
  aspect-ratio: auto;
  image-rendering: auto;
  display: block;
}

.phone--left {
  left: 4%;
  top: 19%;
  transform: rotate(-13deg) translateZ(-20px);
}

.phone--center {
  left: 35%;
  top: 4%;
  z-index: 3;
}

.phone--right {
  right: 3%;
  top: 20%;
  transform: rotate(12deg) translateZ(-20px);
}

.hero-pill {
  margin-top: 1.1rem;
  margin-left: auto;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: none;
  padding: 0.52rem 0.9rem;
  color: #b8d2e2;
  background: rgba(8, 26, 39, 0.75);
  font-size: 0.9rem;
}

.dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: var(--accent-soft);
  box-shadow: 0 0 18px rgba(134, 229, 111, 0.8);
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  border-radius: var(--radius);
  border: none;
  padding: 1.25rem;
  background: var(--panel);
}

.stat-card p {
  margin-top: 0.6rem;
  color: var(--muted);
  line-height: 1.55;
}

.social-proof {
  padding-top: 1.2rem;
}

.testimonial-card {
  margin: 0;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(11, 38, 57, 0.85) 0%, rgba(8, 27, 43, 0.85) 100%);
  padding: 1.3rem 1.35rem;
}

.testimonial-stars {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

.testimonial-quote {
  margin-top: 0.55rem;
  color: #d7ebf7;
  line-height: 1.6;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.testimonial-author {
  margin-top: 0.72rem;
  color: var(--accent-soft);
  font-weight: 600;
}

.section-head {
  max-width: 700px;
}

.section-head h2 {
  margin-top: 0.35rem;
}

.feature-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  border-radius: var(--radius);
  border: none;
  background: var(--panel);
  padding: 1.35rem;
}

.feature-card p {
  margin-top: 0.68rem;
  color: var(--muted);
  line-height: 1.58;
}

.how-it-works .steps {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-card {
  border-radius: var(--radius);
  border: none;
  background: var(--panel-strong);
  padding: 1.35rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  color: #032638;
  background: linear-gradient(120deg, var(--accent-soft) 0%, var(--accent) 100%);
}

.step-card h3 {
  margin-top: 0.8rem;
}

.step-card p {
  margin-top: 0.6rem;
  color: var(--muted);
  line-height: 1.58;
}

.gallery-carousel {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

.gallery-card {
  margin: 0;
  flex: 0 0 calc((100% - 2rem) / 3);
  border: none;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.gallery-card img {
  width: 100%;
  height: auto !important;
  object-fit: contain;
  aspect-ratio: auto;
  image-rendering: auto;
  display: block;
}

.carousel-btn {
  width: 2.45rem;
  height: 2.45rem;
  border: none;
  border-radius: 999px;
  color: var(--text);
  background: rgba(8, 30, 45, 0.8);
  cursor: pointer;
}

.carousel-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(157, 189, 208, 0.5);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--accent-soft);
}

.use-case-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.use-case {
  border-radius: var(--radius);
  border: none;
  background: var(--panel);
  padding: 1.25rem;
}

.use-case p {
  margin-top: 0.58rem;
  color: var(--muted);
  line-height: 1.52;
}

.faq-list {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  border: none;
  background: var(--panel);
  overflow: hidden;
}

details {
  border-bottom: 1px solid var(--line);
}

details:last-child {
  border-bottom: none;
}

summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  list-style: none;
}

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

details p {
  padding: 0 1.15rem 1rem;
  color: var(--muted);
  line-height: 1.62;
}

.install-shell {
  border-radius: clamp(22px, 4vw, 34px);
  border: none;
  background:
    linear-gradient(120deg, rgba(18, 54, 74, 0.87) 0%, rgba(10, 29, 46, 0.93) 70%),
    radial-gradient(circle at right top, rgba(118, 231, 178, 0.18), transparent 44%);
  box-shadow: var(--shadow);
  padding: clamp(1.35rem, 2.8vw, 2.2rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
}

.install-shell > img {
  width: clamp(70px, 12vw, 96px);
  height: auto !important;
  border-radius: 22px;
  object-fit: cover;
}

.install-shell p {
  color: #c4d9e6;
  line-height: 1.6;
}

.install-shell .store-row {
  margin-top: 0;
  justify-content: flex-end;
}

.social-links-section {
  padding-top: 1.4rem;
}

.social-links-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.social-link-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  border-radius: 14px;
  border: none;
  background: rgba(8, 30, 45, 0.62);
  color: #d7ebf7;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link-card:hover {
  transform: translateY(-2px);
  background: rgba(10, 35, 52, 0.82);
}

.social-link-card svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.social-link-card span {
  line-height: 1;
}

.footer {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 2.1rem;
  color: #9db8ca;
  font-size: 0.92rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    width: min(640px, 100%);
    margin-inline: auto;
  }

  .rain-3d-layer {
    opacity: 0.72;
  }

  .info-strip,
  .feature-grid,
  .how-it-works .steps,
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-card {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .social-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .install-shell {
    grid-template-columns: auto 1fr;
  }

  .install-shell .store-row {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 740px) {
  body {
    background:
      radial-gradient(circle at 50% -10%, rgba(62, 162, 218, 0.24) 0%, rgba(62, 162, 218, 0) 40%),
      linear-gradient(180deg, #04101a 0%, #061626 58%, #04111b 100%);
  }

  .topbar {
    position: static;
    margin-top: 0.95rem;
    padding: 0.7rem 0.8rem;
    border-radius: 16px;
    border: none;
    background: rgba(6, 21, 34, 0.52);
    box-shadow: 0 10px 24px rgba(3, 8, 12, 0.22);
  }

  .brand span {
    font-size: 0.98rem;
  }

  .topbar-cta {
    font-size: 0.86rem;
    padding: 0.45rem 0.8rem;
  }

  .topbar-controls {
    gap: 0.45rem;
    max-width: 64%;
  }

  .lang-switch {
    padding: 0.15rem;
    max-width: 100%;
  }

  .lang-link {
    min-width: 1.95rem;
    height: 1.75rem;
    font-size: 0.76rem;
  }

  .section {
    width: min(1120px, calc(100% - 2.4rem));
    padding: 2.7rem 0;
  }

  .hero {
    padding-top: 1.7rem;
    padding-bottom: 0.8rem;
    gap: 0.95rem;
    align-items: start;
  }

  h1 {
    font-size: clamp(1.95rem, 9vw, 2.55rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .hero-copy {
    text-align: left;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    backdrop-filter: none;
  }

  .hero-lead {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .store-row {
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 1rem;
    gap: 0.55rem;
  }

  .hero .store-row {
    gap: 0.55rem;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }

  .hero .store-badge-link {
    flex: 1 1 0;
    min-width: 0;
    max-width: 230px;
  }

  .hero .store-badge {
    width: 100%;
    height: auto;
  }

  .info-strip,
  .feature-grid,
  .how-it-works .steps,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .gallery-carousel {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .social-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-link-card {
    border: none;
    background: rgba(10, 30, 45, 0.34);
  }

  .carousel-btn {
    display: none;
  }

  .carousel-viewport {
    padding-inline: 0.15rem;
  }

  .carousel-track {
    gap: 0.75rem;
  }

  .gallery-card {
    flex-basis: 100%;
  }

  .gallery-card img {
    border-radius: 18px;
  }

  .phone-stack {
    height: min(150vw, 650px);
  }

  .rain-3d-layer {
    opacity: 0.24;
  }

  .phone {
    width: min(56vw, 250px);
  }

  .phone--left {
    display: block;
    left: 2%;
    top: 24%;
    transform: rotate(-13deg) translateZ(-20px) scale(0.9);
  }

  .phone--center {
    left: 50%;
    top: 4%;
    transform: translateX(-50%) scale(1) !important;
  }

  .phone--right {
    display: block;
    right: 2%;
    top: 25%;
    transform: rotate(12deg) translateZ(-20px) scale(0.9);
  }

  .hero-pill {
    margin-inline: auto;
    margin-top: 0.4rem;
    font-size: 0.83rem;
    border: none;
    background: rgba(8, 26, 39, 0.3);
  }

  .trust-points {
    margin-top: 0.85rem;
    gap: 0.45rem;
    text-align: left;
  }

  .trust-points li {
    font-size: 0.94rem;
  }

  .store-badge {
    width: 100%;
    height: auto;
  }



  .hero-visual {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0.3rem 0 0.2rem;
    backdrop-filter: none;
  }

  .stat-card,
  .feature-card,
  .step-card,
  .use-case {
    border-radius: 18px;
    padding: 1.05rem;
    border: none;
    background: rgba(10, 30, 45, 0.34);
  }

  .faq-list {
    border-radius: 18px;
    border: none;
    background: rgba(10, 30, 45, 0.34);
  }

  .testimonial-card {
    border-radius: 18px;
    padding: 1.05rem;
    border: none;
    background: rgba(10, 30, 45, 0.34);
  }

  .install-shell {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.9rem;
    border: none;
    background: rgba(10, 30, 45, 0.4);
  }

  .info-strip {
    margin-top: 0.25rem;
  }

  .install-shell > img {
    margin-inline: auto;
  }

  .install-shell .store-row {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.55rem;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }

  .install-shell .store-badge-link {
    flex: 1 1 0;
    min-width: 0;
    max-width: 230px;
  }

  .install-shell .store-badge {
    width: 100%;
    height: auto;
  }

  .footer {
    width: min(1120px, calc(100% - 2.4rem));
    text-align: center;
    padding-bottom: 1.7rem;
  }
}

@media (max-width: 430px) {
  .topbar {
    width: min(1120px, calc(100% - 2rem));
  }

  .section {
    width: min(1120px, calc(100% - 2rem));
    padding: 2.3rem 0;
  }

  .topbar {
    gap: 0.45rem;
  }

  .topbar-controls {
    max-width: 70%;
    gap: 0.35rem;
  }

  .topbar-cta {
    padding: 0.4rem 0.62rem;
    font-size: 0.8rem;
  }

  .rain-3d-layer {
    display: none;
  }

  .phone-stack {
    height: min(165vw, 650px);
  }

  .phone {
    width: min(62vw, 235px);
  }

  .phone--left {
    left: -2%;
    top: 27%;
    transform: rotate(-13deg) translateZ(-20px) scale(0.82);
  }

  .phone--center {
    top: 6%;
    transform: translateX(-50%) scale(0.95) !important;
  }

  .phone--right {
    right: -2%;
    top: 27%;
    transform: rotate(12deg) translateZ(-20px) scale(0.82);
  }

  .store-badge {
    width: 100%;
    height: auto;
  }


  .hero .store-row {
    gap: 0.45rem;
  }

  .hero .store-badge-link {
    flex: 1 1 0;
    max-width: 190px;
  }

  .install-shell .store-row {
    gap: 0.45rem;
  }

  .install-shell .store-badge-link {
    flex: 1 1 0;
    max-width: 190px;
  }

}

.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 1.4rem));
  background: rgba(6, 22, 35, 0.95);
  border: 1px solid rgba(84, 160, 196, 0.34);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  padding: 0.9rem 1rem;
  z-index: 40;
  display: grid;
  gap: 0.75rem;
}

.consent-banner[hidden] {
  display: none !important;
}

.consent-banner__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(225, 245, 255, 0.92);
}

.consent-banner__actions {
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
}

.consent-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  padding: 0.44rem 0.85rem;
  cursor: pointer;
}

.consent-btn--secondary {
  background: rgba(7, 29, 43, 0.64);
  color: #d8ecf8;
  border-color: rgba(114, 172, 201, 0.35);
}

.consent-btn--primary {
  background: linear-gradient(120deg, #61ffcb, #3ec8ff);
  color: #032336;
}

@media (max-width: 620px) {
  .consent-banner__actions {
    justify-content: stretch;
  }

  .consent-btn {
    flex: 1 1 0;
  }
}

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

  .has-js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .store-badge-link {
    transition: none;
  }

  .social-link-card {
    transition: none;
    border: none;
    background: rgba(10, 30, 45, 0.34);
  }
}
