/* ============================================================
   Ocean I-Bank 4.0 — Pricing Page
   Ocean Software Technologies
   Theme: Refined Navy + Gold — cooperative banking authority
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #1a1a2e;
  --deep:       #16213e;
  --deep2:      #0f1829;
  --gold:       #e8a838;
  --gold-light: #f0c060;
  --gold-dim:   rgba(232,168,56,0.12);
  --gold-dim2:  rgba(232,168,56,0.06);
  --surface:    #f7f4ef;
  --card:       #ffffff;
  --border:     #d4c9b8;
  --border-dim: rgba(212,201,184,0.35);
  --muted:      #8a7f74;
  --success:    #27ae60;
  --danger:     #c0392b;
  --shadow:     0 2px 20px rgba(26,26,46,0.08);
  --shadow-lg:  0 8px 48px rgba(26,26,46,0.14);
  --radius:     14px;
  --radius-sm:  8px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--surface);
  color: var(--ink);
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 8% 0%, rgba(232,168,56,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 92% 100%, rgba(22,33,62,0.07) 0%, transparent 55%);
}

/* ── Header ── */
.page-header {
  background: var(--deep);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 24px rgba(0,0,0,0.28);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-badge {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.header-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.header-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1px;
}
.header-pill {
  margin-left: auto;
  background: rgba(232,168,56,0.15);
  border: 1px solid rgba(232,168,56,0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* ── Hero ── */
.hero {
  background: var(--deep);
  padding: 64px 32px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232,168,56,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 100%, rgba(232,168,56,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  background: var(--gold-dim);
  border: 1px solid rgba(232,168,56,0.3);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.hero h1 span { color: var(--gold); }
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 12px;
  line-height: 1.7;
}
.hero-effective {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ── Main wrapper ── */
.page-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

/* ── Section label ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Plans grid ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 16px;
  margin-bottom: 56px;
  align-items: start;
}

/* ── Plan card ── */
.plan-card {
  background: var(--card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.plan-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(160deg, #fffdf7 0%, #fff 60%);
}
.plan-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* Featured badge */
.featured-badge {
  position: absolute;
  top: 14px; right: -28px;
  background: var(--gold);
  color: var(--deep);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 36px;
  transform: rotate(45deg);
}

.plan-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.plan-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 4px;
}
.plan-members {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-dim);
}

/* Price */
.plan-price-block { margin-bottom: 6px; }
.plan-price {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--deep);
  line-height: 1;
}
.plan-price .currency {
  font-size: 1rem;
  font-weight: 500;
  vertical-align: super;
  color: var(--muted);
}
.plan-price-period {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.plan-monthly {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.plan-africa {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #1a7a4a;
  background: rgba(39,174,96,0.08);
  border: 1px solid rgba(39,174,96,0.18);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* Feature groups */
.feat-group { margin-bottom: 14px; }
.feat-group-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border-dim);
}
.feat-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.4;
}
.feat-row .icon { font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.feat-row .icon.yes { color: var(--success); }
.feat-row .icon.no  { color: #ccc; }
.feat-row .feat-text.na { color: var(--muted); }

/* ── Compare table ── */
.compare-wrap {
  background: var(--card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
  margin-bottom: 48px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.compare-table thead tr {
  background: var(--deep);
}
.compare-table thead th {
  padding: 14px 16px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-align: center;
  font-size: 0.75rem;
  white-space: nowrap;
}
.compare-table thead th:first-child { text-align: left; color: rgba(255,255,255,0.45); }
.compare-table thead th.featured-col { color: var(--gold); }
.compare-table tbody tr:nth-child(even) { background: rgba(247,244,239,0.5); }
.compare-table tbody tr:hover { background: var(--gold-dim2); }
.compare-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-dim);
  text-align: center;
  color: var(--ink);
}
.compare-table td:first-child {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.compare-table td.featured-col { background: rgba(232,168,56,0.04); }
.compare-table .val-yes { color: var(--success); font-weight: 600; }
.compare-table .val-no  { color: #ccc; }
.compare-table .val-inr { font-weight: 600; color: var(--deep); }
.compare-table .val-unlimited { color: var(--gold); font-weight: 600; font-size: 0.72rem; }

/* ── Footer note ── */
.footnote {
  background: var(--card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.7;
}
.footnote strong { color: var(--ink); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .page-body { padding: 32px 16px 60px; }
  .hero { padding: 48px 20px 56px; }
  .header-inner { padding: 14px 20px; }
  .header-pill { display: none; }
}
@media (max-width: 480px) {
  .plans-grid { grid-template-columns: 1fr; }
}