/* =====================================================
   RemindFlow — plans.css
===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0a0f1a;
  --bg-2:     #0d1420;
  --bg-3:     #111827;
  --border:   rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.12);
  --teal:     #1cc7ae;
  --teal-dim: rgba(28,199,174,0.12);
  --text-1:   #f0f2f5;
  --text-2:   rgba(255,255,255,0.52);
  --text-3:   rgba(255,255,255,0.28);
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  min-height: 100vh;
}

/* ── Header ───────────────────────────────────────── */
.header {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,15,26,0.92);
  backdrop-filter: blur(12px);
  z-index: 99;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  text-decoration: none;
  letter-spacing: -0.2px;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* ── Page ─────────────────────────────────────────── */
.plans-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}

/* ── Header block ─────────────────────────────────── */
.plans-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 16px;
}

.plans-header h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.plans-header h1 em {
  font-style: italic;
  color: var(--teal);
}

.subtitle {
  font-size: 16px;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Section ──────────────────────────────────────── */
.plans-section { margin-bottom: 56px; }

.section-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* ── Plans grid ───────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* ── Plan card ────────────────────────────────────── */
.plan-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.plan-card:hover { border-color: var(--border-2); }

.plan-card--featured {
  border-color: rgba(28,199,174,0.35);
  background: rgba(28,199,174,0.04);
}

.plan-card--featured:hover { border-color: rgba(28,199,174,0.5); }

/* Badge */
.plan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  background: var(--teal-dim);
  color: var(--teal);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.plan-badge--gray {
  background: rgba(255,255,255,0.06);
  color: var(--text-2);
}

/* Heading */
.plan-card h2 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 14px;
  font-family: 'DM Sans', sans-serif;
}

/* Price */
.plan-price {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--text-1);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.plan-period {
  font-size: 14px;
  color: var(--text-3);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0;
}

/* Features */
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px;
  flex: 1;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 300;
  line-height: 1.4;
}

.pf-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-dim);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.pf-check.muted {
  background: rgba(255,255,255,0.05);
  color: var(--text-3);
}

.coming-soon {
  font-size: 10px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  color: var(--text-3);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
}

/* Buttons */
.choose-btn {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-2);
  background: none;
  color: var(--text-2);
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  margin-top: auto;
}

.choose-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.05);
  color: var(--text-1);
  border-color: rgba(255,255,255,0.2);
}

.choose-btn:active:not(:disabled) { transform: scale(0.98); }

.choose-btn--featured {
  background: var(--teal);
  border-color: var(--teal);
  color: #0a0f1a;
  font-weight: 600;
}

.choose-btn--featured:hover:not(:disabled) {
  opacity: 0.88;
  background: var(--teal);
  color: #0a0f1a;
}

.choose-btn--ghost {
  border-color: var(--border);
  color: var(--text-3);
}

.choose-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── Divider ──────────────────────────────────────── */
.plans-divider {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin: 48px 0;
  position: relative;
}

.plans-divider::before,
.plans-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44%;
  height: 1px;
  background: var(--border);
}

.plans-divider::before { left: 0; }
.plans-divider::after { right: 0; }

/* ── Connector card ───────────────────────────────── */
.connector-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 48px;
  transition: border-color 0.2s;
}

.connector-card:hover { border-color: var(--border-2); }

.connector-left {
  flex: 1;
}

.connector-left h2 {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}

.connector-left > p {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 440px;
}

.connector-right {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  min-width: 180px;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 820px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .connector-card { flex-direction: column; align-items: flex-start; gap: 28px; }
  .connector-right { align-items: flex-start; }
}

@media (max-width: 480px) {
  .plans-page { padding: 56px 20px 80px; }
  .header { padding: 0 20px; }
}