/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Poppins:wght@400;500&display=swap');

:root {
  --bg: #0b0e1a;
  --surface: #1e2a5e;
  --surface-hover: #26357a;
  --primary: #07e2af;
  --accent: #ff9efa;
  --text: #e0f4ff;
  --font-head: 'Orbitron', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

html { font-size: calc(100vw / 1440 * 10); overflow-x: hidden; overflow-y: scroll; }
@media (max-width: 1024px) { html { font-size: calc(100vw / 1024 * 10); } }
@media (max-width: 640px) { html { font-size: calc(100vw / 375 * 10); } }

html.menu-lock, html.menu-lock body { overflow: hidden; }

*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.3s, opacity 0.3s; }
button { font: inherit; color: inherit; cursor: pointer; }
.br-m { display: none; }

#preloader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--bg); }

.container { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 16rem; }
.title { font-family: var(--font-head); font-weight: 700; font-size: 4.8rem; line-height: 1.2; color: var(--accent); }

.split { display: flex; align-items: flex-end; gap: 3.2rem; }
.split-rev { flex-direction: row-reverse; align-items: flex-start; }
.split-text { flex: 0 0 54.4rem; width: 54.4rem; }
.split-text .title { margin-bottom: 6.4rem; }
.split-media { flex: 0 0 54.4rem; width: 54.4rem; }
.split-media img { width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; border: 1px solid var(--surface); border-radius: 2.4rem; }
.items { display: flex; flex-direction: column; gap: 1.6rem; }
.item { display: flex; flex-direction: column; gap: 0.4rem; }
.item-title { font-size: 2rem; font-weight: 500; line-height: 1.5; color: var(--primary); }
.item-text { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: var(--bg); transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.45); }

.burger-btn { display: none; position: relative; width: 6.4rem; height: 6.4rem; padding: 0; background: transparent; border: 0; z-index: 101; }
.burger-btn span { position: absolute; left: 50%; width: 2.4rem; height: 0.2rem; margin-left: -1.2rem; background: var(--text); border-radius: 0.1rem; transition: transform 0.3s, opacity 0.3s, top 0.3s, background 0.3s; }
.burger-btn span:nth-child(1) { top: calc(50% - 0.9rem); }
.burger-btn span:nth-child(2) { top: calc(50% - 0.1rem); }
.burger-btn span:nth-child(3) { top: calc(50% + 0.7rem); }
.burger-btn:hover span { background: var(--primary); }
.burger-btn.act span:nth-child(1) { top: calc(50% - 0.1rem); transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: calc(50% - 0.1rem); transform: rotate(-45deg); }

#mobile-menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.2rem; padding: 8rem 1.6rem 1.6rem; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu .nav-link { font-size: 2.4rem; font-weight: 500; line-height: 1.5; color: var(--text); }
#mobile-menu .nav-link:hover { color: var(--primary); }

@keyframes store-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1rem); } }

@media (max-width: 1024px) {
  .container { padding: 0 4rem; }
  .title { font-size: 4.2rem; }
  .split, .split-rev { flex-direction: column; align-items: stretch; gap: 4rem; }
  .split-text, .split-media { flex: 0 0 auto; width: 100%; }
  .split-text .title { margin-bottom: 4.8rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.6rem; }
  .title { font-size: 3.6rem; }
  .br-m { display: inline; }
  .split, .split-rev { gap: 3.2rem; }
  .split-text .title { margin-bottom: 4.8rem; }
  .item-title { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .item-text { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:base */
/* stp:header */
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 144rem; height: 6rem; margin: 0 auto; padding: 0 16rem; }
.logo { position: relative; display: block; flex: 0 0 4.4rem; width: 4.4rem; height: 4.4rem; overflow: hidden; border-radius: 1rem; transition: opacity 0.3s; }
.logo:hover { opacity: 0.75; }
.logo img { position: absolute; top: 50%; left: 50%; width: 145.46%; max-width: none; height: auto; transform: translate(-50%, -50%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2.6rem; width: 54.4rem; }
.nav-link { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); white-space: nowrap; }
.nav-link:hover { color: var(--primary); }

@media (max-width: 1024px) {
  .header-inner { padding: 0 4rem; }
  .nav { width: auto; gap: 3.6rem; }
}

@media (max-width: 640px) {
  .header-inner { align-items: flex-start; height: 8rem; padding: 0 1.6rem; }
  .logo { margin-top: 2rem; }
  .nav { display: none; }
  .burger-btn { display: block; margin-top: 1.6rem; }
}
/* /stp:header */
/* stp:hero */
.hero { min-height: 75.9rem; padding-top: 15rem; background: var(--bg) url('../img/hero.webp') right top / 145.4rem 76.8rem no-repeat; }
.hero-content { max-width: 54.4rem; }
.hero-title { font-family: var(--font-head); font-weight: 700; font-size: 7.2rem; line-height: 1.2; color: var(--accent); white-space: nowrap; }
.hero-subtitle { margin-top: 9.56rem; font-size: 2.8rem; font-weight: 500; line-height: 1.3; color: var(--text); }
.hero-text { margin-top: 1.56rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }

@media (max-width: 1024px) {
  .hero-content { max-width: 44rem; }
  .hero-title { font-size: 6rem; }
}

@media (max-width: 640px) {
  .hero { min-height: 81.2rem; padding-top: 12rem; background-image: url('../img/hero-m.webp'); background-size: cover; background-position: center top; }
  .hero-content { max-width: none; }
  .hero-title { font-size: 4.8rem; }
  .hero-subtitle { margin-top: 6.44rem; font-size: 2.4rem; }
  .hero-text { max-width: 34.3rem; font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:hero */
/* stp:features */
.features { padding: 8rem 0; }
.features .split-media img { --ar: 544 / 443; }

@media (max-width: 640px) {
  .features { padding: 6.4rem 0; }
  .features .split-media img { --ar: 343 / 280; }
}
/* /stp:features */
/* stp:how-it-works */
.how { padding: 8rem 0; }
.how .split-media img { --ar: 544 / 418; }

@media (max-width: 640px) {
  .how { padding: 6.4rem 0; }
  .how .split-media img { --ar: 343 / 264; }
}
/* /stp:how-it-works */
/* stp:reviews */
.reviews { padding: 8rem 0; }
.reviews .title { margin-bottom: 6.4rem; }
.reviews-list { display: flex; gap: 3.2rem; }
.review { position: relative; display: flex; flex: 0 0 35.2rem; flex-direction: column; justify-content: space-between; gap: 1.6rem; width: 35.2rem; min-height: 20.8rem; padding: 2.4rem; background: var(--surface); border-radius: 2.4rem; }
.review-text { position: relative; z-index: 1; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
.review-meta { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.4rem; }
.review-stars { font-size: 2.8rem; font-weight: 500; line-height: 1.3; color: var(--text); white-space: nowrap; }
.review-name { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.5; color: var(--primary); text-align: right; }
.review-icon { position: absolute; right: 2.76rem; bottom: 2.5rem; z-index: 0; width: 5.64rem; height: 6.31rem; pointer-events: none; }

@media (max-width: 1024px) {
  .reviews-list { gap: 2.4rem; margin: 0 -4rem; padding: 0 4rem; overflow-x: auto; scrollbar-width: none; }
  .reviews-list::-webkit-scrollbar { display: none; }
}

@media (max-width: 640px) {
  .reviews { padding: 6.4rem 0; }
  .reviews .title { margin-bottom: 4.8rem; }
  .reviews-list { flex-wrap: nowrap; gap: 1.6rem; margin: 0 -1.6rem; padding: 0 1.6rem; overflow-x: auto; scrollbar-width: none; }
  .reviews-list::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 30rem; width: 30rem; min-height: 19.1rem; }
  .review-text { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .review-stars { font-size: 2.4rem; }
  .review-name { font-size: clamp(11px, 1.1rem, 1.1rem); }
}
/* /stp:reviews */
/* stp:faq */
.faq { padding: 8rem 0; }
.faq .title { margin-bottom: 6.4rem; }
.faq-list { display: flex; flex-direction: column; gap: 1.6rem; }
.faq-item { padding: 2.4rem; background: var(--surface); border-radius: 2.4rem; transition: background 0.3s; }
.faq-item:hover { background: var(--surface-hover); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; list-style: none; cursor: pointer; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q-text { font-size: 2rem; font-weight: 500; line-height: 1.5; color: var(--accent); }
.faq-arrow { position: relative; flex: 0 0 2.8rem; width: 2.8rem; height: 2.8rem; background: var(--bg); border-radius: 0.8rem; transition: background 0.3s; }
.faq-arrow::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0.9rem; height: 0.9rem; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translate(-50%, -75%) rotate(45deg); transition: transform 0.3s; }
.faq-item[open] .faq-arrow::before { transform: translate(-50%, -25%) rotate(225deg); }
.faq-q:hover .faq-arrow { background: #000; }
.faq-a { margin-top: 1.6rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }

@media (max-width: 640px) {
  .faq { padding: 6.4rem 0; }
  .faq .title { margin-bottom: 4.8rem; }
  .faq-q-text { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .faq-a { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:faq */
/* stp:footer */
.footer { display: flex; flex-direction: column; align-items: center; gap: 4rem; padding: 3.9rem 16rem 1.6rem; background: var(--bg); border-top: 1px solid var(--surface); color: var(--primary); text-align: center; }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: clamp(12px, 1.2rem, 1.2rem); line-height: 1.5; }

@media (max-width: 1024px) {
  .footer { padding: 3.9rem 4rem 1.6rem; }
}

@media (max-width: 640px) {
  .footer { padding: 3.9rem 1.6rem 1.6rem; }
  .footer-links { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .footer-copy { font-size: clamp(11px, 1.1rem, 1.1rem); }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 6rem; }
.legal-page { width: 100%; max-width: 144rem; margin: 0 auto; padding: 8rem 16rem; }
.legal-content { color: var(--text); font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; }
.legal-content h1 { margin-bottom: 2.4rem; font-family: var(--font-head); font-weight: 700; font-size: 4.8rem; line-height: 1.2; color: var(--accent); }
.legal-content h2 { margin: 4rem 0 1.6rem; font-size: 2.4rem; font-weight: 500; line-height: 1.3; color: var(--primary); }
.legal-content h3 { margin: 3.2rem 0 1.2rem; font-size: 2rem; font-weight: 500; line-height: 1.5; color: var(--primary); }
.legal-content h4 { margin: 2.4rem 0 1.2rem; font-size: clamp(14px, 1.8rem, 1.8rem); font-weight: 500; line-height: 1.5; color: var(--primary); }
.legal-content p { margin: 0 0 1.6rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1.6rem; padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 0.8rem; }
.legal-content a { color: var(--primary); text-decoration: underline; }
.legal-content a:hover { color: var(--accent); }
.legal-content strong, .legal-content b { font-weight: 500; color: var(--text); }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }

@media (max-width: 1024px) {
  .legal-page { padding: 6rem 4rem; }
}

@media (max-width: 640px) {
  .legal-main { padding-top: 8rem; }
  .legal-page { padding: 4rem 1.6rem; }
  .legal-content { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .legal-content h1 { font-size: 3.6rem; }
  .legal-content h2 { margin-top: 3.2rem; font-size: 2rem; }
  .legal-content h3 { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .legal-content h4 { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:legal */
/* stp:title-anim */
.ta-word { display: inline-block; white-space: nowrap; }
.ta-ch { display: inline-block; }

.anim-on .ta-hero .ta-ch {
  opacity: 0;
  transform-origin: 50% 260%;
  animation: ta-orbit-in 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.9s + var(--i) * 0.07s);
}
@keyframes ta-orbit-in {
  0% { opacity: 0; transform: rotate(-70deg) scale(0.4); filter: blur(0.6rem) drop-shadow(0 0 0 transparent); color: var(--primary); }
  55% { opacity: 1; filter: blur(0) drop-shadow(0 0 1.2rem var(--primary)); color: var(--text); }
  100% { opacity: 1; transform: rotate(0) scale(1); filter: blur(0) drop-shadow(0 0 0 transparent); color: var(--accent); }
}

.anim-on .ta-sec .ta-ch {
  opacity: 0;
  transform-origin: 50% 220%;
  transform: rotate(-24deg);
  filter: blur(0.3rem);
  transition: opacity 0.6s ease-out, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease-out, color 0.9s ease;
  transition-delay: calc(var(--i) * 0.04s);
  color: var(--primary);
}
.anim-on .ta-sec.is-in .ta-ch {
  opacity: 1;
  transform: rotate(0);
  filter: blur(0);
  color: var(--accent);
  transition-delay: calc(var(--i) * 0.04s), calc(var(--i) * 0.04s), calc(var(--i) * 0.04s), calc(0.5s + var(--i) * 0.04s);
}

@media (max-width: 640px) {
  .anim-on .ta-hero .ta-ch { animation-duration: 1s; animation-delay: calc(0.9s + var(--i) * 0.05s); }
  .anim-on .ta-hero .ta-ch { transform-origin: 50% 200%; }
  .anim-on .ta-sec .ta-ch { transform: rotate(-16deg); }
  .anim-on .ta-sec.is-in .ta-ch { transform: rotate(0); }
}
/* /stp:title-anim */
