:root {
  --v1-bg: #f4fbff;
  --v1-bg-soft: #ffffff;
  --v1-surface: #e9f9ff;
  --v1-primary: #0f9c95;
  --v1-primary-deep: #0a6f89;
  --v1-accent: #ffb020;
  --v1-text: #113a4a;
  --v1-muted: #54707d;
  --v1-border: #cceaf5;
  --v1-shadow: 0 12px 32px rgba(30, 114, 137, 0.14);
}

/* =========================================================
   V1 HEADER — sticky, clean, no mega menu clutter
   ========================================================= */

.v1-page .header.v1-header-shell {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #d2eaf5;
  box-shadow: 0 4px 16px rgba(15, 80, 107, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Hide top utility bar (Support / Account / USD / Language) on v1 */
.v1-page .header.v1-header-shell .top-bar {
  display: none !important;
}

/* Main header row — logo left, nav right, vertically centered */
.v1-page .header.v1-header-shell .main-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  gap: 0;
}

/* Logo: remove the default top: -13px offset that causes overlap */
.v1-page .header.v1-header-shell .navbar-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  top: 0 !important;
}

.v1-page .header.v1-header-shell .navbar-brand img {
  max-height: 52px;
  width: auto;
  top: 0 !important;
  position: static !important;
}

/* Mobile cart + hamburger — visible only on mobile inside v1 */
.v1-page .header.v1-header-shell .nav-mobiles {
  display: none;
}

/* Nav sits right */
.v1-page .header.v1-header-shell .nabbar-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

/* Flat pill-based menu */
.v1-page .header.v1-header-shell .mainmenu {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Hide items that add clutter: about, domain-promos, blog on v1 desktop */
.v1-page .header.v1-header-shell .mainmenu > li:not(.v1-priority-link):not(.cart) > a:not(.login):not([href*="logout"]) {
  display: none;
}

.v1-page .header.v1-header-shell .mainmenu > li.has-droupdown.megamenu {
  display: none !important;
}

/* Base link pill */
.v1-page .header.v1-header-shell .mainmenu > li > a,
.v1-page .header.v1-header-shell .mainmenu > li > a > span {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #1c5368;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.46rem 0.75rem;
  background: transparent;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.v1-page .header.v1-header-shell .mainmenu > li > a:hover,
.v1-page .header.v1-header-shell .mainmenu > li > a:focus {
  background: #eef8fd;
  border-color: #cde9f5;
  color: #0d4860;
}

/* Priority pill (Domain / Hosting / Checkout) */
.v1-page .header.v1-header-shell .mainmenu > li.v1-priority-link > a {
  display: inline-flex !important;
  background: #edfaff;
  border-color: #b8e2f4;
  color: #0b6284;
  font-weight: 700;
}

.v1-page .header.v1-header-shell .mainmenu > li.v1-priority-link > a:hover {
  background: #d9f3ff;
  border-color: #8ecfe8;
  color: #084d6d;
}

/* Login / Register pills */
.v1-page .header.v1-header-shell .mainmenu > li > a.login {
  display: inline-flex !important;
  background: linear-gradient(135deg, #0f9c95 0%, #0a6f89 100%);
  color: #ffffff !important;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(12, 110, 128, 0.22);
}

.v1-page .header.v1-header-shell .mainmenu > li > a.login:hover {
  background: linear-gradient(135deg, #0e8a84 0%, #085f79 100%);
  color: #ffffff !important;
}

/* Cart icon pill */
.v1-page .header.v1-header-shell .mainmenu > li.cart > a {
  border: 0 !important;
  padding: 0.25rem !important;
  background: transparent !important;
  box-shadow: none;
}

.v1-page .header.v1-header-shell .mainmenu > li.cart > a img {
  width: 38px;
  height: 38px;
}

/* Home link — show but smaller */
.v1-page .header.v1-header-shell .mainmenu > li:first-child > a {
  display: inline-flex !important;
  color: #1c5368;
}

/* Shortcut strip below header */
.v1-page .v1-header-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0 0 0.6rem;
}

.v1-page .v1-header-shortcuts a {
  text-align: center;
  border: 1px solid #cde8f4;
  border-radius: 10px;
  background: #f4fbff;
  color: #0f576e;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 0.6rem;
  transition: background 0.18s, color 0.18s;
}

.v1-page .v1-header-shortcuts a:hover,
.v1-page .v1-header-shortcuts a:focus {
  background: #e5f6ff;
  color: #0c4560;
}

.v1-site,
.v1-site * {
  box-sizing: border-box;
}

.v1-site {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 176, 32, 0.22), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(15, 156, 149, 0.2), transparent 35%),
    var(--v1-bg);
  color: var(--v1-text);
  padding-top: 0.4rem;
  padding-bottom: 5rem;
  font-family: "Outfit", "Segoe UI", sans-serif;
}

.v1-site h1,
.v1-site h2,
.v1-site h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #0d3140;
  margin: 0;
}

.v1-site p {
  margin: 0;
}

.v1-site a {
  text-decoration: none;
}

.v1-hero {
  position: relative;
  padding: 2.5rem 1rem 1rem;
}

.v1-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: stretch;
}

.v1-hero-copy,
.v1-hero-card {
  border-radius: 24px;
  border: 1px solid var(--v1-border);
  box-shadow: var(--v1-shadow);
  background: var(--v1-bg-soft);
  position: relative;
  z-index: 1;
}

.v1-hero-copy {
  padding: 2.1rem;
  animation: v1Rise 0.65s ease both;
}

.v1-hero-card {
  padding: 1.8rem;
  background: linear-gradient(165deg, #f8fffe 0%, #ebfbff 100%);
  animation: v1Rise 0.7s ease 0.06s both;
}

.v1-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  background: #e6fcf7;
  color: #0d766e;
  border: 1px solid #b9f1e8;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.34rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.v1-hero-copy h1 {
  font-size: clamp(1.95rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.v1-lead {
  color: var(--v1-muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.v1-domain-form {
  margin-top: 1.2rem;
  background: #ffffff;
  border: 2px solid #d6eef8;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  padding: 0.5rem;
}

.v1-domain-input {
  width: 100%;
  border: 0;
  border-radius: 12px;
  font-size: 1rem;
  color: #123f4f;
  padding: 0.9rem 0.95rem;
  background: #f7fdff;
}

.v1-domain-input:focus {
  outline: 2px solid rgba(15, 156, 149, 0.35);
  background: #ffffff;
}

.v1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 0.78rem 1.08rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.v1-btn:hover {
  transform: translateY(-1px);
}

.v1-btn-primary {
  background: linear-gradient(135deg, var(--v1-primary) 0%, var(--v1-primary-deep) 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(12, 123, 142, 0.25);
}

.v1-btn-primary:hover {
  color: #ffffff;
}

.v1-btn-ghost {
  border: 1px solid #acd8eb;
  color: #0d5f79;
  background: #eefaff;
}

.v1-btn-ghost:hover {
  color: #09485d;
  background: #e5f6ff;
}

.v1-btn-block {
  width: 100%;
}

.v1-chips {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.v1-chips span {
  border: 1px solid #bce5f3;
  background: #f1fbff;
  color: #0f657f;
  padding: 0.3rem 0.68rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.v1-cta-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.v1-trust-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.v1-trust-list li {
  color: #28576a;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.28rem;
}

.v1-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v1-primary), #0e77a0);
}

.v1-hero-card h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 0.5rem;
}

.v1-hero-card p {
  color: #3d6272;
}

.v1-hero-card ol {
  margin: 0.9rem 0 1.2rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.5rem;
  color: #1d4f65;
  font-weight: 500;
}

.v1-link {
  color: #0a6ea0;
  font-weight: 700;
}

.v1-link:hover {
  color: #084d74;
}

.v1-section {
  max-width: 1180px;
  margin: 1.2rem auto 0;
  border: 1px solid var(--v1-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--v1-shadow);
  padding: clamp(1.3rem, 2.2vw, 2rem);
}

.v1-section-soft {
  background: linear-gradient(180deg, #ffffff 0%, #f2fbff 100%);
}

.v1-section-head {
  max-width: 74ch;
}

.v1-section-head h2 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
}

.v1-section-head p {
  color: var(--v1-muted);
  line-height: 1.65;
}

.v1-trust-rail {
  margin-top: 0.9rem;
  padding: 0.95rem;
  background: linear-gradient(135deg, #fff8e9 0%, #eefcff 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.v1-proof-pill {
  border: 1px solid #cfe8f3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.95rem;
  display: grid;
  gap: 0.32rem;
}

.v1-proof-pill strong {
  color: #164f63;
  font-size: 0.94rem;
  font-weight: 800;
}

.v1-proof-pill span {
  color: #53727f;
  font-size: 0.86rem;
  line-height: 1.5;
}

.v1-domain-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.v1-domain-card {
  border: 1px solid #c9eaf6;
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(165deg, #ffffff 0%, #f3fbff 100%);
  display: grid;
  gap: 0.55rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.v1-domain-card:hover {
  transform: translateY(-2px);
  border-color: #9dd6e9;
}

.v1-domain-card h3 {
  font-size: 1.12rem;
}

.v1-domain-price {
  color: #0e708f;
  font-size: 1.05rem;
  font-weight: 800;
}

.v1-domain-price span {
  color: #4a7488;
  font-size: 0.86rem;
  font-weight: 600;
}

.v1-small-copy {
  color: #537280;
  font-size: 0.9rem;
  line-height: 1.45;
}

.v1-card-note {
  color: #64818d;
  font-size: 0.84rem;
  line-height: 1.5;
}

.v1-plan-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.v1-action-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.v1-action-card {
  border: 1px solid #cae8f3;
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff 0%, #f3fcff 100%);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.v1-action-card h3 {
  font-size: 1.15rem;
}

.v1-action-card p {
  color: #4f6e7b;
  line-height: 1.55;
}

.v1-plan-card {
  border: 1px solid #cae8f3;
  border-radius: 18px;
  background: #ffffff;
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.v1-plan-card header {
  display: grid;
  gap: 0.32rem;
}

.v1-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.v1-plan-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #cae8f3;
  background: #f3fbff;
  color: #0d607a;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.24rem 0.58rem;
}

.v1-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.24rem 0.58rem;
}

.v1-badge-popular {
  border: 1px solid #ffd48d;
  background: #fff5da;
  color: #8e5300;
}

.v1-plan-highlight {
  border: 2px solid #8fd1e3;
  box-shadow: 0 18px 34px rgba(13, 109, 136, 0.14);
}

.v1-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(10, 104, 132, 0.14);
}

.v1-plan-price {
  margin-top: 0.42rem;
  color: #0e728f;
  font-weight: 800;
  font-size: 1.15rem;
}

.v1-plan-price span {
  font-size: 0.86rem;
  color: #527789;
  font-weight: 700;
}

.v1-price-note {
  color: #5a7887;
  font-size: 0.84rem;
  line-height: 1.5;
}

.v1-plan-description {
  min-height: 180px;
}

.v1-feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #355b6d;
  display: grid;
  gap: 0.38rem;
  font-size: 0.92rem;
}

.v1-step-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.v1-step-grid article {
  border: 1px solid #cae8f5;
  border-radius: 18px;
  padding: 1rem;
  background: #f7fdff;
  display: grid;
  gap: 0.6rem;
}

.v1-step-grid span {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f9c95, #0f7392);
  color: #ffffff;
  font-weight: 700;
}

.v1-step-grid p {
  color: #4f6f7d;
  line-height: 1.55;
}

.v1-faq details {
  border: 1px solid #cae8f3;
  border-radius: 14px;
  background: #f9feff;
  padding: 0.85rem 1rem;
}

.v1-faq details + details {
  margin-top: 0.6rem;
}

.v1-faq summary {
  cursor: pointer;
  color: #164f63;
  font-weight: 700;
}

.v1-faq p {
  margin-top: 0.52rem;
  color: #4c6e7d;
  line-height: 1.56;
}

.v1-bottom-cta {
  max-width: 1180px;
  margin: 1.2rem auto 0;
  border: 1px solid #cde8f4;
  border-radius: 24px;
  padding: 1.3rem;
  background: linear-gradient(135deg, #fff8e7 0%, #eefcff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.v1-bottom-cta h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  margin-bottom: 0.35rem;
}

.v1-bottom-cta p {
  color: #4f6d7b;
}

.v1-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #badfed;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(6px);
}

.v1-mobile-bar a {
  text-align: center;
  padding: 0.8rem 0.5rem;
  color: #0f6079;
  font-size: 0.86rem;
  font-weight: 700;
  border-right: 1px solid #dcf1f8;
}

.v1-mobile-bar a:last-child {
  border-right: 0;
}

.v1-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(25px);
  opacity: 0.7;
  pointer-events: none;
}

.v1-glow-a {
  width: 190px;
  height: 190px;
  left: -45px;
  top: 6px;
  background: rgba(255, 170, 45, 0.3);
}

.v1-glow-b {
  width: 240px;
  height: 240px;
  right: -70px;
  top: 40px;
  background: rgba(15, 156, 149, 0.27);
}

.v1-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;
}

@keyframes v1Rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   BREAKPOINT: tablet-wide 999px-1199px
   ========================================================= */
@media (max-width: 1199px) {
  .v1-shell {
    grid-template-columns: 1fr;
  }

  .v1-trust-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v1-domain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .v1-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v1-step-grid,
  .v1-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v1-bottom-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   BREAKPOINT: tablet 768px-998px (main-header still uses desktop nav)
   ========================================================= */
@media (max-width: 998px) {
  .v1-page .header.v1-header-shell .main-header {
    padding: 0.5rem 0.75rem;
  }

  .v1-page .header.v1-header-shell .navbar-brand img {
    max-height: 44px;
  }

  /* Keep only priority pills + login + cart on tablet */
  .v1-page .header.v1-header-shell .mainmenu > li:not(.v1-priority-link):not(.cart):not(:first-child) > a.login,
  .v1-page .header.v1-header-shell .mainmenu > li:not(.v1-priority-link):not(.cart):not(:first-child) > a[href*="register"] {
    display: inline-flex !important;
  }

  .v1-page .header.v1-header-shell .mainmenu > li > a,
  .v1-page .header.v1-header-shell .mainmenu > li > a > span {
    font-size: 0.84rem;
    padding: 0.4rem 0.6rem;
  }

  .v1-page .v1-header-shortcuts {
    padding: 0 0.75rem 0.6rem;
  }

  .v1-domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v1-trust-rail {
    grid-template-columns: 1fr;
  }

  .v1-plan-grid {
    grid-template-columns: 1fr;
  }

  .v1-step-grid,
  .v1-action-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   BREAKPOINT: mobile <768px — hamburger nav takes over
   ========================================================= */
@media (max-width: 767px) {
  /* On mobile the theme's hamburger/drawer nav handles the menu.
     We only need to hide the desktop nav, show mobile cart row. */
  .v1-page .header.v1-header-shell .nabbar-nav {
    display: none;
  }

  .v1-page .header.v1-header-shell .nav-mobiles {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .v1-page .header.v1-header-shell .main-header {
    padding: 0.45rem 0.72rem;
  }

  .v1-page .header.v1-header-shell .navbar-brand img {
    max-height: 38px;
  }

  /* Shortcut strip stacks vertically on mobile */
  .v1-page .v1-header-shortcuts {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0 0.72rem 0.6rem;
  }

  .v1-site {
    padding-bottom: 6rem;
  }

  .v1-hero {
    padding: 0.85rem 0.72rem 0.2rem;
  }

  .v1-hero-copy {
    padding: 1.15rem;
    border-radius: 18px;
  }

  .v1-hero-copy h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .v1-hero-card {
    padding: 1rem;
    border-radius: 18px;
  }

  .v1-section,
  .v1-bottom-cta {
    border-radius: 16px;
    padding: 1rem;
  }

  .v1-domain-form {
    grid-template-columns: 1fr;
  }

  .v1-domain-grid {
    grid-template-columns: 1fr;
  }

  .v1-plan-grid,
  .v1-step-grid,
  .v1-action-grid {
    grid-template-columns: 1fr;
  }

  .v1-cta-row {
    flex-direction: column;
  }

  .v1-cta-row .v1-btn {
    width: 100%;
    justify-content: center;
  }

  .v1-bottom-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .v1-mobile-bar {
    display: grid;
  }
}

/* =========================================================
   BREAKPOINT: small mobile <480px
   ========================================================= */
@media (max-width: 479px) {
  .v1-page .header.v1-header-shell .navbar-brand img {
    max-height: 34px;
  }

  .v1-hero-copy h1 {
    font-size: clamp(1.4rem, 8vw, 1.95rem);
  }

  .v1-kicker {
    font-size: 0.76rem;
  }

  .v1-btn {
    font-size: 0.91rem;
    padding: 0.7rem 0.9rem;
  }

  .v1-section-head h2 {
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }
}
