:root {
  --bg-deep: #0c0a12;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --cream: #fff1e0;
  --orange: #ff8c42;
  --orange-deep: #ff6b00;
  --orange-light: #ffb347;
  --accent: #ffcc00;
  --accent-dim: rgba(255, 140, 66, 0.35);
  --text-primary: #f8f6f0;
  --text-secondary: rgba(248, 246, 240, 0.72);
  --text-muted: rgba(248, 246, 240, 0.5);
  --gradient-hero: linear-gradient(155deg, #1a2a6e 0%, #4a2a7a 42%, #120a28 100%);
  --gradient-warm: linear-gradient(135deg, #ffb347 0%, #ff8c42 45%, #ff6b00 100%);
  --gradient-legal: linear-gradient(180deg, rgba(26, 42, 110, 0.95) 0%, var(--bg-deep) 100%);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --max-w: 1120px;
  --legal-w: 920px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(255, 140, 66, 0.1), transparent),
    radial-gradient(ellipse 55% 35% at 88% 15%, rgba(74, 42, 122, 0.18), transparent);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--orange-light);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: rgba(12, 10, 18, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 140, 66, 0.14);
}

.site-nav__inner {
  width: 100%;
  max-width: var(--max-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.site-nav__brand:hover {
  color: var(--text-primary);
}

.site-nav__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--cream);
  box-shadow: 0 0 24px rgba(255, 140, 66, 0.3);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.site-nav__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
  color: var(--orange-light);
  background: rgba(255, 140, 66, 0.1);
}

.site-nav__cta {
  margin-left: 4px;
  padding: 8px 18px !important;
  background: var(--gradient-warm);
  color: #1a0e00 !important;
  font-weight: 700;
  border-radius: 999px;
}

.site-nav__cta:hover {
  color: #1a0e00 !important;
  filter: brightness(1.08);
}

.site-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--accent-dim);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gradient-warm);
  color: #1a0e00;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  box-shadow: 0 4px 28px rgba(255, 107, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-store:hover {
  color: #1a0e00;
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(255, 140, 66, 0.45);
}

.btn-store svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--accent-dim);
  color: var(--orange-light);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  background: rgba(255, 140, 66, 0.12);
  border-color: var(--orange);
  color: var(--cream);
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  padding: 48px 24px 32px;
  border-top: 1px solid rgba(255, 140, 66, 0.12);
  background: rgba(0, 0, 0, 0.45);
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.site-footer__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--cream);
}

.site-footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.site-footer__links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.site-footer__copy {
  width: 100%;
  text-align: center;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.page-main {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
}

.hero {
  padding: 72px 24px 96px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -120px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.15), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 179, 71, 0.15);
  border: 1px solid rgba(255, 140, 66, 0.35);
  color: var(--orange-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 12px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero__phones {
  position: relative;
  width: min(380px, 100%);
  margin: 0 auto;
  aspect-ratio: 1;
}

.hero__phone {
  position: absolute;
  width: 46%;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease;
}

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

.hero__phone--1 {
  left: 0;
  top: 8%;
  transform: rotate(-8deg);
  z-index: 1;
}

.hero__phone--2 {
  left: 27%;
  top: 0;
  transform: rotate(2deg);
  z-index: 3;
  width: 50%;
}

.hero__phone--3 {
  right: 0;
  top: 12%;
  transform: rotate(10deg);
  z-index: 2;
}

.hero__phones:hover .hero__phone--1 {
  transform: rotate(-12deg) translateY(-6px);
}

.hero__phones:hover .hero__phone--2 {
  transform: rotate(0deg) translateY(-10px);
}

.hero__phones:hover .hero__phone--3 {
  transform: rotate(14deg) translateY(-6px);
}

.hero__logo-float {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--cream);
  padding: 10px;
  box-shadow: 0 16px 48px rgba(255, 107, 0, 0.4);
  z-index: 4;
}

.hero__logo-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.section {
  padding: 80px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section--about {
  padding-top: 48px;
}

.about-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(255, 140, 66, 0.12);
}

.about-panel__text p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.about-panel__text p:last-child {
  margin-bottom: 0;
}

.about-panel__shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-panel__shots img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 9/16;
  object-fit: cover;
}

.section__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section__desc {
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 140, 66, 0.1);
  border-radius: var(--radius-lg);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 140, 66, 0.28);
  transform: translateY(-4px);
}

.feature-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 140, 66, 0.15);
  color: var(--orange-light);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

.screenshot-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 64px rgba(255, 140, 66, 0.15);
}

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

.screenshot-item figcaption {
  padding: 12px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
}

.disclaimer-box {
  margin-top: 48px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 179, 71, 0.08);
  border: 1px solid rgba(255, 140, 66, 0.25);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.disclaimer-box strong {
  color: var(--orange-light);
}

.cta-band {
  margin: 0 24px 80px;
  max-width: calc(var(--max-w) + 48px);
  margin-left: auto;
  margin-right: auto;
  padding: 56px 48px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--gradient-hero);
  border: 1px solid rgba(255, 140, 66, 0.22);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 140, 66, 0.12), transparent 50%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  position: relative;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-band .btn-store {
  position: relative;
}

.legal-hero {
  padding: 56px 24px 48px;
  text-align: center;
  background: var(--gradient-legal);
  position: relative;
  overflow: hidden;
}

.legal-hero__bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 0;
  opacity: 0.22;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 40%, transparent 100%);
}

.legal-hero__bg img {
  width: 120px;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
  aspect-ratio: 9/16;
  filter: blur(0.5px);
}

.legal-hero__content {
  position: relative;
  z-index: 1;
}

.legal-hero__logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 20px;
  background: var(--cream);
  padding: 8px;
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.35);
}

.legal-hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-hero .effective-date {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.legal-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 140, 66, 0.2);
}

.legal-tabs a {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
}

.legal-tabs a:hover {
  color: var(--cream);
}

.legal-tabs a.is-active {
  background: var(--gradient-warm);
  color: #1a0e00;
}

.legal-layout {
  max-width: calc(var(--legal-w) + 48px);
  margin: 0 auto;
  padding: 32px 24px 80px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid rgba(255, 140, 66, 0.12);
}

.legal-sidebar__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.legal-sidebar ol {
  list-style: none;
  counter-reset: legal-toc;
}

.legal-sidebar li {
  counter-increment: legal-toc;
  margin-bottom: 6px;
}

.legal-sidebar a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: 6px;
  line-height: 1.4;
  transition: color 0.2s, background 0.2s;
}

.legal-sidebar a:hover,
.legal-sidebar a.is-active {
  color: var(--orange-light);
  background: rgba(255, 140, 66, 0.08);
}

.legal-body {
  min-width: 0;
}

.legal-intro,
.legal-section {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.legal-intro p,
.legal-section p {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.legal-intro p:last-child,
.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 140, 66, 0.2);
}

.legal-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--orange-light);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-section h3:first-of-type {
  margin-top: 0;
}

.legal-section ul {
  margin: 8px 0 16px 0;
  list-style: none;
}

.legal-section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-warm);
}

.contact-email {
  color: var(--orange-light);
  font-weight: 600;
}

.legal-contact-card {
  margin-top: 8px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 140, 66, 0.08);
  border: 1px solid rgba(255, 140, 66, 0.2);
  text-align: center;
}

.legal-contact-card p {
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__phones {
    order: -1;
    margin-bottom: 16px;
  }

  .about-panel {
    grid-template-columns: 1fr;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
    display: none;
  }
}

@media (max-width: 640px) {
  .site-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px;
    background: rgba(12, 10, 18, 0.98);
    border-bottom: 1px solid rgba(255, 140, 66, 0.12);
  }

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

  .screenshots {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }

  .legal-intro,
  .legal-section {
    padding: 24px 20px;
  }

  .cta-band {
    padding: 40px 24px;
  }

  .legal-hero__bg img {
    width: 72px;
  }
}
