/* =========================================================
   WLCM EVENTS — PLANS & PRICING
   Specific styles for the plans comparison page.
   ========================================================= */

/* Page hero */
.page-hero { padding: 80px 0 50px; text-align: center; overflow-wrap: break-word; word-break: break-word; }
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero h1 { font-size: clamp(44px, 5.4vw, 84px); font-weight: 600; line-height: 0.96; letter-spacing: -0.035em; margin: 0 auto 28px; max-width: 920px; font-variation-settings: "opsz" 96; overflow-wrap: break-word; word-break: break-word; }
.page-hero h1 em { font-style: italic; font-weight: 500; color: var(--ink-2); }
.page-hero .lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 620px; margin: 0 auto 32px; overflow-wrap: break-word; word-break: break-word; }

/* Currency toggle */
.currency-toggle {
  display: inline-flex; gap: 4px;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  padding: 5px;
  box-shadow: var(--shadow-xs);
}
.currency-toggle button {
  padding: 9px 18px;
  font-size: 13px; font-weight: 700;
  color: var(--ink-3);
  border-radius: var(--r-sm);
  transition: all .2s ease;
}
.currency-toggle button.active {
  background: var(--ink); color: #fff;
}
.currency-toggle button:not(.active):hover { color: var(--ink); }

/* Highlight */
.t-highlight { position: relative; display: inline-block; z-index: 0; }
.t-highlight::before { content: ""; position: absolute; left: -6px; right: -6px; top: 18%; bottom: 14%; background: var(--accent); z-index: -1; border-radius: 8px; transform: rotate(-1deg); }

/* Plan grid */
.plans { padding: 40px 0 100px; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.plan {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.plan:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.plan.featured {
  background: var(--ink); color: #fff;
  border: 1.5px solid var(--ink);
  transform: rotate(-1.5deg) scale(1.02);
  position: relative; z-index: 2;
  box-shadow: var(--shadow-lg);
}
.plan.featured:hover { transform: rotate(-1.2deg) scale(1.02) translateY(-4px); }
.plan.featured::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 204, 0, 0.12), transparent 50%);
  border-radius: var(--r-xl); pointer-events: none;
}
.plan-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 18px;
}
.plan.featured .plan-tag {
  background: var(--accent); color: var(--accent-ink);
  padding: 5px 11px; border-radius: var(--r-full);
}
.plan h3 { font-family: var(--display); font-size: 22px; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.plan.featured h3 { color: #fff; }
.plan .price { font-family: var(--display); font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -0.035em; color: var(--ink); margin: 0 0 6px; }
.plan.featured .price { color: var(--accent); }
.plan .price .currency { font-size: 22px; font-weight: 600; vertical-align: top; margin-right: 2px; }
.plan .price .period { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.plan.featured .price .period { color: #a8a79f; }
.plan .price.custom { font-size: 36px; font-weight: 600; color: var(--ink-2); }
.plan .sub { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; }
.plan.featured .sub { color: #a8a79f; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; flex-grow: 1; }
.plan ul li {
  font-size: 13.5px; color: var(--ink-2);
  padding: 9px 0;
  border-top: 1px dashed var(--rule);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.4;
}
.plan.featured ul li { color: #cdcbc2; border-top-color: #2a2823; }
.plan ul li::before { content: "✓"; color: var(--accent-deep); font-weight: 800; flex-shrink: 0; }
.plan.featured ul li::before { color: var(--accent); }
.plan ul li:first-child { border-top: none; padding-top: 0; }

/* Comparison table */
.compare-section {
  padding: 120px 0;
  background: var(--tint-soft);
  border-top: 1.5px solid var(--rule);
  border-bottom: 1.5px solid var(--rule);
}
.section-head { text-align: center; margin-bottom: 56px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 24px; }
.section-head h2 { font-size: clamp(40px, 5vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; margin: 0 0 16px; }
.section-head h2 em { font-style: italic; font-weight: 500; color: var(--ink-2); }
.section-head p { font-size: 17px; color: var(--ink-2); line-height: 1.6; max-width: 560px; margin: 0 auto; }

.compare-wrap {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  margin-top: 40px;
}
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 780px; }
.compare-table thead th {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-bottom: 1.5px solid var(--rule);
  font-family: var(--display); font-size: 18px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.018em;
}
.compare-table thead th:first-child {
  text-align: left; 
  width: 32%; 
  font-family: var(--sans); 
  font-size: 11px; 
  font-weight: 700; 
  letter-spacing: 0.14em; 
  text-transform: uppercase; 
  color: var(--ink-3); 
  background: #fff;
}
.compare-table thead th.featured-col {
  background: var(--tint-soft);
  border-left: 2px solid var(--accent); 
  border-right: 2px solid var(--accent);
  position: relative;
}
.compare-table thead th.featured-col::after {
  content: "★ Recommended";
  display: block;
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--accent-deep);
  margin-top: 6px;
}
.compare-table tbody th.group {
  background: var(--bg); padding: 18px 24px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); text-align: left;
  border-top: 1.5px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.compare-table tbody td, .compare-table tbody th.row {
  padding: 16px 24px;
  font-size: 14px; color: var(--ink-2);
  border-bottom: 1px dashed var(--rule);
  border-right: 1px solid var(--rule);
  vertical-align: middle;
}
.compare-table tbody td:last-child { border-right: none; }
.compare-table tbody th.row { font-weight: 500; color: var(--ink); text-align: left; }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th.row { background: var(--tint-soft); }
.compare-table tbody td { text-align: center; }
.compare-table tbody td.featured-col {
  background: var(--tint-soft);
  border-left: 2px solid var(--accent); 
  border-right: 2px solid var(--accent);
  font-weight: 600; color: var(--ink);
}
.compare-table .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 11px; font-weight: 800;
}
.compare-table .check.yes { background: var(--accent); color: var(--accent-ink); width: 24px; height: 24px; font-size: 12px; }
.compare-table .check.muted { background: #E8E2D4; color: #6B6560; }
.compare-table .dash { color: var(--ink-4); font-weight: 600; }
.compare-foot {
  padding: 24px 28px;
  background: var(--bg);
  border-top: 1.5px solid var(--rule);
  text-align: center;
  font-size: 13px; color: var(--ink-3);
}

/* FAQ */
.faq { padding: 120px 0; background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.faq-side h2 { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; margin: 0 0 20px; max-width: 340px; }
.faq-side h2 em { font-style: italic; font-weight: 500; color: var(--ink-2); }
.faq-side p { font-size: 16px; color: var(--ink-2); line-height: 1.6; max-width: 340px; margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border: 1.5px solid var(--rule); border-radius: var(--r-lg); transition: border-color .3s, background .3s; }
.faq-item.open { border-color: var(--accent); background: var(--tint-soft); }
.faq-q { width: 100%; text-align: left; padding: 22px 26px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
.faq-q .tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--tint); color: var(--ink); padding: 5px 10px; border-radius: var(--r-full); border: 1.5px solid var(--accent); white-space: nowrap; }
.faq-q .q-text { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.018em; line-height: 1.25; }
.faq-a { max-height: 0; overflow: hidden; padding: 0 26px; transition: max-height .35s, padding-top .35s, padding-bottom .35s; }
.faq-item.open .faq-a { max-height: 800px; padding: 0 26px 22px; }
.faq-a p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 640px; }

/* Closer */
.closer { padding: 140px 0 130px; background: var(--tint); position: relative; overflow: hidden; border-top: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); }
.closer::before, .closer::after { content: ""; position: absolute; border-radius: 50%; background: var(--accent); filter: blur(80px); opacity: 0.4; }
.closer::before { top: -150px; left: -100px; width: 380px; height: 380px; }
.closer::after { bottom: -150px; right: -100px; width: 380px; height: 380px; }
.closer-inner { position: relative; z-index: 2; text-align: center; max-width: 780px; margin: 0 auto; }
.closer .sticker { margin-bottom: 32px; }
.closer h2 { font-size: clamp(48px, 6.4vw, 96px); font-weight: 700; line-height: 0.96; letter-spacing: -0.035em; color: var(--ink); margin: 0 0 28px; }
.closer h2 em { font-style: italic; font-weight: 500; }
.closer p { font-size: 19px; color: var(--ink-2); max-width: 560px; margin: 0 auto 40px; line-height: 1.55; font-weight: 500; }
.closer .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.closer .btn { padding: 18px 28px; font-size: 15px; }

/* Responsive */
@media (max-width: 1100px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-4px); }
  .compare-wrap { overflow-x: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .page-hero { padding: 48px 0 32px; }
  .price-grid { grid-template-columns: 1fr; }
  .plans { padding: 24px 0 80px; }
  .compare-section, .faq { padding: 80px 0; }
  .closer { padding: 90px 0 80px; }
}

/* Personal / Commercial Toggle & Panels */
.price-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.price-toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 14px;
  padding: 5px;
  box-shadow: var(--shadow-xs);
}
.price-toggle button {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: transparent;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease;
}
.price-toggle button:hover { color: var(--ink); }
.price-toggle button.active {
  background: var(--ink);
  color: #fff;
}
.price-panel { display: none; }
.price-panel.active { display: block; }

/* Commercial Inquiry Form */
.commercial-form {
  max-width: 780px;
  margin: 0 auto;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 22px;
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
}
.commercial-form-head {
  text-align: center;
  margin-bottom: 32px;
}
.commercial-form-head h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin: 0 0 10px;
  color: var(--ink);
}
.commercial-form-head p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-4);
  font-weight: 400;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-focus);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%237C766B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--rule);
  gap: 20px;
}
.form-foot .helper {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .commercial-form {
    padding: 24px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  .form-foot {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 16px;
  }
}
