:root {
  --ink: #141921;
  --muted: #59606a;
  --orange: #ff6b13;
  --orange-deep: #ed5710;
  --paper: #fff8ef;
  --line: rgba(235, 190, 143, 0.25);
  --shadow: 0 18px 40px rgba(72, 47, 18, 0.1), 0 3px 10px rgba(72, 47, 18, 0.07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #fffaf4;
  color: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 225, 184, 0.62), transparent 28%),
    linear-gradient(180deg, #fffaf4 0%, #fff7ed 76%, #f8fbfb 100%);
}

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

.landing-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #fff8ef;
}

/* .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.54) 23%, rgba(234, 249, 249, 0.84) 72%, #e7f4f4 100%),
    repeating-linear-gradient(175deg, rgba(118, 188, 196, 0.1) 0 22px, transparent 22px 58px);
  pointer-events: none;
} */

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(100vw, calc(100svh * 1.7778958555));
  height: min(100svh, calc(100vw / 1.7778958555));
  min-height: 560px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

/* .hero-stage::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -1%;
  height: 19%;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 255, 255, 0.82) 0 18%, rgba(255, 255, 255, 0.48) 36%, transparent 66%),
    radial-gradient(ellipse at 34% 56%, rgba(255, 220, 161, 0.26) 0 20%, transparent 50%),
    radial-gradient(ellipse at 67% 58%, rgba(255, 220, 165, 0.23) 0 18%, transparent 48%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.52) 34%, rgba(246, 253, 252, 0.7) 68%, rgba(221, 246, 248, 0.7) 100%);
  filter: blur(0.2px);
}

.hero-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10%;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.32) 26%, rgba(221, 245, 247, 0.64) 100%),
    repeating-linear-gradient(176deg, rgba(89, 173, 188, 0.09) 0 20px, transparent 20px 56px);
} */

.brand {
  position: absolute;
  top: 3.4%;
  left: 0.35%;
  width: 16.7%;
  height: auto;
  z-index: 5;
  animation: logo-in 700ms ease-out both;
}

.hero-title {
  position: absolute;
  z-index: 5;
  top: 7.45%;
  left: 18%;
  right: 18%;
  margin: 0;
  text-align: center;
  color: var(--ink);
  font-size: clamp(32px, 3.52vw, 66px);
  line-height: 1.13;
  font-weight: 830;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-title mark {
  position: relative;
  display: inline-block;
  padding: 0 0.28em 0.05em;
  color: #fff;
  background: linear-gradient(180deg, #ff8b39 0%, var(--orange) 100%);
  border-radius: 8px;
  font-style: normal;
  transform: rotate(0.5deg);
  box-shadow: 0 10px 20px rgba(255, 107, 19, 0.24);
}

.hero-title mark::after {
  content: "";
  position: absolute;
  right: -0.62em;
  top: -0.3em;
  width: 0.55em;
  height: 0.55em;
  /* border-top: 0.08em solid #ff9d4e;
  border-right: 0.08em solid #ff9d4e; */
  /* transform: rotate(25deg); */
  opacity: 0.85;
  background: url(./assets/ss.png) no-repeat 100%;
  background-size: contain;
}

.hero-title em {
  color: var(--orange);
  font-style: normal;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  top: 24%;
  left: 30.5%;
  width: 39%;
  margin: 0;
  color: #5b6066;
  text-align: center;
  font-size: clamp(14px, 1.24vw, 18px);
  line-height: 1.34;
  font-weight: 400;
}

.aura {
  position: absolute;
  left: 29.5%;
  top: 34.2%;
  width: 41%;
  height: 42%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.08) 58%, transparent 67%),
    conic-gradient(from 180deg, transparent, rgba(255, 255, 255, 0.92), transparent 62%);
  filter: blur(1px);
  z-index: 1;
  opacity: 0.55;
}

.connection-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.connection-lines path {
  fill: none;
  stroke: rgba(255, 138, 34, 0.55);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3 9;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9));
}

.connection-lines .line-group {
  animation: hand-line-drift 13s ease-in-out infinite;
  transform-origin: center;
}

.connection-lines .right-lines {
  animation-delay: -5s;
}

.phone {
  position: absolute;
  left: 38.55%;
  top: 32%;
  width: 22.7%;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 28px 30px rgba(43, 26, 8, 0.14));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.28) 83%, transparent 93%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.28) 83%, transparent 93%);
  /* animation: phone-float 5s ease-in-out infinite; */
}

.setting-card {
  position: absolute;
  display: grid;
  grid-template-columns: 3.22em 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  width: 12.35%;
  min-height: 8.2%;
  padding: 1.2% 1.25%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  z-index: 4;
  animation: card-bob 3.8s ease-in-out infinite;
  animation-delay: calc(var(--lift) * -0.08s);
  transform: translateY(var(--lift));
}

.setting-card.wide {
  width: 16%;
}

.setting-card .icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 2.52em;
  height: 2.52em;
  border-radius: 50%;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent), white 88%);
}

.setting-card .icon svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.setting-card strong {
  align-self: end;
  color: #171b22;
  font-size: clamp(10px, 0.91vw, 17px);
  line-height: 1.08;
  font-weight: 790;
}

.setting-card small {
  align-self: start;
  margin-top: 0.32em;
  color: #3f4650;
  font-size: clamp(8px, 0.68vw, 12px);
  line-height: 1.34;
  font-weight: 500;
}

.card-user {
  left: 12.6%;
  top: 28.7%;
  width: 17%;
  transform: rotate(4deg);
}

.card-device {
  left: 8.9%;
  top: 40%;
}

.card-ios {
  left: 13.2%;
  top: 53.2%;
}

.card-lang {
  left: 17%;
  top: 64.6%;
}

.card-private.wide {
  left: 22.8%;
  top: 76.1%;
  width: 14.5%;
}

.card-time {
  right: 19.7%;
  top: 30.3%;
  transform: rotate(-4deg);
}

.card-webrtc {
  right: 11.8%;
  top: 41.5%;
}

.card-geo {
  right: 14.6%;
  top: 53.4%;
}

.card-res {
  right: 23.2%;
  top: 65.8%;
}

.card-proxy {
  right: 20.8%;
  top: 77.1%;
}

.decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  /* display: none; */
}

.decor-clouds {
  width: 15%;
  opacity: 0.65;
}

.decor-clouds-left {
  left: -3%;
  top: 51%;
}

.decor-clouds-right {
  right: -2%;
  top: 42.5%;
  transform: scaleX(-1);
}

.decor-paths {
  width: 19%;
  opacity: 0.72;
  animation: path-drift 14s linear infinite;
}

.decor-path-left {
  left: 7.2%;
  top: 31.5%;
}

.decor-path-right {
  right: 8.7%;
  top: 31.2%;
  transform: rotate(-8deg);
}

.decor-sparkle {
  top: 10.1%;
  right: 15.5%;
  width: 3%;
  animation: sparkle 2.6s ease-in-out infinite;
}

.decor-birds-top {
  top: 18%;
  right: 4.1%;
  width: 6.7%;
  opacity: 0.62;
}

.decor-birds-mid {
  top: 58.5%;
  right: 6%;
  width: 5.8%;
  opacity: 0.35;
}

.island-left {
  position: absolute;
  left: -0.2%;
  bottom: 1.1%;
  width: 26.4%;
  z-index: 1;
  display: none;
  animation: island-rise 650ms ease-out both;
}

.right-island {
  position: absolute;
  right: 10.2%;
  bottom: 0.4%;
  width: 24%;
  height: 18%;
  z-index: 1;
  display: none;
}

.right-island .sand {
  position: absolute;
  left: 16%;
  right: 18%;
  bottom: 12%;
  height: 42%;
  border-radius: 50% 50% 42% 42%;
  background:
    radial-gradient(circle at 18% 38%, rgba(153, 104, 47, 0.3) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 45%, rgba(153, 104, 47, 0.22) 0 2px, transparent 3px),
    #f7d897;
  box-shadow: inset 0 -8px 0 rgba(236, 178, 95, 0.18);
}

.right-island .water {
  position: absolute;
  left: 0;
  bottom: 4%;
  width: 100%;
  opacity: 0.78;
}

.right-island .water-b {
  left: 18%;
  bottom: -4%;
  width: 74%;
  opacity: 0.35;
  transform: scaleX(-1);
}

.mascot {
  position: absolute;
  right: 10.3%;
  bottom: 12.7%;
  width: 13.2%;
  z-index: 1;
  display: none;
  filter: drop-shadow(0 16px 18px rgba(116, 72, 23, 0.18));
  animation: mascot-idle 2.8s ease-in-out infinite;
}

.ship {
  position: absolute;
  right: 2.6%;
  bottom: 12.2%;
  width: 9.7%;
  z-index: 1;
  display: none;
  filter: drop-shadow(0 12px 14px rgba(116, 72, 23, 0.12));
  animation: ship-sway 4s ease-in-out infinite;
}

.cta-row {
  position: absolute;
  left: 31.5%;
  bottom: 4.6%;
  display: flex;
  gap: 1.45vw;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

.cta-row::before {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  top: -52%;
  bottom: -68%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255, 255, 255, 0.913) 0 34%, rgb(255, 244, 226) 50%, rgba(217, 244, 248, 0.486) 72%, transparent 100%);
  filter: blur(12px);
}

.app-store,
.watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.68em;
  min-height: clamp(36px, 3.6vw, 64px);
  border-radius: 20px;
  font-size: clamp(14px, 1.2vw, 21px);
  font-weight: 600;
  white-space: nowrap;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, background 160ms ease-out;
}

.app-store {
  min-width: clamp(258px, 20.3vw, 390px);
  color: #fff;
  background: linear-gradient(180deg, #ff8c2e, var(--orange) 64%, #ff7421);
  box-shadow:
    0 18px 34px rgba(255, 107, 19, 0.23),
    0 0 36px rgba(255, 122, 28, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.app-store .apple {
  display: grid;
  place-items: center;
  width: 1.18em;
  height: 1.18em;
  color: #fff;
}

.app-store .apple svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.watch {
  min-width: clamp(220px, 14.7vw, 285px);
  color: #744019;
  border: 1.6px solid rgba(144, 76, 29, 0.72);
  background: rgba(255, 252, 247, 0.66);
  backdrop-filter: blur(8px);
}

.play {
  display: grid;
  place-items: center;
  width: 1.25em;
  height: 1.25em;
  color: currentColor;
}

.play svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-store:hover,
.watch:hover {
  transform: translateY(-4px) scale(1.02);
}

.app-store:active,
.watch:active {
  transform: translateY(1px) scale(0.97);
}

.trust-note {
  position: absolute;
  bottom: 0.9%;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  margin: 0;
  color: rgba(103, 87, 71, 0.8);
  font-size: clamp(14px, 1.18vw, 21px);
  font-weight: 400;
}

.trust-note span {
  display: grid;
  place-items: center;
  width: 1.12em;
  height: 1.12em;
  color: #8b4d21;
}

.trust-note span svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry {
  padding: 74px 6vw 96px;
  background: linear-gradient(180deg, #effafa 0%, #fffaf5 100%);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1440px;
  margin: 0 auto;
}

.industry article {
  min-height: 230px;
  padding: 30px 34px;
  border: 1px solid rgba(218, 185, 151, 0.34);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(74, 50, 22, 0.08);
}

.industry h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.1;
}

.industry p {
  min-height: 74px;
  margin: 0 0 24px;
  color: #242a33;
  font-size: 17px;
  line-height: 1.6;
}

.brand-dots {
  display: flex;
  gap: 10px;
}

.brand-dots span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d9e5ff;
  border-radius: 50%;
  color: #2279ff;
  background: #fff;
  font-weight: 800;
}

.industry a {
  float: right;
  color: #467cff;
  font-weight: 740;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
  }
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(-6px) rotate(-0.45deg);
  }
  50% {
    transform: translateY(6px) rotate(0.45deg);
  }
}

@keyframes card-bob {
  0%,
  100% {
    translate: 0 -6px;
  }
  50% {
    translate: 0 6px;
  }
}

@keyframes mascot-idle {
  0%,
  100% {
    transform: translateY(-4px) rotate(-1.4deg);
  }
  50% {
    transform: translateY(4px) rotate(1.4deg);
  }
}

@keyframes ship-sway {
  0%,
  100% {
    transform: rotate(-2deg) translateY(-3px);
  }
  50% {
    transform: rotate(2deg) translateY(3px);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes path-drift {
  0% {
    translate: -8px 0;
  }
  50% {
    translate: 8px -3px;
  }
  100% {
    translate: -8px 0;
  }
}

@keyframes hand-line-drift {
  0%,
  100% {
    transform: translate3d(-3px, 0, 0);
  }
  50% {
    transform: translate3d(4px, -2px, 0);
  }
}

@keyframes island-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@media (max-width: 900px) {
  .hero-stage {
    width: 100vw;
    height: 100svh;
    min-height: 760px;
  }

  .brand {
    width: 220px;
    left: 22px;
    top: 24px;
  }

  .hero-title {
    top: 105px;
    left: 20px;
    right: 20px;
    font-size: 42px;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-copy {
    top: 240px;
    left: 28px;
    width: calc(100% - 56px);
    font-size: 16px;
  }

  .phone {
    width: 310px;
    left: 50%;
    top: 310px;
    transform: translateX(-50%);
  }

  .setting-card {
    display: none;
  }

  .card-user,
  .card-time,
  .card-proxy,
  .card-private {
    display: grid;
    width: 190px;
    min-height: 78px;
    padding: 13px 14px;
  }

  .card-user {
    left: 18px;
    top: 330px;
  }

  .card-time {
    right: 16px;
    top: 376px;
  }

  .card-private {
    left: 18px;
    top: 595px;
  }

  .card-proxy {
    right: 16px;
    top: 595px;
  }

  .island-left {
    width: 330px;
    left: -80px;
  }

  .right-island {
    right: -32px;
    width: 320px;
  }

  .mascot {
    right: 38px;
    bottom: 130px;
    width: 148px;
  }

  .ship {
    right: -18px;
    bottom: 124px;
    width: 112px;
  }

  .cta-row {
    left: 18px;
    right: 18px;
    bottom: 58px;
    gap: 12px;
  }

  .app-store,
  .watch {
    min-width: 0;
    flex: 1;
    min-height: 54px;
    border-radius: 16px;
    font-size: 14px;
  }

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

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