:root {
  --bg-primary: #0a0e14;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --accent-borg: #338000;
  --accent-glow: #00cc33;
  --accent-glow-rgba: rgba(0, 204, 51, 0.35);
  --accent-dark: #06470c;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Background hexagon mesh */
.background-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23338000' fill-opacity='1'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: meshPulse 8s ease-in-out infinite;
}

@keyframes meshPulse {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.04; }
}

/* Main content */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Hero section */
.hero {
  margin-bottom: 3rem;
}

.hero-company {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.hero-subtext {
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

/* Teaser section */
.teaser {
  margin-bottom: 3rem;
  max-width: 560px;
}

.teaser p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA section */
.cta {
  width: 100%;
  max-width: 400px;
}

.cta-heading {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  width: 100%;
}

input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

input:focus {
  outline: none;
  border-color: var(--accent-borg);
  box-shadow: 0 0 0 2px rgba(51, 128, 0, 0.2);
}

button[type="submit"] {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  background-color: transparent;
  color: var(--accent-borg);
  border: 1px solid var(--accent-borg);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button[type="submit"]:hover,
button[type="submit"]:focus {
  color: var(--accent-glow);
  border-color: var(--accent-glow);
  box-shadow: 0 0 12px rgba(51, 128, 0, 0.4);
  outline: none;
}

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

.form-success {
  font-size: 1rem;
  color: var(--accent-borg);
  padding: 1rem;
  margin-bottom: 1rem;
}

.cta-legal {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* Thank you page */
.thank-you-message {
  color: var(--accent-borg);
  text-shadow: 0 0 15px var(--accent-glow-rgba);
}

.back-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover,
.back-link:focus {
  color: var(--accent-borg);
  outline: none;
}

/* Footer */
footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

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

footer a:hover,
footer a:focus {
  color: var(--accent-borg);
  outline: none;
}

.easter-egg {
  font-size: 0.625rem;
  color: var(--text-secondary);
  opacity: 0.3;
  margin-top: 0.5rem;
}

/* Responsive */
@media (min-width: 768px) {
  main {
    padding: 4rem 2rem;
  }

  .hero {
    margin-bottom: 4rem;
  }

  .hero-company {
    font-size: 1rem;
  }

  .teaser {
    margin-bottom: 4rem;
  }

  .teaser p {
    font-size: 1.125rem;
  }

  footer {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .easter-egg {
    position: absolute;
    right: 1.5rem;
    bottom: 1rem;
  }

  footer {
    position: relative;
  }
}
