/* ========================================
   SITE B CSS
   Includes shared styles + Site B specific styles
   ======================================== */

/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #004499;
  text-decoration: underline;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header h1 {
  color: white;
}

.header a {
  color: rgba(255, 255, 255, 0.9);
}

.header a:hover {
  color: white;
}

/* Navigation */
.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

/* Main Content */
.main {
  padding: 3rem 0;
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #1a1a2e;
}

.card-content {
  color: #666;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: #e0e0e0;
  color: #333;
}

.btn-secondary:hover {
  background: #d0d0d0;
  text-decoration: none;
}

/* Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: #1a1a2e;
  color: #a0a0a0;
  padding: 2rem 0;
  margin-top: auto;
}

.footer a {
  color: #a0a0a0;
}

.footer a:hover {
  color: white;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ========================================
   SITE B SPECIFIC STYLES
   ======================================== */

/* Site B Hero Section - Different color scheme */
.hero-b {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-b h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-b p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Site B Feature Cards */
.feature-card-b {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.feature-card-b:hover {
  border-color: #11998e;
}

.feature-icon-b {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

/* Site B Pricing Section */
.pricing-section-b {
  background: #f8f9fa;
  padding: 4rem 0;
}

.pricing-card-b {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.pricing-card-b.featured {
  border-color: #11998e;
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(17, 153, 142, 0.2);
}

.pricing-price-b {
  font-size: 3rem;
  font-weight: 700;
  color: #11998e;
  margin: 1rem 0;
}

.pricing-price-b span {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
}

.pricing-features-b {
  list-style: none;
  margin: 1.5rem 0;
}

.pricing-features-b li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.pricing-features-b li:last-child {
  border-bottom: none;
}

/* Site B Dashboard Widgets */
.widget-b {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.widget-header-b {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.widget-title-b {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.widget-value-b {
  font-size: 2rem;
  font-weight: 700;
  color: #11998e;
}

.widget-change-b {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.widget-change-b.positive {
  background: rgba(56, 239, 125, 0.1);
  color: #11998e;
}

.widget-change-b.negative {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Site B Table Styles */
.table-b {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.table-b th,
.table-b td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.table-b th {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
  font-weight: 600;
}

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

.table-b tr:hover td {
  background: #f8f9fa;
}

/* Site B Badge */
.badge-b {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Site B Progress Bar */
.progress-b {
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-b {
  height: 100%;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Site B Alert */
.alert-b {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.alert-b.success {
  background: rgba(56, 239, 125, 0.1);
  border: 1px solid #38ef7d;
  color: #11998e;
}

.alert-b.warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid #f59e0b;
  color: #d97706;
}

.alert-b.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #dc2626;
}

/* Site B Tabs */
.tabs-b {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 1.5rem;
}

.tab-b {
  padding: 0.75rem 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  color: #666;
  position: relative;
  transition: color 0.2s ease;
}

.tab-b:hover {
  color: #11998e;
}

.tab-b.active {
  color: #11998e;
  font-weight: 600;
}

.tab-b.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

/* Site B Chart Container */
.chart-container-b {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chart-placeholder-b {
  height: 200px;
  background: linear-gradient(135deg, rgba(17, 153, 142, 0.1) 0%, rgba(56, 239, 125, 0.1) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #11998e;
  font-weight: 500;
}

/* Site B CTA Section */
.cta-section-b {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-section-b .btn {
  background: white;
  color: #11998e;
  font-weight: 600;
}

.cta-section-b .btn:hover {
  background: #f0f0f0;
}

