:root {
  --background: 0 0% 100%;
  --foreground: 222.2 47.4% 11.2%;

  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;

  --card: 0 0% 100%;
  --card-foreground: 222.2 47.4% 11.2%;

  --border: 214.3 31.8% 91.4%;
  --primary: 222.2 47.4% 11.2%;
  --primary-foreground: 210 40% 98%;

  --radius: 0.5rem;

  --viewscape-blue: #3b82f6;
  --viewscape-green: #22c55e;
  --viewscape-blue-dark: #1d4ed8;

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: hsl(var(--background));
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: hsl(var(--foreground));
  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(59, 130, 246, 0.09),
      transparent 34rem
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(34, 197, 94, 0.08),
      transparent 32rem
    ),
    hsl(var(--background));

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Fira Sans",
    "Droid Sans",
    "Helvetica Neue",
    sans-serif;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;

  border-bottom: 1px solid hsla(var(--border) / 0.8);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  width: 80px;
  height: 70px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  flex-shrink: 0;
}

.brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-layer {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 7px;
  border-radius: 999px;
}

.brand-layer-blue {
  top: 11px;
  background: linear-gradient(
    90deg,
    var(--viewscape-blue-dark),
    #60a5fa
  );
}

.brand-layer-green {
  top: 22px;
  background: linear-gradient(
    90deg,
    #16a34a,
    #86efac
  );
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  padding: 9px 13px;

  border-radius: calc(var(--radius) - 2px);

  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  font-weight: 500;

  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.header-nav a:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
}

.header-nav .header-enter-button {
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  border: 1px solid hsl(var(--primary));
}

.header-nav .header-enter-button:hover {
  color: hsl(var(--primary-foreground));
  background: hsl(222.2 47.4% 16%);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 670px;
  padding: 90px 0 76px;

  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.hero-content {
  max-width: 680px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;

  color: var(--viewscape-blue-dark);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;

  font-size: clamp(3.1rem, 6vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1::after {
  content: "";
  width: min(310px, 60%);
  height: 7px;
  margin-top: 24px;

  display: block;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      var(--viewscape-blue),
      var(--viewscape-green)
    );
}

.hero-description {
  max-width: 650px;
  margin: 30px 0 0;

  color: hsl(var(--muted-foreground));
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 44px;
  padding: 11px 19px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid transparent;
  border-radius: var(--radius);

  font-size: 0.9rem;
  font-weight: 600;

  cursor: pointer;

  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));

  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.12),
    0 10px 30px rgba(15, 23, 42, 0.12);
}

.button-primary:hover {
  background: hsl(222.2 47.4% 16%);
}

.button-secondary {
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
  background: white;

  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.button-secondary:hover {
  background: hsl(var(--muted));
}

.environment-note {
  margin: 18px 0 0;

  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.visual-card {
  position: absolute;
  overflow: hidden;

  border: 1px solid hsl(var(--border));
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);

  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.06),
    0 30px 80px rgba(15, 23, 42, 0.12);
}

.visual-card-back {
  inset: 20px 40px 80px 0;
  opacity: 0.65;
  transform: rotate(-5deg);
}

.visual-card-front {
  inset: 75px 0 0 68px;
  padding: 20px;

  transform: rotate(2deg);
}

.visual-toolbar {
  height: 42px;
  padding: 0 16px;

  display: flex;
  align-items: center;
  gap: 7px;

  border-bottom: 1px solid hsl(var(--border));
}

.visual-toolbar span {
  width: 9px;
  height: 9px;

  border-radius: 50%;
  background: hsl(var(--border));
}

.visual-grid {
  height: calc(100% - 42px);

  background-image:
    linear-gradient(
      rgba(59, 130, 246, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(59, 130, 246, 0.08) 1px,
      transparent 1px
    );

  background-size: 34px 34px;
}

.visual-heading {
  margin-bottom: 14px;

  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
  font-weight: 650;
}

.visual-preview {
  position: relative;
  height: 290px;
  overflow: hidden;

  border: 1px solid hsl(var(--border));
  border-radius: 12px;

  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f1f5f9 68%,
      #e2e8f0 100%
    );
}

.preview-object {
  position: absolute;
  z-index: 2;
  top: 54px;
  left: 50%;

  width: 92px;
  height: 155px;

  border-radius: 46% 46% 36% 36%;
  background:
    linear-gradient(
      150deg,
      rgba(59, 130, 246, 0.94),
      rgba(34, 197, 94, 0.85)
    );

  box-shadow: 0 30px 40px rgba(37, 99, 235, 0.22);

  transform:
    translateX(-50%)
    perspective(500px)
    rotateY(-14deg);
}

.preview-floor {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -44px;
  height: 150px;

  background-image:
    linear-gradient(
      rgba(59, 130, 246, 0.18) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(59, 130, 246, 0.18) 1px,
      transparent 1px
    );

  background-size: 32px 32px;

  transform:
    perspective(400px)
    rotateX(62deg);
}

.visual-controls {
  margin-top: 15px;

  display: flex;
  gap: 9px;
}

.visual-controls span {
  width: 64px;
  height: 10px;

  border-radius: 999px;
  background: hsl(var(--muted));
}

.features {
  padding: 82px 0 96px;
  border-top: 1px solid hsl(var(--border));
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.callout h2 {
  margin: 0;

  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 675;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading > p:last-child,
.callout p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.feature-grid {
  margin-top: 46px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 260px;
  padding: 27px;

  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsla(var(--card) / 0.86);

  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 14px 38px rgba(15, 23, 42, 0.04);
}

.feature-number {
  margin-bottom: 50px;

  color: var(--viewscape-blue-dark);
  font-size: 0.74rem;
  font-weight: 750;
}

.feature-card h3 {
  margin: 0 0 12px;

  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;

  color: hsl(var(--muted-foreground));
  font-size: 0.94rem;
  line-height: 1.7;
}

.callout {
  margin-bottom: 86px;
  padding: clamp(28px, 5vw, 54px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  border: 1px solid hsl(var(--border));
  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.07),
      rgba(34, 197, 94, 0.07)
    );
}

.callout > div {
  max-width: 700px;
}

.callout .section-label {
  margin-bottom: 13px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 100px;
  margin: 0 auto;
  padding: 28px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  border-top: 1px solid hsl(var(--border));

  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
}

.site-footer > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-footer strong {
  color: hsl(var(--foreground));
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a:hover {
  color: hsl(var(--foreground));
}

.custom-scrollbar::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(30, 41, 59, 0.22);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-visual {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: min(100% - 28px, 1180px);
  }

  .header-nav a:nth-child(1),
  .header-nav a:nth-child(3) {
    display: none;
  }

  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .hero-visual {
    min-height: 390px;
  }

  .visual-card-back {
    inset: 15px 22px 60px 0;
  }

  .visual-card-front {
    inset: 60px 0 0 28px;
  }

  .visual-preview {
    height: 230px;
  }

  .callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}