/*
 * TLD Pricing Table Design
 * Modern Table Layout for Domain Pricing
 * Brand Colors: #140c3a (Primary Purple), #f9bd06 (Accent Yellow)
 */

:root {
  --tld-primary: #140c3a;
  --tld-accent: #f9bd06;
  --tld-white: #ffffff;
  --tld-gray-light: #f8f9fa;
  --tld-gray: #6c757d;
  --tld-gradient-purple: linear-gradient(135deg, #140c3a 0%, #1f1254 100%);
  --tld-gradient-yellow: linear-gradient(135deg, #f9bd06 0%, #ffc107 100%);
}

/* TLD Table Container */
.tld-pricing-table {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
}

/* Table Header */
.tld-table-header {
  background: #1a0f3d;
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}

.tld-header-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

.tld-header-col {
  text-align: center;
  color: #ffffff;
}

.tld-header-icon {
  width: 60px;
  height: 60px;
  background: rgba(249, 189, 6, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: all 0.3s ease;
}

.tld-header-icon i {
  font-size: 28px;
  color: var(--tld-accent);
}

.tld-header-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.3px;
}

/* Table Body */
.tld-table-body {
  padding: 0;
  background: #ffffff;
}

.tld-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 30px;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e9ecef;
  position: relative;
  background: #ffffff;
}

.tld-table-row:hover {
  background: #f8f9fa;
  transform: translateX(3px);
}

.tld-table-row:last-child {
  border-bottom: none;
}

/* TLD Name Column */
.tld-name-col {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-direction: column;
}

.tld-extension {
  font-size: 24px;
  font-weight: 800;
  color: #212529;
  position: relative;
  margin-bottom: 4px;
}

.tld-description {
  font-size: 13px;
  color: #6c757d;
  margin: 0;
  font-weight: 400;
}

/* Price Columns */
.tld-price-col {
  text-align: center;
}

.tld-price {
  font-size: 22px;
  font-weight: 800;
  color: #140c3a;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.3s ease;
}

.tld-price .currency {
  font-size: 16px;
  font-weight: 700;
}

.tld-price .amount {
  font-size: 22px;
}

.tld-period {
  font-size: 12px;
  color: #6c757d;
  margin-top: 2px;
}

/* Popular Badge */
.tld-popular-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ffc107;
  color: #000000;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Action Button */
.tld-action-btn {
  background: #140c3a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.tld-table-row:hover .tld-action-btn {
  display: inline-flex;
}

.tld-action-btn:hover {
  background: #f9bd06;
  color: #140c3a;
}

.tld-action-btn i {
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 991px) {
  .tld-header-row,
  .tld-table-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tld-name-col {
    align-items: center;
    text-align: center;
  }

  .tld-table-row {
    padding: 25px 20px;
  }

  .tld-table-row:hover {
    transform: none;
  }

  .tld-price-col {
    padding: 8px 0;
  }

  .tld-action-btn {
    display: inline-flex;
    margin: 10px auto 0;
  }
}

@media (max-width: 767px) {
  .tld-table-header {
    padding: 30px 0;
  }

  .tld-header-icon {
    width: 60px;
    height: 60px;
  }

  .tld-header-icon i {
    font-size: 28px;
  }

  .tld-header-title {
    font-size: 16px;
  }

  .tld-extension {
    font-size: 24px;
  }

  .tld-price .amount {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  .tld-header-row,
  .tld-table-row {
    padding-left: 15px;
    padding-right: 15px;
  }

  .tld-header-title {
    font-size: 14px;
  }

  .tld-extension {
    font-size: 22px;
  }

  .tld-price .amount {
    font-size: 22px;
  }
}

