/* pricing / tariffs styles */

.tariffs { background: var(--bg-soft); position: relative; }

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 1040px) {
  .tariff-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ── Card shell + themes ── */
.tariff-card {
  --tc-grad: linear-gradient(155deg, #00D68F 0%, #00A86B 100%);
  --tc-accent: #009063;
  --tc-soft: #E6FBF2;
  --tc-ring: rgba(0,179,119,0.40);
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
}
.tariff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.tariff-card--growth {
  --tc-grad: linear-gradient(155deg, #6366F1 0%, #8B5CF6 100%);
  --tc-accent: #5B3FE0;
  --tc-soft: #EEF0FF;
  --tc-ring: rgba(91,63,224,0.40);
}
.tariff-card--leader {
  --tc-grad: linear-gradient(155deg, #E11D74 0%, #B5179E 100%);
  --tc-accent: #C2185B;
  --tc-soft: #FCE7F1;
  --tc-ring: rgba(194,24,91,0.40);
}

.tariff-card--popular {
  box-shadow: 0 30px 70px -16px var(--tc-ring);
  border-color: transparent;
}
@media (min-width: 1041px) {
  .tariff-card--popular { transform: scale(1.035); }
  .tariff-card--popular:hover { transform: scale(1.035) translateY(-6px); }
}

/* ── Coloured header ── */
.tariff-head {
  position: relative;
  background: var(--tc-grad);
  color: #fff;
  padding: 28px 26px 30px;
  overflow: hidden;
}
.tariff-deco { position: absolute; inset: 0; pointer-events: none; }
.tariff-cross {
  position: absolute;
  top: -14px; right: -10px;
  width: 132px; height: 132px;
  opacity: 0.20;
}
.tariff-spark { position: absolute; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15)); }
.tariff-spark.s1 { width: 22px; height: 22px; top: 24px; right: 96px; opacity: 0.9; }
.tariff-spark.s2 { width: 13px; height: 13px; top: 58px; right: 132px; opacity: 0.7; }

.tariff-speed {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: -0.01em;
  padding: 6px 13px;
  border-radius: 100px;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.tariff-bolt { font-size: 11px; letter-spacing: 1px; line-height: 1; }
.tariff-name {
  position: relative;
  font-family: var(--font-head);
  font-size: 40px; font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 12px;
  color: #fff;
}
.tariff-subtitle {
  position: relative;
  font-size: 14.5px; font-weight: 600;
  color: rgba(255,255,255,0.92);
  max-width: 240px;
  line-height: 1.35;
  text-wrap: pretty;
}

/* ── White body ── */
.tariff-body {
  position: relative;
  padding: 24px 26px 28px;
  display: flex; flex-direction: column;
  flex: 1;
}
.tariff-popular {
  align-self: center;
  margin: -37px auto 14px;
  position: relative; z-index: 3;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--tc-accent);
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.tariff-price-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px;
}
.tariff-price-num {
  font-family: var(--font-head);
  font-size: 38px; font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.tariff-price-unit { font-size: 16px; font-weight: 600; color: var(--text-mute); margin-left: 4px; }
.tariff-price-old { font-size: 14px; color: var(--text-light); text-decoration: line-through; margin-top: 8px; }

.tariff-seal {
  width: 72px; height: 72px; flex-shrink: 0;
  background: var(--tc-grad);
  color: #fff;
  clip-path: polygon(50% 0%, 64.5% 14.9%, 85.4% 14.6%, 85.1% 35.5%, 100% 50%, 85.1% 64.5%, 85.4% 85.4%, 64.5% 85.1%, 50% 100%, 35.5% 85.1%, 14.6% 85.4%, 14.9% 64.5%, 0% 50%, 14.9% 35.5%, 14.6% 14.6%, 35.5% 14.9%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.05;
  box-shadow: 0 8px 20px -6px var(--tc-ring);
}
.tariff-seal span { font-size: 10.5px; font-weight: 700; }
.tariff-seal strong { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }

/* feature icons */
.tariff-feats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 22px 0;
  padding: 18px 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.tariff-feat { text-align: center; }
.tariff-feat-ic {
  width: 46px; height: 46px;
  margin: 0 auto 9px;
  border-radius: 50%;
  background: var(--tc-soft);
  color: var(--tc-accent);
  display: flex; align-items: center; justify-content: center;
}
.tariff-feat-ic svg { width: 22px; height: 22px; }
.tariff-feat-label { font-size: 11px; font-weight: 600; color: var(--text); line-height: 1.25; }

/* first month */
.tariff-fm {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  background: var(--tc-soft);
  border-radius: 14px;
  margin-bottom: 16px;
}
.tariff-fm-ic {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--tc-grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.tariff-fm-ic svg { width: 18px; height: 18px; }
.tariff-fm-text { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.tariff-fm-text b { font-family: var(--font-head); font-weight: 800; color: var(--tc-accent); letter-spacing: -0.02em; }
.tariff-fm-text span { color: var(--text-light); font-weight: 600; font-size: 12px; }

/* marketing footer line */
.tariff-foot { margin-bottom: 18px; }
.tariff-foot-main {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}
.tariff-foot-main svg { color: var(--tc-accent); flex-shrink: 0; }
.tariff-foot-sub { font-size: 12.5px; color: var(--text-mute); padding-left: 23px; }

/* goal quote */
.tariff-goal {
  font-size: 13px; font-style: italic;
  color: var(--text-mute);
  line-height: 1.4;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 2px solid var(--tc-ring);
}

/* cta */
.tariff-cta {
  width: 100%;
  padding: 15px;
  border: none; cursor: pointer;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 15px;
  color: #fff;
  background: var(--tc-grad);
  box-shadow: 0 10px 26px -8px var(--tc-ring);
  transition: transform var(--t), box-shadow var(--t), filter var(--t);
}
.tariff-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px var(--tc-ring); filter: brightness(1.05); }

/* ── Expandable details ── */
.tariff-toggle {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700; font-size: 13px;
  color: var(--tc-accent);
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  transition: background var(--t), border-color var(--t);
}
.tariff-toggle:hover { background: var(--tc-soft); border-color: var(--tc-ring); }
.tariff-toggle svg { transition: transform var(--t); }
.tariff-card.open .tariff-toggle svg { transform: rotate(180deg); }

.tariff-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.tariff-card.open .tariff-details { max-height: 1600px; }
.tariff-details-inner { padding-top: 16px; }

.tariff-whom {
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.5;
  margin-bottom: 14px;
}
.tariff-whom-label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.tariff-highlight {
  display: flex; gap: 9px; align-items: flex-start;
  background: var(--tc-soft);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 6px;
  font-size: 12.5px; font-weight: 600;
  color: var(--tc-accent);
  line-height: 1.4;
}
.tariff-highlight svg { flex-shrink: 0; margin-top: 1px; }

.tariff-drow {
  display: flex; gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.tariff-drow:last-child { border-bottom: none; }
.tariff-drow-ic {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 9px;
  background: var(--tc-soft);
  color: var(--tc-accent);
  display: flex; align-items: center; justify-content: center;
}
.tariff-drow-ic svg { width: 16px; height: 16px; }
.tariff-drow-label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 3px;
}
.tariff-drow-text { font-size: 12.5px; color: var(--text); line-height: 1.45; }
.tariff-drow--off .tariff-drow-ic { background: var(--bg-cool); color: var(--text-light); }
.tariff-drow--off .tariff-drow-text { color: var(--text-light); font-style: italic; }

/* note under cards */
.tariff-note {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 28px auto 0;
  font-size: 13.5px;
  color: var(--text-mute);
  text-align: center;
  line-height: 1.5;
}
.tariff-note svg { color: var(--mint-deep); flex-shrink: 0; }

/* ── Bottom CTA block (reused) ── */
.prod-cta-block {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 760px) {
  .prod-cta-block { flex-direction: column; align-items: flex-start; padding: 26px; text-align: left; }
}
.prod-cta-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 6px; color: var(--ink); }
.prod-cta-text { font-size: 14.5px; color: var(--text-mute); line-height: 1.5; }
