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

body {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  line-height: 1.6;
  color: #f8f8f2;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 32, 44, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand h2 {
  color: #667eea;
  font-size: 1.5em;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: #f8f8f2;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #667eea;
}

.cta-btn {
  background: #667eea;
  color: white !important;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #5a6fd8;
  color: white !important;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.9) 0%, rgba(26, 32, 44, 0.9) 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight {
  color: #667eea;
}

.hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-primary, .btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover {
  background: #5a6fd8;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #f8f8f2;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2em;
  color: #667eea;
  font-weight: bold;
}

.stat-label {
  color: #a0aec0;
  font-size: 0.9em;
}

/* Code Preview */
.hero-visual {
  display: flex;
  justify-content: center;
}

.code-preview {
  background: rgba(26, 32, 44, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 500px;
}

.code-header {
  background: rgba(45, 55, 72, 0.9);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.code-header .language {
  color: #f8f8f2;
  font-weight: bold;
}

.code-header .filename {
  color: #a0aec0;
  font-size: 0.9em;
}

.code-preview pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
}

.code-preview code {
  font-size: 0.9em;
  line-height: 1.5;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: rgba(26, 32, 44, 0.5);
}

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

.section-header h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #f8f8f2;
}

.section-header p {
  font-size: 1.2em;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: rgba(45, 55, 72, 0.9);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card.featured-tech {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  position: relative;
}

.feature-card.featured-tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px 2px 0 0;
}

.feature-icon {
  font-size: 3em;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: #f8f8f2;
}

.feature-card p {
  opacity: 0.8;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background: rgba(45, 55, 72, 0.5);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.pricing-card {
  background: rgba(26, 32, 44, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  border-color: #667eea;
  transform: scale(1.05);
}

.pricing-badge {
  background: #667eea;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
}

.pricing-header h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #f8f8f2;
}

.price {
  font-size: 2.5em;
  color: #667eea;
  font-weight: bold;
  margin-bottom: 30px;
}

.price span {
  font-size: 0.5em;
  opacity: 0.7;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0aec0;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.tier-description {
  color: #a0aec0;
  font-size: 0.9em;
  margin: 5px 0 20px;
  font-weight: normal;
}

.guardrail-note {
  font-size: 0.8em;
  color: #f8f8f2;
  margin: 10px 0;
  font-style: italic;
  opacity: 0.8;
}

.enterprise-cta {
  margin-top: 40px;
  text-align: center;
}

.enterprise-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border: 2px solid #667eea;
  border-radius: 12px;
  padding: 30px;
  display: inline-block;
  max-width: 500px;
}

.enterprise-card h3 {
  color: #667eea;
  margin-bottom: 10px;
}

.enterprise-card p {
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Signup Section */
.signup {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.signup-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.signup-content h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #f8f8f2;
}

.signup-content p {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.8;
}

.signup-form {
  margin-bottom: 20px;
}

.signup-form input {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(26, 32, 44, 0.9);
  color: #f8f8f2;
  font-size: 16px;
  margin-bottom: 15px;
}

.signup-form input::placeholder {
  color: #a0aec0;
}

.password-fields {
  margin-bottom: 20px;
}

.password-fields input {
  margin-bottom: 10px;
}

.password-requirements {
  margin-top: 5px;
}

.password-requirements small {
  color: #a0aec0;
  transition: color 0.3s;
}

.signup-note {
  font-size: 0.9em;
  opacity: 0.7;
}

#backToEmailBtn {
  margin-left: 10px;
  padding: 15px 20px;
}

/* Footer */
.footer {
  background: rgba(26, 32, 44, 0.9);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: #667eea;
  margin-bottom: 10px;
}

.footer-brand p {
  opacity: 0.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column h4 {
  color: #f8f8f2;
  margin-bottom: 15px;
}

.footer-column a {
  display: block;
  color: #a0aec0;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #667eea;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* App Section */
.app-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  padding: 40px 0;
}

#userApp {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(45, 55, 72, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-actions h1 {
  color: #f8f8f2;
  margin: 0;
  font-size: 2em;
}

.manage-account-btn {
  background: #667eea;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.manage-account-btn:hover {
  background: #5a6fd8;
}

.upload-section, .github-section {
  background: rgba(45, 55, 72, 0.9);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.upload-section h2, .github-section h2 {
  color: #f8f8f2;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.upload-section input[type="file"] {
  display: block;
  margin-bottom: 15px;
  padding: 10px;
  border: 2px dashed rgba(102, 126, 234, 0.3);
  border-radius: 8px;
  width: 100%;
  background: rgba(26, 32, 44, 0.5);
  color: #f8f8f2;
}

.github-section input[type="url"] {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(26, 32, 44, 0.9);
  color: #f8f8f2;
  font-size: 16px;
  margin-bottom: 15px;
}

.github-section input[type="url"]:focus {
  outline: none;
  border-color: #667eea;
}

.upload-section button, .github-section button {
  padding: 15px 30px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-section button:hover, .github-section button:hover {
  background: #5a6fd8;
  transform: translateY(-2px);
}

#loading {
  text-align: center;
  padding: 60px;
  background: rgba(45, 55, 72, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

#loading p {
  font-size: 20px;
  color: #f8f8f2;
  margin: 0;
}

#result {
  background: rgba(45, 55, 72, 0.9);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

#result h2 {
  color: #f8f8f2;
  margin-bottom: 30px;
  font-size: 1.8em;
}

#documentation {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  color: #f8f8f2;
  line-height: 1.6;
}

#documentation h1, #documentation h2, #documentation h3 {
  color: #f8f8f2;
  margin-top: 30px;
  margin-bottom: 15px;
}

#documentation h1 {
  font-size: 2em;
  border-bottom: 2px solid #667eea;
  padding-bottom: 10px;
}

#documentation h2 {
  font-size: 1.5em;
  border-bottom: 1px solid #667eea;
  padding-bottom: 5px;
}

#documentation h3 {
  font-size: 1.2em;
}

#documentation p {
  margin-bottom: 15px;
}

#documentation ul, #documentation ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

#documentation li {
  margin-bottom: 5px;
}

#documentation code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.9em;
}

.code-block {
  background: rgba(26, 32, 44, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
}

.code-header {
  background: rgba(45, 55, 72, 0.9);
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language {
  color: #f8f8f2;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8em;
}

.copy-btn {
  background: rgba(102, 126, 234, 0.8);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8em;
  transition: all 0.3s;
}

.copy-btn:hover {
  background: rgba(102, 126, 234, 1);
  transform: scale(1.05);
}

.code-block pre {
  margin: 0;
  padding: 15px;
  overflow-x: auto;
  background: rgba(26, 32, 44, 0.9);
}

.code-block code {
  background: none;
  padding: 0;
  font-size: 0.9em;
  line-height: 1.4;
}

#documentation a {
  color: #667eea;
  text-decoration: none;
}

#documentation a:hover {
  text-decoration: underline;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: rgba(26, 32, 44, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2001;
}

.modal:not(.hidden) .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  margin: 0;
  color: #f8f8f2;
}

.modal-close {
  font-size: 28px;
  color: #a0aec0;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #f8f8f2;
}

.modal-body {
  padding: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(26, 32, 44, 0.9);
  color: #f8f8f2;
  font-size: 16px;
}

.form-group input::placeholder {
  color: #a0aec0;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

#loginForm button {
  width: 100%;
  margin-top: 10px;
}

.modal-footer {
  text-align: center;
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(45, 55, 72, 0.5);
  border-radius: 0 0 12px 12px;
}

.modal-footer a {
  color: #667eea;
  text-decoration: none;
}

.modal-footer a:hover {
  text-decoration: underline;
}

/* Navigation Toggle for Mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #f8f8f2;
  margin: 3px 0;
  transition: 0.3s;
}

/* Interactive Demo Section */
.demo {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  position: relative;
}

.demo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(102,126,234,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.demo-input, .demo-output {
  background: rgba(45, 55, 72, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.demo-header h3 {
  color: #f8f8f2;
  margin: 0;
}

.language-select {
  background: rgba(26, 32, 44, 0.9);
  color: #f8f8f2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 8px 12px;
  font-family: inherit;
}

.language-select:focus {
  outline: none;
  border-color: #667eea;
}

.code-input {
  width: 100%;
  min-height: 200px;
  background: rgba(26, 32, 44, 0.9);
  color: #f8f8f2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 15px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 14px;
  line-height: 1.4;
  resize: vertical;
}

.code-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); }
  50% { box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.05); }
  100% { box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); }
}

.demo-btn {
  margin-top: 15px;
}

.documentation-output {
  min-height: 200px;
  background: rgba(26, 32, 44, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 15px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 14px;
  line-height: 1.4;
  color: #f8f8f2;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.placeholder {
  text-align: center;
  color: #a0aec0;
  padding: 40px 20px;
}

.placeholder-icon {
  font-size: 3em;
  margin-bottom: 15px;
  opacity: 0.5;
}

.demo-result {
  color: #f8f8f2;
  position: relative;
  min-height: 200px;
}

.demo-header-section {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-result-title {
  color: #f8f8f2;
  font-size: 1.4em;
  margin-bottom: 5px;
}

.demo-result-subtitle {
  color: #a0aec0;
  font-size: 0.9em;
  margin: 0;
}

.demo-content {
  position: relative;
}

.demo-result h1, .demo-result h2, .demo-result h3 {
  color: #f8f8f2;
  margin-top: 20px;
  margin-bottom: 10px;
}

.demo-result h1 {
  font-size: 1.5em;
  border-bottom: 2px solid #667eea;
  padding-bottom: 5px;
}

.demo-result h2 {
  font-size: 1.3em;
  border-bottom: 1px solid #667eea;
  padding-bottom: 3px;
}

.demo-result h3 {
  font-size: 1.1em;
}

.demo-result p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.demo-result code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

.demo-result pre {
  background: rgba(26, 32, 44, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 15px;
  margin: 15px 0;
  overflow-x: auto;
}

.demo-result pre code {
  background: none;
  padding: 0;
}

/* Demo Watermarks */
.demo-watermark {
  position: absolute;
  top: 10px;
  right: 10px;
  pointer-events: none;
  z-index: 10;
}

.watermark-content {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(102, 126, 234, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.watermark-text {
  opacity: 0.9;
}

.watermark-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.7em;
}

/* Demo Export Nudges */
.demo-export-nudges {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(26, 32, 44, 0.95);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nudge-section {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.nudge-card {
  flex: 1;
  background: rgba(45, 55, 72, 0.9);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.nudge-card:hover {
  transform: translateY(-2px);
  border-color: #667eea;
}

.nudge-icon {
  font-size: 2em;
  margin-bottom: 10px;
}

.nudge-card h4 {
  color: #f8f8f2;
  margin: 0 0 8px 0;
  font-size: 1em;
}

.nudge-card p {
  color: #a0aec0;
  margin: 0 0 15px 0;
  font-size: 0.85em;
  line-height: 1.4;
}

.nudge-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.nudge-btn:hover {
  transform: translateY(-1px);
}

/* Demo Upgrade Prompt */
.demo-upgrade-prompt {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.upgrade-content h3 {
  color: white;
  margin: 0 0 10px 0;
  font-size: 1.1em;
}

.upgrade-content p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 15px 0;
  font-size: 0.9em;
  line-height: 1.4;
}

.upgrade-content .btn-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9em;
  transition: all 0.3s;
}

.upgrade-content .btn-primary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Enhanced Demo Code Blocks */
.demo-code-block {
  position: relative;
}

.demo-code-block .code-header {
  background: rgba(45, 55, 72, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-code-block .language {
  color: #f8f8f2;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.5px;
}

.demo-code-block .copy-btn {
  background: rgba(102, 126, 234, 0.8);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8em;
  font-weight: 500;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-code-block .copy-btn:hover {
  background: rgba(102, 126, 234, 1);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Demo Headings */
.doc-heading {
  position: relative;
  padding-left: 15px;
}

.doc-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

/* Demo Lists */
.doc-list {
  margin-left: 20px;
}

.doc-list-item {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
}

.doc-list-item::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

/* Demo Inline Code */
.inline-code {
  background: rgba(102, 126, 234, 0.1);
  color: #c6e2ff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.output-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.export-btn {
  background: #38a169 !important;
  color: white !important;
  border: 1px solid #38a169 !important;
  transition: all 0.3s ease;
}

.export-btn:hover {
  background: #2f855a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 161, 105, 0.3);
}

.demo-examples {
  margin-top: 60px;
  text-align: center;
  padding: 40px 0;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 16px;
  margin: 60px 0;
  width: 100%;
  clear: both;
  float: none;
}

.demo-examples h3 {
  color: #f8f8f2;
  margin-bottom: 30px;
  font-size: 1.8em;
  font-weight: 600;
}

.example-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.example-btn {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  color: #f8f8f2;
  border: 2px solid #667eea;
  border-radius: 12px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.example-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
  transition: left 0.5s;
}

.example-btn:hover::before {
  left: 100%;
}

.example-btn:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
  border-color: #5a6fd8;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.example-btn:active {
  transform: translateY(-1px) scale(1.01);
}

.demo-comparison {
  margin-top: 60px;
}

.demo-comparison h3 {
  color: #f8f8f2;
  text-align: center;
  margin-bottom: 40px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.comparison-item {
  background: rgba(45, 55, 72, 0.9);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-item h4 {
  color: #f8f8f2;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.comparison-item .code-block {
  background: rgba(26, 32, 44, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
}

.comparison-item .code-block pre {
  margin: 0;
  padding: 15px;
  background: rgba(26, 32, 44, 0.9);
  font-size: 0.9em;
  line-height: 1.4;
}

.comparison-desc {
  color: #a0aec0;
  font-size: 0.9em;
  text-align: center;
  margin-top: 15px;
}

/* Loading and Error States */
.loading {
  text-align: center;
  color: #a0aec0;
  padding: 40px;
}

.error {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  border-radius: 8px;
  padding: 15px;
  color: #ff6b6b;
  margin: 10px 0;
}

/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    margin: 20px 0;
    font-size: 1.2em;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 2.5em;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    justify-content: center;
  }

  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-content {
    width: 95%;
    margin: 20px;
  }
}

/* Admin Dashboard Styles */
.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.admin-login {
  max-width: 400px;
  margin: 100px auto;
  padding: 40px;
  background: rgba(45, 55, 72, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.admin-login h2 {
  margin-bottom: 30px;
  color: #f8f8f2;
}

.admin-login input {
  width: 100%;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(26, 32, 44, 0.9);
  color: #f8f8f2;
  font-size: 16px;
  margin-bottom: 20px;
}

.admin-login input::placeholder {
  color: #a0aec0;
}

.admin-login button {
  width: 100%;
  padding: 12px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.admin-login button:hover {
  background: #5a6fd8;
}

.admin-dashboard {
  color: #f8f8f2;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-header h1 {
  color: #f8f8f2;
  margin: 0;
}

.admin-logout {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #f8f8f2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.admin-logout:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: rgba(45, 55, 72, 0.9);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.stat-card h3 {
  margin: 0 0 10px 0;
  color: #a0aec0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #667eea;
  margin: 0;
}

/* Users Section */
.users-section {
  background: rgba(45, 55, 72, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
}

.users-section h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #f8f8f2;
}

.table-container {
  overflow-x: auto;
}

#usersTable {
  width: 100%;
  border-collapse: collapse;
  background: rgba(26, 32, 44, 0.9);
  border-radius: 8px;
  overflow: hidden;
}

#usersTable th,
#usersTable td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#usersTable th {
  background: rgba(45, 55, 72, 0.9);
  color: #f8f8f2;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

#usersTable tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tier-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.tier-free {
  background: #e2e8f0;
  color: #2d3748;
}

.tier-growth {
  background: #bee3f8;
  color: #2c5282;
}

.tier-pro {
  background: #c6f6d5;
  color: #22543d;
}

#usersTable button {
  padding: 4px 8px;
  margin: 2px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s;
}

#usersTable button:not(:disabled) {
  background: #667eea;
  color: white;
}

#usersTable button:not(:disabled):hover {
  background: #5a6fd8;
}

#usersTable button:disabled {
  background: #a0aec0;
  color: #4a5568;
  cursor: not-allowed;
}

/* Demo Analytics Styles */
.demo-analytics {
  background: rgba(45, 55, 72, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  margin-top: 40px;
}

.demo-analytics h2 {
  color: #f8f8f2;
  margin-bottom: 30px;
  font-size: 1.8em;
}

.analytics-section {
  margin-bottom: 40px;
}

.analytics-section h3 {
  color: #f8f8f2;
  margin-bottom: 20px;
  font-size: 1.2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

/* Language Breakdown */
.language-breakdown {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.language-name {
  color: #f8f8f2;
  min-width: 100px;
  font-weight: 500;
}

.language-bar {
  flex: 1;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.language-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.js-fill {
  background: linear-gradient(90deg, #f7df1e, #f39c12);
}

.python-fill {
  background: linear-gradient(90deg, #3776ab, #ffd43b);
}

.java-fill {
  background: linear-gradient(90deg, #ed8b00, #f89820);
}

.language-count {
  color: #a0aec0;
  min-width: 80px;
  text-align: right;
  font-size: 0.9em;
}

/* Tables */
.recent-activity table,
.top-ips table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(26, 32, 44, 0.9);
  border-radius: 8px;
  overflow: hidden;
}

.recent-activity th,
.recent-activity td,
.top-ips th,
.top-ips td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-activity th,
.top-ips th {
  background: rgba(45, 55, 72, 0.9);
  color: #f8f8f2;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.recent-activity tbody tr:hover,
.top-ips tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.language-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.language-badge.javascript {
  background: rgba(247, 223, 30, 0.2);
  color: #f7df1e;
}

.language-badge.python {
  background: rgba(55, 118, 171, 0.2);
  color: #3776ab;
}

.language-badge.java {
  background: rgba(237, 139, 0, 0.2);
  color: #ed8b00;
}

.language-badge.unknown {
  background: rgba(160, 174, 192, 0.2);
  color: #a0aec0;
}

/* Stat Subtext */
.stat-subtext {
  font-size: 0.8em;
  color: #a0aec0;
  margin-top: 5px;
}

/* Responsive Admin */
@media (max-width: 768px) {
  .admin-container {
    padding: 10px;
  }

  .admin-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-number {
    font-size: 2em;
  }

  .users-section {
    padding: 20px;
  }

  #usersTable {
    font-size: 14px;
  }

  #usersTable th,
  #usersTable td {
    padding: 8px 4px;
  }
}

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

h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.auth-section, .upload-section, .github-section {
  background: rgba(45, 55, 72, 0.9);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  margin-bottom: 20px;
}

.auth-section {
  text-align: center;
}

.auth-section input {
  padding: 12px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 5px;
  width: 250px;
  margin-right: 10px;
}

.auth-section button {
  padding: 12px 24px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.auth-section button:hover {
  background: #5a6fd8;
}

.header-actions {
  text-align: right;
  margin-bottom: 20px;
}

.header-actions button {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #f8f8f2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.header-actions button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.upload-section h2, .github-section h2 {
  margin-bottom: 20px;
  color: #f8f8f2;
}

.upload-section input[type="file"] {
  display: block;
  margin-bottom: 15px;
  padding: 10px;
  border: 2px dashed #ddd;
  border-radius: 5px;
  width: 100%;
}

.github-section input[type="url"] {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 15px;
}

.upload-section button, .github-section button {
  padding: 12px 24px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.upload-section button:hover, .github-section button:hover {
  background: #218838;
}

#loading {
  text-align: center;
  padding: 40px;
  background: rgba(45, 55, 72, 0.9);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#loading p {
  font-size: 18px;
  color: #f8f8f2;
}

#result {
  background: rgba(45, 55, 72, 0.9);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#result h2 {
  margin-bottom: 20px;
  color: #f8f8f2;
}

#documentation {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  color: #f8f8f2;
  line-height: 1.6;
}

#documentation h1, #documentation h2, #documentation h3 {
  color: #f8f8f2;
  margin-top: 30px;
  margin-bottom: 15px;
}

#documentation h1 { font-size: 2em; border-bottom: 2px solid #667eea; padding-bottom: 10px; }
#documentation h2 { font-size: 1.5em; border-bottom: 1px solid #667eea; padding-bottom: 5px; }
#documentation h3 { font-size: 1.2em; }

#documentation p { margin-bottom: 15px; }

#documentation ul, #documentation ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

#documentation li { margin-bottom: 5px; }

#documentation code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.9em;
}

.code-block {
  background: rgba(26, 32, 44, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
}

.code-header {
  background: rgba(45, 55, 72, 0.9);
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language {
  color: #f8f8f2;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8em;
}

.copy-btn {
  background: rgba(102, 126, 234, 0.8);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8em;
  transition: all 0.3s;
}

.copy-btn:hover {
  background: rgba(102, 126, 234, 1);
  transform: scale(1.05);
}

.code-block pre {
  margin: 0;
  padding: 15px;
  overflow-x: auto;
  background: rgba(26, 32, 44, 0.9);
}

.code-block code {
  background: none;
  padding: 0;
  font-size: 0.9em;
  line-height: 1.4;
}

#documentation a {
  color: #667eea;
  text-decoration: none;
}

#documentation a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

/* Auth Section */
.auth-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.auth-form {
  background: rgba(45, 55, 72, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.auth-form h2 {
  color: #f8f8f2;
  margin-bottom: 10px;
  font-size: 2em;
}

.auth-subtitle {
  color: #a0aec0;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.auth-form-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.auth-btn:hover:not(:disabled) {
  background: #5a6fd8;
  transform: translateY(-2px);
}

.auth-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-spinner {
  display: none;
}

.btn-spinner.hidden {
  display: none;
}

.auth-links {
  margin-top: 20px;
  text-align: center;
}

.auth-links a {
  color: #667eea;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.auth-links a:hover {
  color: #5a6fd8;
  text-decoration: underline;
}

.auth-form.hidden {
  display: none;
}

/* Form Validation */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #f8f8f2;
  font-size: 14px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(26, 32, 44, 0.9);
  color: #f8f8f2;
  font-size: 16px;
  transition: all 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.error {
  border-color: #e53e3e;
  background: rgba(229, 62, 62, 0.05);
}

.field-error {
  color: #fc8181;
  font-size: 14px;
  margin-top: 6px;
  display: block;
}

.form-error {
  background: rgba(229, 62, 62, 0.1);
  border: 1px solid rgba(229, 62, 62, 0.3);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
  color: #fc8181;
  font-size: 14px;
}

/* Success Notification */
.success-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #38a169;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 10000;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Auth */
@media (max-width: 768px) {
  .auth-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .auth-form {
    padding: 30px 20px;
  }

  .auth-form h2 {
    font-size: 1.5em;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 10px;
  }

  h1 {
    font-size: 2rem;
  }

  .auth-section input {
    width: 200px;
  }
}
