/* ==========================================================================
   hetzhostingline.com — Core Styles
   Glassmorphism · Google Sans · mint-on-navy
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Google Sans", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--body);
  background-color: var(--page-bg);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Immersive atmospheric background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 12% -5%, var(--atmosphere-1), transparent 60%),
    radial-gradient(1000px 650px at 92% 8%, var(--atmosphere-2), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, var(--atmosphere-1), transparent 60%),
    linear-gradient(180deg, var(--page-bg), var(--page-bg-2));
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: 32px; line-height: 1.05; letter-spacing: -0.8px; margin-bottom: 24px; }
h2 { font-size: 28px; line-height: 1.15; }
h3 { font-size: 24px; }
h4 { font-size: 22px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

@media (min-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 36px; }
  h3 { font-size: 30px; }
  h4 { font-size: 26px; }
  h5 { font-size: 22px; }
  h6 { font-size: 18px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 60px; line-height: 1; }
  h2 { font-size: 44px; }
  h3 { font-size: 36px; }
  h4 { font-size: 30px; }
  h5 { font-size: 24px; line-height: 1.5; }
  h6 { font-size: 20px; line-height: 1.25; }
}

.lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--body);
  max-width: 60ch;
}

p { color: var(--body); line-height: 1.7; }
.small { font-size: 14px; line-height: 1.6; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1152px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 64px;
}

@media (min-width: 1024px) {
  .section { padding-block: 96px; }
}

.section--alt {
  background: color-mix(in srgb, var(--neutral-secondary-soft) 55%, transparent);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header .lead { margin: 16px auto 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
}

/* ==========================================================================
   Glass surface helper
   ========================================================================== */
.glass {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-base);
  box-shadow: var(--glass-shadow);
}

.glass::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--glass-edge-top);
  pointer-events: none;
}

.glass::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 1px;
  height: 100%;
  background: var(--glass-edge-left);
  pointer-events: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Google Sans", sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-base);
  border: 1px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
  transition: color .2s, background-color .2s, box-shadow .2s, transform .1s;
  white-space: nowrap;
  text-align: center;
}

.btn:active { transform: translateY(1px); }
.btn svg, .btn .icon { width: 16px; height: 16px; flex: none; }

/* Loading / "thinking" state */
.btn.is-loading {
  color: transparent !important;
  pointer-events: none;
  position: relative;
  transition: none;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  top: 50%; left: 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: var(--radius-full);
  animation: btn-spin .65s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-color-scheme: dark) {
  .btn--brand.is-loading::after {
    border-color: rgba(15, 23, 42, 0.35);
    border-top-color: #0F172A;
  }
}

.btn--lg { font-size: 16px; padding: 12px 20px; }
.btn--xl { font-size: 16px; padding: 14px 24px; }
.btn--sm { font-size: 14px; padding: 8px 12px; }
.btn--block { display: flex; width: 100%; }
.btn--pill { border-radius: var(--radius-full); }

/* Brand */
.btn--brand {
  background: var(--brand);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-xs), inset var(--color-1-400) 0 6px 0px -5px, var(--color-1-700) 0 4px 10px -5px;
}
@media (prefers-color-scheme: dark) {
  .btn--brand { color: var(--dark); }
}
.btn--brand:hover { background: var(--brand-strong); }
.btn--brand:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--brand-medium); }

/* Secondary */
.btn--secondary {
  background: var(--neutral-secondary-medium);
  border-color: var(--border-default-medium);
  color: var(--body);
  box-shadow: var(--shadow-xs), inset var(--color-1-400) 0 6px 0px -5px, var(--color-1-700) 0 4px 10px -5px;
}
.btn--secondary:hover { background: var(--neutral-tertiary-medium); color: var(--heading); }
.btn--secondary:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--neutral-tertiary); }

/* Tertiary */
.btn--tertiary {
  background: var(--neutral-primary-soft);
  border-color: var(--border-default);
  color: var(--body);
  box-shadow: var(--shadow-xs), inset var(--color-1-400) 0 6px 0px -5px, var(--color-1-700) 0 4px 10px -5px;
}
.btn--tertiary:hover { background: var(--neutral-secondary-medium); color: var(--heading); }

/* Ghost — no shadow, no glint */
.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--heading);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--neutral-secondary-medium); }
.btn--ghost:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--neutral-tertiary); }

/* Disabled */
.btn:disabled,
.btn[disabled] {
  background: var(--disabled);
  border-color: var(--border-default-medium);
  color: var(--fg-disabled);
  cursor: not-allowed;
  box-shadow: none;
}

/* ==========================================================================
   Badges
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: var(--radius-default);
  border: 1px solid transparent;
}
.badge--brand {
  background: var(--brand-softer);
  border-color: var(--border-brand-subtle);
  color: var(--fg-brand-strong);
}
.badge--alt {
  background: var(--neutral-primary-soft);
  border-color: var(--border-default);
  color: var(--heading);
}
.badge--pill { border-radius: var(--radius-full); }
.badge--lg { font-size: 14px; padding: 4px 8px; }
.badge .dot {
  width: 7px; height: 7px; border-radius: var(--radius-full);
  background: var(--brand); flex: none;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  border-radius: var(--radius-base);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--heading);
  font-size: 18px;
  letter-spacing: -0.3px;
}

.brand__mark {
  width: 32px; height: 32px;
  border-radius: var(--radius-default);
  background: linear-gradient(135deg, var(--brand), var(--teal));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  flex: none;
  box-shadow: 0 4px 14px var(--atmosphere-1);
}
.brand__mark svg { width: 18px; height: 18px; }
.brand__tld { color: var(--fg-brand); }

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-default);
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: background-color .2s, color .2s;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
}
.nav-link:hover { background: var(--glass-bg-hover); color: var(--heading); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .15s; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  padding: 8px;
  border-radius: var(--radius-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 60;
}
.dropdown.open .dropdown__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown.open .chev { transform: rotate(180deg); }

.dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-default);
  transition: background-color .2s, color .2s;
}
.dropdown__item:hover { background: var(--glass-bg-hover); }
.dropdown__item:hover .dropdown__title { color: var(--heading); }
.dropdown__ic {
  width: 36px; height: 36px; border-radius: var(--radius-default);
  background: var(--brand-softer); color: var(--fg-brand-strong);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.dropdown__ic svg { width: 18px; height: 18px; }
.dropdown__title { font-size: 14px; font-weight: 500; color: var(--heading); display: block; }
.dropdown__desc { font-size: 12px; color: var(--body-subtle); }

/* Mobile menu toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-default);
  background: transparent;
  border: none;
  color: var(--heading);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-menu {
  display: none;
  margin-top: 8px;
  padding: 8px;
  border-radius: var(--radius-base);
  flex-direction: column;
  gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { width: 100%; justify-content: flex-start; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-block: 56px 32px; }
@media (min-width: 1024px) { .hero { padding-block: 96px 64px; } }

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

.hero__copy { max-width: 640px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand), var(--teal), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead { margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 520px;
}
.hero__stat .num { font-size: 24px; font-weight: 700; color: var(--heading); }
.hero__stat .lbl { font-size: 13px; color: var(--body-subtle); }

/* Hero visual / floating console */
.hero__visual { position: relative; }
.console {
  padding: 0;
  overflow: hidden;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--glass-border-subtle);
}
.console__dot { width: 11px; height: 11px; border-radius: var(--radius-full); }
.console__dot--r { background: #ff5f57; }
.console__dot--y { background: #febc2e; }
.console__dot--g { background: #28c840; }
.console__title { margin-left: 8px; font-size: 13px; color: var(--body-subtle); }
.console__body { padding: 18px; font-family: "Inter", monospace; font-size: 13px; line-height: 1.9; }
.console__line { color: var(--body); }
.console__line .k { color: var(--fg-brand); }
.console__line .m { color: var(--sky); }
.console__cursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--brand);
  vertical-align: middle;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__float {
  position: absolute;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--heading);
  border-radius: var(--radius-default);
  animation: float 5s ease-in-out infinite;
}
.hero__float .dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--success); }
.hero__float--1 { top: -18px; right: 8px; }
.hero__float--2 { bottom: -16px; left: -10px; animation-delay: 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 600px) { .hero__float { display: none; } }

/* Trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 40px;
  padding-top: 8px;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--body-subtle);
}
.trust__item svg { width: 18px; height: 18px; color: var(--fg-brand); }

/* ==========================================================================
   Catalog
   ========================================================================== */
.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  margin: 0 auto 40px;
  width: fit-content;
  max-width: 100%;
  border-radius: var(--radius-full);
}
.tab {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.tab.active { background: var(--brand); color: var(--white); }
@media (prefers-color-scheme: dark) { .tab.active { color: var(--dark); } }
.tab:not(.active):hover { color: var(--heading); }

.catalog-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }

.plan {
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-4px); }
.plan__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.plan__name { font-size: 18px; font-weight: 500; color: var(--heading); }
.plan__cat { font-size: 13px; color: var(--body-subtle); margin-bottom: 20px; }

.plan__specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--glass-border-subtle);
  border-bottom: 1px solid var(--glass-border-subtle);
  margin-bottom: 20px;
}
.spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.spec__label { display: inline-flex; align-items: center; gap: 8px; color: var(--body); }
.spec__label svg { width: 16px; height: 16px; color: var(--fg-brand); flex: none; }
.spec__val { color: var(--heading); font-weight: 500; }

.plan__price { margin-top: auto; margin-bottom: 16px; }
.plan__price .mo { font-size: 30px; font-weight: 700; color: var(--heading); }
.plan__price .unit { font-size: 14px; color: var(--body-subtle); }
.plan__price .hr { font-size: 13px; color: var(--body-subtle); margin-top: 2px; }

.plan--featured { box-shadow: var(--glass-shadow), 0 0 0 1px var(--brand); }

/* ==========================================================================
   Features
   ========================================================================== */
.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature {
  padding: 28px 24px;
}
.feature__ic {
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: var(--brand-softer);
  color: var(--fg-brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature__ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { font-size: 15px; }

/* Locations / ecosystem band */
.eco {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 1024px) { .eco { grid-template-columns: 1fr 1fr; gap: 56px; } }
.eco__list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.eco__item { display: flex; gap: 14px; }
.eco__item .ck {
  width: 28px; height: 28px; flex: none;
  border-radius: var(--radius-full);
  background: var(--brand-softer); color: var(--fg-brand-strong);
  display: inline-flex; align-items: center; justify-content: center;
}
.eco__item .ck svg { width: 16px; height: 16px; }
.eco__item h4 { font-size: 17px; margin-bottom: 2px; }
.eco__item p { font-size: 14px; }

.regions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 24px;
}
.region {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-default);
  background: var(--glass-bg);
  font-size: 14px;
  color: var(--heading);
  border: 1px solid var(--glass-border-subtle);
}
.region .flag { font-size: 20px; }
.region .ping { margin-left: auto; font-size: 12px; color: var(--fg-brand); font-weight: 500; }

/* CTA band */
.cta-band { padding-block: 32px; }
.cta-card {
  text-align: center;
  padding: 56px 24px;
}
.cta-card h2 { margin-bottom: 16px; }
.cta-card .lead { margin: 0 auto 28px; }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding-block: 56px 32px; margin-top: 32px; }
.footer__grid {
  display: grid;
  gap: 40px 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer__brandcol p { font-size: 14px; margin-top: 16px; max-width: 34ch; }

/* Contact (phone / fax) */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.footer__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--body);
}
.footer__contact-row svg { width: 16px; height: 16px; flex: none; color: var(--fg-brand); }

/* Social icons */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--body);
  transition: color .2s, border-color .2s, background-color .2s, transform .15s;
}
.footer__social a:hover {
  color: var(--fg-brand);
  border-color: var(--border-brand);
  background: var(--glass-bg-hover);
  transform: translateY(-2px);
}
.footer__social svg { width: 18px; height: 18px; }

/* Payment methods band */
.footer__pay {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border-subtle);
}
.footer__pay-label { color: var(--body-subtle); }
.pay-logos { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay {
  width: 46px;
  height: 30px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-default-subtle);
  box-shadow: var(--shadow-2xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Google Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  overflow: hidden;
}
.pay--visa { color: #1A1F71; font-style: italic; letter-spacing: 1px; }
.pay--amex { background: #006FCF; color: #FFFFFF; border-color: #006FCF; letter-spacing: 1px; }
.pay svg { display: block; }
.footer h5 { font-size: 14px; margin-bottom: 16px; color: var(--heading); }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: var(--body); transition: color .2s; }
.footer__links a:hover { color: var(--fg-brand); }

.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__bottom .copy { font-size: 13px; color: var(--body-subtle); }

/* Language selector */
.lang-select {
  position: relative;
}
.lang-select__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-default);
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  background: transparent;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  font-family: inherit;
}
.lang-select__trigger:hover { color: var(--heading); background: var(--glass-bg-hover); }
.lang-select__trigger svg { width: 16px; height: 16px; }
.lang-select__menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  border-radius: var(--radius-base);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 60;
}
.lang-select.open .lang-select__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-select__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--radius-default);
  font-size: 14px;
  color: var(--body);
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.lang-select__opt:hover { background: var(--glass-bg-hover); color: var(--heading); }
.lang-select__opt.active { color: var(--fg-brand); }
.lang-select__opt .flag { font-size: 18px; }

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  margin-inline: auto;
  max-width: 1040px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: var(--radius-base);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner.show { opacity: 1; transform: none; }

.cookie-banner__icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--brand-softer);
  color: var(--fg-brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cookie-banner__icon svg { width: 24px; height: 24px; }

.cookie-banner__body { flex: 1; min-width: 0; }
.cookie-banner__title { font-size: 15px; font-weight: 500; color: var(--heading); margin-bottom: 2px; }
.cookie-banner__text { font-size: 13.5px; color: var(--body); line-height: 1.55; }
.cookie-banner__text a { color: var(--fg-brand); font-weight: 500; }
.cookie-banner__text a:hover { text-decoration: underline; }

.cookie-banner__actions {
  flex: none;
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* ==========================================================================
   Consent checkbox (registration)
   ========================================================================== */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  cursor: pointer;
  position: relative;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.consent input[type="checkbox"]:hover { border-color: var(--border-default-strong); }
.consent input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--brand-soft);
}
.consent input[type="checkbox"]:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (prefers-color-scheme: dark) {
  .consent input[type="checkbox"]:checked::after { border-color: var(--dark); }
}
.consent label {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--body);
  cursor: pointer;
}
.consent a { color: var(--fg-brand); font-weight: 500; }
.consent a:hover { text-decoration: underline; }

.field.has-error .consent input[type="checkbox"] { border-color: var(--border-danger); }
.consent-error {
  display: none;
  font-size: 12.5px;
  color: var(--fg-danger);
  margin-top: 6px;
}
.field.has-error .consent-error { display: block; }

/* ==========================================================================
   Mobile refinements (smartphones)
   ========================================================================== */
@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .section { padding-block: 48px; }
  .section-header { margin-bottom: 32px; }

  /* Navbar: keep it compact, hide the secondary ghost "Sign in" (it lives in
     the mobile menu) and shrink the brand mark slightly. */
  .navbar { padding: 8px 0; }
  .navbar__inner { padding: 10px 16px; gap: 10px; }
  .brand { font-size: 16px; gap: 8px; }
  .nav-actions .btn--ghost { display: none; }
  .nav-actions { gap: 8px; }

  /* Hero */
  .hero { padding-block: 36px 16px; }
  .hero__grid { gap: 36px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { gap: 12px; }
  .hero__stat .num { font-size: 20px; }
  .hero__stat .lbl { font-size: 12px; }
  .trust { gap: 12px 20px; margin-top: 32px !important; }
  .trust__item { font-size: 12.5px; }
  .console__body { font-size: 12px; padding: 14px; }

  /* Catalog */
  .catalog-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
  .tab { white-space: nowrap; flex: 1 0 auto; }
  .catalog-grid { gap: 16px; }
  .plan { padding: 20px; }

  /* Features / ecosystem */
  .feature-grid { gap: 16px; }
  .feature { padding: 22px 20px; }
  .regions { grid-template-columns: 1fr; padding: 16px; }
  .eco__list { gap: 14px; }

  /* CTA */
  .cta-card { padding: 40px 20px; }
  .cta-card__actions .btn { flex: 1 1 100%; }

  /* Footer */
  .footer { padding-block: 40px 24px; }
  .footer__grid { padding: 28px !important; gap: 28px 16px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* Cookie banner sits above thumb reach comfortably */
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
}

@media (max-width: 380px) {
  h1 { font-size: 28px; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat { display: flex; align-items: baseline; gap: 8px; }
  .lead, .hero__lead { font-size: 17px; }
}

/* Avoid sticky navbar eating too much height on short landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
  .navbar { position: static; }
}
