/**
 * Main stylesheet for Spin Solutions website
 * Terminal-inspired design with cyberpunk aesthetic
 */

:root {
  --primary-color: #1439ff;
  --primary-glow: #00fa;
  --background: #000;
  --text-color: #1439ff;
  --error-color: #ff4444;
  --font-family: 'Fira Mono', 'Consolas', 'Monaco', monospace;
}

body {
  background: var(--background);
  color: var(--text-color);
  font-family: var(--font-family);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

.terminal-container {
  background: var(--background);
  border-radius: 8px;
  box-shadow: 0 0 24px var(--primary-glow), 0 0 2px var(--primary-color);
  margin-top: 48px;
  padding: 32px 24px 24px 24px;
  width: 100%;
  max-width: 480px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.terminal-title {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: var(--primary-color);
  text-shadow: 0 0 8px var(--primary-color);
}

.terminal-line {
  font-size: 1.1rem;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  height: 100px;
}

.cursor {
  display: inline-block;
  width: 12px;
  height: 1.2em;
  background: var(--primary-color);
  margin-left: 4px;
  animation: blink 1s steps(1) infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

label {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--primary-color);
  letter-spacing: 1px;
}

input, textarea, button {
  width: 100%;
  box-sizing: border-box;
  background: var(--background);
  color: var(--text-color);
  border: 1px solid var(--primary-color);
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 10px;
  outline: none;
  transition: border 0.2s, background 0.2s, color 0.2s;
}

input:focus, textarea:focus {
  border: 1.5px solid var(--primary-color);
  box-shadow: 0 0 6px var(--primary-color);
}

textarea {
  resize: vertical;
  min-height: 60px;
  max-height: 180px;
}

button {
  background: var(--primary-color);
  color: var(--background);
  border: none;
  border-radius: 3px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 0;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 0 8px var(--primary-color);
  transition: background 0.2s, color 0.2s;
}

button:hover:not(:disabled) {
  background: var(--background);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.captcha-container {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.captcha-container input[type="checkbox"] {
  width: 25px;
  height: 25px;
  margin: 0;
  box-shadow: 0 0 12px 2px var(--primary-color), 0 0 2px var(--primary-color);
  accent-color: var(--primary-color);
  background: var(--background);
}

.captcha-container label {
  margin: 0;
  cursor: pointer;
  font-size: 0.95rem;
}

.error-message {
  color: var(--error-color);
  font-size: 0.9rem;
  margin-top: 4px;
  display: block;
}

input.error, textarea.error {
  border-color: var(--error-color);
  box-shadow: 0 0 6px var(--error-color);
}

.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px 20px;
  background: var(--background);
  border-radius: 8px;
  box-shadow: 0 0 24px var(--primary-glow), 0 0 2px var(--primary-color);
  text-align: center;
}

h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 0 0 8px var(--primary-color);
}

p {
  font-size: 1.1rem;
  line-height: 1.5;
}

.countdown {
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.8;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .terminal-container {
    padding: 18px 6px 18px 6px;
    margin-top: 18px;
    min-width: unset;
  }
  
  .captcha-container {
    justify-content: center;
  }
  
  .terminal-title {
    font-size: 1.5rem;
  }
}

