:root {
  --bg: #08111f;
  --bg-soft: #0f1b2d;
  --card: #132238;
  --text: #e5eefb;
  --muted: #9fb2cf;
  --primary: #35c3ff;
  --primary-dark: #1d95c7;
  --border: rgba(159, 178, 207, 0.16);
  --success: #32c48d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 640px) {
  html {
    overflow-x: hidden;
  }
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #0b1627 100%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body > main {
  flex: 1 0 auto;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: #7fdcff;
}

.container {
  width: min(1250px, calc(100% - 32px));
  margin: 0 auto;
}

@media (max-width: 640px) {
  .container {
    width: 100%;
    padding-left: max(22px, env(safe-area-inset-left, 0px));
    padding-right: max(22px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(8, 17, 31, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 72px;
  gap: 20px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(159, 178, 207, 0.28);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 102, 36, 1);
  font-weight: 700;
}

.brand:hover {
  color: rgba(255, 102, 36, 1);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

@keyframes lang-active-pulse {
  0%,
  100% {
    color: #fff;
    box-shadow: 0 0 0 0 rgba(255, 101, 36, 0.5), 0 0 14px rgba(255, 101, 36, 0.25);
    border-color: rgba(255, 130, 70, 0.95);
  }
  50% {
    color: #fff7f0;
    box-shadow: 0 0 0 4px rgba(255, 101, 36, 0.2), 0 0 22px rgba(255, 101, 36, 0.55);
    border-color: rgba(255, 160, 90, 1);
  }
}

.lang-selector .lang-option {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.lang-selector .lang-option:hover:not(.is-active) {
  color: var(--primary);
  background: rgba(53, 195, 255, 0.08);
}

.lang-selector .lang-option.is-active {
  color: #fff;
  font-weight: 700;
  cursor: default;
  padding: 6px 14px;
  background: linear-gradient(165deg, rgba(255, 101, 36, 0.45) 0%, rgba(255, 80, 20, 0.28) 100%);
  border: 1px solid rgba(255, 130, 70, 0.95);
  box-shadow: 0 0 0 0 rgba(255, 101, 36, 0.45);
  animation: lang-active-pulse 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .lang-selector .lang-option.is-active {
    animation: none;
    box-shadow: 0 0 12px rgba(255, 101, 36, 0.4);
  }
}

.lang-selector .lang-sep {
  color: var(--border);
  font-size: 12px;
  user-select: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
}

.nav-links a[href*="app.quakebells.com"] {
  color: rgba(255, 101, 36, 1);
}

.nav-links a[href*="app.quakebells.com"]:hover {
  color: rgba(255, 101, 36, 0.85);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: #08111f;
}

.btn-primary:hover {
  background: #6fdcff;
  color: #08111f;
}

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

.hero {
  position: relative;
  padding: 88px 0 64px;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #060b12 0%, var(--bg) 50%, #0b1627 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400' fill='none' stroke='%23fff' stroke-width='0.4'%3E%3Cellipse cx='400' cy='200' rx='380' ry='180'/%3E%3Cpath d='M20 200 H780 M400 20 V380'/%3E%3Cpath d='M400 20 Q500 100 400 200 Q300 300 400 380'/%3E%3Cpath d='M400 20 Q300 100 400 200 Q500 300 400 380'/%3E%3Cpath d='M20 80 Q150 120 400 100 Q650 80 780 120'/%3E%3Cpath d='M20 320 Q150 280 400 300 Q650 320 780 280'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 101, 36, 0.6);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e53935;
  animation: hero-live-pulse 1.5s ease-in-out infinite;
}

@keyframes hero-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 800;
  color: #fff;
}

.hero-title-accent {
  color: rgba(255, 101, 36, 1);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 14px;
  border-radius: 12px;
  background: rgba(30, 45, 70, 0.9);
  border: 1px solid var(--border);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-store:hover {
  background: rgba(40, 58, 88, 0.95);
  border-color: rgba(159, 178, 207, 0.3);
  color: #fff;
}

.btn-store-icon {
  flex-shrink: 0;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.25;
}

.btn-store-label {
  font-size: 11px;
  color: rgba(229, 238, 251, 0.82);
}

.btn-store-name {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.hero-card,
.feature-card,
.legal-card,
.page-shell {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(19, 34, 56, 0.92) 0%, rgba(15, 27, 45, 0.96) 100%);
  border-radius: 24px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
}

.hero-card {
  padding: 24px;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-card li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.section {
  padding: 32px 0 72px;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.section-copy {
  color: var(--muted);
  line-height: 1.7;
  max-width: 760px;
}

/* Features section — Advanced Seismic Technology */
.section--features {
  background: transparent;
  padding: 64px 0 80px;
}

.features-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0;
  margin-top: 0;
  letter-spacing: -0.02em;
}

.features-title-accent {
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.features-title-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 160px;
  height: 5px;
  background: linear-gradient(90deg, rgba(255, 101, 36, 1) 0%, rgba(255, 101, 36, 0.75) 100%);
  border-radius: 3px;
}

.section--features .feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.section--features .feature-card {
  text-align: center;
  padding: 32px 20px;
  background: linear-gradient(180deg, rgba(19, 34, 56, 0.4) 0%, rgba(15, 27, 45, 0.25) 100%);
  border: 1px solid rgba(159, 178, 207, 0.1);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.section--features .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 101, 36, 0.2);
}

.section--features .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: rgba(255, 101, 36, 1);
  background: rgba(255, 101, 36, 0.1);
  border-radius: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}

.section--features .feature-card:hover .feature-icon {
  background: rgba(255, 101, 36, 0.18);
  color: rgba(255, 130, 70, 1);
}

.section--features .feature-icon svg {
  width: 28px;
  height: 28px;
}

.section--features .feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.section--features .feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* Interface section — Intuitive Interface for Critical Moments */
.section--interface {
  padding: 64px 0 80px;
}

.section--data-trust {
  padding: 64px 0 80px;
}

.section--data-trust .data-trust {
  margin-top: 0;
  padding-top: 0;
}

.interface-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
  max-width: 640px;
  text-align: center;
}

.interface-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
  text-align: center;
}

.interface-features {
  list-style: none;
  padding: 0;
  margin: 0 auto 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.interface-features li {
  position: relative;
  padding: 14px 20px 14px 44px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(159, 178, 207, 0.12);
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.interface-features li:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 101, 36, 0.25);
}

.interface-features li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,101,36,1)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.interface-slider {
  margin-top: 24px;
  position: relative;
}

.interface-slider__frame {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  width: 100%;
}

@keyframes slider-nav-pulse {
  0%,
  100% {
    color: rgba(255, 115, 50, 1);
    border-color: rgba(255, 130, 70, 0.55);
    box-shadow: 0 0 0 0 rgba(255, 101, 36, 0.35), 0 8px 22px rgba(0, 0, 0, 0.32);
  }
  50% {
    color: rgba(255, 200, 140, 1);
    border-color: rgba(255, 170, 100, 0.95);
    box-shadow: 0 0 0 4px rgba(255, 101, 36, 0.2), 0 8px 26px rgba(255, 101, 36, 0.28);
  }
}

.interface-slider__nav {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 130, 70, 0.55);
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 101, 36, 0.22) 0%, rgba(8, 17, 31, 0.94) 55%);
  color: rgba(255, 120, 60, 1);
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s, box-shadow 0.2s;
  z-index: 2;
}

.interface-slider__nav:not(:disabled) {
  animation: slider-nav-pulse 2.6s ease-in-out infinite;
}

.interface-slider__nav:hover:not(:disabled) {
  background: linear-gradient(160deg, rgba(255, 101, 36, 0.38) 0%, rgba(19, 34, 56, 0.96) 50%);
  color: #fff7f0;
  border-color: rgba(255, 180, 120, 1);
  animation: none;
  box-shadow: 0 0 14px rgba(255, 101, 36, 0.45), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.interface-slider__nav:focus-visible {
  outline: 2px solid rgba(255, 130, 70, 0.95);
  outline-offset: 2px;
}

.interface-slider__nav:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  color: var(--muted);
  border-color: var(--border);
  background: rgba(8, 17, 31, 0.85);
  animation: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .interface-slider__nav:not(:disabled) {
    animation: none;
    box-shadow: 0 0 12px rgba(255, 101, 36, 0.3), 0 8px 22px rgba(0, 0, 0, 0.3);
  }
}

.interface-slider__nav-icon {
  display: block;
  pointer-events: none;
}

.interface-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: max(16px, env(safe-area-inset-left, 0px));
  scroll-padding-inline-end: max(16px, env(safe-area-inset-right, 0px));
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0;
  margin: 0;
  min-width: 0;
}

.interface-slider__viewport::-webkit-scrollbar {
  display: none;
}

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

  .interface-slider__nav {
    display: none;
  }
}

.interface-slider__track {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: max-content;
  min-height: 1px;
  padding: 8px 12px 16px;
}

.interface-slider__slide {
  flex: 0 0 auto;
  width: min(240px, 76vw);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.interface-slider__hint {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.interface-phone {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .interface-slider__slide:hover .interface-phone {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
}

.data-trust {
  margin-top: 72px;
  padding-top: 56px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.data-trust-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
}

.data-trust-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 28px;
}

.data-trust-sources {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.feature-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.feature-card,
.legal-card {
  padding: 24px;
}

.feature-card h3,
.legal-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.feature-card p,
.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cta {
  padding-bottom: 80px;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 28px;
}

.site-footer {
  background: #0b1220;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0 0;
  color: var(--text);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px 64px;
  padding-bottom: 40px;
  max-width: 1100px;
  margin: 0;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer-logo:hover {
  color: var(--accent);
}

.footer-logo-img {
  display: block;
  flex-shrink: 0;
}

.footer-logo-text {
  text-transform: uppercase;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.footer-col {
  min-width: 140px;
}

.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}

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

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: #fff;
}

.footer-link-danger {
  color: #ef4444 !important;
}

.footer-link-danger:hover {
  color: #f87171 !important;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-icon {
  color: var(--muted);
  display: inline-flex;
  transition: color 0.2s;
}

.footer-icon:hover {
  color: #fff;
}

.page-wrap {
  padding: 64px 0 80px;
}

.page-shell {
  padding: 28px;
}

.page-meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

.page-status {
  color: var(--muted);
}

.markdown-content {
  color: var(--text);
  line-height: 1.8;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
  line-height: 1.25;
  margin-top: 28px;
  margin-bottom: 12px;
}

.markdown-content p,
.markdown-content ul,
.markdown-content ol,
.markdown-content pre,
.markdown-content table,
.markdown-content blockquote {
  margin-top: 0;
  margin-bottom: 18px;
}

.markdown-content ul,
.markdown-content ol {
  padding-left: 22px;
}

.markdown-content code,
.markdown-content pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.markdown-content code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.markdown-content pre {
  background: rgba(0, 0, 0, 0.28);
  padding: 18px;
  border-radius: 16px;
  overflow-x: auto;
}

.markdown-content table {
  width: 100%;
  border-collapse: collapse;
}

.markdown-content th,
.markdown-content td {
  border: 1px solid var(--border);
  padding: 12px;
  text-align: left;
}

.markdown-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 16px;
  color: var(--muted);
}

.loading,
.error-box {
  padding: 20px;
  border-radius: 16px;
  margin-top: 20px;
}

.loading {
  background: rgba(53, 195, 255, 0.08);
  color: #a9e9ff;
}

.error-box {
  background: rgba(255, 107, 107, 0.08);
  color: #ffd2d2;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(50, 196, 141, 0.12);
  color: #9af1c8;
  font-size: 14px;
}

@media (max-width: 960px) {
  .feature-grid,
  .legal-grid,
  .cta-box {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .header-row {
    padding: 16px 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 56px;
    padding-bottom: 48px;
    min-height: auto;
  }

  .header-row {
    flex-wrap: wrap;
    min-height: 56px;
    padding: 14px 0;
    gap: 12px;
    justify-content: space-between;
  }

  .nav-links {
    gap: 10px;
    justify-content: flex-start;
  }

  .nav-links a {
    font-size: 13px;
  }

  .lang-selector {
    margin-left: 0;
    padding-left: 10px;
    border-left: 1px solid var(--border);
  }

  .lang-selector .lang-option {
    font-size: 12px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-store {
    min-width: 200px;
    justify-content: center;
  }

  .section--features .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .section--features .feature-card {
    padding: 24px 16px;
  }

  .interface-title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .interface-desc {
    font-size: 15px;
  }

  .interface-slider__slide {
    width: min(200px, 78vw);
  }

  .interface-slider__track {
    gap: 12px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .interface-features {
    flex-direction: column;
    margin-bottom: 36px;
  }

  .interface-features li {
    padding: 12px 16px 12px 44px;
  }

  .data-trust {
    margin-top: 48px;
    padding-top: 40px;
  }

  .data-trust-desc {
    font-size: 15px;
  }

  .data-trust-sources {
    gap: 16px 24px;
    font-size: 14px;
  }

  .page-shell,
  .feature-card,
  .legal-card,
  .hero-card,
  .cta-box {
    padding: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 24px;
  }

  .footer-copy {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .header-row {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 52px;
    padding: 12px 0;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    width: auto;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .lang-selector {
    padding-left: 8px;
  }

  .lang-selector .lang-option {
    font-size: 11px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero-actions {
    width: 100%;
  }

  .btn-store {
    width: 100%;
    min-width: 0;
  }
}

/* ─── Contact page (dark tech style) ────────────────────── */
.contact-page { --contact-accent: #e63946; }

.contact-hero {
  position: relative;
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #060b12 0%, var(--bg) 40%, #0b1627 100%);
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(230, 57, 70, 0.15);
  color: #ff6b7a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.contact-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--contact-accent);
  animation: contact-pulse 1.5s ease-in-out infinite;
}

@keyframes contact-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.contact-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.contact-title-accent { color: var(--contact-accent); }

.contact-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}

.contact-main { padding-top: 48px; padding-bottom: 80px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form-wrap {
  background: linear-gradient(180deg, rgba(19, 34, 56, 0.95) 0%, rgba(15, 27, 45, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
}

.contact-form-icon { color: var(--contact-accent); flex-shrink: 0; }

.contact-form .contact-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-input::placeholder,
.contact-textarea::placeholder { color: var(--muted); opacity: 0.8; }

.contact-select option { background: var(--bg-soft); color: #fff; }

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

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--contact-accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.contact-submit:hover { background: #ff4757; }
.contact-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.contact-submit-arrow { flex-shrink: 0; }

.contact-form-status { margin-top: 16px; font-size: 14px; }
.contact-form-status--success { color: var(--success); }
.contact-form-status--error { color: var(--contact-accent); }

.contact-info-wrap { display: flex; flex-direction: column; gap: 24px; }

.contact-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
}

.contact-map-pin { font-size: 32px; margin-bottom: 8px; }
.contact-map-label { font-weight: 500; }

.contact-info-block { padding: 0; }

.contact-info-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 10px;
}

.contact-info-value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.5;
}

.contact-info-value a { color: #fff; text-decoration: none; }
.contact-info-value a:hover { color: var(--contact-accent); }
.contact-info-icon { margin-right: 8px; opacity: 0.9; }

.contact-uptime-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.contact-uptime-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--contact-accent) 0%, #ff6b7a 100%);
  border-radius: 4px;
}

.contact-uptime-label { font-size: 12px; color: var(--muted); margin: 0; }

/* ─── Cookie consent banner (site bottom) ───────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.98) 0%, rgba(11, 18, 32, 0.99) 100%);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  padding: 20px 0 calc(24px + env(safe-area-inset-bottom, 0px));
}
.cookie-banner__container { max-width: 1100px; margin: 0 auto; }
.cookie-banner__inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__icon {
  flex-shrink: 0;
  color: rgba(255, 101, 36, 1);
  margin-top: 2px;
}
.cookie-banner__text { flex: 1; min-width: 280px; }
.cookie-banner__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.cookie-banner__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.cookie-banner__link { color: var(--primary); text-decoration: underline; }
.cookie-banner__link:hover { color: #7fdcff; }
.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 360px;
}
.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
}
.cookie-banner__btn--settings { background: rgba(53, 195, 255, 0.2); color: var(--primary); }
.cookie-banner__btn--settings:hover { background: rgba(53, 195, 255, 0.3); color: #fff; }
.cookie-banner__btn--reject,
.cookie-banner__btn--accept {
  background: #14b8a6;
  color: #fff;
}
.cookie-banner__btn--reject:hover,
.cookie-banner__btn--accept:hover {
  background: #0d9488;
  color: #fff;
}
@media (min-width: 720px) {
  .cookie-banner__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    max-width: none;
    width: auto;
  }
  .cookie-banner__btn {
    width: auto;
    min-width: 120px;
  }
}

@media (max-width: 640px) {
  .cookie-banner { padding: 16px 0 calc(20px + env(safe-area-inset-bottom, 0px)); }
  .cookie-banner__inner { flex-direction: column; gap: 16px; }
  .cookie-banner__text { min-width: 0; }
}

@media (max-width: 880px) {
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .site-header .container {
    padding-left: max(22px, env(safe-area-inset-left, 0px));
    padding-right: max(22px, env(safe-area-inset-right, 0px));
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-basis: 100%;
    order: 10;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 0 16px;
    margin: 0;
  }

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

  .nav-links > a {
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 16px;
  }

  .nav-links > a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .lang-selector {
    margin-left: 0;
    margin-top: 8px;
    padding: 12px 12px 4px;
    border-left: none;
    border-top: 1px solid var(--border);
    justify-content: center;
    gap: 16px;
  }

  .lang-selector .lang-option {
    font-size: 15px;
    padding: 8px 12px;
  }
}
