/* ============================================================
   PCMLs Index Page — New Sections
   index-sections.css
   Design system: Inter font, #0d2b2b dark, #009e60 green,
   #00c070 accent, #f2ede0 cream bg, #e0dbd0 border
   ============================================================ */

/* ── SHARED UTILITIES ──────────────────────────────────────── */
.idx-section {
  padding: 5rem 1.5rem;
  border-top: 1px solid #e0dbd0;
}
.idx-section.bg-cream {
  background: #f2ede0;
}
.idx-section.bg-dark {
  background: #0d2b2b;
}
.idx-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.idx-hd {
  text-align: center;
  margin-bottom: 3rem;
}
.idx-hd .sec-eye {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #009e60;
  margin-bottom: 0.55rem;
}
.idx-title {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  color: #0d2b2b;
  line-height: 1.2;
  margin: 0 0 0.55rem;
}
.idx-hd.on-dark .idx-title {
  color: #fff;
}
.idx-sub {
  font-size: 0.96rem;
  color: #5a5a5a;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}
.g-rule {
  width: 44px;
  height: 3px;
  background: #009e60;
  margin: 0.75rem auto 1.2rem;
  border-radius: 2px;
}

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.30s; }
.reveal-d4 { transition-delay: 0.42s; }

/* ============================================================
   SECTION 1 — INVESTMENT PLANS ACCORDION
   ============================================================ */
.accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.acc-item {
  background: #fff;
  border: 1.5px solid #e0dbd0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.acc-item:hover {
  border-color: #009e60;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}
.acc-item.is-open {
  border-color: #009e60;
  box-shadow: 0 6px 28px rgba(0, 158, 96, 0.11);
}

/* Trigger row */
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: background 0.2s;
}
.acc-trigger:hover {
  background: #f7f4ee;
}
.acc-trigger-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  min-width: 0;
}
.acc-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f4ee;
  border-radius: 7px;
  border: 1px solid #e8e2d8;
}
.acc-trigger-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.acc-tier {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}
.acc-tier.t-sv { color: #707070; }
.acc-tier.t-gd { color: #b8860b; }
.acc-tier.t-dm { color: #1a5fa8; }
.acc-tier.t-ap { color: #009e60; }

.acc-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0d2b2b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-trigger-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}
.acc-rate-blk {
  text-align: right;
}
.acc-rate-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: #009e60;
  line-height: 1;
}
.acc-rate-lbl {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5a5a5a;
  margin-top: 2px;
}

/* Chevron */
.acc-chevron {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f2ede0;
  border: 1.5px solid #e0dbd0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background 0.25s, border-color 0.25s;
}
.acc-chevron::before,
.acc-chevron::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 1.5px;
  background: #5a5a5a;
  transition: transform 0.3s ease, background 0.25s;
}
.acc-chevron::before { transform: translateX(-2.5px) rotate(-45deg); }
.acc-chevron::after  { transform: translateX(2.5px)  rotate(45deg); }

.acc-item.is-open .acc-chevron {
  background: #009e60;
  border-color: #009e60;
}
.acc-item.is-open .acc-chevron::before,
.acc-item.is-open .acc-chevron::after {
  background: #fff;
}
.acc-item.is-open .acc-chevron::before { transform: translateX(-2.5px) rotate(45deg); }
.acc-item.is-open .acc-chevron::after  { transform: translateX(2.5px)  rotate(-45deg); }

/* Body */
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.acc-body-inner {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid #e8e2d8;
}
.acc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.acc-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.acc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.adi-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}
.adi-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0d2b2b;
}
.adi-val.adi-green {
  color: #009e60;
  font-size: 1.15rem;
}
.acc-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.acc-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #3a3a3a;
  line-height: 1.55;
}
.acc-feats li::before {
  content: '✓';
  color: #009e60;
  font-weight: 700;
  font-size: 0.72rem;
  margin-top: 0.12rem;
  flex-shrink: 0;
}
.acc-cta {
  display: inline-block;
  padding: 0.65rem 1.8rem;
  border-radius: 25px;
  background: #009e60;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #009e60;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.acc-cta:hover {
  background: #007a48;
  border-color: #007a48;
  transform: translateY(-1px);
}
.acc-cta.acc-cta-gd  { background: #8b1a4a; border-color: #8b1a4a; }
.acc-cta.acc-cta-gd:hover  { background: #6e1239; border-color: #6e1239; }
.acc-cta.acc-cta-dm  { background: #1a5fa8; border-color: #1a5fa8; }
.acc-cta.acc-cta-dm:hover  { background: #144a84; border-color: #144a84; }

/* ============================================================
   SECTION 2 — PORTFOLIO ALLOCATION
   ============================================================ */
.alloc-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}
.alloc-chart-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut-container {
  position: relative;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: conic-gradient(
    #009e60 0% 25%,
    #0d2b2b 25% 45%,
    #00c070 45% 60%,
    #8b1a4a 60% 85%,
    #b8860b 85% 100%
  );
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.14);
  transform: scale(0) rotate(-90deg);
  transition: transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.donut-container.animated {
  transform: scale(1) rotate(0deg);
}
.donut-hole {
  position: absolute;
  inset: 22%;
  background: #f2ede0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
}
.donut-label-main {
  font-size: 1rem;
  font-weight: 700;
  color: #0d2b2b;
  line-height: 1;
  font-family: Georgia, serif;
}
.donut-label-sub {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5a5a5a;
  margin-top: 3px;
}
.alloc-legend {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.alloc-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid #e0dbd0;
  border-radius: 7px;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: default;
}
.alloc-item:hover {
  border-color: #009e60;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}
.alloc-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.alloc-info {
  flex: 1;
  min-width: 0;
}
.alloc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.alloc-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0d2b2b;
}
.alloc-pct {
  font-size: 0.82rem;
  font-weight: 700;
  color: #009e60;
}
.alloc-bar-outer {
  height: 3px;
  background: #e8e2d8;
  border-radius: 2px;
  overflow: hidden;
}
.alloc-bar-inner {
  height: 100%;
  border-radius: 2px;
  width: 0;
  transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

/* ============================================================
   SECTION 3 — TRUST INDICATORS
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.trust-card {
  background: #fff;
  border: 1.5px solid #e0dbd0;
  border-radius: 9px;
  padding: 1.75rem 1.3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.trust-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #009e60;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.trust-card:hover {
  border-color: #009e60;
  box-shadow: 0 8px 28px rgba(0, 158, 96, 0.1);
  transform: translateY(-5px);
}
.trust-card:hover::after {
  transform: scaleX(1);
}
.trust-ico {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e8f7f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.1rem;
  transition: background 0.25s, transform 0.25s;
}
.trust-card:hover .trust-ico {
  background: #009e60;
  transform: scale(1.08) rotate(5deg);
}
.trust-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0d2b2b;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.trust-card-desc {
  font-size: 0.78rem;
  color: #5a5a5a;
  line-height: 1.65;
}
.trust-badge {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #009e60;
  background: #e8f7f0;
  border: 1px solid #b8e8cc;
  border-radius: 3px;
  padding: 0.18rem 0.55rem;
}

/* ============================================================
   SECTION 4 — INVESTOR TESTIMONIALS CAROUSEL
   ============================================================ */
.testimonial-outer {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  border-radius: 4px;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 0.5rem;
}
.testimonial-card {
  background: #fff;
  border: 1.5px solid #e0dbd0;
  border-radius: 10px;
  padding: 2rem 2rem 1.65rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.testi-quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: #009e60;
  opacity: 0.12;
  position: absolute;
  top: 0.2rem;
  left: 1.4rem;
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}
.testi-stars {
  color: #b8860b;
  font-size: 0.78rem;
  letter-spacing: 3px;
  margin-bottom: 0.85rem;
}
.testi-text {
  font-size: 0.95rem;
  color: #3a3a3a;
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid #e8e2d8;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0d2b2b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #00c070;
  flex-shrink: 0;
  font-family: Georgia, serif;
  letter-spacing: 0.5px;
}
.testi-info {}
.testi-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0d2b2b;
  line-height: 1.2;
}
.testi-role {
  font-size: 0.72rem;
  color: #5a5a5a;
  margin-top: 2px;
}
/* Controls */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.65rem;
}
.testi-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #e0dbd0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d2b2b;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  line-height: 1;
}
.testi-btn:hover {
  background: #009e60;
  border-color: #009e60;
  color: #fff;
}
.testi-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e0dbd0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  border: none;
  padding: 0;
}
.testi-dot.active {
  background: #009e60;
  transform: scale(1.4);
}

/* ============================================================
   SECTION 5 — RISK DISCLOSURE
   ============================================================ */
.risk-section-inner {
  max-width: 820px;
  margin: 0 auto;
}
.risk-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  justify-content: center;
}
.risk-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1.5px solid #fcd34d;
}
.risk-header-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #5a5a5a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.risk-panel {
  background: #fff;
  border: 1px solid #e0dbd0;
  border-left: 4px solid #b8860b;
  border-radius: 8px;
  overflow: hidden;
}
.risk-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
  text-align: left;
  transition: background 0.2s;
}
.risk-trigger:hover {
  background: #fdfaf5;
}
.risk-trigger-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.risk-trigger-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0d2b2b;
}
.risk-trigger-sub {
  font-size: 0.72rem;
  color: #5a5a5a;
}
.risk-chevron {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s;
}
.risk-chevron::before,
.risk-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 7px;
  height: 1.5px;
  background: #5a5a5a;
  transition: transform 0.3s;
}
.risk-chevron::before { left: 4px;  transform: rotate(-45deg) translateY(-50%); }
.risk-chevron::after  { right: 4px; transform: rotate(45deg) translateY(-50%); }

.risk-panel.is-open .risk-chevron::before { transform: rotate(45deg) translateY(-50%); }
.risk-panel.is-open .risk-chevron::after  { transform: rotate(-45deg) translateY(-50%); }

.risk-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.risk-body-inner {
  padding: 0 1.3rem 1.3rem;
  border-top: 1px solid #f0ebe0;
}
.risk-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1rem;
}
.risk-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.75rem;
  background: #fdfaf5;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
}
.risk-item-ico {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.risk-item-t {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0d2b2b;
  margin-bottom: 2px;
}
.risk-item-d {
  font-size: 0.73rem;
  color: #5a5a5a;
  line-height: 1.55;
}
.risk-footer-note {
  margin-top: 1rem;
  font-size: 0.71rem;
  color: #888;
  line-height: 1.65;
  text-align: center;
  border-top: 1px solid #f0ebe0;
  padding-top: 0.9rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .alloc-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .alloc-chart-wrap {
    order: -1;
  }
}
@media (max-width: 768px) {
  .idx-section {
    padding: 3.5rem 1rem;
  }
  .acc-trigger {
    padding: 0.9rem 1rem;
  }
  .acc-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .acc-body-inner {
    padding: 1rem 1rem 1.25rem;
  }
  .acc-rate-num {
    font-size: 1.1rem;
  }
  .risk-items {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .testi-text {
    font-size: 0.88rem;
  }
}
@media (max-width: 580px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .acc-trigger-right {
    gap: 0.5rem;
  }
  .acc-name {
    font-size: 0.9rem;
  }
  .donut-container {
    width: 200px;
    height: 200px;
  }
  .alloc-name {
    font-size: 0.8rem;
  }
}
@media (max-width: 400px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .acc-emoji {
    display: none;
  }
  .testimonial-card {
    padding: 1.25rem 1rem 1rem;
  }
}
