:root {
  --colbg: #1a044c;
  --coltop: #0c0427;
  --colaccent: #fdb301;
  --colhover: #b263f3;
  --coltext: #f5f0ff;
  --colmuted: #c8b8e8;
  --maxw: 1180px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(12, 4, 39, 0.35);
}

@font-face {
  font-family: Font;
  src: url('images/lilitaone.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--coltext);
  background: var(--coltop);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: var(--colaccent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--colhover);
}

h1, h2, h3, h4 {
  font-family: Font, "Segoe UI", sans-serif;
  font-weight: normal;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 16px;
}

.wrap {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 4, 39, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(178, 99, 243, 0.25);
}

.header-inner {
  position: relative;
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: auto;
  height: 52px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--colhover);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  padding: 0;
  background: var(--colbg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: stretch;
}

.hero-text {
  padding: 70px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-splash {
  background: var(--colbg);
  line-height: 0;
  align-self: stretch;
  display: flex;
  min-height: 0;
}

.hero-splash img {
  display: block;
  width: auto;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(253, 179, 1, 0.15);
  color: var(--colaccent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  color: #fff;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 520px;
  color: var(--colmuted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.appstore-btn img {
  width: auto;
  height: 54px;
}

.appstore-btn:hover {
  opacity: 0.88;
}

.app-icon,
.download-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

/* Sections */

.section-light {
  background: #fff;
  color: #2b184f;
}

.section-dark {
  background: linear-gradient(180deg, var(--colbg), var(--coltop));
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.section-head h2,
.section-head-dark h2 {
  font-size: clamp(32px, 4vw, 44px);
  text-transform: uppercase;
  color: var(--colbg);
}

.section-head-dark h2 {
  color: var(--colbg);
}

.section-head p,
.section-head-dark p {
  color: #5f4d86;
  font-size: 18px;
}

.about {
  padding: 0;
}

.features,
.gallery {
  padding: 88px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.about-copy {
  padding: 88px 0;
}

.about-copy h2 {
  font-size: clamp(30px, 4vw, 42px);
  text-transform: uppercase;
  color: var(--colbg);
}

.about-copy p {
  color: #4a3a6d;
  font-size: 17px;
}

.about-phone {
  margin-top: 30px;
  line-height: 0;
  display: flex;
  justify-content: center;
}

.about-phone img {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 20px 40px rgba(26, 4, 76, 0.18));
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  background: #faf7ff;
  border: 1px solid rgba(26, 4, 76, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(26, 4, 76, 0.08);
}

.feature-item img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 22px;
  color: var(--colbg);
  text-transform: uppercase;
}

.feature-item p {
  color: #5f4d86;
  font-size: 15px;
  margin-bottom: 0;
}

/* Strategy */

.strategy {
  padding: 72px 0;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.strategy-card {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(178, 99, 243, 0.25);
}

.strategy-num {
  display: inline-block;
  margin-bottom: 12px;
  font-family: Font, sans-serif;
  font-size: 28px;
  color: var(--colaccent);
}

.strategy-card h3 {
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
}

.strategy-card p {
  color: var(--colmuted);
  font-size: 15px;
  margin-bottom: 0;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}

.gallery-thumb {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26, 4, 76, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(26, 4, 76, 0.18);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* Download */

.download {
  padding: 88px 0 100px;
  text-align: center;
}

.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-icon {
  margin-bottom: 22px;
}

.download h2 {
  font-size: clamp(30px, 4vw, 46px);
  text-transform: uppercase;
  color: #fff;
  max-width: 760px;
}

.download p {
  max-width: 560px;
  color: var(--colmuted);
  font-size: 18px;
}

.appstore-btn-lg img {
  height: 62px;
}

/* Footer */

.site-footer {
  background: var(--coltop);
  border-top: 1px solid rgba(178, 99, 243, 0.2);
  padding: 28px 0 34px;
}

.footer-inner {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-copy {
  margin: 0;
  color: var(--colmuted);
  font-size: 14px;
  text-align: left;
}

.footer-logo img {
  height: 46px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--colhover);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 4, 39, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-content {
  max-width: min(92vw, 420px);
  max-height: 82vh;
}

.lightbox-content img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(178, 99, 243, 0.45);
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* Inner pages */

.frame {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
  text-align: left;
}

.frame h1 {
  font-size: clamp(34px, 4vw, 46px);
  color: #fff;
  text-transform: uppercase;
}

.frame p,
.frame li,
.frame address {
  color: var(--colmuted);
  font-size: 16px;
}

.frame a {
  color: var(--colaccent);
}

.frame a:hover {
  color: var(--colhover);
}

.privacy-page,
.terms-page {
  color: var(--colmuted);
}

.privacy-page h1,
.terms-page h1,
.privacy-page h2,
.terms-page h2,
.privacy-page h3,
.terms-page h3 {
  color: #fff;
}

.privacy-header,
.terms-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(178, 99, 243, 0.25);
}

.privacy-toc,
.terms-toc {
  margin: 28px 0 36px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(178, 99, 243, 0.2);
}

.privacy-toc ol,
.terms-toc ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.privacy-page section,
.terms-page section {
  margin-bottom: 34px;
}

.support-page {
  text-align: center;
}

.support-page h1 {
  text-align: center;
}

.support-card {
  margin-top: 28px;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(178, 99, 243, 0.2);
}

.support-card p:last-child {
  margin-bottom: 0;
}

.nofound {
  text-align: center;
  padding: 40px 20px 60px;
}

.nofound p {
  color: var(--colmuted);
  font-size: 18px;
}

.nofound a {
  color: var(--colaccent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Utility */

.p12 { font-size: 12px; }
.p14 { font-size: 14px; }
.p16 { font-size: 16px !important; }
.p17 { font-size: 17px !important; }
.p18 { font-size: 18px !important; }
.p20 { font-size: 20px; }
.p21 { font-size: 21px; }
.p22 { font-size: 22px; }
.p24 { font-size: 24px; }
.p25 { font-size: 25px; }
.p26 { font-size: 26px; }
.p30 { font-size: 30px; }
.p36 { font-size: 36px; }
.p40 { font-size: 40px; }
.p48 { font-size: 48px; }
.pwhite { color: #fff; }

body::-webkit-scrollbar {
  background: var(--coltop);
}

body::-webkit-scrollbar-thumb {
  background: var(--colaccent);
}

input, textarea {
  max-width: 800px;
  width: 85%;
  background: #fff;
  color: #333;
  font-size: 18px;
  height: 36px;
  padding: 5px 15px;
  border: 3px solid var(--colbg);
  border-radius: 25px;
}

/* Responsive */

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

  .hero-text {
    padding: 42px 0;
    text-align: center;
  }

  .hero-splash {
    justify-self: center;
    align-self: auto;
  }

  .hero-splash img {
    height: auto;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .about-copy {
    padding: 64px 0 32px;
  }

  .about-phone {
    margin-top: 0;
    align-self: auto;
    justify-self: center;
    padding-bottom: 64px;
  }

  .about-phone img {
    height: auto;
  }

  .strategy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 0 18px;
    background: rgba(12, 4, 39, 0.98);
    border-bottom: 1px solid rgba(178, 99, 243, 0.25);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 24px;
  }

  .feature-list,
  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-copy,
  .footer-links {
    text-align: center;
    justify-content: center;
  }

  .hero-splash img,
  .about-phone img {
    max-width: min(420px, 100%);
  }

  .about-copy {
    padding: 64px 0;
  }

  .about-phone {
    align-self: auto;
    justify-self: center;
  }

  .about-phone img {
    height: auto;
  }

  .features,
  .gallery,
  .download {
    padding: 64px 0;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

@media (max-width: 500px) {
  .wrap,
  .header-inner,
  .footer-inner,
  .frame {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 38px;
  }

  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .appstore-btn img,
  .appstore-btn-lg img {
    height: 48px;
  }
}
