/* AgilePro.AI Marketing Site Styles */

:root {
  --bg: #0f1220; 
  --panel: #171a2b; 
  --ink: #e7e9f5; 
  --muted: #9aa1b7; 
  --accent: #7aa2ff; 
  --line: #2a2f49;
  --success: #4ade80;
  --error: #ef4444;
}

* { 
  box-sizing: border-box; 
  font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
}

html, body { 
  height: 100%; 
  margin: 0; 
  background: var(--bg); 
  color: var(--ink); 
}

/* Footer */
footer { text-align:center; color:var(--muted); padding:16px 0 24px; border:0; }

.marketing-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.content {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.logo-section {
  margin-bottom: 60px;
}

.logo {
  width: 240px;
  height: 240px;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.brand-title {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.signup-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 32px 0;
  line-height: 1.4;
}

.notify-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

#email-input {
  flex: 1;
  background: #0e1120;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 16px;
  transition: border-color 0.2s;
}

#email-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

#email-input::placeholder {
  color: var(--muted);
}

.notify-btn {
  background: var(--accent);
  color: #0b1022;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.notify-btn:hover {
  background: #6b9aff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(122, 162, 255, 0.3);
}

.notify-btn:disabled {
  background: var(--muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-message {
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background: rgba(74, 222, 128, 0.1);
  color: var(--success);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hidden {
  display: none;
}

/* Loading state */
.notify-btn.loading {
  position: relative;
  color: transparent;
}

.notify-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid #0b1022;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .brand-title {
    font-size: 3rem;
  }
  
  .subtitle {
    font-size: 1.25rem;
  }
  
  .signup-section {
    padding: 32px 24px;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .notify-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 2.5rem;
  }
  
  .logo {
    width: 100px;
    height: 100px;
  }
  
  .signup-section {
    padding: 24px 20px;
  }
}