/* Winforge AI Landing Page Styles */

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

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
  color: #e8e8e8;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 700px;
  width: 100%;
}

.content {
  background: rgba(26, 26, 46, 0.95);
  border: 1px solid rgba(56, 62, 71, 0.8);
  border-radius: 16px;
  padding: 60px 50px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.header {
  margin-bottom: 40px;
  text-align: center;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2d72d2 0%, #32a467 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.tagline {
  font-size: 1.25rem;
  color: #8b92a0;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.subtitle {
  color: #a0a8b8;
  margin-bottom: 50px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
}

.subtitle strong {
  color: #2d72d2;
  font-weight: 600;
}

h2 {
  font-size: 1.3rem;
  color: #2d72d2;
  margin-bottom: 15px;
  font-weight: 700;
}

.features {
  background: rgba(45, 114, 210, 0.08);
  border-left: 4px solid #2d72d2;
  border-radius: 8px;
  padding: 25px;
  margin: 40px 0;
}

.features ul {
  list-style: none;
}

.features li {
  padding: 10px 0;
  color: #c0c6cc;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.features li:before {
  content: "▸";
  color: #32a467;
  font-weight: bold;
  margin-right: 12px;
  font-size: 1.2rem;
}

.legal {
  background: rgba(209, 152, 11, 0.08);
  border: 1px solid rgba(209, 152, 11, 0.4);
  border-radius: 8px;
  padding: 25px;
  margin: 40px 0;
}

.legal h3 {
  color: #d1980b;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 700;
}

.legal p {
  color: #a0a8b8;
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.legal ul {
  text-align: left;
  margin: 15px 0 15px 30px;
  list-style: none;
}

.legal li {
  padding: 8px 0;
  color: #a0a8b8;
  font-size: 0.95rem;
  position: relative;
  padding-left: 20px;
}

.legal li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #d1980b;
}

.legal strong {
  color: #e8e8e8;
  font-weight: 600;
}

.beta-notice {
  background: rgba(205, 66, 70, 0.08);
  border-left: 4px solid #cd4246;
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
  color: #cd4246;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-section {
  margin: 50px 0;
  text-align: center;
}

.login-btn {
  background: linear-gradient(135deg, #2d72d2 0%, #3382e0 100%);
  color: white;
  border: none;
  padding: 16px 50px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(45, 114, 210, 0.3);
  letter-spacing: 0.5px;
}

.login-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(45, 114, 210, 0.4);
  background: linear-gradient(135deg, #3382e0 0%, #3a8fe6 100%);
}

.login-btn:active {
  transform: translateY(-2px);
}

.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.login-help {
  color: #6b778c;
  font-size: 0.9rem;
  margin-top: 15px;
}

.links {
  text-align: center;
  margin: 40px 0;
}

.links a {
  color: #2d72d2;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.links a:hover {
  color: #3382e0;
  border-bottom: 1px solid #3382e0;
}

.divider {
  color: #383e47;
  margin: 0 12px;
}

footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(56, 62, 71, 0.6);
  text-align: center;
  color: #6b778c;
  font-size: 0.9rem;
}

footer p {
  margin: 8px 0;
}

.beta-tag {
  background: rgba(205, 66, 70, 0.3);
  color: #cd4246;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content {
    padding: 40px 30px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  h2 {
    font-size: 1.15rem;
  }

  .features, .legal {
    padding: 20px;
  }

  .features li {
    font-size: 0.95rem;
  }

  .login-btn {
    padding: 14px 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px;
  }

  .content {
    padding: 30px 20px;
    border-radius: 12px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  h2 {
    font-size: 1rem;
  }

  .features, .legal {
    padding: 15px;
  }

  .legal ul {
    margin: 10px 0 10px 20px;
  }

  .login-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  footer {
    font-size: 0.85rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-color-scheme: light) {
  body {
    background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 50%, #e8e8e8 100%);
    color: #2c2c2c;
  }

  .content {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(200, 200, 200, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .subtitle {
    color: #555555;
  }

  .features, .legal {
    background: rgba(45, 114, 210, 0.05);
  }

  .features li, .legal p, .legal li {
    color: #444444;
  }

  footer, .login-help {
    color: #888888;
  }
}
