/* ========== Email Hosting page — extends styles.css ========== */

/* --- Hero visual: mail card stack --- */
.e-inbox { top: 0; right: 0; width: 440px; min-height: 340px; transform: rotate(2deg); }
.e-inbox .msg { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.e-inbox .msg:last-child { border-bottom: 0; }
.e-inbox .av { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--dark-line); display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; color: #C8CDD5; }
.e-inbox .who { font-size: 13.5px; color: #E6EAF0; display: flex; align-items: center; gap: 7px; }
.e-inbox .who svg { color: var(--accent); flex: 0 0 auto; }
.e-inbox .sub { font-size: 12.5px; color: #9AA3AE; margin-top: 3px; line-height: 1.4; }
.e-inbox .time { font-family: var(--font-mono); font-size: 11.5px; color: #5B6470; white-space: nowrap; }

.e-auth { left: -10px; top: 66px; width: 258px; transform: rotate(-4deg); background: #fff; color: var(--ink); border-color: var(--line); }
.e-auth .h-card-bar { color: var(--muted); border-bottom-color: var(--line-soft); }
.e-auth .h-card-bar .dot { background: #E1E4E8; }
.e-auth .h-card-bar .dot.live { background: var(--accent-2); box-shadow: 0 0 0 3px rgba(14,174,105,0.18); }
.e-auth .line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 13px; }
.e-auth .line + .line { border-top: 1px dashed var(--line-soft); }
.e-auth .line .k { font-family: var(--font-mono); color: var(--ink-2); font-size: 12.5px; }
.e-auth .line .v { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--accent-2); font-weight: 600; }

.e-spam { right: -20px; bottom: 24px; width: 272px; transform: rotate(3deg); background: #fff; color: var(--ink); border-color: var(--line); padding: 16px 18px; }
.e-spam .lbl { font-size: 12px; color: var(--muted); }
.e-spam .num { font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -0.02em; margin-top: 4px; }
.e-spam .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.e-spam .bars { display: flex; gap: 3px; margin-top: 14px; align-items: flex-end; height: 26px; }
.e-spam .bars span { display: block; flex: 1; background: var(--accent); border-radius: 2px; opacity: 0.85; }

.e-store { left: 18px; bottom: 70px; width: 236px; transform: rotate(-2deg); background: var(--dark-surface); color: #fff; border-color: var(--dark-line); padding: 16px 18px; }
.e-store .lbl { font-size: 12px; color: #9AA3AE; display: flex; justify-content: space-between; gap: 10px; }
.e-store .lbl b { font-family: var(--font-mono); font-weight: 500; color: var(--accent); }
.e-store .meter { height: 6px; border-radius: 4px; background: rgba(255,255,255,0.07); overflow: hidden; margin-top: 12px; }
.e-store .meter > div { height: 100%; background: var(--accent); border-radius: 4px; }
.e-store .foot { font-size: 11.5px; color: #5B6470; font-family: var(--font-mono); margin-top: 10px; }

/* --- 4-up dark mailbox plans --- */
.plan-grid.plan-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan.compact { padding: 30px 26px; border-radius: 20px; }
.plan.compact h3 { font-size: 19px; }
.plan.compact .price { margin-top: 20px; }
.plan.compact .price .amt { font-size: 44px; }
.plan.compact ul { margin-top: 22px; }
.plan.compact .ribbon { top: 22px; right: 22px; white-space: nowrap; }
.plan.compact h3, .plan.compact .sub { max-width: calc(100% - 96px); }

/* --- Light business plan cards --- */
.ebiz { background: var(--bg); }
.ebiz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.eplan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.eplan:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(11,14,18,0.14); }
.eplan.featured { border-color: rgba(20,224,138,0.45); box-shadow: 0 20px 50px -30px var(--accent-glow); }
.eplan .ribbon { position: absolute; top: 22px; right: 22px; white-space: nowrap; font-family: var(--font-mono); font-size: 11px; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid rgba(20,224,138,0.30); padding: 4px 10px; border-radius: var(--radius-pill); }
.eplan h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.eplan .sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.eplan .price { display: flex; align-items: baseline; gap: 7px; margin-top: 20px; flex-wrap: wrap; }
.eplan .price .amt { font-family: var(--font-display); font-weight: 700; font-size: 42px; letter-spacing: -0.03em; line-height: 1; }
.eplan .price .amt.sm { font-size: 27px; }
.eplan .price .per { color: var(--muted); font-size: 14px; }
.eplan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.eplan ul li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.eplan ul li svg { color: var(--accent-2); margin-top: 3px; }
.eplan .cta-row { margin-top: auto; padding-top: 26px; }
.eplan .cta-row .btn { width: 100%; justify-content: center; }

/* --- Email benefit note strip --- */
.e-note { margin-top: 44px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 14px; color: var(--ink-2); }
.e-note svg { color: var(--accent-2); flex: 0 0 auto; }

/* --- Responsive --- */
@media (max-width: 1180px) {
  .e-inbox { width: min(100%, 400px); }
  .e-auth { width: 228px; left: 0; }
  .e-spam { width: 244px; right: 0; }
  .e-store { width: 214px; }
  .plan-grid.plan-grid-4, .ebiz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .plan-grid.plan-grid-4, .ebiz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .e-inbox { width: min(96%, 330px); min-height: 290px; }
  .e-auth { width: min(64%, 206px); left: 0; top: 44px; }
  .e-spam { width: min(66%, 216px); right: 0; bottom: 16px; }
  .e-store { width: min(58%, 196px); left: 6px; bottom: 52px; }
  .e-spam .num { font-size: 28px; }
  .e-note { width: 100%; border-radius: 16px; align-items: flex-start; }
}
@media (max-width: 620px) {
  .plan-grid.plan-grid-4, .ebiz-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .e-inbox { width: 100%; }
  .e-auth { width: min(68%, 190px); }
  .e-spam { width: min(70%, 200px); }
  .e-store { width: min(62%, 178px); left: 0; }
  .plan.compact .price .amt { font-size: 38px; }
  .eplan { padding: 26px 20px; }
  .eplan .price .amt { font-size: 36px; }
}
