/* Legalpha - Custom Styles */

/* Hero Section */
.hero-fullscreen {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* Buttons */
.btn.btn-primary {
  background: #4f46e5;
  border-color: #4f46e5;
  color: white;
  font-weight: 600;
}

.btn.btn-primary:hover {
  background: #4338ca;
  border-color: #4338ca;
}

.btn.btn-secondary {
  background: transparent;
  border: 2px solid #4f46e5;
  color: #4f46e5;
  font-weight: 600;
}

.btn.btn-secondary:hover {
  background: #4f46e5;
  color: white;
}

.btn.large {
  padding: 12px 30px;
  font-size: 1.1rem;
  margin: 10px;
}

.btn.centered {
  display: block;
  margin: 30px auto;
  text-align: center;
  max-width: 300px;
}

/* Cards and Sections */
.feature-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 30px;
  margin: 20px 0;
  border-left: 4px solid #4f46e5;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
}

table th,
table td {
  border: 1px solid #e2e8f0;
  padding: 12px 15px;
  text-align: left;
}

table th {
  background: #4f46e5;
  color: white;
  font-weight: 600;
}

table tr:nth-child(even) {
  background: #f8fafc;
}

/* Code blocks */
pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
}

code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Alerts */
.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid;
}

.alert-info {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e40af;
}

.alert-success {
  background: #f0fdf4;
  border-color: #10b981;
  color: #065f46;
}

.alert-warning {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}

/* Navigation enhancements */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}

.navbar a:hover {
  color: #4f46e5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #1e293b;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h2 {
  color: #4f46e5;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4f46e5;
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .btn.large {
    padding: 10px 20px;
    font-size: 1rem;
    display: block;
    margin: 10px 0;
  }
  
  table {
    font-size: 14px;
  }
  
  .hero-fullscreen {
    min-height: 50vh;
    text-align: center;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.p-4 {
  padding: 2rem;
}
