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

:root {
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.15);
  --green: #4ade80;
  --red: #f87171;
  --bg: #0a0e17;
  --bg-card: #111827;
  --bg-input: #0f1729;
  --border: #1e293b;
  --border-focus: #22d3ee;
  --text: #e2e8f0;
  --text-dim: #64748b;
  --text-muted: #475569;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Subtle noise texture */
.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Ambient glow */
body::before {
  content: '';
  position: fixed;
  top: -40%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -30%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: rgba(34, 211, 238, 0.05);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vh, 6rem) 0;
}

.hero-content {
  max-width: 520px;
}

.overline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #fff;
}

.subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 2rem;
  max-width: 440px;
}

/* Form */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-fields:empty {
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.email-group {
  flex-direction: row;
  gap: 0.5rem;
}

input,
select,
textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-input);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

input::placeholder {
  color: var(--text-muted);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

select {
  cursor: pointer;
}

select option {
  background: var(--bg-card);
}

button[type="submit"] {
  padding: 0.8rem 1.5rem;
  background: var(--cyan);
  color: #0a0e17;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: -0.01em;
}

button[type="submit"]:hover {
  background: #06b6d4;
  transform: translateY(-1px);
}

button[type="submit"]:active {
  transform: translateY(0);
}

button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.message {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.message.success {
  color: var(--green);
}

.message.error {
  color: var(--red);
}

/* Hero media */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-media {
  width: 100%;
  max-width: 540px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.04),
    0 20px 60px -15px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

iframe.hero-media {
  aspect-ratio: 16 / 9;
  height: auto;
}

/* Placeholder (remove when real media is added) */
.media-placeholder {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px dashed rgba(34, 211, 238, 0.25);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(34, 211, 238, 0.06) 0%, transparent 70%),
    var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.04),
    0 20px 60px -15px rgba(0, 0, 0, 0.5);
}

.media-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.media-placeholder-icon {
  color: var(--cyan);
  opacity: 0.4;
}

.media-placeholder-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Value Props */
.value-props {
  padding: clamp(2rem, 5vh, 4rem) 0;
  border-top: 1px solid var(--border);
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.prop-card {
  background: var(--bg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
}

.prop-card:hover {
  background: rgba(17, 24, 39, 0.6);
}

.prop-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.15);
  color: var(--cyan);
  flex-shrink: 0;
}

.prop-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.prop-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Video Section */
.video-section {
  padding: clamp(2rem, 5vh, 4rem) 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.video-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.video-wrapper {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.04),
    0 20px 60px -15px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

/* Bottom CTA */
.bottom-cta {
  padding: clamp(2.5rem, 5vh, 4rem) 0;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.bottom-cta-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.btn-scroll {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  background: var(--cyan);
  color: #0a0e17;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: -0.01em;
}

.btn-scroll:hover {
  background: #06b6d4;
  transform: translateY(-1px);
}

.btn-scroll:active {
  transform: translateY(0);
}

/* Footer */
.bottombar {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}

.legal {
  margin-top: 1rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 960px) {
  .props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    order: 1;
  }

  .subtitle {
    max-width: 100%;
  }

  .hero-visual {
    order: 2;
  }

  .email-group {
    justify-content: center;
  }

  .form-note {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .props-grid {
    grid-template-columns: 1fr;
  }

  .email-group {
    flex-direction: column;
  }

  .terminal {
    max-width: 100%;
  }

  .features {
    gap: 0.6rem;
  }

  .dot {
    display: none;
  }

  .feature {
    font-size: 0.65rem;
  }
}
