/* ============================================================
   Bythost — Design tokens + Marketing page
   Vibe: toegankelijk, afgerond, speels, duidelijk.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand — Grape */
  --mint-50:  #F6EEFE;
  --mint-100: #E9D9FB;
  --mint-200: #D2B4F7;
  --mint-300: #B084EE;
  --mint-400: #905FE3;
  --mint-500: #7B3FE4;
  --mint-600: #6325C4;
  --mint-700: #4F1AA0;
  --mint-800: #3A1276;
  --mint-900: #220945;

  /* Bubblegum */
  --tang-50:  #FFF1F7;
  --tang-100: #FFE0EF;
  --tang-200: #FFB6D5;
  --tang-300: #FF8FBF;
  --tang-400: #F472B6;
  --tang-500: #EC4899;
  --tang-600: #C42477;

  /* Neutrals */
  --paper:   #FFF7EE;
  --cream:   #FFEAD7;
  --mist:    #FBE3D6;
  --pebble:  #F1D2C0;
  --stone:   #C9A48F;
  --slate:   #7A5A52;
  --ink:     #3A1F2E;
  --night:   #1F0E1E;
  --white:   #FFFFFF;

  /* Semantic */
  --bg:           var(--paper);
  --fg:           var(--ink);
  --fg-muted:     var(--slate);
  --fg-subtle:    var(--stone);
  --brand:        var(--mint-500);
  --brand-hover:  var(--mint-600);
  --brand-press:  var(--mint-700);
  --accent:       var(--tang-400);
  --border:       var(--pebble);
  --border-strong:#D5CBB7;

  /* Radius */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 0 rgba(31,42,55,.04), 0 1px 2px rgba(31,42,55,.04);
  --shadow-sm: 0 2px 4px rgba(31,42,55,.05), 0 1px 2px rgba(31,42,55,.04);
  --shadow-md: 0 6px 16px -4px rgba(31,42,55,.10), 0 2px 4px rgba(31,42,55,.05);
  --shadow-lg: 0 18px 40px -12px rgba(31,42,55,.18), 0 4px 10px rgba(31,42,55,.06);
  --shadow-pop: 0 12px 0 -4px var(--mint-200), 0 18px 30px -10px rgba(31,42,55,.18);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(31,42,55,.04);

  /* Type */
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body:    "Baloo 2", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Motion */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   140ms;
  --dur-base:   220ms;
}

/* ============================================================
   Elementor widget scope — applied to each widget's root div
   ============================================================ */
.bh-page *, .bh-page *::before, .bh-page *::after { box-sizing: border-box; }
.bh-page { font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--fg); -webkit-font-smoothing: antialiased; }
.bh-page h1,.bh-page h2,.bh-page h3,.bh-page h4,.bh-page h5 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; color: var(--fg); margin: 0; text-wrap: balance; }
.bh-page h1 { font-size: 64px; line-height: 1.02; font-weight: 800; }
.bh-page h2 { font-size: 48px; line-height: 1.05; }
.bh-page h3 { font-size: 26px; line-height: 1.2; }
.bh-page p  { margin: 0; }
.bh-page a  { color: var(--brand-press); text-decoration: none; }
.bh-page a:hover { text-decoration: underline; }

/* ============================================================
   Layout helpers
   ============================================================ */
.bh-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   Buttons — !important op kleur+achtergrond zodat thema nooit wint
   ============================================================ */
.bh-btn {
  font-family: var(--font-body) !important; font-weight: 600 !important; font-size: 15px !important;
  padding: 11px 22px !important; border-radius: var(--r-pill) !important;
  cursor: pointer !important; display: inline-flex !important; align-items: center !important; gap: 8px !important;
  transition: background .15s, transform .1s, box-shadow .15s;
  text-decoration: none !important; line-height: 1 !important;
  white-space: nowrap !important;
}
.bh-btn-primary {
  background: var(--mint-500) !important;
  color: #ffffff !important;
  border: 1.5px solid transparent !important;
  box-shadow: var(--shadow-inset), var(--shadow-sm) !important;
}
.bh-btn-primary:hover, .bh-btn-primary:focus {
  background: var(--mint-600) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-inset), var(--shadow-md) !important;
  text-decoration: none !important;
}
.bh-btn-primary:active {
  background: var(--mint-700) !important;
  color: #ffffff !important;
  transform: none !important;
}
.bh-btn-primary:visited {
  color: #ffffff !important;
}
.bh-btn-secondary {
  background: var(--white) !important;
  color: var(--ink) !important;
  border: 1.5px solid var(--border-strong) !important;
  box-shadow: var(--shadow-inset) !important;
}
.bh-btn-secondary:hover, .bh-btn-secondary:focus {
  background: var(--mist) !important;
  color: var(--ink) !important;
  text-decoration: none !important;
}
.bh-btn-secondary:visited { color: var(--ink) !important; }
.bh-btn-ghost {
  background: transparent !important;
  color: var(--ink) !important;
  border: 1.5px solid transparent !important;
  box-shadow: none !important;
}
.bh-btn-ghost:hover, .bh-btn-ghost:focus {
  background: var(--mist) !important;
  color: var(--ink) !important;
  text-decoration: none !important;
}
.bh-btn-ghost:visited { color: var(--ink) !important; }
.bh-btn-lg { padding: 16px 28px !important; font-size: 17px !important; }
.bh-btn:focus { outline: none !important; }
.bh-btn:focus-visible { outline: 2px solid var(--mint-500) !important; outline-offset: 3px !important; }

/* ============================================================
   Top nav
   ============================================================ */
.bh-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,247,238,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.bh-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.bh-nav-logo img, .bh-nav-logo svg { height: 38px; display: block; }
.bh-nav-links { display: flex; gap: 6px; }
.bh-nav-links a { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--ink); padding: 10px 14px; border-radius: var(--r-pill); transition: background var(--dur-fast) var(--ease-out); }
.bh-nav-links a:hover { background: var(--mist); text-decoration: none; color: var(--ink); }
.bh-nav-cta { display: flex; gap: 8px; align-items: center; }

/* ============================================================
   Hero
   ============================================================ */
.bh-hero { padding: 64px 0 80px; }
.bh-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.bh-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-press); margin-bottom: 8px; display: inline-block; }
.bh-hero h1 .accent { color: var(--tang-500); position: relative; white-space: nowrap; }
.bh-hero h1 .accent::after { content:""; position: absolute; left: -4px; right: -4px; bottom: 4px; height: 14px; background: var(--tang-200); border-radius: 999px; z-index: -1; }
.bh-hero p { font-size: 20px; color: var(--fg-muted); margin-top: 20px; max-width: 520px; }
.bh-hero-cta { display: flex; gap: 12px; margin-top: 28px; align-items: center; flex-wrap: wrap; }
.bh-trust { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; color: var(--fg-muted); font-size: 14px; }
.bh-trust span { display: inline-flex; align-items: center; gap: 8px; }

/* Domain searcher card */
.bh-searcher {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: 28px; box-shadow: var(--shadow-pop); position: relative;
}
.bh-searcher::before {
  content:""; position: absolute; inset: 12px -12px -16px 12px;
  background: var(--mint-200); border-radius: var(--r-2xl); z-index: -1;
}
.bh-searcher-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink); }
.bh-searcher-sub { font-size: 14px; color: var(--fg-muted); margin-top: 4px; }
.bh-search-row { display: flex; gap: 8px; margin-top: 16px; align-items: stretch; }
.bh-search-wrap { position: relative; flex: 1; }
.bh-search-wrap svg { position: absolute !important; left: 14px; top: 50%; transform: translateY(-50%); color: var(--brand-press); pointer-events: none; display: block; width: 20px; height: 20px; }
.bh-search-input {
  width: 100% !important; background: var(--white) !important;
  border: 1.5px solid var(--border-strong) !important;
  border-radius: var(--r-md) !important;
  padding: 14px 16px 14px 44px !important;
  font-family: var(--font-body) !important; font-size: 17px !important;
  color: var(--ink) !important; line-height: 1.4 !important;
  transition: border-color var(--dur-fast) var(--ease-out);
  outline: none !important; box-shadow: none !important;
  -webkit-appearance: none; appearance: none;
}
.bh-search-input:focus { border-color: var(--mint-500) !important; }

/* TLD pills */
.bh-tld-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.bh-tld {
  font-family: var(--font-mono); font-size: 13px; padding: 6px 12px;
  border-radius: var(--r-pill); background: var(--mist); color: var(--ink);
  cursor: pointer; border: none; transition: all var(--dur-fast) var(--ease-out);
  user-select: none;
}
.bh-tld.active, .bh-tld:hover.active { background: var(--mint-500); color: #fff; }
.bh-tld:hover:not(.active) { background: var(--pebble); }

/* Result rows */
.bh-results { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.bh-result {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px; border-radius: var(--r-md);
  border: 1px solid var(--tang-200); background: var(--tang-100);
  animation: bh-fade-in var(--dur-base) var(--ease-out);
}
.bh-result.unavailable { background: var(--mist); border-color: var(--border); }
.bh-result-name { font-family: var(--font-mono); font-size: 16px; color: var(--tang-600); font-weight: 600; }
.bh-result.unavailable .bh-result-name { color: var(--stone); }
.bh-result-meta { font-size: 13px; color: var(--tang-600); margin-top: 2px; }
.bh-result.unavailable .bh-result-meta { color: var(--stone); }
.bh-result-price { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--mint-700); line-height: 1; }
.bh-result-per { font-size: 11px; color: var(--tang-600); text-align: right; }
.bh-result-right { display: flex; align-items: center; gap: 10px; }
.bh-result-pricing { text-align: right; }

/* Skeleton / loading */
.bh-skeleton { height: 62px; border-radius: var(--r-md); background: var(--mist); animation: bh-pulse 1.4s ease-in-out infinite; }
@keyframes bh-pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
@keyframes bh-fade-in { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }

/* ============================================================
   Plans
   ============================================================ */
.bh-section { padding: 96px 0; }
.bh-section-alt { background: var(--white); }
.bh-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.bh-section-head h2 { font-size: 48px; letter-spacing: -0.02em; }
.bh-section-head p { color: var(--fg-muted); font-size: 18px; margin-top: 14px; }

.bh-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bh-plan {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 28px; position: relative; box-shadow: var(--shadow-sm);
}
.bh-plan.featured { border: 2px solid var(--mint-500); box-shadow: var(--shadow-pop); }
.bh-plan.featured::before {
  content:""; position: absolute; inset: 10px -10px -14px 10px;
  background: var(--mint-200); border-radius: var(--r-xl); z-index: -1;
}
.bh-plan .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--tang-400); color: #fff; font-weight: 700; font-size: 12px;
  padding: 7px 14px; border-radius: var(--r-pill); letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.bh-plan h3 { font-size: 26px; margin-bottom: 4px; }
.bh-plan .tag { color: var(--fg-muted); font-size: 14px; }
.bh-plan .price { font-family: var(--font-display); font-weight: 800; font-size: 56px; color: var(--mint-700); letter-spacing: -0.03em; line-height: 1; margin-top: 18px; }
.bh-plan .per { font-size: 14px; color: var(--fg-muted); }
.bh-plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15px; }
.bh-plan li { display: flex; gap: 10px; align-items: flex-start; }
.bh-plan li svg { color: var(--mint-500); margin-top: 2px; flex: 0 0 auto; }
.bh-plan .bh-btn { width: 100%; justify-content: center; }

/* ============================================================
   Bento features
   ============================================================ */
.bh-bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 220px; gap: 18px; }
.bh-b {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: 28px; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; position: relative;
}
.bh-b.lead { background: linear-gradient(135deg, var(--mint-100) 0%, var(--tang-100) 100%); grid-row: span 2; }
.bh-b.tang { background: var(--tang-100); }
.bh-b h3 { font-size: 22px; }
.bh-b p { color: var(--fg-muted); font-size: 14px; }
.bh-b .icon {
  width: 44px; height: 44px; border-radius: 14px; background: var(--white);
  display: flex; align-items: center; justify-content: center; color: var(--mint-700);
  border: 1px solid var(--border); flex-shrink: 0;
}
.bh-b.tang .icon { color: var(--tang-600); }

/* ============================================================
   Footer
   ============================================================ */
.bh-footer { background: var(--night); color: rgba(255,255,255,.78); padding: 72px 0 28px; }
.bh-footer h5 { color: #fff; margin-bottom: 14px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; }
.bh-footer a { color: rgba(255,255,255,.78); display: block; padding: 5px 0; font-size: 14px; }
.bh-footer a:hover { color: #fff; text-decoration: none; }
.bh-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.bh-foot-bottom { padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.55); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .bh-hero-grid { grid-template-columns: 1fr; }
  .bh-hero h1 { font-size: 48px; }
  .bh-plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .bh-bento { grid-template-columns: 1fr 1fr; }
  .bh-b.lead { grid-column: span 2; grid-row: span 1; }
  .bh-foot-grid { grid-template-columns: 1fr 1fr; }
  .bh-nav-links { display: none; }
}
@media (max-width: 600px) {
  .bh-hero h1 { font-size: 36px; }
  .bh-section-head h2 { font-size: 32px; }
  .bh-bento { grid-template-columns: 1fr; }
  .bh-b.lead { grid-column: span 1; }
  .bh-foot-grid { grid-template-columns: 1fr; }
  .bh-container { padding: 0 16px; }
  .bh-section { padding: 64px 0; }
}

/* Elementor: logo/afbeelding-link verkleint de afbeelding niet */
.elementor-widget-image a,
.elementor-widget-site-logo a {
  display: block;
  line-height: 0;
}
.elementor-widget-image a img,
.elementor-widget-site-logo a img {
  display: block;
  width: 100%;
  height: auto;
}
