/* =========================================================
   HostLagbe — Page components
   Shared across product pages, FAQ, about, legal pages.
   Loaded after styles.css + production.css.
   ========================================================= */

/* ---------------------------------------------------------
   Page header (used on every inner page instead of the
   full hero — smaller orbit accent, breadcrumb, title)
--------------------------------------------------------- */
.page-header{
  position:relative;
  padding:64px 0 56px;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.page-header .orbit-field{
  height:640px;
  opacity:.6;
}
.page-header-inner{
  position:relative;
  z-index:1;
}
.breadcrumb{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:.82rem;
  color:var(--muted);
  margin-bottom:18px;
}
.breadcrumb a{ color:var(--muted); transition:color .2s ease; }
.breadcrumb a:hover{ color:var(--ink); }
.breadcrumb-sep{ opacity:.5; }
.page-title{
  font-size:clamp(2rem, 5vw, 3.2rem);
  margin-bottom:14px;
}
.page-lede{
  max-width:600px;
  font-size:1.08rem;
}

/* ---------------------------------------------------------
   Plan pricing grid (rendered by data-loader.js, but the
   CSS is static so pages look right even before JS runs)
--------------------------------------------------------- */
.plans-section{ padding:72px 0 96px; }
.plans-mount{
  min-height:200px;
}
.plans-mount:not(.is-loaded)::before{
  content:"Loading plans…";
  display:block;
  text-align:center;
  padding:60px 0;
  font-family:var(--font-mono);
  font-size:.8rem;
  color:var(--muted);
  letter-spacing:.04em;
}

.plan-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  align-items:start;
}
@media(min-width:720px){
  .plan-grid{ grid-template-columns:repeat(3,1fr); }
}
.plan-grid:has(.plan-card:only-child){
  max-width:380px;
  margin:0 auto;
}

.plan-card{
  position:relative;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:32px 26px;
  display:flex;
  flex-direction:column;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.plan-card:hover{
  transform:translateY(-6px);
  box-shadow:0 30px 60px -30px rgba(11,14,20,.22);
}
.plan-card-recommended{
  border-color:var(--ink);
  box-shadow:0 20px 50px -28px rgba(11,14,20,.28);
}
.plan-badge{
  position:absolute;
  top:-12px; left:26px;
  background:var(--orange);
  color:var(--white);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:5px 12px;
  border-radius:100px;
}
.plan-label{
  font-size:1.1rem;
  margin-bottom:14px;
}
.plan-price{
  display:flex;
  align-items:baseline;
  gap:4px;
  margin-bottom:22px;
}
.plan-price-num{
  font-family:var(--font-mono);
  font-size:2rem;
  font-weight:600;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
}
.plan-currency{ font-size:1.1rem; color:var(--orange); }
.plan-cycle{ font-size:.85rem; color:var(--muted); }

.plan-features{
  list-style:none;
  margin:0 0 28px;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:11px;
  flex:1;
}
.plan-features li{
  display:flex;
  align-items:flex-start;
  gap:9px;
  font-size:.9rem;
  color:var(--ink-soft);
}
.feature-check{
  color:var(--orange);
  font-weight:700;
  flex-shrink:0;
  line-height:1.4;
}
.plan-cta{ width:100%; }

/* ---------------------------------------------------------
   FAQ accordion
--------------------------------------------------------- */
.faq-section{ padding:72px 0 96px; background:var(--surface); }
.faq-list{
  max-width:760px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.faq-item{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  overflow:hidden;
}
.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 22px;
  background:none;
  border:none;
  text-align:left;
  font-family:var(--font-body);
  font-size:.98rem;
  font-weight:600;
  color:var(--ink);
  cursor:pointer;
}
.faq-icon{
  flex-shrink:0;
  width:20px; height:20px;
  position:relative;
}
.faq-icon::before, .faq-icon::after{
  content:"";
  position:absolute;
  background:var(--ink);
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-icon::before{ top:9px; left:2px; width:16px; height:1.6px; }
.faq-icon::after{ top:2px; left:9px; width:1.6px; height:16px; }
.faq-item.is-open .faq-icon::after{ transform:rotate(90deg); opacity:0; }

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s var(--ease);
}
.faq-answer-inner{
  padding:0 22px 20px;
  font-size:.92rem;
  color:var(--ink-soft);
  line-height:1.6;
}

/* ---------------------------------------------------------
   Generic content section (About, Terms, Privacy, etc.)
--------------------------------------------------------- */
.content-section{ padding:72px 0 96px; }
.content-prose{
  max-width:760px;
}
.content-prose h2{
  font-size:1.5rem;
  margin:40px 0 14px;
}
.content-prose h2:first-child{ margin-top:0; }
.content-prose p{
  margin-bottom:16px;
  font-size:.98rem;
}
.content-prose ul{
  margin:0 0 16px;
  padding-left:22px;
}
.content-prose li{
  color:var(--ink-soft);
  font-size:.96rem;
  margin-bottom:8px;
  line-height:1.6;
}
.content-updated{
  font-family:var(--font-mono);
  font-size:.76rem;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:36px;
}

/* ---------------------------------------------------------
   Status page indicator list
--------------------------------------------------------- */
.status-grid{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width:700px;
}
.status-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 20px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
}
.status-row-label{ font-weight:600; font-size:.94rem; }
.status-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:.8rem;
  font-weight:600;
  color:#1E8A5F;
}
.status-pill .status-dot{ background:#1E8A5F; }

/* ---------------------------------------------------------
   Order page (simple confirmation-style form)
--------------------------------------------------------- */
.order-summary{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:28px;
  margin-bottom:32px;
}
.order-summary-row{
  display:flex;
  justify-content:space-between;
  font-size:.92rem;
  padding:8px 0;
  border-bottom:1px solid var(--line-soft);
}
.order-summary-row:last-child{ border-bottom:none; }

/* ---------------------------------------------------------
   Domain search bar
--------------------------------------------------------- */
.domain-search{
  display:flex;
  gap:10px;
  max-width:560px;
  margin:0 auto 12px;
  flex-wrap:wrap;
}
.domain-search input{
  flex:1;
  min-width:200px;
  font:inherit;
  padding:14px 18px;
  border-radius:100px;
  border:1px solid var(--line);
  background:var(--white);
}
.domain-search input:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 4px rgba(43,78,255,.12);
  outline:none;
}
.domain-tld-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin-top:20px;
}
.domain-tld-chip{
  font-family:var(--font-mono);
  font-size:.78rem;
  padding:6px 14px;
  border:1px solid var(--line);
  border-radius:100px;
  color:var(--ink-soft);
}
