* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: #0f172a;
  background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #020617 100%);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

.section,
.hero,
.footer {
  padding: 3.5rem 1.5rem;
}

.section-alt {
  background: #020617;
  color: #e5e7eb;
}

.section {
  background: #020617;
  color: #e5e7eb;
}

.section:nth-of-type(2n) {
  background: #020617;
}

.section-inner,
.hero-content,
.hero-visual,
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  min-height: 70vh;
  color: #f9fafb;
}

.hero-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.hero-logo {
  height: 40px;
  width: auto;
  border-radius: 0.75rem;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.9);
}

.hero-logo-text {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-subtitle {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 0.75rem;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e5e7eb;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
}

.hero-tagline {
  font-size: 0.9rem;
  color: #9ca3af;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.device-mockup {
  width: 260px;
  height: 520px;
  border-radius: 40px;
  padding: 12px;
  background: radial-gradient(circle at top left, #1f2937, #020617);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75);
  position: relative;
}

.device-mockup::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.8);
}

.device-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #22c55e, #0f172a 40%, #020617 100%);
  border: 1px solid rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mesh-preview {
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 999px;
  color: #e5e7eb;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.hero-caption {
  font-size: 0.9rem;
  color: #9ca3af;
  text-align: center;
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 0.98rem;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: radial-gradient(circle at top left, rgba(55, 65, 81, 0.45), rgba(15, 23, 42, 0.95));
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(75, 85, 99, 0.8);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.75);
}

.card-compact {
  padding: 1.1rem 1rem;
}

.card-meta {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #9ca3af;
}

.list {
  list-style: none;
  margin-top: 0.5rem;
}

.list li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.96rem;
  line-height: 1.7;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4ade80;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, background 0.1s ease-out,
    border-color 0.1s ease-out, color 0.1s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #022c22;
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(34, 197, 94, 0.6);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
  text-decoration: none;
}

.arch-diagram {
  margin-top: 1.5rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
  border: 1px solid rgba(75, 85, 99, 0.8);
  padding: 1.25rem 1.35rem;
  overflow-x: auto;
}

.arch-diagram pre {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.section-cta {
  background: radial-gradient(circle at top, #0f172a, #020617 55%);
  text-align: center;
}

.section-cta h2 {
  margin-bottom: 1rem;
}

.section-cta p {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.cta-form input[type="email"] {
  min-width: 230px;
  max-width: 300px;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

.cta-form input::placeholder {
  color: #6b7280;
}

.cta-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer {
  background: #020617;
  color: #6b7280;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.footer .dot {
  opacity: 0.5;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 2.75rem;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section,
  .hero,
  .footer {
    padding: 2.5rem 1.25rem;
  }

  .device-mockup {
    width: 220px;
    height: 460px;
  }
}
