body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: rgb(15, 23, 42);
  color: #f8fafc;
  line-height: 1.6;
  padding: 0 20px;
  overflow-x: hidden;
}

canvas#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Sticky header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 100%;
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.65); /* translucent strip */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
}
.logo-header {
  display: flex;
  align-items: center;
  gap: 0.5px;
}

header h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

header h1 a {
    background: linear-gradient(90deg, #f97316, #f14e29);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

header h1 a:hover {
    background: linear-gradient(90deg, #ea580c, #f14e29);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Transparent button in header */
.btn-outline {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}


h1, h2, h3 {
  font-weight: 800;
  margin: 0 0 12px;
}

.hero {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 100px 0 60px; /* extra padding to account for sticky header */
  text-align: center;
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

/* Primary call-to-action button */
.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #f97316, #dc2626);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 20px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

section {
  max-width: 1100px;
  margin: auto;
  padding: 40px 0;
}

p { margin-bottom: 14px; }

ul {
  margin: 0 0 20px 20px;
}

footer {
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input[type="email"],
textarea {
  margin-top: 6px;
  padding: 10px;
  font-size: 14px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  resize: vertical;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 4px rgba(6, 182, 212, 0.4);
}

/* Form submit button */
button[type="submit"] {
  padding: 12px;
  font-weight: 700;
  background: linear-gradient(90deg, #f97316, #dc2626);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
button[type="submit"]:hover {
  background: linear-gradient(90deg, #ea580c, #b91c1c);
  transform: translateY(-2px);
}

/* Glass cards — sharper + more transparent */
.glass {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 40px;
  margin: 40px auto;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease;
}
.glass:hover {
  transform: translateY(-4px);
}

.glass h2, .glass h3 {
  color: #e2e8f0;
  font-weight: 800;
  margin-bottom: 16px;
}
.glass p, .glass ul {
  color: #f1f5f9;
  font-size: 1rem;
  line-height: 1.6;
}

.glass ul {
  list-style: none;
  padding-left: 0;
}
.glass ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}
.glass ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #06b6d4;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}
.split .visual {
  font-size: 3rem;
  text-align: center;
}

/* Three-column layout */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card.dark {
  background: rgba(0, 0, 0, 0.3);
}

/* Feature grid */
.feature-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.feature-grid h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* Opening text */
.opening-text {
  max-width: 900px;
  margin: 60px auto;
  text-align: center;
}
.opening-text h3 {
  font-size: 2.5rem;
  line-height: 1.6;
  font-weight: 600;
  color: #e2e8f0;
}

/* Closing CTA as plain text */
.closing-text {
  max-width: 900px;
  margin: 60px auto;
  text-align: center;
}
.closing-text h3 {
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 600;
  color: #e2e8f0;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background: rgba(15, 23, 42, 0.95);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #fff;
}

.modal-content h2 {
  margin-bottom: 1.5rem;
  color: #e2e8f0;
}

.modal-content label {
  display: block;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
  font-weight: 600;
}

.modal-content textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  margin-bottom: 1.5rem;
  resize: vertical;
}

.rating-section h3 {
  margin-bottom: 1rem;
  color: #e2e8f0;
}

.rating-item {
  margin-bottom: 1rem;
}

.rating-item label {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.star-rating {
  display: flex;
  gap: 0.25rem;
}

.star {
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s;
}

.star:hover,
.star.active {
  color: #fbbf24;
}

.modal-content .btn-primary {
  margin-top: 1rem;
  width: 100%;
}

.early-access-form {
  max-width: 450px;
  margin: 20px auto;
  padding: 20px 60px;
}

.early-access-form form {
  gap: 0;
  max-width: none;
}

.early-access-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
  font-weight: 600;
  font-size: 14px;
}

.early-access-form textarea {
  margin-top: 0 !important;
  margin-bottom: 0.8rem;
  padding: 10px;
  font-size: 14px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.email-section input {
  margin: 0;
  padding: 10px;
  font-size: 14px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.early-access-form .rating-section {
  margin-top: 0.8rem;
}

.early-access-form .rating-item {
  margin-bottom: 0.6rem;
}

.early-access-form .rating-item label {
  margin-bottom: 0.25rem;
  font-size: 14px;
  white-space: nowrap;
}

.early-access-form p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.use-type-section,
.email-section {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 0.8rem;
}

.project-needs-section {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.8rem;
}

.use-type-section label,
.email-section label {
  min-width: 120px;
  font-size: 14px;
  flex-shrink: 0;
}

.project-needs-section label {
  font-size: 14px;
  margin-bottom: 0.5rem;
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
}

.email-section input {
  flex: 1;
  margin: 0;
}

.project-needs-section textarea {
  margin: 0;
}

.number-rating {
  display: flex;
  gap: 20px;
  margin-top: 0.5rem;
}

.number-rating label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 0;
}

input[type="radio"] {
  background: transparent !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 16px;
  height: 16px;
}

input[type="radio"]:checked {
  box-shadow: 0 0 8px #f97316;
  background: transparent !important;
  border-color: #f97316;
}

input[type="radio"]:checked::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f97316;
  margin: 2px;
}

.radio-label input[type="radio"]:checked {
  box-shadow: 0 0 8px #f97316;
  background: transparent !important;
}

.radio-label input[type="radio"] {
  margin: 0;
  cursor: pointer;
}

@media (max-width: 900px) {
  .three-col {
    grid-template-columns: 1fr; /* stack on mobile */
  }
  header {
    flex-direction: column;
    gap: 10px;
    padding: 0.6rem 1rem;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .opening-text h3 {
    font-size: 1.8rem;
  }
  .hero h2 {
    font-size: 1.8rem;
  }
  .closing-text h3 {
    font-size: 1.2rem;
  }
  .glass {
    padding: 20px;
    margin: 20px auto;
  }
  .early-access-form {
    max-width: 90%;
    padding: 15px 20px;
  }
  .early-access-form .rating-item label {
    white-space: normal;
  }
  .use-type-section,
  .email-section {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .use-type-section label,
  .email-section label {
    min-width: auto;
  }
  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
}
