:root {
  --bg: #07151c;
  --bg-soft: #0f2530;
  --teal: #14b8a6;
  --teal-soft: #5eead4;
  --deep: #0f3a4a;
  --text: #e6f4f1;
  --text-soft: #9bb4b0;
  --border: rgba(255, 255, 255, 0.08);
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 90%, rgba(15, 58, 74, 0.55), transparent 60%),
    linear-gradient(180deg, #07151c 0%, #050d12 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: auto;
  padding-bottom: 64px;
}

.logo {
  flex-shrink: 0;
}

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

.brand-accent {
  color: var(--teal-soft);
  font-weight: 500;
}

.hero {
  padding: 32px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-soft);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 560px;
}

.lead strong {
  color: var(--text);
  font-weight: 600;
}

.signup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  margin-bottom: 40px;
}

.signup .row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.signup input {
  flex: 1;
  min-width: 180px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.signup input::placeholder {
  color: var(--text-soft);
}

.signup input:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.06);
}

.signup button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--teal) 0%, #0d9488 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 8px 24px -8px rgba(20, 184, 166, 0.5);
}

.signup button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(20, 184, 166, 0.6);
}

.signup button:active:not(:disabled) {
  transform: translateY(0);
}

.signup button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  font-size: 13px;
  min-height: 18px;
  margin: 0;
  color: var(--text-soft);
}

.form-message.error { color: #fca5a5; }
.form-message.success { color: var(--teal-soft); }

#company {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.features {
  list-style: none;
  display: grid;
  gap: 14px;
}

.features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-soft);
}

.features li svg {
  flex-shrink: 0;
  color: var(--teal);
}

.footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-soft);
  flex-wrap: wrap;
  gap: 12px;
}

.footer a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--teal-soft);
}

@media (max-width: 540px) {
  .container { padding: 24px 20px 32px; }
  .brand { padding-bottom: 48px; }
  .hero { padding: 16px 0; }
  .lead { font-size: 16px; }
  .signup button { width: 100%; justify-content: center; }
}
