* {
  box-sizing: border-box;
}

:root {
  --bg: #07111f;
  --panel: #0d1b2e;
  --panel-soft: #14243a;
  --cyan: #38d6ff;
  --blue: #4b7bff;
  --violet: #7b5cff;
  --text: #f4f7fb;
  --muted: #aebed0;
  --line: #1c3855;
  --danger: #ff5d6c;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(rgba(28, 56, 85, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 56, 85, 0.16) 1px, transparent 1px),
    var(--bg);
  background-size: 24px 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(56, 214, 255, 0.18);
  background: rgba(7, 17, 31, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
}

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

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--cyan);
}

.hero {
  padding: 92px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 750;
}

.button.primary {
  color: #06101d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.button.secondary {
  background: rgba(13, 27, 46, 0.8);
}

.blueprint-card {
  padding: 28px;
  border: 1px solid rgba(56, 214, 255, 0.28);
  border-radius: 24px;
  background: rgba(13, 27, 46, 0.88);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.room {
  position: relative;
  aspect-ratio: 1.15;
  overflow: hidden;
  border: 4px solid rgba(244, 247, 251, 0.92);
  background:
    linear-gradient(rgba(56, 214, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 214, 255, 0.09) 1px, transparent 1px),
    #0a1728;
  background-size: 18px 18px;
}

.furniture {
  position: absolute;
  border: 2px solid var(--cyan);
  border-radius: 8px;
  background: rgba(75, 123, 255, 0.28);
}

.sofa {
  top: 12%;
  left: 22%;
  width: 48%;
  height: 18%;
}

.table {
  top: 42%;
  left: 40%;
  width: 24%;
  height: 18%;
}

.chair {
  bottom: 13%;
  left: 28%;
  width: 16%;
  height: 16%;
}

.plant {
  right: 12%;
  bottom: 14%;
  width: 12%;
  height: 12%;
  border-radius: 50%;
  background: rgba(72, 207, 126, 0.3);
}

.door {
  position: absolute;
  right: -3px;
  top: 43%;
  width: 4px;
  height: 24%;
  background: var(--bg);
  box-shadow: -22px 22px 0 -20px var(--text);
}

.features,
.privacy-note {
  padding: 72px 0;
}

.features h2,
.privacy-note h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.feature-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 27, 46, 0.82);
}

.feature-grid h3 {
  margin-top: 0;
}

.feature-grid p,
.privacy-note p {
  color: var(--muted);
}

.privacy-note .container {
  padding: 34px;
  border: 1px solid rgba(123, 92, 255, 0.38);
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(56, 214, 255, 0.08),
    rgba(123, 92, 255, 0.12)
  );
}

.legal-page {
  padding: 60px 0 90px;
}

.legal-card {
  max-width: 860px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(13, 27, 46, 0.92);
}

.legal-card h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 1.25rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.updated {
  margin-top: -8px;
  color: var(--cyan) !important;
}

footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 13, 24, 0.92);
}

.footer-content {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-content div {
  display: flex;
  gap: 18px;
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    gap: 44px;
  }
}

@media (max-width: 680px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    padding-top: 58px;
  }

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

  .blueprint-card {
    padding: 18px;
  }

  .legal-card {
    padding: 24px;
  }

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