/* Clockbird Custom Styles */

:root {
  --primary-color: #2563eb;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --secondary-color: #64748b;
  --success-color: #10b981;
  --light-gray: #f8fafc;
  --border-color: #e2e8f0;
}

/* Hero Section */
.hero-section {
  background: var(--primary-gradient);
  min-height: 80vh;
}

.bg-gradient-primary {
  background: var(--primary-gradient) !important;
}

.min-vh-75 {
  min-height: 75vh;
}

/* Registration Form */
.registration-form {
  max-width: 400px;
}

.registration-form .form-control {
  border-radius: 0.5rem 0 0 0.5rem;
  border-right: none;
}

.registration-form .btn {
  border-radius: 0 0.5rem 0.5rem 0;
}

/* App Screenshot */
.app-screenshot {
  position: relative;
}

.app-screenshot::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  z-index: -1;
}

.app-screenshot img {
  max-height: 400px;
  object-fit: contain;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

/* Pricing Card */
.pricing-card {
  border: 2px solid var(--border-color);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.price-display {
  margin: 1rem 0;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.period {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-left: 0.5rem;
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
}

.navbar .btn-outline-primary {
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
}

.navbar .nav-link.active {
  color: var(--primary-color) !important;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 6px;
}

.navbar .btn-outline-secondary {
  border-width: 2px;
}

.navbar .btn-primary {
  border-width: 2px;
}

/* Bootstrap Icons (if not loading from CDN) */
.bi {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentcolor;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }
  
  .hero-section .col-lg-6:first-child {
    margin-bottom: 2rem;
  }
  
  .registration-form {
    margin-top: 2rem;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .app-screenshot img {
    max-height: 300px;
  }
}

/* Table Text Handling */
.table td {
  vertical-align: middle;
}

.table .description-cell {
  max-width: 300px;
  word-wrap: break-word;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.table .description-text {
  display: block;
  max-height: 3em;
  line-height: 1.5em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.description-text[title]:hover {
  cursor: help;
}

/* Ensure table responsiveness */
.table-responsive {
  overflow-x: auto;
}

.table-responsive .table {
  table-layout: auto;
  width: 100%;
  min-width: 800px;
}
