@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-soft: #090b10;
  --surface: rgba(15, 18, 24, 0.9);
  --surface-strong: #10141c;
  --surface-muted: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #97a0ae;
  --muted-strong: #cbd3df;
  --accent: #6f7cff;
  --accent-soft: rgba(111, 124, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top center, rgba(111, 124, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #07080b 0%, #050608 45%, #050608 100%);
  color: var(--text);
}

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

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

button {
  font: inherit;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.surface {
  background: linear-gradient(180deg, rgba(16, 20, 28, 0.94), rgba(10, 13, 18, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(5, 6, 8, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-kicker,
.eyebrow,
.section-label,
.footer-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
}

.brand-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible,
.legal-sidebar a:hover,
.legal-sidebar a:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button,
.ghost-button,
.store-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.ghost-button:hover,
.store-button:hover,
.text-button:hover,
.button:focus-visible,
.ghost-button:focus-visible,
.store-button:focus-visible,
.text-button:focus-visible {
  transform: translateY(-1px);
}

.button {
  min-height: 48px;
  padding: 0 18px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(111, 124, 255, 0.22);
}

.ghost-button,
.store-button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 600;
}

.text-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 500;
}

.mobile-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.mobile-nav {
  display: none;
  padding: 12px;
  margin: 0 0 16px;
  border-radius: 18px;
}

.mobile-nav.open {
  display: grid;
  gap: 8px;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted-strong);
}

main {
  padding-bottom: 36px;
}

section {
  padding: 36px 0;
}

.hero {
  padding: 52px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.cta-panel h2,
.legal-hero h1 {
  margin: 0;
  letter-spacing: -0.06em;
}

.hero-copy h1 {
  margin-top: 16px;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.95;
  max-width: 10ch;
}

.hero-copy p,
.section-heading p,
.section-copy,
.legal-copy p,
.legal-copy li,
.footer-copy,
.feature-item p,
.gallery-copy p,
.legal-note,
.legal-summary p {
  color: var(--muted-strong);
  line-height: 1.75;
}

.hero-copy p {
  margin: 18px 0 0;
  max-width: 620px;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.hero-chip {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.hero-chip strong,
.feature-item h3,
.gallery-copy h3,
.policy-card h3,
.legal-card h2,
.legal-card h3,
.legal-summary h2,
.footer-heading {
  display: block;
  margin: 0 0 10px;
}

.hero-chip strong {
  font-size: 15px;
}

.hero-chip span,
.footer-meta,
.policy-card p,
.policy-link,
.legal-meta,
.legal-sidebar a,
.legal-sidebar p,
.footer-column ul,
.footer-column li {
  color: var(--muted);
}

.hero-chip span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
}

.visual-stage {
  position: relative;
  min-height: 660px;
  border-radius: 32px;
  overflow: hidden;
  padding: 32px;
  background:
    radial-gradient(circle at top center, rgba(111, 124, 255, 0.22), transparent 26%),
    linear-gradient(180deg, #0c1017 0%, #090c12 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.visual-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
  pointer-events: none;
}

.stage-frame {
  position: absolute;
  inset: 78px 86px 88px 54px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.device-panel {
  position: absolute;
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(20, 25, 34, 0.98), rgba(11, 15, 21, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.device-panel.large {
  inset: 86px 84px 90px 44px;
}

.device-panel.small {
  width: 230px;
  right: 24px;
  bottom: 56px;
}

.phone-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-frame img {
  width: 100%;
}

.visual-panel {
  position: absolute;
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(9, 12, 17, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-panel.top {
  top: 18px;
  right: 18px;
}

.visual-panel.bottom {
  left: 22px;
  bottom: 18px;
}

.visual-panel strong {
  font-size: 14px;
}

.visual-panel span {
  font-size: 13px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  max-width: 11ch;
}

.section-aside {
  max-width: 340px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.feature-grid,
.gallery-grid,
.policy-grid,
.footer-grid {
  display: grid;
  gap: 16px;
}

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

.feature-item,
.policy-card,
.legal-card,
.legal-summary,
.footer-panel,
.showcase-panel,
.gallery-card,
.cta-panel,
.legal-hero-card,
.legal-sidebar,
.mobile-nav {
  background: linear-gradient(180deg, rgba(16, 20, 28, 0.9), rgba(10, 13, 18, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-item,
.policy-card,
.legal-card,
.legal-summary,
.showcase-panel,
.cta-panel,
.legal-hero-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.feature-item h3 {
  font-size: 20px;
}

.feature-item p,
.policy-card p {
  margin: 0;
}

.showcase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 26px;
  align-items: center;
}

.showcase-title {
  margin: 12px 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 14ch;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 600;
}

.pill.anime { box-shadow: inset 0 0 0 1px rgba(255, 77, 115, 0.14); }
.pill.gaming { box-shadow: inset 0 0 0 1px rgba(111, 124, 255, 0.18); }
.pill.amoled { box-shadow: inset 0 0 0 1px rgba(255, 208, 92, 0.2); }
.pill.cyber { box-shadow: inset 0 0 0 1px rgba(57, 255, 136, 0.16); }
.pill.space { box-shadow: inset 0 0 0 1px rgba(185, 167, 255, 0.18); }

.showcase-art {
  position: relative;
  min-height: 320px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.96), rgba(12, 16, 21, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.showcase-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-overlay {
  position: absolute;
  inset: auto 20px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(8, 10, 14, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-overlay strong {
  display: block;
  margin-bottom: 4px;
}

.showcase-overlay span,
.gallery-note,
.policy-link,
.inline-link,
.footer-links a,
.footer-bottom,
.footer-meta {
  font-size: 14px;
}

.showcase-overlay span,
.gallery-note,
.policy-link,
.inline-link,
.footer-links a,
.footer-bottom,
.footer-meta {
  color: var(--muted);
}

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

.gallery-card {
  overflow: hidden;
  border-radius: 24px;
}

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

.gallery-copy {
  padding: 18px 18px 20px;
}

.gallery-copy h3 {
  font-size: 18px;
}

.gallery-copy p {
  margin: 0;
  font-size: 14px;
}

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

.policy-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-link,
.inline-link,
.footer-links a {
  transition: color 180ms ease, background 180ms ease;
}

.footer-links a,
.footer-links span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  max-width: 13ch;
}

.cta-panel p {
  margin: 0;
  max-width: 620px;
  color: var(--muted-strong);
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 0 0 30px;
}

.footer-panel {
  border-radius: 28px;
  padding: 28px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(180px, 0.9fr));
  margin-bottom: 24px;
}

.footer-copy {
  margin: 18px 0 0;
  max-width: 430px;
}

.footer-column h4,
.footer-heading {
  margin: 0 0 14px;
  font-size: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-hero {
  padding: 44px 0 18px;
}

.legal-hero-card {
  border-radius: 28px;
}

.legal-hero h1 {
  margin-top: 12px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.legal-meta {
  margin-top: 16px;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 98px;
  padding: 22px;
  border-radius: 22px;
}

.legal-sidebar h3 {
  margin: 0 0 14px;
}

.legal-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.legal-sidebar a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
}

.legal-copy {
  display: grid;
  gap: 16px;
}

.legal-card h2 {
  font-size: 1.3rem;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-summary {
  margin-top: 12px;
}

.legal-summary h2 {
  font-size: 1.35rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .showcase-panel,
  .cta-panel,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .visual-stage {
    min-height: 620px;
  }

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

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

@media (max-width: 820px) {
  .nav-links,
  .header-actions .text-button {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero,
  section,
  .legal-hero {
    padding-top: 28px;
  }

  .hero-strip,
  .feature-grid,
  .policy-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading h2,
  .cta-panel h2 {
    max-width: none;
  }

  .visual-stage {
    min-height: 560px;
    padding: 20px;
  }

  .stage-frame {
    inset: 70px 56px 84px 26px;
  }

  .device-panel.large {
    inset: 78px 54px 92px 24px;
  }

  .device-panel.small {
    width: 180px;
    right: 10px;
    bottom: 52px;
  }

  .visual-panel {
    max-width: 180px;
  }

  .showcase-art {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .navbar {
    min-height: 70px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 15px;
  }

  .button,
  .ghost-button,
  .store-button,
  .text-button {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 13vw, 3.4rem);
  }

  .visual-stage {
    min-height: 500px;
  }

  .stage-frame {
    inset: 68px 36px 78px 14px;
  }

  .device-panel.large {
    inset: 74px 34px 84px 12px;
  }

  .device-panel.small {
    width: 146px;
    right: 8px;
    bottom: 44px;
    padding: 10px;
  }

  .visual-panel {
    padding: 12px 14px;
    max-width: 160px;
  }

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

  .cta-actions {
    width: 100%;
  }

  .footer-panel {
    padding: 24px 18px;
  }
}
