/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Inter:wght@400;600&display=swap');

:root {
  --bg: #000000;
  --surface: #0d0c0b;
  --primary: #45c1ff;
  --text: #c3ebff;
  --accent: #fbab15;
  --font-head: 'Aldrich', sans-serif;
  --font-body: 'Inter', 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; }
body, h1, h2, h3, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
body { 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, background-color 0.3s, transform 0.3s, box-shadow 0.3s; }
button { font: inherit; cursor: pointer; }
section { margin: 0; }

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

.container { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 16rem; }

.section-title { font-family: var(--font-head); font-weight: 400; font-size: 5.2rem; line-height: 1.2; color: var(--accent); }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; height: 6rem; background: var(--surface); transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.6); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; position: relative; width: 4.4rem; height: 4.4rem; border-radius: 1rem; overflow: hidden; background: #332c2c; flex-shrink: 0; }
.logo img { position: absolute; left: 50%; top: -90.91%; height: 197.7%; width: auto; max-width: none; transform: translateX(-50%); }
.logo:hover { opacity: 0.8; }
.nav { display: flex; align-items: center; justify-content: space-between; width: 54.4rem; }
.nav-link { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
.nav-link:hover { color: var(--accent); }

.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%; top: 50%; width: 2.4rem; height: 0.2rem; margin-left: -1.2rem; background: var(--text); border-radius: 0.2rem; transition: transform 0.3s, opacity 0.3s, background-color 0.3s; }
.burger-btn span:nth-child(1) { transform: translateY(-0.7rem); }
.burger-btn span:nth-child(2) { transform: translateY(-0.1rem); }
.burger-btn span:nth-child(3) { transform: translateY(0.5rem); }
.burger-btn:hover span { background: var(--accent); }
.burger-btn.act span:nth-child(1) { transform: translateY(-0.1rem) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translateY(-0.1rem) 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; background: var(--surface); 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; }

.store-btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; padding: 1rem 1.2rem; background: #000; border: 1px solid #a6a6a6; border-radius: 0.6rem; overflow: hidden; }
.store-btn:hover { background: #1a1a1a; box-shadow: 0 0 1.6rem rgba(69, 193, 255, 0.4); }
.store-btn__icon { width: 3.1rem; height: 3.5rem; }
.store-btn__text { width: 11.3rem; height: 3.7rem; }
@keyframes store-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1rem); } }

.footer { background: var(--surface); padding: 4rem 16rem 1.6rem; text-align: center; color: var(--primary); }
.footer__links { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; font-size: clamp(14px, 1.8rem, 1.8rem); }
.footer__links a:hover { color: var(--accent); text-decoration: underline; }
.footer__copy { margin-top: 4rem; font-size: clamp(12px, 1.2rem, 1.2rem); }

@media (max-width: 1024px) {
  .container { padding: 0 4rem; }
  .footer { padding: 4rem 4rem 1.6rem; }
}
@media (max-width: 640px) {
  .container { padding: 0 1.6rem; }
  .header { height: 8rem; }
  .header .container { align-items: flex-start; padding-top: 2rem; }
  .nav { display: none; }
  .burger-btn { display: block; position: absolute; right: 1.6rem; top: 1.6rem; }
  .section-title { font-size: 3.6rem; }
  .footer { padding: 4rem 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:base */
/* stp:hero */
#hero { position: relative; height: 75.9rem; overflow: hidden; background: var(--bg); }
.hero__bg { position: absolute; left: -1.7rem; top: -34.2rem; width: 145.7rem; height: 110.1rem; pointer-events: none; }
.hero__bg img { width: 100%; height: 100%; max-width: none; }
.hero__inner { position: relative; padding-top: 15rem; }
.hero__title { font-family: var(--font-head); font-weight: 400; font-size: 8.8rem; line-height: 1.2; color: rgba(13, 12, 11, 0.05); -webkit-text-stroke: 0.2rem var(--accent); text-shadow: 0 0 1.6rem rgba(251, 171, 21, 0.5); }
.hero__subtitle { margin-top: 10.4rem; font-weight: 600; font-size: 2.8rem; line-height: 1.3; color: var(--text); }
.hero__text { width: 54.4rem; max-width: 100%; margin-top: 1.6rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
.store-btn.hero__btn { margin-top: 6.4rem; animation: store-float 3s ease-in-out infinite; }
.store-btn.hero__btn:hover { animation-play-state: paused; }
@media (max-width: 1024px) {
  .hero__subtitle { margin-top: 6rem; }
}
@media (max-width: 640px) {
  #hero { height: 81.2rem; }
  .hero__bg { left: -8.4rem; top: -1.7rem; width: 54.2rem; height: 83.1rem; }
  .hero__inner { padding-top: 11rem; display: flex; flex-direction: column; align-items: center; }
  .hero__title { align-self: flex-start; font-size: 5.2rem; padding-left: 0.3rem; }
  .hero__subtitle { align-self: flex-start; margin-top: 4.8rem; padding-left: 0.7rem; font-size: 2.4rem; }
  .hero__text { width: 100%; text-align: center; font-size: clamp(14px, 1.6rem, 1.6rem); }
  .store-btn.hero__btn { margin-top: 28.4rem; }
}
/* /stp:hero */
/* stp:features */
#features { padding: 8rem 0; background: var(--bg); }
.features__inner { display: flex; justify-content: space-between; align-items: flex-start; }
.features__col { width: 54.4rem; }
.features__list { display: flex; flex-direction: column; gap: 2.4rem; margin-top: 6.4rem; }
.feature-item { display: flex; flex-direction: column; gap: 0.8rem; }
.feature-item h3 { font-weight: 600; font-size: clamp(14px, 2rem, 2rem); line-height: 1.5; color: var(--primary); }
.feature-item p { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
.features__img { width: 45.9rem; height: auto; margin-top: 4.6rem; }
@media (max-width: 1024px) {
  .features__col { width: 52%; }
  .features__img { width: 40%; }
}
@media (max-width: 640px) {
  #features { padding: 6rem 0; }
  .features__inner { flex-direction: column; }
  .features__col { width: 100%; }
  .features__list { margin-top: 4.8rem; }
  .feature-item h3 { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .feature-item p { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .features__img { width: 100%; margin-top: 3.2rem; }
}
/* /stp:features */
/* stp:how-it-works */
#how-it-works { padding: 8rem 0; background: var(--surface); }
#how-it-works .section-title { text-align: center; }
.how__list { display: flex; justify-content: space-between; gap: 3.2rem; margin-top: 6.4rem; }
.how__item { flex: 1 1 0; max-width: 35.2rem; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; }
.how__item h3 { font-weight: 600; font-size: clamp(14px, 2rem, 2rem); line-height: 1.5; color: var(--primary); }
.how__item img { width: 100%; height: auto; aspect-ratio: 352 / 437; border-radius: 1.6rem; }
.how__item p { font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
@media (max-width: 1024px) {
  .how__list { gap: 2rem; }
}
@media (max-width: 640px) {
  #how-it-works { padding: 6rem 0; }
  .how__list { flex-direction: column; align-items: center; gap: 3.2rem; margin-top: 4.8rem; }
  .how__item { flex: none; width: 100%; max-width: none; }
  .how__item h3 { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .how__item p { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:how-it-works */
/* stp:about */
#about { padding: 8rem 0; background: var(--bg); }
.about__inner { display: flex; justify-content: space-between; align-items: flex-start; }
.about__col { width: 54.4rem; }
.about__col p { margin-top: 6.4rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
.about__img { width: 44.8rem; height: auto; }
@media (max-width: 1024px) {
  .about__col { width: 52%; }
  .about__img { width: 40%; }
}
@media (max-width: 640px) {
  #about { padding: 6rem 0; }
  .about__inner { flex-direction: column; }
  .about__col { width: 100%; }
  .about__col p { margin-top: 4.8rem; font-size: clamp(14px, 1.6rem, 1.6rem); }
  .about__img { width: 100%; margin-top: 3.2rem; }
}
/* /stp:about */
/* stp:faq */
#faq { padding: 8rem 0; background: var(--bg); }
.faq__list { display: flex; flex-direction: column; gap: 1.6rem; margin-top: 6.4rem; }
.faq__item { padding: 1.6rem; background: var(--surface); border-radius: 1.6rem; overflow: hidden; }
.faq__item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8rem; list-style: none; cursor: pointer; font-weight: 600; font-size: clamp(14px, 2rem, 2rem); line-height: 1.5; color: var(--primary); transition: color 0.3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; flex-shrink: 0; width: 2.8rem; height: 2.8rem; background: url('../img/plus.svg') center / 100% 100% no-repeat; transition: transform 0.3s; }
.faq__item.is-open summary::after { background-image: url('../img/minus.svg'); }
.faq__item summary:hover { color: var(--accent); }
.faq__item summary:hover::after { transform: scale(1.15); }
.faq__item p { margin-top: 0.8rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--text); }
@media (max-width: 640px) {
  #faq { padding: 6rem 0; }
  .faq__list { margin-top: 4.8rem; }
  .faq__item summary { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .faq__item p { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:faq */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 6rem; background: var(--bg); }
.legal-page { padding: 4rem 0 8rem; }
.legal-content { width: 100%; max-width: 144rem; margin: 0 auto; padding: 0 16rem; color: var(--text); font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.legal-content h1 { font-family: var(--font-head); font-weight: 400; font-size: 4.8rem; line-height: 1.2; color: var(--accent); margin-bottom: 1.6rem; }
.legal-content h2 { font-weight: 600; font-size: 2.4rem; line-height: 1.3; color: var(--text); margin: 3.2rem 0 1.2rem; }
.legal-content h3 { font-weight: 600; font-size: 2rem; line-height: 1.3; color: var(--text); margin: 2.4rem 0 1rem; }
.legal-content h4 { font-weight: 600; font-size: 1.8rem; line-height: 1.3; color: var(--text); margin: 2rem 0 0.8rem; }
.legal-content p { margin-bottom: 1.2rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1.2rem; padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 0.6rem; }
.legal-content a { color: var(--primary); text-decoration: underline; }
.legal-content a:hover { color: var(--accent); }
.legal-content strong { font-weight: 600; }
@media (max-width: 1024px) {
  .legal-content { padding: 0 4rem; }
}
@media (max-width: 640px) {
  .legal-main { padding-top: 8rem; }
  .legal-page { padding: 3.2rem 0 6rem; }
  .legal-content { padding: 0 1.6rem; font-size: clamp(14px, 1.4rem, 1.4rem); }
  .legal-content h1 { font-size: 3.6rem; }
  .legal-content h2 { font-size: 2rem; }
  .legal-content h3 { font-size: 1.8rem; }
}
/* /stp:legal */
/* stp:title-anim */
.ta-w { display: inline-block; white-space: nowrap; }
.ta-c { display: inline-block; }
.anim-on .hero__title { position: relative; }
.anim-on .hero__title::after { content: ''; position: absolute; left: -0.6rem; right: -0.6rem; top: -8%; bottom: -8%; pointer-events: none; background-image: linear-gradient(var(--primary), var(--primary)); background-repeat: no-repeat; background-size: 0.3rem 100%; background-position: 0% 0; opacity: 0; filter: drop-shadow(0 0 0.6rem var(--primary)) drop-shadow(0 0 1.4rem var(--primary)); }
.anim-on .hero__title .ta-c { opacity: 0; filter: blur(0.4rem) brightness(0); }
.anim-on .hero__title.is-in .ta-c { animation: ta-ignite 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--i) * 0.07s + 0.05s) both; }
.anim-on .hero__title.is-in::after { animation: ta-beam calc(var(--n) * 0.07s + 0.25s) cubic-bezier(0.45, 0, 0.55, 1) both, ta-rescan 7s linear 3.5s infinite; }
@keyframes ta-beam { 0% { opacity: 0; background-position: 0% 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 100% 0; } }
@keyframes ta-rescan { 0% { opacity: 0; background-position: 0% 0; } 2% { opacity: 0.55; } 12% { opacity: 0.55; } 14% { opacity: 0; background-position: 100% 0; } 100% { opacity: 0; background-position: 100% 0; } }
@keyframes ta-ignite { 0% { opacity: 0; color: var(--primary); filter: blur(0.4rem) brightness(0); transform: scaleY(0.6); } 30% { opacity: 1; color: var(--primary); filter: blur(0) brightness(2.6) drop-shadow(0 0 0.8rem var(--primary)); transform: scaleY(1.08); } 55% { filter: brightness(1.6) drop-shadow(0 0 1.2rem var(--accent)); transform: scaleY(1); } 70% { opacity: 0.55; } 80% { opacity: 1; } 100% { opacity: 1; filter: none; transform: none; } }
.anim-on .section-title .ta-c { opacity: 0; transform: perspective(40rem) rotateY(-90deg); }
.anim-on .section-title.is-in .ta-c { animation: ta-mirror 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) calc(var(--i) * 0.045s) both; }
@keyframes ta-mirror { 0% { opacity: 0; color: var(--primary); transform: perspective(40rem) rotateY(-90deg); filter: none; } 50% { opacity: 1; color: var(--primary); transform: perspective(40rem) rotateY(20deg); filter: brightness(1.8) drop-shadow(0 0 0.6rem var(--primary)); } 100% { opacity: 1; transform: perspective(40rem) rotateY(0deg); filter: none; } }
@media (max-width: 640px) {
  .anim-on .hero__title.is-in .ta-c { animation-duration: 0.75s; animation-delay: calc(var(--i) * 0.055s + 0.05s); }
  .anim-on .hero__title.is-in::after { animation-duration: calc(var(--n) * 0.055s + 0.25s), 7s; }
  .anim-on .section-title.is-in .ta-c { animation-duration: 0.55s; animation-delay: calc(var(--i) * 0.035s); }
}
/* /stp:title-anim */
