/* ═══════════════════════════════════════════
   VITANTRA — features.css
═══════════════════════════════════════════ */

/* ── FEATURE ROWS ── */
.features-body {
  background: var(--bg);
}

.feature-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.feature-section:last-child { border-bottom: none; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.feature-grid.flip .f-visual { order: -1; }

/* Text side */
.f-text {}
.f-index {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.f-index::after {
  content: '';
  flex: 1;
  max-width: 100%;
  height: 1.5px;
  background: var(--gold);
}
.f-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: var(--tx);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.f-title strong {
  font-style: normal;
  font-weight: 600;
  color: var(--forest);
}
.f-body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.82;
  color: var(--tx-sub);
  margin-bottom: 32px;
  max-width: 100%;
}
.f-bullets { display:flex; flex-direction:column; gap:12px; margin-bottom:36px; }
.f-bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--tx-mid);
  line-height: 1.6;
}
.f-bullet-mark {
  width: 22px; height: 22px;
  border: 1px solid var(--border-md);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--forest-mid);
  font-size: 10px;
  font-weight: 700;
}
.f-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.03em;
  transition: gap 180ms ease;
}
.f-link::after {
  content: '→';
  transition: transform 180ms ease;
}
.f-link:hover { gap: 13px; }

/* Visual side — dark cards */
.f-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-card {
  width: 100%;
  max-width: 100%;
  background: var(--bg-dark-deep);
  border: 1px solid var(--border-dark-md);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}

.fc-head {
  background: var(--forest);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
}
.fc-head-title { font-size: 14px; font-weight: 600; color: var(--ivory); }
.fc-head-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(125,181,160,0.15);
  color: var(--sage-light);
  border: 1px solid rgba(125,181,160,0.25);
  padding: 4px 12px;
  border-radius: var(--r-full);
}
.fc-body { padding: 22px 28px; display:flex; flex-direction:column; gap:10px; }

.plan-row {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-left: 2.5px solid transparent;
}
.plan-row.r-sage { border-left-color: var(--sage); }
.plan-row.r-blue  { border-left-color: #4A90C4; }
.plan-row.r-gold  { border-left-color: var(--gold); }
.pr-icon { font-size: 22px; flex-shrink:0; }
.pr-name { font-size: 13px; font-weight: 600; color: var(--ivory); margin-bottom: 3px; }
.pr-detail { font-size: 11px; color: var(--tx-inv-faint); line-height: 1.5; }

/* Voice card */
.voice-card {
  width: 100%;
  max-width: 100%;
  background: var(--bg-dark-deep);
  border: 1px solid var(--border-dark-md);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
.vc-head {
  background: var(--forest);
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-dark);
}
.vc-head-title { font-size: 14px; font-weight: 600; color: var(--ivory); margin-bottom: 3px; }
.vc-head-sub { font-size: 12px; color: var(--tx-inv-sub); }
.vc-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.vc-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--forest-mid));
  position: relative;
  box-shadow: 0 0 0 12px rgba(125,181,160,0.08), 0 0 0 24px rgba(125,181,160,0.04);
  animation: avatarPulse 3.5s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
@keyframes avatarPulse {
  0%,100%{ box-shadow: 0 0 0 12px rgba(125,181,160,0.08), 0 0 0 24px rgba(125,181,160,0.04); }
  50%{ box-shadow: 0 0 0 18px rgba(125,181,160,0.12), 0 0 0 34px rgba(125,181,160,0.05); }
}
.vc-wave { display:flex; align-items:center; gap:4px; height: 44px; }
.wbar {
  width: 4px; border-radius: 2px;
  background: var(--sage);
  animation: waveAnim 1.4s ease-in-out infinite;
}
.wbar:nth-child(1){ height:20%; animation-delay:0s; }
.wbar:nth-child(2){ height:55%; animation-delay:0.1s; }
.wbar:nth-child(3){ height:90%; animation-delay:0.2s; }
.wbar:nth-child(4){ height:70%; animation-delay:0.3s; }
.wbar:nth-child(5){ height:45%; animation-delay:0.4s; }
.wbar:nth-child(6){ height:80%; animation-delay:0.5s; }
.wbar:nth-child(7){ height:55%; animation-delay:0.6s; }
.wbar:nth-child(8){ height:30%; animation-delay:0.7s; }
@keyframes waveAnim {
  0%,100%{ transform:scaleY(0.3); opacity:0.5; }
  50%{ transform:scaleY(1); opacity:1; }
}
.vc-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: 16px 18px;
  width: 100%;
}
.vc-bubble-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 8px;
}
.vc-bubble-text {
  font-size: 14px;
  font-style: italic;
  color: var(--tx-inv-sub);
  line-height: 1.65;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 300;
}

/* Gamification card */
.gamif-card {
  width: 100%; max-width: 100%;
  background: var(--bg-dark-deep);
  border: 1px solid var(--border-dark-md);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
.gc-head {
  background: var(--forest);
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-dark);
}
.gc-head-title { font-size: 14px; font-weight: 600; color: var(--ivory); }
.gc-level {
  background: var(--gold);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: var(--r-full);
}
.gc-body { padding: 22px 28px; display:flex; flex-direction:column; gap:16px; }
.gc-metrics { display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; }
.gcm {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: 14px 12px;
  text-align: center;
}
.gcm-val { font-family:'Cormorant Garamond',serif; font-size:26px; font-weight:600; display:block; line-height:1; margin-bottom:5px; }
.gcm-lbl { font-size:9px; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--tx-inv-faint); }
.gcm.v-gold .gcm-val { color: var(--gold-light); }
.gcm.v-sage .gcm-val { color: var(--sage-light); }
.gc-badges { display:flex; gap:8px; flex-wrap:wrap; }
.gc-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,146,74,0.1);
  border: 1px solid rgba(184,146,74,0.22);
  border-radius: var(--r-sm);
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
}
.gc-progress {}
.gc-progress-labels { display:flex; justify-content:space-between; font-size:12px; color:var(--tx-inv-sub); margin-bottom:8px; }
.gc-progress-bar { height:5px; background:rgba(255,255,255,0.07); border-radius:3px; overflow:hidden; }
.gc-progress-fill { height:100%; border-radius:3px; background: linear-gradient(90deg, var(--forest-mid), var(--sage)); }

/* ── MINI GRID SECTION ── */
.mini-features {
  background: var(--ivory-deep);
  padding: 120px 0;
  border-top: 1px solid var(--border);
}
.mf-header { margin-bottom: 72px; }
.mf-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}
.mf-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: var(--tx);
  line-height: 1.1;
}
.mf-title strong { font-style: normal; font-weight: 600; color: var(--forest); }
.mf-sub {
  max-width: 100%;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--tx-sub);
}

.mf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.mf-cell {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 200ms ease;
  position: relative;
  overflow: hidden;
}
.mf-cell::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--forest), var(--sage));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}
.mf-cell:hover { background: var(--forest-pale); }
.mf-cell:hover::after { transform: scaleX(1); }
.mf-cell-num {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.mf-cell-icon { font-size: 28px; margin-bottom: 16px; }
.mf-cell-title { font-size: 18px; font-weight: 600; color: var(--tx); margin-bottom: 10px; letter-spacing: -0.01em; }
.mf-cell-body { font-size: 14px; font-weight: 300; line-height: 1.72; color: var(--tx-sub); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: 1fr; gap: 56px; }
  .feature-grid.flip .f-visual { order: 0; }
  .mf-grid { grid-template-columns: 1fr 1fr; }
  .mf-header-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 640px) {
  .mf-grid { grid-template-columns: 1fr; }
  .f-card, .voice-card, .gamif-card { max-width: 100%; }
}
