:root {
  --ink: #12171f;
  --ink-soft: #3a4553;
  --muted: #667284;
  --line: rgba(18, 23, 31, 0.1);
  --paper: #f3f6fa;
  --paper-2: #e8eef6;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --accent: #1a6fe8;
  --accent-2: #19b7ef;
  --accent-deep: #0d4db5;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(18, 40, 80, 0.1);
  --max: 1120px;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(25, 183, 239, 0.18), transparent 60%),
    radial-gradient(700px 480px at 95% 5%, rgba(26, 111, 232, 0.16), transparent 55%),
    radial-gradient(600px 400px at 70% 100%, rgba(26, 111, 232, 0.08), transparent 50%),
    linear-gradient(180deg, #f7f9fc 0%, var(--paper) 45%, var(--paper-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(247, 249, 252, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

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

.brand span {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 560;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
  margin-left: 0.5rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
}

.lang-switch a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.65;
}

.lang-switch a[aria-current="true"] {
  opacity: 1;
  color: var(--accent-deep);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  border-radius: 999px;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
}

.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy {
  animation: rise 0.8s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 1rem;
  max-width: 11ch;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 12px 28px rgba(26, 111, 232, 0.28);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 380px;
  animation: float-in 1s ease both 0.15s;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(220, 232, 248, 0.55)),
    radial-gradient(circle at 22% 20%, rgba(25, 183, 239, 0.28), transparent 46%),
    radial-gradient(circle at 80% 75%, rgba(26, 111, 232, 0.2), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.hero-apps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
  padding: 1.75rem;
  height: 100%;
  align-content: center;
}

.hero-apps a {
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 40, 80, 0.12);
  transition: transform 0.25s ease;
  text-decoration: none;
}

.hero-apps a:hover {
  transform: translateY(-6px) scale(1.03);
}

.hero-apps img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.7rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 28px rgba(18, 40, 80, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}

.app-card-top {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(18, 40, 80, 0.12);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.app-meta {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--accent-deep);
  font-weight: 650;
}

.breadcrumbs {
  margin: 0 0 1rem;
  font-size: 0.88rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--line);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

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

.breadcrumbs [aria-current="page"] {
  color: var(--ink-soft);
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
}

.prose p {
  color: var(--ink-soft);
}

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.team article {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.team h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
}

.team p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.app-detail {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 2rem;
}

.app-detail .app-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.1rem;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.2;
}

.store-badge:hover {
  color: #fff;
  background: #243041;
}

.store-badge small {
  display: block;
  opacity: 0.7;
  font-size: 0.72rem;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 500;
}

.shots {
  margin-bottom: 2.5rem;
}

.shots h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.shot-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 40, 80, 0.12);
  border: 1px solid var(--line);
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .shot-rail {
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 70vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .shot {
    scroll-snap-align: start;
  }
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.contact-card,
.info-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.contact-card h2,
.info-card h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.contact-card a.email {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.address {
  color: var(--ink-soft);
  margin: 1rem 0 0;
}

.socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.socials a {
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h2 {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-deep);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes morph {
  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  }
  50% {
    border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .app-detail,
  .contact-panel,
  .footer-grid,
  .team {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 280px;
  }
}

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

  .nav {
    display: none;
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: calc(100% + 0.5rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

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

  .nav a,
  .lang-switch {
    margin: 0;
    padding: 0.75rem 0.85rem;
    border-left: 0;
  }

  .lang-switch {
    border-top: 1px solid var(--line);
  }

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

  .hero h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
