:root {
  color-scheme: dark;
  --bg: #020408;
  --bg-elevated: #060c18;
  --surface: #0a1224;
  --surface-hover: #0f1830;
  --border: rgba(0, 192, 248, 0.1);
  --border-strong: rgba(0, 192, 248, 0.22);
  --text: #eef6ff;
  --text-muted: #8fa3be;
  --text-dim: #5a6d85;
  --accent: #00a8e8;
  --accent-bright: #00c8f8;
  --accent-dim: rgba(0, 168, 232, 0.12);
  --accent-glow: rgba(0, 200, 248, 0.42);
  --brand-gradient: linear-gradient(135deg, #0068d8 0%, #00a8e8 45%, #00d0ff 100%);
  --gradient-hero:
    radial-gradient(ellipse 90% 70% at 50% -15%, rgba(0, 168, 232, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(0, 200, 248, 0.1), transparent 45%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(0, 104, 216, 0.08), transparent 50%);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 72px;
  --max-w: 1140px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-bright); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #fff; }

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}

.site-header.scrolled {
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(var(--max-w), 100%);
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--text);
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 3.5rem);
  text-decoration: none;
}

.logo span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-img-lg {
  height: clamp(52px, 8vw, 72px);
  width: auto;
  filter: drop-shadow(0 0 28px var(--accent-glow));
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a.active {
  color: var(--accent-bright);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.nav-links li { position: relative; }

.site-header nav {
  margin-left: auto;
}

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s var(--ease);
}

.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
  background: var(--accent-dim);
  color: var(--accent-bright);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-left: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 168, 232, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }

/* Hero */
.hero {
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  min-height: min(96vh, 920px);
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 248, 0.18), transparent 68%);
  filter: blur(40px);
  pointer-events: none;
  will-change: transform;
}

.hero-glow.g1 { top: -120px; left: 50%; transform: translateX(-50%); }
.hero-glow.g2 { bottom: -180px; right: -80px; background: radial-gradient(circle, rgba(0, 104, 216, 0.14), transparent 68%); }
.hero-glow.g3 { top: 30%; left: -120px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(0, 168, 232, 0.1), transparent 68%); }

.hero-centered {
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.hero-logo-wrap {
  position: relative;
  margin: 0 auto 1.75rem;
  display: flex;
  justify-content: center;
  width: min(100%, 760px);
  z-index: 3;
}

.hero-logo-aura {
  position: absolute;
  inset: -35% -15%;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(0, 200, 248, 0.28), transparent 72%),
    radial-gradient(ellipse 45% 40% at 30% 60%, rgba(0, 104, 216, 0.16), transparent 70%);
  filter: blur(48px);
  pointer-events: none;
  animation: aura-pulse 8s ease-in-out infinite;
}

@keyframes aura-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.hero-logo-wrap img,
.hero-logo-img {
  position: relative;
  width: min(92vw, 720px);
  height: auto;
  max-height: none;
  filter:
    drop-shadow(0 0 48px var(--accent-glow))
    drop-shadow(0 0 96px rgba(0, 168, 232, 0.22));
  animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-centered h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  margin: 0 0 1rem;
}

.hero-centered .hero-sub {
  margin-inline: auto;
  max-width: 36rem;
}

.hero-centered .hero-actions {
  justify-content: center;
  margin-top: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(129, 140, 248, 0.25);
  color: var(--accent-bright);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 1.25rem;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 0 2rem;
  line-height: 1.7;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: min(100%, 380px);
}

.floating-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.floating-card.main { position: relative; z-index: 2; }
.floating-card.back {
  position: absolute;
  inset: 12px -12px -12px 12px;
  z-index: 1;
  opacity: 0.5;
  transform: scale(0.96);
}

/* Sections */
section { padding: 5rem 0; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 2.5rem;
}

.bg-elevated { background: var(--bg-elevated); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p { color: var(--text-muted); margin: 0 0 1rem; }

.why-grid {
  display: grid;
  gap: 1rem;
}

.why-card {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s;
}

.why-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* App cards */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.app-card:hover {
  border-color: rgba(129, 140, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.app-card--calisthenics:hover {
  border-color: rgba(196, 28, 36, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 40px rgba(196, 28, 36, 0.12);
}

.app-card--calisthenics .app-preview {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(152, 12, 20, 0.22), transparent 70%),
    var(--bg-elevated);
}

.app-card-header {
  padding: 1.75rem 1.75rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
}

.app-icon--calisthenics {
  border-radius: 22%;
  box-shadow: 0 0 20px rgba(196, 28, 36, 0.35);
}

.app-icon-fallback {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e53935, #b71c1c);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
}

.app-card h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.app-card .tag { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }

.app-card-body { padding: 1rem 1.75rem 1.75rem; }
.app-card-body p { margin: 0 0 1.25rem; color: var(--text-muted); font-size: 0.92rem; }

.app-preview {
  height: 220px;
  background: linear-gradient(180deg, rgba(229, 57, 53, 0.15), transparent),
    var(--bg-elevated);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem 0;
  overflow: hidden;
}

.app-preview-phones {
  position: relative;
  width: min(100%, 280px);
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.app-preview-phones .device-frame--back-left {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: rotate(-8deg) scale(0.88);
  opacity: 0.75;
  z-index: 1;
}

.app-preview-phones .device-frame--front {
  position: relative;
  z-index: 2;
  transform: translateY(8px);
}

/* Calisthenics brand button */
.btn-calisthenics {
  background: linear-gradient(135deg, #680008 0%, #980c14 45%, #c41c24 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(152, 12, 20, 0.35);
}

.btn-calisthenics:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(196, 28, 36, 0.55), 0 0 24px rgba(196, 28, 36, 0.25);
  color: #fff;
}

/* Shared device frame (makodev app card preview) */
.device-frame {
  padding: 7px;
  background: linear-gradient(160deg, #3a3a3a, #141414);
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(196, 28, 36, 0.15);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.device-frame--sm {
  width: 108px;
}

.device-frame--sm img {
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

/* Tech */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-pill {
  padding: 0.55rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.25s;
}

.tech-pill:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: var(--accent-dim);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-copy .section-desc,
.contact-desc {
  margin-bottom: 0;
  max-width: 28rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 { margin: 0 0 0.2rem; font-size: 0.95rem; }
.contact-item p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

.contact-form {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group { margin-bottom: 1.15rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-feedback {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
  line-height: 1.5;
}

.form-feedback--success {
  background: rgba(0, 200, 120, 0.12);
  border: 1px solid rgba(0, 200, 120, 0.35);
  color: #7dffc4;
}

.form-feedback--error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.35);
  color: #ffb4b4;
}

.form-feedback--sending {
  background: var(--accent-dim);
  border: 1px solid var(--border-strong);
  color: var(--accent-bright);
}

.btn-submit {
  width: 100%;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.support-section {
  padding-bottom: 5rem;
}

.support-faq-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 1.25rem;
}

.support-app-link {
  margin: 1.75rem 0 0;
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p { color: var(--text-muted); font-size: 0.88rem; max-width: 20rem; }

.footer-brand .logo-img-solo {
  height: 40px;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 0 16px var(--accent-glow));
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--accent-bright);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 0.5rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 0 0 1rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-muted); font-size: 0.88rem; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Privacy / Support layout */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  background: var(--gradient-hero);
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.page-hero p { color: var(--text-muted); margin: 0; max-width: 36rem; }

.privacy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  padding: 3rem 0 5rem;
  align-items: start;
}

.privacy-nav {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.privacy-nav a {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  border-left: 2px solid transparent;
}

.privacy-nav a:hover,
.privacy-nav a.active {
  color: var(--text);
  background: var(--surface);
  border-left-color: var(--accent);
}

.privacy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.privacy-section:last-child { border-bottom: none; }

.privacy-section h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.section-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.privacy-section p,
.privacy-section li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.privacy-section ul { padding-left: 1.25rem; }
.privacy-section code {
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  border-radius: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-bright);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--text-muted); font-size: 1.25rem; }
.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  padding: 0 1.35rem 1.15rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    align-items: start;
    gap: 2rem;
  }

  .contact-copy .section-desc,
  .contact-desc {
    margin-bottom: 0;
  }

  .hero-logo-wrap {
    width: min(100%, 100%);
    margin-bottom: 1.75rem;
  }

  .hero-logo-wrap img,
  .hero-logo-img {
    width: min(94vw, 560px);
  }

  .hero-visual { order: -1; }
  .privacy-nav { position: static; flex-direction: row; flex-wrap: wrap; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .site-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 110;
    margin-left: 0;
  }

  .nav-links {
    display: none;
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem max(1rem, env(safe-area-inset-left, 0px)) 1.25rem max(1rem, env(safe-area-inset-right, 0px));
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    gap: 0.35rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.65rem 0.5rem;
  }

  .nav-links a.active::after {
    display: none;
  }

  .lang-switch {
    width: 100%;
    justify-content: center;
    margin-top: 0.35rem;
  }

  .header-inner {
    position: relative;
    width: 100%;
  }

  .contact-grid {
    align-items: start;
    gap: 2rem;
  }

  .contact-form,
  .form-group input,
  .form-group textarea {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero { padding-bottom: 3rem; min-height: auto; }
  section { padding: 3.5rem 0; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 20rem; margin-inline: auto; }
  .hero-actions .btn { width: 100%; }
  .logo { font-size: 1.05rem; gap: 0.5rem; }
  .logo-mark { width: 32px; height: 32px; }
  .app-preview-phones { width: min(100%, 240px); }
  .device-frame--sm { width: 96px; }
}
