/* Home Page Styles */

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

body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Demo Credentials Section */
.demo-section {
  background: #f8f9fa;
  padding: 60px 0;
  border-top: 4px solid #28a745;
}

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

.demo-credentials {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 40px;
  border: 2px solid #28a745;
}

.demo-credentials h3 {
  color: #28a745;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.credential-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #007cba;
}

.credential-card h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.credential-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 8px;
  background: white;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.credential-item strong {
  color: #495057;
}

.credential-value {
  font-family: 'Courier New', monospace;
  background: #e9ecef;
  padding: 2px 6px;
  border-radius: 3px;
  user-select: all;
}

/* Screenshots Section */
.screenshots-section {
  padding: 60px 0;
  background: white;
}

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

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

.screenshot-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.screenshot-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #6c757d;
  border-bottom: 1px solid #dee2e6;
}

.screenshot-info {
  padding: 20px;
}

.screenshot-info h4 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.screenshot-info p {
  color: #666;
  font-size: 0.9rem;
}

/* Features Section */
.features-section {
  background: #f8f9fa;
  padding: 60px 0;
}

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

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

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

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

.feature-card h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #28a745;
  color: white;
}

.btn-primary:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-demo {
  background: #007cba;
  color: white;
  font-size: 1.2rem;
  padding: 18px 40px;
}

.btn-demo:hover {
  background: #005a87;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Welcome Section for logged in users */
.welcome-section {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.welcome-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.welcome-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Demo User Notice */
.demo-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
}

.demo-notice strong {
  color: #b45309;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 1rem !important;
  }
  
  .nav {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 15px 10px !important;
  }
  
  .nav-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
  }
  
  .btn {
    width: 100% !important;
    margin: 5px 0 !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
  
  .credentials-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .credential-card {
    padding: 15px !important;
  }
  
  .screenshots-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .feature-card {
    padding: 20px 15px !important;
  }
  
  .demo-section,
  .screenshots-section,
  .features-section {
    padding: 40px 0 !important;
  }
  
  .demo-content,
  .screenshots-content,
  .features-content {
    padding: 0 15px !important;
  }
  
  h2 {
    font-size: 1.8rem !important;
  }
  
  h3 {
    font-size: 1.4rem !important;
  }
  
  h4 {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 0 !important;
  }
  
  .hero h1 {
    font-size: 1.6rem !important;
  }
  
  .hero p {
    font-size: 0.9rem !important;
  }
  
  .btn {
    padding: 10px 16px !important;
    font-size: 13px !important;
  }
  
  .credential-card,
  .feature-card {
    padding: 12px !important;
  }
  
  .demo-section,
  .screenshots-section,
  .features-section {
    padding: 30px 0 !important;
  }
}
