:root {
  --bg: #0a0e1a;
  --bg-card: #10162a;
  --border: #232b45;
  --accent: #3461d4;
  --accent-hover: #4a75e8;
  --text: #e8ebf5;
  --text-muted: #9aa3bd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

/* Fade-in-up on load */

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.card {
  animation: fade-in-up 0.7s ease both;
}

.hero {
  animation-delay: 0s;
}

.what-this-is .card {
  animation-delay: 0.1s;
}

.submit-section .card {
  animation-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .card {
    animation: none;
  }
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--accent);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo .accent {
  color: var(--accent);
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  transition: border-color 0.15s ease;
}

.nav-cta:hover {
  border-color: var(--accent);
}

/* Hero */

.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.subheading {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* Buttons */

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(52, 97, 212, 0.35);
}

.btn-primary:active {
  transform: scale(1.01) translateY(1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.02);
}

/* Sections & Cards */

section {
  padding: 28px 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.card h2 {
  font-size: 26px;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-lead {
  margin-bottom: 28px !important;
}

.what-this-is {
  margin-top: 8px;
}

.submit-section {
  margin: 8px 0 96px;
}

/* Form */

.request-form {
  display: flex;
  flex-direction: column;
}

.request-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 20px 0 8px;
}

.request-form label:first-child {
  margin-top: 0;
}

.request-form input,
.request-form textarea,
.request-form select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.request-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.request-form input:hover,
.request-form textarea:hover,
.request-form select:hover {
  border-color: #3a4468;
}

.request-form input:focus,
.request-form textarea:focus,
.request-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 97, 212, 0.2);
}

.request-form button {
  margin-top: 28px;
  align-self: flex-start;
}

/* Banners */

.form-banner {
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-banner-success {
  background: rgba(52, 97, 212, 0.15);
  border: 1px solid var(--accent);
  color: var(--text);
}

.form-banner-error {
  background: rgba(212, 52, 52, 0.12);
  border: 1px solid #d43434;
  color: var(--text);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* LTX tool */

.ltx-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  margin-left: 8px;
  letter-spacing: 0;
}

.ltx-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.ltx-auth-card {
  max-width: 380px;
  margin: 0 auto;
}

.ltx-section {
  padding: 64px 0 96px;
}

.ltx-status {
  font-size: 14px;
  color: var(--text-muted);
  margin: 20px 0 0;
}

.ltx-status-error {
  color: #e05a5a;
}

.ltx-video-area {
  margin-top: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ltx-video-area video {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.ltx-video-placeholder {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

.ltx-video-actions {
  margin-top: 16px;
}

.ltx-cost-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 8px 0 0;
}

/* Responsive */

@media (max-width: 600px) {
  .hero {
    padding: 64px 0 48px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .card {
    padding: 28px;
  }

  .ltx-auth-card {
    max-width: 100%;
  }
}
