/* ThamesAI Components CSS */

/* Utility classes */
.hidden { display: none; }
.visible { display: block; }

/* Advanced filters panel */
.advanced-filters-panel.hidden {
  display: none;
}

.advanced-filters-panel.visible {
  display: block;
}

/* Job item details */
.job-item-details.hidden {
  display: none;
}

.job-item-details.visible {
  display: block;
}

/* Enhancement sections */
.preview-section.hidden,
.results-section.hidden {
  display: none;
}

.preview-section.visible,
.results-section.visible {
  display: block;
}

/* Dynamic content styling */
.image-preview-header {
  color: #00ffff;
  margin: 10px 0;
}

.image-preview-status {
  color: #ffff00;
  font-size: 11px;
}

.image-preview-img {
  max-width: 150px;
  max-height: 150px;
  border: 1px solid #00ff41;
  margin: 10px;
}

/* Enhanced content styling */
.enhanced-content {
  color: #00ff41;
  line-height: 1.6;
}

/* Error message styling */
.error-message {
  color: #ff4444;
  text-align: center;
  padding: 60px 20px;
}

/* Success message styling */
.success-message {
  color: #00ff41;
  text-align: center;
  padding: 20px;
}

/* Loading states */
.loading-spinner {
  color: #ffff00;
  text-align: center;
  padding: 40px;
}

/* Form enhancements */
.form-section.hidden {
  display: none;
}

.form-section.visible {
  display: block;
}

/* Navigation states */
.nav-item.active {
  color: #00ff41;
  background: rgba(0,255,65,0.1);
}

.nav-item.inactive {
  color: #666;
}

/* Button states */
.btn-loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn-success {
  color: #00ff41;
  border-color: #00ff41;
}

.btn-error {
  color: #ff4444;
  border-color: #ff4444;
}

/* Launch status */
.launch-success {
  color: #00ff41;
  font-size: 24px;
}
/* ThamesAI Launch Page Styles */

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

body {
  background: #000;
  color: #00ff41;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  background-image: 
    radial-gradient(rgba(0,255,65,0.1) 1px, transparent 1px),
    linear-gradient(180deg, #000000 0%, #001100 100%);
  background-size: 50px 50px, 100% 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-feature-settings: "liga" off;
}

.launch-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

/* Animated background particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background: #00ff41;
  border-radius: 50%;
  animation: float 20s infinite linear;
  opacity: 0.1;
  will-change: transform;
  pointer-events: none;
}

@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0.1; }
  50% { opacity: 0.3; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* Main terminal window */
.terminal-window {
  background: rgba(0,0,0,0.95);
  /* Fallback for browsers that don't support rgba */
  background: #000\9; /* IE 8/9 */
  border: 3px solid #00ff41;
  border-radius: 12px;
  box-shadow: 
    0 0 30px rgba(0,255,65,0.3),
    inset 0 0 50px rgba(0,255,65,0.02);
  max-width: 900px;
  width: 100%;
  z-index: 10;
  position: relative;
  /* Backdrop filter with fallbacks */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: terminal-float 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes terminal-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.terminal-header {
  background: linear-gradient(135deg, #111 0%, #222 100%);
  padding: 15px 20px;
  border-bottom: 2px solid #00ff41;
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 9px 9px 0 0;
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.btn {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.close { background: #ff5f56; }
.btn.minimize { background: #ffbd2e; }
.btn.maximize { background: #27ca3f; }

.btn:hover { transform: scale(1.1); }

.terminal-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo { color: #00ffff; text-shadow: 0 0 10px rgba(0,255,255,0.5); }
.ai { color: #ff00ff; text-shadow: 0 0 10px rgba(255,0,255,0.5); }
.status { color: #666; font-size: 12px; margin-left: 10px; }

.terminal-body {
  padding: 45px 35px;
}

/* System boot sequence */
.boot-sequence {
  margin-bottom: 35px;
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

.boot-line {
  margin: 6px 0;
  opacity: 0;
  animation: bootUp 0.5s ease-in-out forwards;
}

.boot-line:nth-child(1) { animation-delay: 0s; }
.boot-line:nth-child(2) { animation-delay: 0.3s; }
.boot-line:nth-child(3) { animation-delay: 0.6s; }
.boot-line:nth-child(4) { animation-delay: 0.9s; }

@keyframes bootUp {
  0% { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(0); }
}

.boot-ok { color: #00ff41; }
.boot-loading { color: #ffff00; }

/* Main heading */
.main-heading {
  text-align: center;
  margin: 45px 0 50px 0;
}

.title {
  font-size: 48px;
  font-weight: 700;
  color: #00ffff;
  text-shadow: 0 0 20px rgba(0,255,255,0.6);
  margin-bottom: 18px;
  line-height: 1.1;
  letter-spacing: 0.05em;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% { text-shadow: 0 0 20px rgba(0,255,255,0.6); }
  100% { text-shadow: 0 0 30px rgba(0,255,255,0.8), 0 0 40px rgba(0,255,255,0.4); }
}

.subtitle {
  font-size: 20px;
  color: #ff00ff;
  text-shadow: 0 0 10px rgba(255,0,255,0.4);
  margin-bottom: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.tagline {
  font-size: 16px;
  color: #aaa;
  max-width: 620px;
  margin: 0 auto 25px auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Countdown Timer */
.countdown-section {
  text-align: center;
  margin: 50px 0;
}

.countdown-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.status-grid {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.status-unit {
  background: rgba(0,255,65,0.05);
  border: 2px solid #00ff41;
  border-radius: 10px;
  padding: 20px 15px;
  min-width: 120px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.status-unit.ready {
  border-color: #00ff41;
  background: rgba(0,255,65,0.08);
}

.status-unit.launching {
  border-color: #ffaa00;
  background: rgba(255,170,0,0.08);
  animation: pulse-orange 2s infinite;
}

.status-unit:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,255,65,0.3);
}

.status-unit.launching:hover {
  box-shadow: 0 5px 20px rgba(255,170,0,0.3);
}

@keyframes pulse-orange {
  0%, 100% { 
    background: rgba(255,170,0,0.08);
    box-shadow: 0 0 10px rgba(255,170,0,0.2);
  }
  50% { 
    background: rgba(255,170,0,0.15);
    box-shadow: 0 0 20px rgba(255,170,0,0.4);
  }
}

.status-icon {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.status-value {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #00ff41;
  text-shadow: 0 0 10px rgba(0,255,65,0.8);
  line-height: 1;
  margin-bottom: 8px;
}

.status-unit.launching .status-value {
  color: #ffaa00;
  text-shadow: 0 0 10px rgba(255,170,0,0.8);
}

.status-label {
  display: block;
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features preview */
.features-preview {
  margin: 55px 0;
  text-align: center;
}

.features-title {
  font-size: 24px;
  color: #00ff41;
  margin-bottom: 35px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(0,255,65,0.4);
}

.features-grid {
  display: grid;
  /* Fallback for browsers that don't support grid */
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 35px 0;
}

/* Grid fallback for older browsers */
.features-grid .feature-item {
  -webkit-flex: 1 1 250px;
  -ms-flex: 1 1 250px;
  flex: 1 1 250px;
  min-width: 250px;
}

.feature-item {
  background: rgba(0,255,65,0.03);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: #00ff41;
  background: rgba(0,255,65,0.05);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0,255,65,0.15);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 15px;
  display: block;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 16px;
  color: #00ffff;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-desc {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
  font-weight: 400;
}

/* Email signup */
.signup-section {
  text-align: center;
  margin: 55px 0;
  background: rgba(255,0,255,0.02);
  border: 2px solid #ff00ff;
  border-radius: 15px;
  padding: 45px 35px;
}

.signup-title {
  font-size: 24px;
  color: #ff00ff;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(255,0,255,0.4);
}

.signup-description {
  color: #aaa;
  margin-bottom: 35px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 35px;
}

.signup-form {
  display: flex;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
  align-items: center;
}

.email-input {
  flex: 1;
  background: rgba(0,0,0,0.7);
  border: 2px solid #333;
  border-radius: 6px;
  padding: 12px 15px;
  color: #00ff41;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  transition: all 0.3s ease;
  margin-right: 15px;
}

.email-input:focus {
  outline: none;
  border-color: #00ff41;
  box-shadow: 0 0 15px rgba(0,255,65,0.3);
  background: rgba(0,0,0,0.9);
}

.email-input:valid {
  border-color: #00ff41;
}

.email-input:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #ff4444;
  box-shadow: 0 0 15px rgba(255,68,68,0.3);
}

.email-input::placeholder {
  color: #555;
}

.signup-btn {
  background: rgba(255,0,255,0.1);
  color: #ff00ff;
  border: 2px solid #ff00ff;
  border-radius: 6px;
  padding: 12px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 180px;
  position: relative;
}

.signup-btn:hover:not(:disabled) {
  background: rgba(255,0,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,0,255,0.3);
}

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

.signup-btn.loading {
  background: rgba(0,255,255,0.1);
  border-color: #00ffff;
  color: #00ffff;
}

.signup-btn.success {
  background: rgba(0,255,65,0.1);
  border-color: #00ff41;
  color: #00ff41;
}

.signup-btn.error {
  background: rgba(255,68,68,0.1);
  border-color: #ff4444;
  color: #ff4444;
}

.signup-count {
  margin-top: 20px;
  font-size: 12px;
  color: #666;
}

.count-number {
  color: #00ff41;
  font-weight: 700;
}

/* Status messages */
.status-message {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: none;
}

.status-success {
  background: rgba(0,255,65,0.1);
  color: #00ff41;
  border: 1px solid #00ff41;
}

.status-error {
  background: rgba(255,0,0,0.1);
  color: #ff4444;
  border: 1px solid #ff4444;
}

/* Social proof */
.social-proof {
  text-align: center;
  margin: 40px 0;
}

.social-title {
  font-size: 18px;
  color: #00ff41;
  margin-bottom: 20px;
}

.social-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(0,255,255,0.05);
  border: 1px solid #00ffff;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 11px;
  color: #00ffff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(0,255,255,0.1);
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(0,255,255,0.2);
}

/* Cursor animation */
.cursor {
  animation: blink 1s infinite;
  color: #00ff41;
}

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

/* Loading animation for button */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,0,255,0.3), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Entrance animations */
.main-heading {
  animation: slideInUp 0.8s ease-out;
}

.features-preview {
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.signup-section {
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.social-proof {
  animation: slideInUp 0.8s ease-out 0.6s both;
}

@keyframes slideInUp {
  0% { 
    opacity: 0;
    transform: translateY(30px);
  }
  100% { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .launch-container { padding: 15px; }
  .terminal-body { padding: 25px 15px; }
  
  .title { font-size: 32px; line-height: 1.1; }
  .subtitle { font-size: 16px; }
  .tagline { font-size: 13px; padding: 0 10px; }
  
  .boot-sequence { font-size: 11px; margin-bottom: 20px; }
  
  .status-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
  }
  
  .status-unit { 
    min-width: auto;
    padding: 15px 10px; 
  }
  
  .status-value { font-size: 14px; }
  .status-label { font-size: 10px; }
  
  .features-title { font-size: 20px; margin-bottom: 20px; }
  .features-grid { 
    grid-template-columns: 1fr; 
    gap: 15px; 
    margin: 20px 0;
  }
  
  .feature-item { padding: 20px 15px; }
  .feature-icon { font-size: 28px; margin-bottom: 10px; }
  .feature-title { font-size: 14px; }
  .feature-desc { font-size: 11px; }
  
  .signup-section { 
    padding: 30px 20px;
    margin: 30px 0;
  }
  
  .signup-title { font-size: 20px; margin-bottom: 10px; }
  .signup-description { font-size: 12px; margin-bottom: 25px; }
  
  .signup-form { 
    flex-direction: column; 
    gap: 15px;
    max-width: 300px;
  }
  
  .email-input { 
    width: 100%; 
    margin-right: 0;
    padding: 12px 12px;
    font-size: 13px;
  }
  
  .signup-btn {
    min-width: auto;
    width: 100%;
    padding: 12px 15px;
    font-size: 11px;
  }
  
  .social-badges {
    gap: 10px;
  }
  
  .badge {
    padding: 6px 12px;
    font-size: 10px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .terminal-window {
    border-radius: 8px;
    border-width: 2px;
  }
  
  .terminal-header {
    padding: 12px 15px;
  }
  
  .terminal-title { font-size: 16px; }
  .status { font-size: 10px; }
  
  .title { font-size: 28px; }
  .subtitle { font-size: 14px; }
  .tagline { font-size: 12px; }
  
  .status-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .signup-form { max-width: 280px; }
  
  .particles { display: none; } /* Hide particles on very small screens for performance */
}

/* Subtle scroll animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
