:root {
  color-scheme: dark;
  --ink: #f7f9ff;
  --muted: #b9c2d8;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(20, 27, 46, 0.68);
  --blue: #78a8ff;
  --violet: #a986ff;
  --page: #070a12;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(68, 111, 214, 0.22), transparent 32rem),
    radial-gradient(circle at 88% 22%, rgba(128, 75, 211, 0.2), transparent 34rem),
    var(--page);
  font-size: 1rem;
  line-height: 1.65;
}

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-180%);
  padding: 0.65rem 0.9rem;
  border-radius: 0.65rem;
  color: #07101f;
  background: #fff;
}

.skip-link:focus { transform: none; }

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.76);
  backdrop-filter: blur(24px) saturate(145%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.65rem;
  background: linear-gradient(145deg, rgba(120, 168, 255, 0.9), rgba(107, 65, 211, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 30px rgba(72, 95, 188, 0.28);
}

.brand-mark::before {
  content: "";
  width: 0.95rem;
  height: 0.72rem;
  border: 2px solid white;
  border-top-width: 0.24rem;
  border-radius: 0.2rem;
  opacity: 0.95;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
}

.nav-links a:hover { color: var(--ink); }

.language-toggle {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
}

.language-toggle button {
  border: 0;
  border-radius: 0.48rem;
  padding: 0.42rem 0.58rem;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.83rem;
  cursor: pointer;
}

.language-toggle button[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  padding: 5.5rem 0 6.5rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: #b9ceff;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.045em; }

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.35rem);
  font-weight: 760;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #fff 8%, #a8c3ff 46%, #c7a9ff 94%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 38rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
  font-weight: 650;
}

.button.primary {
  color: #07101f;
  border-color: transparent;
  background: #f7f9ff;
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.68;
}

.price-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.product-stage {
  position: relative;
  min-height: 28rem;
  display: grid;
  place-items: center;
}

.product-stage::before {
  content: "";
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(92, 119, 255, 0.25);
  filter: blur(70px);
}

.screen {
  position: relative;
  width: min(100%, 31rem);
  aspect-ratio: 1.22;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 1.35rem;
  background: linear-gradient(155deg, #23314d, #101728 64%, #12182a);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.screen-top {
  height: 2rem;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0 0.8rem;
  background: rgba(255, 255, 255, 0.06);
}

.screen-top span {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
}

.screen-content {
  height: calc(100% - 2rem);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.3);
}

.screen-content::before {
  content: "DockVela";
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 760;
  letter-spacing: -0.06em;
}

.dock-demo {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 4%;
  display: grid;
  grid-template-columns: 0.6fr 1.5fr 1.25fr;
  gap: 0.45rem;
  padding: 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.9rem;
  background: rgba(15, 20, 34, 0.68);
  backdrop-filter: blur(20px) saturate(145%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.dock-item {
  min-width: 0;
  height: 3rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.64rem;
  background: rgba(255, 255, 255, 0.06);
  color: #dce5fa;
  font-size: 0.72rem;
  white-space: nowrap;
}

.dock-item.active { background: rgba(125, 162, 255, 0.23); }

.app-dot {
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background: linear-gradient(140deg, #8fc0ff, #6369dd);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.dock-item:nth-child(2) .app-dot { background: linear-gradient(140deg, #66d2cb, #3d78d7); }
.dock-item:nth-child(3) .app-dot { background: linear-gradient(140deg, #ffbd6a, #e86a64); }

.section {
  padding: 6.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 43rem;
  margin-bottom: 2.5rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.section-heading p, .feature p, .legal p { color: var(--muted); }

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

.feature {
  min-height: 14rem;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.045);
}

.feature-index {
  color: #a9c3ff;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.feature h3 {
  margin: 2.3rem 0 0.7rem;
  font-size: 1.4rem;
}

.feature p { margin: 0; }

.security-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(91, 121, 192, 0.12), rgba(255, 255, 255, 0.035));
}

.security-panel h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.check-list li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #dce5fa;
  background: rgba(255, 255, 255, 0.04);
}

.check-list li::before {
  content: "✓";
  margin-right: 0.55rem;
  color: #9dc0ff;
}

.offer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.4rem;
  background: linear-gradient(130deg, rgba(91, 127, 214, 0.24), rgba(114, 71, 188, 0.2));
}

.offer h2 { max-width: 14ch; }
.offer p { max-width: 42rem; color: #d0d9ed; }

.price {
  min-width: 12rem;
  text-align: right;
}

.price strong {
  display: block;
  font-size: 3.5rem;
  line-height: 1;
}

.price span { color: var(--muted); }

.legal {
  max-width: 52rem;
}

.legal h2 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h3 { margin-top: 2.2rem; font-size: 1.2rem; letter-spacing: -0.02em; }
.legal ul { color: var(--muted); }

.site-footer {
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-row p { margin: 0; }

[data-lang-content][hidden] { display: none !important; }

@media (max-width: 820px) {
  .nav-links > a { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .product-stage { min-height: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .feature h3 { margin-top: 1.5rem; }
  .security-panel { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .price { text-align: left; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 1.2rem, 1120px); }
  .site-header .shell { width: min(100% - 1rem, 1120px); }
  .brand { font-size: 1rem; }
  .hero { gap: 2rem; }
  .screen { border-radius: 1rem; }
  .dock-demo { gap: 0.28rem; }
  .dock-item { justify-content: center; padding: 0; }
  .dock-item span:last-child { display: none; }
  .check-list { grid-template-columns: 1fr; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
