@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ---- Semantic theme tokens: light (default) + dark, toggled via [data-theme] ---- */
:root {
  --primary: #86bc24;
  --primary-hover: #74a31d;
  --primary-soft: rgba(134, 188, 36, 0.1);
  --primary-rgb: 134, 188, 36;
  --accent: #9ed13a;

  --bg: #fdfdfd;
  --bg-alt: #f5f6f4;
  --surface: #ffffff;
  --border: #e6e7e4;
  --text: #17181a;
  --text-muted: #5c5f5a;

  --nav-bg: #16181a;
  --nav-bg-solid: #101214;
  --nav-text: #cfd2ce;
  --nav-border: #2a2d2a;

  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 15, 0.06);
  --shadow-md: 0 6px 20px -4px rgba(20, 20, 15, 0.12), 0 2px 6px -2px rgba(20, 20, 15, 0.08);
  --shadow-lg: 0 20px 45px -12px rgba(20, 20, 15, 0.25);
  --shadow-primary: 0 10px 25px -8px rgba(var(--primary-rgb), 0.5);
}

[data-theme="dark"] {
  --bg: #0d0e10;
  --bg-alt: #151618;
  --surface: #1a1b1e;
  --border: #2a2b2e;
  --text: #edeeee;
  --text-muted: #a1a3a6;

  --nav-bg: #0a0b0c;
  --nav-bg-solid: #0a0b0c;
  --nav-text: #cfd2ce;
  --nav-border: #212224;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 24px -4px rgba(0, 0, 0, 0.5), 0 2px 8px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 50px -12px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--primary); color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.section-heading-small {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--primary); font-family: var(--font-body); font-weight: 700;
}
.section-heading-big {
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); font-weight: 800; line-height: 1.12; color: var(--text);
  font-family: var(--font-heading); letter-spacing: -0.01em;
}
.section-heading-big span { color: var(--primary); }
.section-line { width: 56px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--accent)); margin: 18px 0 34px 0; }
.section-line.center { margin: 18px auto 34px auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: var(--radius-sm); font-weight: 700; font-size: .88rem;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(var(--primary-rgb), 0.55); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-primary); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

/* ---- Top info bar ---- */
.topbar { background: var(--nav-bg-solid); border-bottom: 1px solid var(--nav-border); font-size: .76rem; color: #9a9d97; }
.topbar-inner { height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.1rem; }
.topbar a { color: #9a9d97; text-decoration: none; transition: color .15s ease; }
.topbar a:hover { color: var(--primary); }
.topbar i { color: var(--primary); margin-right: .25rem; }
.topbar-register { color: var(--primary) !important; font-weight: 700; }
.topbar-sep { color: #3a3c38; }
.topbar-social { display: flex; align-items: center; gap: .6rem; margin-left: .4rem; }
.topbar-social i { margin-right: 0; }
.topbar-support { white-space: nowrap; }

/* ---- Navbar ---- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.navbar {
  background: linear-gradient(180deg, var(--nav-bg) 0%, rgba(16, 18, 20, 0.97) 100%);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.navbar.is-scrolled { border-bottom-color: var(--nav-border); box-shadow: var(--shadow-md); background: var(--nav-bg-solid); }
.navbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.navbar-brand { color: #fff; font-family: var(--font-heading); font-weight: 900; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: .55rem; }
.navbar-brand span { color: var(--primary); }
.navbar-logo { width: 30px; height: 30px; background: var(--primary); color: #fff; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }

.navbar-links { display: flex; align-items: center; gap: .1rem; }
.nav-item { position: relative; }
.nav-item > a {
  position: relative; color: var(--nav-text); text-decoration: none; font-size: .87rem; font-weight: 600;
  padding: .55rem .8rem; transition: color .15s ease; display: inline-flex; align-items: center; gap: .3rem;
}
.nav-item > a:hover, .nav-item > a.active { color: var(--primary); }
.nav-item.has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--nav-bg-solid);
  border: 1px solid var(--nav-border); border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease; z-index: 50;
}
.nav-dropdown a {
  display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; font-size: .84rem; color: var(--nav-text);
  text-decoration: none; border-bottom: 1px solid var(--nav-border); transition: color .15s ease, background-color .15s ease;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { color: var(--primary); background: rgba(255,255,255,0.03); }
.nav-dropdown a i { color: var(--primary); font-size: .8rem; }

.navbar-cta { padding: .55rem 1.25rem !important; font-size: .84rem !important; margin-left: .75rem; }
.navbar-theme-form { margin: 0 0 0 .6rem; display: flex; }

.theme-toggle {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--nav-border); color: var(--nav-text);
  border-radius: 999px; width: 36px; height: 36px; cursor: pointer; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center; transition: all .15s ease;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); transform: rotate(15deg); }

/* Hamburger — hidden on desktop */
.navbar-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; background: transparent; border: 1px solid var(--nav-border); border-radius: var(--radius-sm);
  cursor: pointer; padding: 0; flex-shrink: 0; z-index: 110;
}
.navbar-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.navbar-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar-scrim {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
body.nav-open .navbar-scrim { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

main { padding-top: 100px; min-height: 60vh; }

/* ---- Footer ---- */
.footer { background: var(--nav-bg-solid); color: var(--nav-text); margin-top: 4rem; }
.footer a { color: var(--nav-text); text-decoration: none; transition: color .15s ease; }
.footer a:hover { color: var(--primary); }
.footer h4 { color: #fff; font-family: var(--font-heading); font-weight: 700; margin-bottom: 1rem; }
.footer-underline { width: 38px; height: 2px; background: var(--primary); margin-bottom: 1rem; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: .5rem; }
.footer-list a { font-size: .87rem; }
.footer-social-bar { background: #101112; border-bottom: 1px solid var(--nav-border); padding: 1rem 0; }
.footer-social-inner { display: flex; justify-content: center; gap: 1rem; }
.social-circle {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--nav-border);
  display: inline-flex; align-items: center; justify-content: center; color: #9a9d97; transition: all .15s ease;
}
.social-circle:hover, .social-circle.active { border-color: var(--primary); color: var(--primary); background: rgba(var(--primary-rgb), 0.12); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding: 3.5rem 1.25rem; max-width: 1200px; margin: 0 auto; }
.footer-newsletter { display: flex; }
.footer-newsletter input {
  flex: 1; min-width: 0; padding: .6rem .8rem; background: #101112; border: 1px solid var(--nav-border); border-right: none;
  color: #fff; font-size: .78rem; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.footer-newsletter button {
  padding: .6rem 1rem; background: var(--primary); color: #fff; border: none; font-size: .78rem; font-weight: 700;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer;
}
.footer-meta-bar { background: #101112; border-top: 1px solid var(--nav-border); padding: 1.1rem 0; }
.footer-meta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-meta-group { display: flex; align-items: center; gap: .9rem; }
.footer-meta-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: #83867f; line-height: 1.3; }
.footer-meta-logos { display: flex; align-items: center; gap: .6rem; }
.footer-meta-logos img { height: 24px; width: auto; object-fit: contain; border-radius: 3px; background: #fff; padding: 2px; }
.footer-meta-logos.footer-meta-awards img { height: 32px; background: transparent; padding: 0; }
.footer-bottom { border-top: 1px solid var(--nav-border); padding: 1.1rem 0; font-size: .78rem; color: #83867f; }

/* ---- Forms ---- */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); font-size: .9rem; font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}
.alert { padding: .85rem 1.1rem; border-radius: var(--radius-sm); font-size: .85rem; margin-bottom: 1.1rem; border: 1px solid; }
.alert-error { background: rgba(220,38,38,.08); border-color: rgba(220,38,38,.3); color: #dc2626; }
.alert-success { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-hover); }

table { width: 100%; border-collapse: collapse; font-size: .89rem; border-radius: var(--radius); overflow: hidden; }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--nav-bg-solid); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
tbody tr { transition: background-color .15s ease; }
tbody tr:hover { background: var(--bg-alt); }

.badge { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.badge-green { background: rgba(134,188,36,.14); color: var(--primary-hover); }
.badge-red { background: rgba(220,38,38,.1); color: #dc2626; }

.hero-band {
  position: relative; background: var(--nav-bg-solid); color: #fff; padding: 3.5rem 0; overflow: hidden;
  background-image:
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(var(--primary-rgb), 0.18), transparent 60%),
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(var(--primary-rgb), 0.1), transparent 60%);
  border-bottom: 3px solid var(--primary);
}
.hero-band .section-heading-big { color: #fff; }
.hero-band .breadcrumb a { color: var(--primary); text-decoration: none; }
.hero-band .breadcrumb span { color: #8b8e88; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ---- Shared marketing-page components (app/Core/Html.php) ---- */
.faq-list { display: flex; flex-direction: column; gap: .7rem; max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0; box-shadow: var(--shadow-sm); transition: border-color .15s ease; }
.faq-item:hover { border-color: rgba(var(--primary-rgb), 0.4); }
.faq-item summary {
  padding: 1rem 1.3rem; cursor: pointer; font-weight: 700; font-size: .9rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.3rem; color: var(--primary); flex-shrink: 0; line-height: 1;
  width: 26px; height: 26px; border-radius: 999px; background: var(--primary-soft);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '\2212'; transform: rotate(180deg); }
.faq-item p { padding: 0 1.3rem 1.2rem; color: var(--text-muted); font-size: .88rem; line-height: 1.65; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-card {
  padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(var(--primary-rgb), 0.35); }
.feature-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary); border-radius: var(--radius-sm); font-size: 1.3rem; margin-bottom: 1rem;
  transition: background-color .2s ease, color .2s ease;
}
.feature-card:hover .feature-icon { background: var(--primary); color: #fff; }
.feature-card h4 { font-family: var(--font-heading); font-weight: 700; margin-bottom: .45rem; font-size: .97rem; }
.feature-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.5rem 0; text-align: center; }
.stats-bar.stats-primary { background: linear-gradient(120deg, var(--primary), var(--primary-hover)); }
.stats-bar.stats-dark { background: var(--nav-bg-solid); }
.stats-bar .stat-value { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; color: #fff; }
.stats-bar .stat-label { font-size: .74rem; color: rgba(255,255,255,.8); margin-top: .15rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pricing-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.pricing-card {
  position: relative; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-card.popular { border-color: var(--primary); box-shadow: var(--shadow-md); }
.pricing-card.popular:hover { box-shadow: var(--shadow-lg), var(--shadow-primary); }
.pricing-badge {
  position: absolute; top: 0; right: 0; background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700;
  padding: .3rem .8rem; border-radius: 0 0 0 var(--radius-sm); letter-spacing: .02em;
}
.pricing-head { padding: 1.5rem; border-bottom: 1px solid var(--border); }
.pricing-card.popular .pricing-head { background: var(--nav-bg-solid); border-color: var(--nav-border); color: rgba(255, 255, 255, 0.78); }
.pricing-card.popular .pricing-head h3, .pricing-card.popular .pricing-price { color: #fff; }
.pricing-card.popular .pricing-meta { color: rgba(255, 255, 255, 0.55); }
.pricing-card.popular .pricing-price span { color: rgba(255, 255, 255, 0.55); }
.pricing-head h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; }
.pricing-meta { font-size: .76rem; color: var(--text-muted); margin-top: .25rem; }
.pricing-price { font-family: var(--font-heading); font-weight: 800; font-size: 2.2rem; margin-top: .6rem; letter-spacing: -0.02em; }
.pricing-price sup { font-size: 1rem; margin-right: 2px; }
.pricing-price span { font-size: .76rem; font-weight: 400; color: var(--text-muted); }
.pricing-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.pricing-body ul { list-style: none; margin: 0 0 1.2rem; padding: 0; flex: 1; }
.pricing-body li { display: flex; align-items: center; gap: .55rem; font-size: .83rem; padding: .35rem 0; }
.pricing-body li i { color: var(--primary); flex-shrink: 0; }
.pricing-card.popular .pricing-body { background: var(--bg-alt); }

.legal-doc { max-width: 760px; margin: 0 auto; }
.legal-section { padding: 1.6rem 0; border-bottom: 1px solid var(--border); }
.legal-section:last-child { border-bottom: none; }
.legal-section h4 { font-family: var(--font-heading); font-weight: 700; font-size: 1.08rem; margin-bottom: .8rem; }
.legal-section p { font-size: .89rem; color: var(--text-muted); line-height: 1.7; margin-bottom: .8rem; }
.legal-section ul, .legal-section ol { margin: .8rem 0 .8rem 1.3rem; font-size: .86rem; color: var(--text-muted); line-height: 1.65; }
.legal-section li { margin-bottom: .45rem; }

.pill-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill { padding: .45rem 1.1rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); font-size: .82rem; font-weight: 600; transition: border-color .15s ease, color .15s ease; }
.pill:hover { border-color: var(--primary); color: var(--primary); }

.tab-group { display: flex; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.tab-group a { padding: .7rem 1.2rem; font-size: .85rem; font-weight: 600; color: var(--text-muted); text-decoration: none; border-bottom: 2px solid transparent; }
.tab-group a.active { color: var(--primary); border-color: var(--primary); }

/* ==================== Responsive ==================== */
@media (max-width: 900px) {
  .topbar-support, .topbar-social { display: none; }
  .navbar-toggle { display: inline-flex; }

  .navbar-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 84vw);
    background: var(--nav-bg-solid); border-left: 1px solid var(--nav-border);
    flex-direction: column; align-items: stretch; gap: 0; padding: 5.5rem 1.25rem 1.5rem;
    transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; z-index: 100;
  }
  .navbar-links.is-open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .nav-item > a { padding: .9rem 0; border-bottom: 1px solid var(--nav-border); font-size: 1rem; width: 100%; justify-content: space-between; }
  .nav-item.has-dropdown:hover .nav-dropdown { opacity: 0; visibility: hidden; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none;
    border-radius: 0; background: transparent; display: none; margin-bottom: .5rem;
  }
  .nav-item.has-dropdown.mobile-open .nav-dropdown { display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .nav-item.mobile-open > a i { transform: rotate(180deg); }
  .nav-item > a i { transition: transform .18s ease; }
  .nav-dropdown a { border-bottom: none; padding: .6rem 0 .6rem 1rem; font-size: .88rem; }
  .navbar-cta { margin-top: 1rem; width: 100%; }
  .navbar-theme-form { margin-top: .75rem; }
  .navbar-theme-form .theme-toggle { width: 100%; border-radius: var(--radius-sm); gap: .5rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .welcome-boxes, .services-grid, .why-choose-grid, .whatsincluded-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .feature-grid, .pricing-grid, .stats-bar, .footer-grid { grid-template-columns: 1fr; }
  .hero-band { padding: 2.5rem 0; }
  .section-line { margin: 14px 0 26px 0; }
  .hero-slide-inner { flex-direction: column; text-align: center; }
  .hero-badges { position: static !important; justify-content: center; margin: 1rem 0; }
}

/* ==================== Home page sections (ported from the live hostdworld.net template) ==================== */

/* Hero slider */
.hero-slider { position: relative; overflow: hidden; background: var(--nav-bg-solid); }
.hero-slide {
  display: none; position: relative; background-size: cover; background-position: center;
  min-height: 460px; align-items: center;
}
.hero-slide.is-active { display: flex; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: rgba(10, 11, 12, 0.82); }
.hero-slide-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 3rem 1.25rem; display: flex; align-items: center; gap: 2.5rem; width: 100%; }
.hero-slide-inner.center { flex-direction: column; text-align: center; }
.hero-slide-inner.reverse { flex-direction: row-reverse; }
.hero-visual { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.hero-visual img { max-height: 320px; object-fit: contain; position: relative; z-index: 2; }
.hero-text { flex: 1; }
.hero-eyebrow { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: .25rem; }
.hero-heading { font-family: var(--font-heading); font-weight: 900; color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); line-height: 1.12; margin-bottom: 1.3rem; }
.hero-heading span { color: var(--primary); }
.hero-points { list-style: none; margin-bottom: 1.6rem; }
.hero-points li { display: flex; align-items: flex-start; gap: .5rem; color: rgba(255,255,255,.88); font-size: .87rem; padding: .3rem 0; }
.hero-points li i { color: var(--primary); margin-top: .15rem; }
.hero-points.grid-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.hero-badges { position: absolute; inset: 0; pointer-events: none; }
.hero-badge {
  position: absolute; width: 76px; height: 76px; border-radius: 999px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: #fff; box-shadow: var(--shadow-lg);
  pointer-events: auto;
}
.hero-badge-primary { background: var(--primary); }
.hero-badge-outline { background: var(--nav-bg-solid); border: 2px solid var(--primary); }
.hero-badge .b-top, .hero-badge .b-bottom { font-size: .62rem; line-height: 1.1; }
.hero-badge .b-price { font-family: var(--font-heading); font-weight: 900; font-size: 1.1rem; line-height: 1.15; }
.hero-badge-outline .b-price { color: var(--primary); }
.hero-cta { display: inline-block; padding: .8rem 2rem; background: var(--primary); color: #fff; font-weight: 700; font-size: .88rem; border-radius: var(--radius-sm); text-decoration: none; transition: background-color .15s ease, transform .15s ease; }
.hero-cta:hover { background: var(--primary-hover); transform: translateY(-2px); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 38px; height: 38px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; border: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s ease; }
.hero-arrow:hover { background: var(--primary); }
.hero-arrow.prev { left: 1rem; } .hero-arrow.next { right: 1rem; }
.hero-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: .45rem; z-index: 5; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: all .2s ease; padding: 0; }
.hero-dots button.is-active { background: var(--primary); width: 22px; }

/* Domain search bar (under hero) */
.domain-search-bar { background: var(--nav-bg); border-bottom: 1px solid var(--nav-border); padding: 1.1rem 0; }
.domain-search-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.domain-search-form { display: flex; flex: 1; min-width: 260px; }
.domain-search-form input {
  flex: 1; min-width: 0; padding: .7rem 1rem; background: #1c1e1f; border: 1px solid var(--nav-border); border-right: none;
  color: #fff; font-size: .85rem; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.domain-search-form select { padding: .7rem .6rem; background: #26282a; border: 1px solid var(--nav-border); border-right: none; color: #fff; font-size: .85rem; }
.domain-search-form button { padding: .7rem 1.4rem; background: var(--primary); color: #fff; border: none; font-weight: 700; font-size: .85rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; white-space: nowrap; }
.domain-top-list { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.domain-top-label { color: #83867f; font-size: .7rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.domain-top-item { text-align: center; }
.domain-top-item .ext { display: block; color: #fff; font-size: .75rem; font-weight: 700; }
.domain-top-item .price { display: block; color: var(--primary); font-size: .72rem; }

/* Welcome section: arrow "shingle" boxes */
.welcome-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1.25rem; }
.welcome-box { display: flex; flex-direction: column; align-items: center; text-align: center; }
.welcome-box-arrow-up { width: 0; height: 0; border-left: 26px solid transparent; border-right: 26px solid transparent; border-bottom: 20px solid; }
.welcome-box-arrow-down { width: 0; height: 0; border-left: 26px solid transparent; border-right: 26px solid transparent; border-top: 20px solid; }
.welcome-box-body { color: #fff; padding: 1.6rem 1.25rem; width: 100%; }
.welcome-box-body .label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; margin-bottom: .35rem; }
.welcome-box-body .price { font-family: var(--font-heading); font-weight: 900; font-size: 1.9rem; line-height: 1; margin-bottom: .3rem; }
.welcome-box-body .name { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .7rem; }
.welcome-box-body .desc { font-size: .72rem; opacity: .8; line-height: 1.5; }

/* Pricing shingles (home page pricing, distinct from generic .pricing-grid) */
.shingle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.shingle { display: flex; flex-direction: column; }
.shingle-arrow-up { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 16px solid; margin: 0 auto; }
.shingle-arrow-down { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 16px solid; margin: 0 auto; }
.shingle-body { flex: 1; padding: 1.6rem 1.25rem; text-align: center; display: flex; flex-direction: column; border-top: 4px solid; }
.shingle-body h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; margin-bottom: .8rem; }
.shingle-price { margin-bottom: 1.3rem; }
.shingle-price sup { font-size: 1rem; font-weight: 700; vertical-align: top; }
.shingle-price .amt { font-family: var(--font-heading); font-weight: 900; font-size: 2.4rem; }
.shingle-price .per { font-size: .78rem; opacity: .75; }
.shingle-body ul { list-style: none; text-align: left; margin-bottom: 1.5rem; flex: 1; }
.shingle-body li { display: flex; align-items: center; gap: .5rem; font-size: .82rem; padding: .3rem 0; }
.shingle-signup { display: block; padding: .65rem; text-align: center; font-size: .84rem; font-weight: 700; border-radius: var(--radius-sm); text-decoration: none; transition: all .15s ease; }

/* Feature radio-tabs (pure CSS, no JS) */
.feature-tabs-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-tab-input { position: absolute; opacity: 0; pointer-events: none; }
.feature-tab-list { display: flex; flex-direction: column; gap: .5rem; }
.feature-tab-label {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem; border-radius: var(--radius-sm); cursor: pointer;
  border: 1px solid var(--border); background: var(--bg-alt); transition: all .18s ease;
}
.feature-tab-label .ft-icon { width: 44px; height: 44px; border-radius: 999px; background: var(--border); color: var(--text-muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .18s ease; }
.feature-tab-label h4 { font-family: var(--font-heading); font-weight: 700; font-size: .9rem; margin-bottom: .25rem; }
.feature-tab-label p { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }
#ft-1:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-1"],
#ft-2:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-2"],
#ft-3:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-3"],
#ft-4:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-4"] {
  background: var(--nav-bg-solid); border-color: var(--primary);
}
#ft-1:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-1"] .ft-icon,
#ft-2:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-2"] .ft-icon,
#ft-3:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-3"] .ft-icon,
#ft-4:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-4"] .ft-icon { background: var(--primary); color: #fff; }
#ft-1:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-1"] h4,
#ft-2:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-2"] h4,
#ft-3:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-3"] h4,
#ft-4:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-4"] h4 { color: #fff; }
#ft-1:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-1"] p,
#ft-2:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-2"] p,
#ft-3:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-3"] p,
#ft-4:checked ~ .feature-tabs-wrap .feature-tab-list label[for="ft-4"] p { color: rgba(255,255,255,.7); }
.feature-visual img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.5rem; box-shadow: var(--shadow-md); }
.feature-checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
.feature-checklist li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; }
.feature-checklist li i { color: var(--primary); }

/* Website builder section */
.builder-steps { display: flex; align-items: center; gap: 1.6rem; margin: 1.6rem 0; }
.builder-step { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.builder-step-circle {
  width: 56px; height: 56px; border-radius: 999px; border: 2px solid var(--nav-border); color: #9a9d97;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; transition: all .15s ease;
}
.builder-step.active .builder-step-circle { border-color: var(--primary); background: rgba(var(--primary-rgb), .18); color: var(--primary); }
.builder-step span { font-size: .72rem; color: #9a9d97; text-align: center; }

/* What's Included: tabs + affiliate + accordion */
.whatsincluded-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.wi-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.wi-tab-input { position: absolute; opacity: 0; pointer-events: none; }
.wi-tab-label { padding: .6rem 1rem; font-size: .85rem; font-weight: 700; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
#wi-1:checked ~ .whatsincluded-grid .wi-tabs label[for="wi-1"], #wi-2:checked ~ .whatsincluded-grid .wi-tabs label[for="wi-2"] { color: var(--primary); border-color: var(--primary); }
.wi-panel { display: none; list-style: none; margin-bottom: 1.2rem; }
.wi-panel li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; padding: .3rem 0; }
.wi-panel li i { color: var(--primary); }
#wi-1:checked ~ .whatsincluded-grid .wi-panel-1 { display: block; }
#wi-2:checked ~ .whatsincluded-grid .wi-panel-2 { display: block; }
.affiliate-step { display: flex; gap: .8rem; padding: .9rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); margin-bottom: .7rem; }
.affiliate-step.active { border-color: var(--primary); background: var(--primary-soft); }
.affiliate-step-icon { width: 38px; height: 38px; border-radius: 999px; background: var(--border); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.affiliate-step.active .affiliate-step-icon { background: var(--primary); color: #fff; }
.affiliate-step h6 { font-size: .85rem; font-weight: 700; margin-bottom: .15rem; }
.affiliate-step p { font-size: .76rem; color: var(--text-muted); line-height: 1.5; }
.affiliate-callout { padding: .9rem; border-radius: var(--radius-sm); background: var(--primary-soft); border: 1px solid rgba(var(--primary-rgb), .3); font-size: .84rem; margin-top: .5rem; }
.qi-accordion .faq-item { box-shadow: none; }

/* Services section (dark) */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.service-tile { padding: 1.1rem; border-radius: var(--radius-sm); border: 1px solid var(--nav-border); background: var(--nav-bg-solid); transition: all .18s ease; cursor: default; }
.service-tile:hover { border-color: var(--primary); background: rgba(var(--primary-rgb), .08); }
.service-tile-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .4rem; }
.service-tile-icon { width: 38px; height: 38px; border-radius: var(--radius-sm); background: #26282a; color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-tile h5 { font-size: .85rem; font-weight: 700; color: #e5e7e2; }
.service-tile p { font-size: .76rem; color: #9a9d97; line-height: 1.5; }

.why-choose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.why-choose-card img { width: 100%; height: 110px; object-fit: cover; border-radius: var(--radius-sm); }
.why-choose-card { position: relative; }
.why-choose-overlay { position: absolute; top: 0; left: 0; right: 0; height: 110px; background: rgba(10,11,12,.45); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; }
.why-choose-card h5 { color: #fff; font-size: .85rem; font-weight: 700; margin: .6rem 0 .25rem; }
.why-choose-card p { font-size: .76rem; color: #9a9d97; line-height: 1.5; }
.dark-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--nav-border); text-align: center; }
.dark-stats .num { font-family: var(--font-heading); font-weight: 900; font-size: 1.7rem; color: var(--primary); }
.dark-stats .lbl { font-size: .74rem; color: #9a9d97; }

/* Trusted clients marquee */
.marquee-track { display: flex; gap: 1.5rem; overflow: hidden; }
.marquee-track-inner { display: flex; gap: 1.5rem; animation: marquee 28s linear infinite; }
.marquee-track:hover .marquee-track-inner { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-logo {
  width: 130px; height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); border-radius: var(--radius-sm); transition: all .18s ease; opacity: .78;
}
.marquee-logo:hover { border-color: var(--primary); opacity: 1; background: rgba(var(--primary-rgb), .08); }
.marquee-logo img { max-height: 30px; max-width: 78%; object-fit: contain; }

/* Testimonial pair (home page) */
.testimonial-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.testimonial-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.testimonial-avatar {
  width: 60px; height: 60px; border-radius: 999px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 900; font-size: 1.1rem; color: #fff; border: 3px solid var(--primary); background: var(--primary-hover);
}
.testimonial-item h5 { font-family: var(--font-heading); font-weight: 700; font-size: .95rem; }
.testimonial-item .role { font-size: .74rem; color: var(--text-muted); margin-bottom: .5rem; }
.testimonial-item .role strong { color: var(--primary); }
.testimonial-item .quote { font-size: .86rem; color: var(--text); font-style: italic; line-height: 1.6; }
.testimonial-stars { margin-top: .5rem; color: var(--primary); font-size: .75rem; }

/* Blog cards (home page) */
.blog-card { background: var(--surface); border: 1px solid var(--border); overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; text-decoration: none; color: inherit; display: block; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img { width: 100%; height: 190px; overflow: hidden; position: relative; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-cat { position: absolute; top: .8rem; left: .8rem; background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700; padding: .25rem .6rem; border-radius: var(--radius-sm); }
.blog-card-body { padding: 1.2rem; }
.blog-card-date { font-size: .72rem; color: var(--text-muted); }
.blog-card h4 { font-family: var(--font-heading); font-weight: 700; font-size: .95rem; margin: .5rem 0 .6rem; line-height: 1.4; }
.blog-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.55; margin-bottom: .8rem; }
.blog-card-more { font-size: .82rem; font-weight: 700; color: var(--primary); }

/* CTA punch bar */
.cta-punch { background: var(--primary); padding: 1.3rem 0; }
.cta-punch-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cta-punch h4 { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; }
.cta-punch .btn { background: #fff; color: var(--primary-hover); }

@media (max-width: 900px) {
  .shingle-grid, .welcome-boxes, .feature-tabs-wrap, .whatsincluded-grid, .testimonial-pair { grid-template-columns: 1fr; gap: 1.25rem; }
  .why-choose-grid, .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .shingle-grid { grid-template-columns: 1fr 1fr; }
  .why-choose-grid, .services-grid, .dark-stats { grid-template-columns: 1fr; }
  .hero-points.grid-cols { grid-template-columns: 1fr; }
  .domain-search-inner { flex-direction: column; align-items: stretch; }
  .domain-top-list { justify-content: center; }
}
