@charset "UTF-8";

/* ==========================================================================
   1. Base & Layout Core
   ========================================================================== */
.ec-section {
  padding-block: 60px;
  background-color: #ffffff;
}

.ec-section:nth-child(even) {
  background-color: #f8f9fa;
}

.ec-hero__inner,
.ec-section__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.ec-section__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 12px;
}

.ec-section__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #333333;
}

.ec-section__icon {
  font-size: 24px;
  color: #0056b3;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   2. Hero Section (Centered Layout)
   ========================================================================== */
.ec-hero {
  background: linear-gradient(180deg, #f4f8fc 0%, #ffffff 100%);
  padding-block: 60px;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
}

.ec-hero__inner {
  max-width: 840px;
  margin-inline: auto;
  padding-inline: 20px;
}

.ec-hero__title {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #0056b3;
  display: inline-block;
  position: relative;
}

.ec-hero__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #0056b3;
  margin: 16px auto 0;
  border-radius: 2px;
}

.ec-hero__lead {
  margin-top: 24px;
}

.ec-hero__lead p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.9;
  color: #444444;
}

.ec-hero__lead p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   3. Features Section
   ========================================================================== */
.ec-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.ec-features__item {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ec-features__icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #e6f0fa;
  color: #0056b3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.ec-features__item-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #333333;
}

.ec-features__item-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
}

/* ==========================================================================
   4. Pricing Section
   ========================================================================== */
.ec-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.ec-plan-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ec-plan-card:hover {
  border-color: #0056b3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.ec-plan-card__header {
  background-color: #0056b3;
  color: #ffffff;
  padding: 16px;
  text-align: center;
}

.ec-plan-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.ec-plan-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #eeeeee;
  font-size: 14px;
}

.ec-plan-card__row--initial {
  background-color: #f8f9fa;
  font-weight: 500;
}

.ec-plan-card__specs {
  background-color: #fafafa;
  padding: 16px;
  margin-top: auto;
  border-top: 1px solid #eeeeee;
}

.ec-plan-card__spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666666;
  margin-bottom: 6px;
}

.ec-plan-card__spec-item:last-child {
  margin-bottom: 0;
}

.ec-plan-card__cta {
  padding: 16px;
  background: #ffffff;
}

/* Button Components */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}

.c-btn--blue {
  background-color: #0056b3;
  color: #ffffff;
}

.c-btn--blue:hover {
  background-color: #003d80;
}

.c-btn--arrow::after {
  content: "›";
  margin-left: 8px;
  font-size: 18px;
}

/* ==========================================================================
   5. Specs Section (Table)
   ========================================================================== */
.ec-specs__table-wrap {
  margin-bottom: 32px;
  overflow-x: auto;
}

.ec-specs__table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
}

.ec-specs__table th,
.ec-specs__table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid #eeeeee;
}

.ec-specs__table th {
  width: 20%;
  background-color: #f1f5f9;
  color: #333333;
  font-weight: 700;
  text-align: left;
}

.ec-specs__table td {
  width: 30%;
  color: #555555;
}

/* ==========================================================================
   6. Contact Section
   ========================================================================== */
.ec-contact__card {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.ec-contact__desc {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: #444444;
}

.ec-contact__btn-wrap {
  max-width: 320px;
  margin-inline: auto;
}

/* ==========================================================================
   7. Common Notes List
   ========================================================================== */
.ec-notes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ec-notes__item {
  font-size: 13px;
  line-height: 1.6;
  color: #777777;
  margin-bottom: 4px;
}

.ec-notes__item:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   8. Media Queries (Responsive Design)
   ========================================================================== */
@media (max-width: 1024px) {
  .ec-features__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ec-section {
    padding-block: 40px;
  }

  .ec-section__header {
    margin-bottom: 24px;
  }

  .ec-features__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .ec-specs__table th,
  .ec-specs__table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .ec-specs__table th {
    border-bottom: none;
    background-color: #f8f9fa;
  }

  .ec-contact__card {
    padding: 20px;
  }
}