/* -------------------------
   Hero Section
-------------------------- */
.hero-panel {
  padding: 7rem 1rem 5rem;
}

.hero-section {
  text-align: center;
  background: linear-gradient(180deg, var(--ef-blue) 0%, var(--ef-blue-dark) 100%);
  color: white;
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
}

.hero-text {
  color: var(--ef-yellow);
}

.hero-btn {
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.9rem 2.2rem;
  background-color: var(--ef-yellow);
  border: none;
  color: #1e1e1e;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-btn:hover {
  background-color: #fcd34d;
  transform: translateY(-2px);
}

/* -------------------------
   Features Section
-------------------------- */
.features-section {
  background-color: var(--ef-bg-light);
  color: var(--ef-text-dark);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.feature-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 2.75rem;
  color: var(--ef-blue);
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lead {
  font-weight: 400;
  color: var(--ef-text-muted);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 0rem 1rem 3rem;
  }

  .feature-card {
    padding: 1.75rem 1.25rem;
  }

  table.table th,
  table.table td {
    font-size: 0.95rem;
  }
}

/* -------------------------
   Simplicity Section (Comparison Table)
-------------------------- */
.simplicity-section {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.simplicity-section h4 {
  color: var(--ef-blue);
}

.simplicity-table {
  background: #ffffff;
  overflow: hidden;
  font-size: 1.05rem;
}

.simplicity-table thead {
  background: #f3f7fb;
  color: #0a2540;
  font-weight: 600;
}

.simplicity-table th,
.simplicity-table td {
  padding: 1rem;
  vertical-align: middle;
}

.simplicity-table td:first-child {
  background: #f9fbfe;
  font-weight: 500;
  color: #0a2540;
}

.simplicity-table td.yes {
  background: #fffbea;
  color: #3b3b00;
  font-weight: 500;
}

.simplicity-table td.no {
  background: #fff5f5;
  color: #802020;
}

.simplicity-table td.warn {
  background: #fffaf0;
  color: #7a4d00;
}

.simplicity-table tr td:first-child {
  border-left: 4px solid #007bff22;
}

.simplicity-table tbody tr:hover {
  background: #f8fafc;
  transition: background 0.15s ease;
}

/* -------------------------
   Trust Section
-------------------------- */
.trust-section {
  background-color: var(--ef-blue);
  color: white;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.trust-section h4 {
  color: white;
}

.trust-section p {
  color: #e5e7eb;
}

/* -------------------------
   Modal
-------------------------- */
.modal-content {
  border-radius: 0.75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.modal-header {
  background-color: var(--ef-blue);
  color: white;
  border-bottom: none;
}

.modal-title {
  font-weight: 600;
}

.modal-footer {
  border-top: none;
}

.modal-footer .btn-primary {
  background-color: var(--ef-blue);
  border: none;
  border-radius: 0.5rem;
}

.modal-footer .btn-primary:hover {
  background-color: var(--ef-blue-dark);
}


/* ------------------------------------
   Invoice Generator Page
------------------------------------ */

.invoice-container {
  background-color: var(--ef-bg-light);
}

.invoice-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  max-width: 850px;
  margin: 0 auto;
}

.section-block {
  margin-top: 2.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
}

.section-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ef-blue);
  margin-bottom: 1rem;
}

.invoice-table thead {
  background-color: #f3f4f6;
  font-weight: 600;
  color: #0a2540;
}

.invoice-table th,
.invoice-table td {
  border-color: #e5e7eb !important;
  vertical-align: top;
}

.invoice-table tbody tr:hover {
  background-color: #f9fafb;
}

#add_line {
  font-weight: 600;
  border-radius: 0.5rem;
}

.generate-btn {
  font-weight: 700;
  border-radius: 0.75rem;
  background-color: var(--ef-yellow);
  border: none;
  color: #1e1e1e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.generate-btn:hover {
  background-color: #fcd34d;
  transform: translateY(-2px);
}

textarea.form-control,
input.form-control {
  border-radius: 0.5rem;
  border-color: #d1d5db;
  font-size: 1rem;
}

textarea.form-control:focus,
input.form-control:focus,
select.form-control:focus {
  border-color: var(--ef-blue);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
}

@media (max-width: 768px) {
  .invoice-card {
    padding: 1.5rem;
  }

  .generate-btn {
    width: 100%;
    font-size: 1.1rem;
  }

  .invoice-table th,
  .invoice-table td {
    font-size: 0.95rem;
  }
}

.table th {
  background-color: #f3f4f6;
  color: var(--ef-text-dark);
  font-weight: 600;
}

.table td {
  vertical-align: middle;
  padding: 0.9rem;
}

.table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.table tbody tr:hover {
  background-color: #f3f4f6;
}

.btn-close {
  filter: brightness(0) invert(1);
}