:root {
  --bg: #080d1a;
  --panel: #10182c;
  --panel-soft: #151f37;
  --text: #e9eefc;
  --muted: #a8b4d4;
  --primary: #5c8dff;
  --primary-strong: #3d71f6;
  --success: #2fb36d;
  --error: #f97066;
  --border: #273558;
  --shadow: 0 18px 50px rgba(6, 10, 24, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, #132448 0, var(--bg) 45%);
  color: var(--text);
  line-height: 1.5;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(8, 13, 26, 0.75);
  border-bottom: 1px solid rgba(39, 53, 88, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9ad1ff 0%, #4f7ef5 100%);
  box-shadow: 0 0 14px rgba(92, 141, 255, 0.8);
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: #90a8e8;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
}

.hero-text {
  margin: 0 0 1.8rem;
  color: var(--muted);
  max-width: 550px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.cta:hover {
  transform: translateY(-1px);
}

.hero-card {
  padding: 1rem;
  background: linear-gradient(145deg, rgba(27, 40, 72, 0.9), rgba(16, 24, 44, 0.75));
  border: 1px solid rgba(143, 173, 255, 0.2);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.chat-preview {
  background: rgba(9, 14, 28, 0.9);
  border: 1px solid rgba(58, 81, 132, 0.6);
  border-radius: 14px;
  padding: 1rem;
}

.chat-title {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.bubble {
  max-width: 80%;
  margin-bottom: 0.7rem;
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  font-size: 0.95rem;
}

.bubble-left {
  background: #263863;
}

.bubble-right {
  margin-left: auto;
  background: #3f6ce0;
}

.features {
  padding: 0 0 2.8rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: rgba(17, 26, 49, 0.9);
  border: 1px solid rgba(62, 84, 136, 0.65);
  border-radius: 14px;
  padding: 1.1rem;
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.early-access {
  padding: 1rem 0 4rem;
}

.form-wrap {
  background: rgba(17, 26, 49, 0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.4rem;
}

.form-wrap h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.form-wrap p {
  margin-top: 0;
  margin-bottom: 1.2rem;
  color: var(--muted);
}

.input-row {
  display: flex;
  gap: 0.7rem;
}

input[type="email"] {
  width: 100%;
  border: 1px solid #344976;
  border-radius: 10px;
  background: #0e162d;
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
  outline: none;
}

input[type="email"]:focus {
  border-color: #6b93ff;
  box-shadow: 0 0 0 3px rgba(107, 147, 255, 0.22);
}

button[type="submit"] {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  min-height: 1.35rem;
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--error);
}

.site-footer {
  border-top: 1px solid rgba(39, 53, 88, 0.6);
  padding: 1.3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  color: #93a4cf;
  font-size: 0.92rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.3rem;
  }

  .input-row {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.3rem;
  }
}
