/* ====================================
   Shared Styles for Business Banking Pages
   ==================================== */

/* Hero Section - Consistent with personal pages */
.business-hero {
  background: linear-gradient(135deg, hsl(var(--base) / 0.1) 0%, hsl(var(--base) / 0.05) 100%);
  color: #1a2b3c;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.business-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: hsl(var(--base) / 0.03);
  border-radius: 50%;
  z-index: 0;
}

.business-hero .container {
  position: relative;
  z-index: 1;
  margin-top: 100px; /* Fixes menu overlap */
  padding-top: 80px;
  padding-bottom: 80px;
}

.business-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #1a2b3c;
}

.business-hero .lead {
  font-size: 20px;
  max-width: 600px;
  margin-bottom: 30px;
  color: #4a5568;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-item .number {
  font-size: 32px;
  font-weight: 800;
  display: block;
  line-height: 1.2;
  color: hsl(var(--base));
}

.hero-stat-item .label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
}

/* Card Grids (reusing same classes from personal pages for consistency) */
.card-grid {
  display: grid;
  gap: 25px;
  margin: 50px 0;
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Base Card Styles (reusing from personal pages) */
.base-card {
  background: white;
  border-radius: 24px;
  padding: 30px 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid hsl(var(--base) / 0.1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.base-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border-color: hsl(var(--base));
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 20px;
  background: hsl(var(--base));
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.card-icon {
  width: 70px;
  height: 70px;
  background: hsl(var(--base) / 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.card-icon i {
  font-size: 35px;
  color: hsl(var(--base));
}

.base-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 10px;
}

.base-card .fee,
.base-card .rate {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid hsl(var(--base) / 0.1);
}

.base-card .fee strong,
.base-card .rate strong {
  font-size: 28px;
  color: #1a2b3c;
  margin-right: 5px;
}

/* Feature Lists */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  flex-grow: 1;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #4a5568;
  font-size: 14px;
  border-bottom: 1px dashed hsl(var(--base) / 0.05);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li i {
  color: hsl(var(--base));
  font-size: 14px;
  width: 18px;
}

/* Buttons */
.btn-card {
  background: white;
  color: hsl(var(--base));
  border: 2px solid hsl(var(--base));
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

.btn-card:hover {
  background: hsl(var(--base));
  color: white;
}

.btn-card-primary {
  background: hsl(var(--base));
  color: white;
  border: 2px solid hsl(var(--base));
}

.btn-card-primary:hover {
  background: transparent;
  color: hsl(var(--base));
}

/* Comparison Tables - Updated with base color */
.comparison-wrapper {
  background: white;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
  margin: 60px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.comparison-table th {
  background: hsl(var(--base)); /* Changed to base color */
  color: white;
  padding: 20px;
  font-weight: 600;
  font-size: 16px;
  text-align: left;
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid hsl(var(--base) / 0.1);
  color: #4a5568;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 600;
  background: hsl(var(--base) / 0.02);
  width: 25%;
}

.comparison-table td i.fa-check {
  color: #28a745;
  font-size: 18px;
}

.comparison-table td i.fa-times {
  color: #dc3545;
  font-size: 18px;
}

/* Feature Panels */
.feature-panel {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.feature-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-panel i {
  font-size: 40px;
  color: hsl(var(--base));
  margin-bottom: 20px;
}

.feature-panel h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 15px;
}

.feature-panel p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Accordion Styles */
.accordion-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.accordion-item {
  border-bottom: 1px solid hsl(var(--base) / 0.1);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1a2b3c;
  transition: all 0.3s ease;
  background: white;
}

.accordion-header:hover {
  background: hsl(var(--base) / 0.02);
  color: hsl(var(--base));
}

.accordion-header i {
  transition: transform 0.3s ease;
  color: hsl(var(--base));
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 25px 25px;
  color: #6c757d;
  line-height: 1.7;
  display: none;
}

.accordion-content.show {
  display: block;
}

.accordion-content h4 {
  color: #1a2b3c;
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
}

.accordion-content h4:first-child {
  margin-top: 0;
}

.accordion-content ul,
.accordion-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.accordion-content li {
  margin-bottom: 8px;
}

/* CTA Banner - Updated with base color */
.cta-banner {
  background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base) / 0.8) 100%);
  border-radius: 30px;
  padding: 60px;
  color: white;
  text-align: center;
  margin: 60px 0;
}

/* Special banner for business offers - also using base color */
.cta-banner-special {
  background: hsl(var(--base)); /* Solid base color */
  border-radius: 30px;
  padding: 60px;
  color: white;
  text-align: center;
  margin: 60px 0;
}

.cta-banner h2,
.cta-banner-special h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-banner p,
.cta-banner-special p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn-cta {
  background: white;
  color: hsl(var(--base));
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid white;
  margin: 0 10px;
}

.btn-cta:hover {
  background: transparent;
  color: white;
}

.btn-cta-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-cta-outline:hover {
  background: white;
  color: hsl(var(--base));
}

/* Responsive */
@media (max-width: 1200px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .business-hero .container {
    margin-top: 80px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .business-hero .container {
    margin-top: 60px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .business-hero h1 {
    font-size: 36px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .card-grid-4,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .cta-banner,
  .cta-banner-special {
    padding: 40px 20px;
  }
  
  .cta-banner h2,
  .cta-banner-special h2 {
    font-size: 28px;
  }
  
  .btn-cta {
    display: block;
    margin: 10px 0;
  }
  
  .accordion-header {
    font-size: 16px;
    padding: 18px 20px;
  }
}