/* ================================================
   Step Up — features.css
   Features page styles
   Rules: px only · no rem · no :root variables
   ================================================ */

/* ------------------------------------------------
   PAGE HERO
   ------------------------------------------------ */
.page-hero {
  padding: 80px 48px 56px;
  max-width: 760px;
}

.page-hero-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 20px;
  padding: 5px 14px;
  background: rgba(201, 168, 76, 0.07);
}

.page-hero-title {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.page-hero-title em {
  font-style: normal;
  color: #c9a84c;
}

.page-hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 32px;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.03);
}

.meta-pill i {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ------------------------------------------------
   CORE FEATURES — 4 big cards
   ------------------------------------------------ */
.core-section {
  padding: 64px 48px;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
}

.core-card {
  background: #111111;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.18s ease;
  position: relative;
}

.core-card:hover {
  background: #161616;
}

/* Card header — icon + index number */
.core-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.core-index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.1);
}

/* Core feature icon */
.core-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 22px;
  border: 1px solid;
  transition: box-shadow 0.25s ease;
}

.core-card:hover .core-icon {
  box-shadow: 0 0 20px currentColor;
  opacity: 0.9;
}

/* Icon colour variants */
.core-icon--gold {
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.25);
}

.core-icon--blue {
  color: #85acf5;
  background: rgba(133, 172, 245, 0.08);
  border-color: rgba(133, 172, 245, 0.2);
}

.core-icon--purple {
  color: #bc99f5;
  background: rgba(188, 153, 245, 0.08);
  border-color: rgba(188, 153, 245, 0.2);
}

.core-icon--teal {
  color: #7ed8bb;
  background: rgba(126, 216, 187, 0.08);
  border-color: rgba(126, 216, 187, 0.2);
}

.core-title {
  font-size: 19px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.3;
}

.core-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

.core-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
}

.core-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
}

.core-list li i {
  font-size: 14px;
  color: #c9a84c;
  flex-shrink: 0;
}

/* ------------------------------------------------
   DELIVERY SECTION
   ------------------------------------------------ */
.delivery-section {
  padding: 64px 48px;
}

.delivery-heading {
  font-size: 26px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 44px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
}

.delivery-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #111111;
  padding: 28px 26px;
  transition: background 0.18s ease;
}

.delivery-item:hover {
  background: #161616;
}

.delivery-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 6px;
  font-size: 18px;
  color: #c9a84c;
  flex-shrink: 0;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.delivery-item:hover .delivery-icon {
  background: rgba(201, 168, 76, 0.14);
  box-shadow: 0 0 14px rgba(201, 168, 76, 0.2);
}

.delivery-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.delivery-title {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.3;
}

.delivery-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.65;
}

/* ------------------------------------------------
   PER-CATEGORY BREAKDOWN
   ------------------------------------------------ */
.breakdown-section {
  padding: 64px 48px;
}

.breakdown-heading {
  font-size: 26px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 40px;
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
}

/* Each row */
.breakdown-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.18s ease;
}

.breakdown-row:hover .breakdown-row-label,
.breakdown-row:hover .breakdown-features {
  background: #161616;
}

/* Left label column */
.breakdown-row-label {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #111111;
  padding: 28px 28px;
  justify-content: flex-start;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.18s ease;
}

.breakdown-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 20px;
  border: 1px solid;
  flex-shrink: 0;
}

/* Icon colour variants */
.breakdown-icon--rose {
  color: #e8a0a0;
  background: rgba(232, 160, 160, 0.08);
  border-color: rgba(232, 160, 160, 0.2);
}

.breakdown-icon--gold {
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.25);
}

.breakdown-icon--purple {
  color: #bc99f5;
  background: rgba(188, 153, 245, 0.08);
  border-color: rgba(188, 153, 245, 0.2);
}

.breakdown-icon--orange {
  color: #f5aa7a;
  background: rgba(245, 170, 122, 0.08);
  border-color: rgba(245, 170, 122, 0.2);
}

.breakdown-name {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.4;
}

/* Right features list */
.breakdown-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: #111111;
  padding: 20px 28px;
  align-content: center;
  transition: background 0.18s ease;
}

.breakdown-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  padding: 7px 8px 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.breakdown-features li:nth-last-child(-n+2) {
  border-bottom: none;
}

.breakdown-features li i {
  font-size: 13px;
  color: #c9a84c;
  flex-shrink: 0;
}

/* ------------------------------------------------
   HOW IT'S BUILT
   ------------------------------------------------ */
.built-section {
  padding: 64px 48px;
}

.built-heading {
  font-size: 26px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 44px;
}

.built-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
}

.built-item {
  background: #111111;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.18s ease;
}

.built-item:hover {
  background: #161616;
}

.built-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.built-item:hover .built-item-icon {
  color: #c9a84c;
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.07);
}

.built-item-title {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.35;
}

.built-item-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
}

/* ------------------------------------------------
   CTA BANNER
   ------------------------------------------------ */
.cta-banner {
  margin: 0 48px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
  background: #111111;
}

.cta-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 52px 56px;
  gap: 48px;
}

.cta-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cta-heading {
  font-size: 26px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.cta-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  max-width: 380px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* ------------------------------------------------
   RESPONSIVE — Tablet <= 1024px
   ------------------------------------------------ */
@media (max-width: 1024px) {
  .delivery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .breakdown-row {
    grid-template-columns: 200px 1fr;
  }
}

/* ------------------------------------------------
   RESPONSIVE — Mobile <= 768px
   ------------------------------------------------ */
@media (max-width: 768px) {
  .page-hero {
    padding: 48px 20px 36px;
  }

  .page-hero-title {
    font-size: 34px;
  }

  .core-section {
    padding: 40px 20px;
  }

  .core-grid {
    grid-template-columns: 1fr;
  }

  .core-card {
    padding: 32px 24px;
  }

  .delivery-section {
    padding: 40px 20px;
  }

  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .breakdown-section {
    padding: 40px 20px;
  }

  .breakdown-row {
    grid-template-columns: 1fr;
  }

  .breakdown-row-label {
    flex-direction: row;
    align-items: center;
    padding: 20px 22px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .breakdown-features {
    grid-template-columns: 1fr;
    padding: 16px 22px;
  }

  .breakdown-features li:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

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

  .built-section {
    padding: 40px 20px;
  }

  .built-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    margin: 0 20px;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 28px;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ------------------------------------------------
   RESPONSIVE — Small <= 480px
   ------------------------------------------------ */
@media (max-width: 480px) {
  .page-hero-title {
    font-size: 28px;
  }

  .page-hero-meta {
    display: none;
  }

  .delivery-heading,
  .breakdown-heading,
  .built-heading,
  .cta-heading {
    font-size: 20px;
  }
}