:root {
  --bg: #071018;
  --bg-soft: #0b1620;
  --bg-deep: #050c12;
  --panel: rgba(13, 22, 32, 0.88);
  --panel-strong: rgba(15, 26, 38, 0.96);
  --panel-muted: rgba(255, 255, 255, 0.03);

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(0, 184, 148, 0.24);

  --text: #f4f8fb;
  --text-soft: #c3d1dc;
  --text-muted: #89a0b0;
  --heading: #ffffff;

  --brand: #00b894;
  --brand-hover: #00d7aa;
  --brand-deep: #008f72;
  --brand-alt: #35d6ff;

  --warning: #ffd27f;
  --danger: #f06c84;
  --success: #64e29a;

  --shadow-xl: 0 34px 90px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 18px 46px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.22);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --max-width: 1240px;
  --blur: blur(18px);
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 184, 148, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(53, 214, 255, 0.09), transparent 24%),
    linear-gradient(180deg, #08111a 0%, #08141d 20%, #071018 100%);
  color: var(--text);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 79px,
      rgba(255, 255, 255, 0.013) 80px
    );
  opacity: 0.3;
  z-index: 0;
}

main,
section {
  position: relative;
  z-index: 1;
}

section {
  margin-bottom: 3rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text);
  transition:
    color var(--transition),
    opacity var(--transition),
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

a:hover {
  color: #ffffff;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(0, 184, 148, 0.7);
  outline-offset: 2px;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: #8da4b4;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 184, 148, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 184, 148, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

textarea {
  resize: vertical;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

select option,
select optgroup {
  background-color: #0e1720;
  color: #ffffff;
}

select option:checked {
  background-color: var(--brand);
  color: #ffffff;
}

code,
pre,
#api-key-secret-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

pre {
  margin: 0;
  padding: 1rem;
  border-radius: 16px;
  overflow-x: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eaf6ff;
  line-height: 1.55;
  font-size: 0.93rem;
}

.container {
  position: relative;
  z-index: 1;
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin: 0 auto;
}

.button-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Wrap + center properly inside hero */
.domain-search-form {
  width: 100%;
  margin-top: 2rem;
}

/* THIS is the key fix */
.domain-search-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  max-width: 720px;
  width: 100%;
  margin: 0 auto; /* 👈 THIS centers it properly */

  padding: 0.5rem;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.hero .domain-search-form {
  display: block;
}

.services-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 360px);
  gap: 1.5rem;

  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.services-slider > * {
  scroll-snap-align: start;
}

.services-slider::-webkit-scrollbar {
  height: 10px;
}

.services-slider::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.services-slider::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.zone-slider-wrap {
  width: 100%;
  overflow: hidden;
}

.zone-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.zone-slider > .zone-card {
  flex: 0 0 340px;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .zone-slider > .zone-card {
    flex: 0 0 85vw;
    min-width: 85vw;
  }
}

/* Input fills space */
.domain-search-input {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  background: transparent;
  border: none;
  padding: 1rem;
}

/* Button stays tight */
.domain-search-row .cta-button {
  flex-shrink: 0;
}

.domain-search-input::placeholder {
  color: var(--text-muted);
}

.domain-search-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(0, 184, 148, 0.15);
}

/* Helper text */
.domain-search-hint {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Mobile */
@media (max-width: 640px) {
  .domain-search-row {
    flex-direction: column;
  }

  .domain-search-row .cta-button {
    width: 100%;
  }
}

.domain-available {
  border: 1px solid var(--brand);
  box-shadow: 0 0 0 1px rgba(0, 184, 148, 0.15);
}

.domain-featured {
  border: 2px solid var(--brand);
  transform: scale(1.02);
}

/* Search results wrapper */
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 280px));
  gap: 1.5rem;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.search-results-grid .zone-card {
  width: 100%;
  max-width: 280px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 16, 24, 0.78);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  flex-shrink: 0;
}

.logo a {
  display: inline-flex;
  align-items: center;
}

.logo img {
  vertical-align: middle;
  filter: drop-shadow(0 8px 22px rgba(0, 184, 148, 0.2));
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav a {
  position: relative;
  margin-left: 0;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: #e8f4fb;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.nav a::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.55rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-alt));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav a:hover::after,
.nav a.active::after,
.nav a[aria-current="page"]::after,
.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle.active::after,
.nav-dropdown-toggle[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a.active,
.nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #e8f4fb;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.nav-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.nav-dropdown-toggle::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
  order: 2;
  margin-left: 0.1rem;
}

.nav-dropdown.open .nav-dropdown-toggle::before {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-dropdown-toggle.active,
.nav-dropdown-toggle[aria-current="page"],
.nav-dropdown.active .nav-dropdown-toggle {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  min-width: 240px;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.8rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15, 26, 38, 0.98), rgba(11, 22, 32, 0.98)),
    var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  z-index: 160;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 184, 148, 0.24);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition:
    transform var(--transition),
    opacity var(--transition),
    background-color var(--transition);
}

@media (min-width: 961px) {
  .nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    width: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
  }

  .nav-dropdown:hover .nav-dropdown-toggle::before {
    transform: rotate(-135deg) translateY(-1px);
  }
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6.5rem 2rem 4.75rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(0, 184, 148, 0.16), transparent 32%),
    radial-gradient(circle at 70% 20%, rgba(53, 214, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 70%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--heading);
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.34);
}

.hero p {
  max-width: 840px;
  margin: 0 auto 2rem;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  color: var(--text-soft);
}

.hero strong {
  color: #ffffff;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Buttons / Links */
.cta-button,
.cta-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.9rem 1.5rem;
  border: 1px solid rgba(0, 184, 148, 0.26);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(0, 215, 170, 0.96), rgba(0, 184, 148, 0.96));
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow:
    0 10px 28px rgba(0, 184, 148, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    filter var(--transition),
    opacity var(--transition);
}

.cta-button:hover,
.cta-link:hover {
  text-decoration: none;
  color: #ffffff;
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(53, 214, 255, 0.98), rgba(0, 184, 148, 0.98));
  box-shadow:
    0 16px 34px rgba(0, 184, 148, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button:active,
.cta-link:active {
  transform: translateY(0);
}

.hero .button-row {
  justify-content: center;
  gap: 1rem;
}

.hero .button-row .cta-button,
.hero .button-row .cta-link {
  margin: 0;
  font-size: 1.05rem;
  padding: 1rem 1.8rem;
}

.hero .button-row .cta-button {
  box-shadow:
    0 18px 45px rgba(0, 184, 148, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button[disabled],
.cta-link[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
}

.cta-button-secondary,
.cta-link.cta-button-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cta-button-secondary:hover,
.cta-link.cta-button-secondary:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* Shared panel styles */
.features,
.dashboard-section,
.legal-content.columns,
.legal-content.single-column,
.faq,
.comparison,
.legal-intro {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.features::before,
.dashboard-section::before,
.legal-content.columns::before,
.legal-content.single-column::before,
.faq::before,
.comparison::before,
.legal-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    transparent 35%,
    transparent 65%,
    rgba(0, 184, 148, 0.05)
  );
}

.features > *,
.dashboard-section > *,
.legal-content.columns > *,
.legal-content.single-column > *,
.faq > *,
.comparison > *,
.legal-intro > * {
  position: relative;
  z-index: 1;
}

/* Features */
.features {
  text-align: center;
  padding: 3rem 2rem;
  overflow: hidden;
}

.features h2,
.dashboard-section h2,
.faq h2,
.legal-intro h1,
.legal-intro h2,
.comparison h2 {
  margin-top: 0;
  margin-bottom: 1.15rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.features h3,
.faq h3,
.legal-content.single-column h2,
.legal-column h2,
.zone-card h3 {
  color: #ffffff;
  font-size: 1.32rem;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 1rem;
}

.features h4,
.dashboard-section h4,
.dashboard-section h5 {
  color: #ffffff;
  margin-top: 0;
}

.features p,
.faq p,
.legal-intro p,
.legal-content.single-column p,
.legal-column p,
.dashboard-section p {
  color: var(--text-soft);
}

.features ul,
.legal-column ul,
.legal-content.single-column ul {
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
  text-align: left;
}

.features ul li,
.legal-column ul li,
.legal-content.single-column ul li {
  position: relative;
  margin: 0;
  padding: 1rem 0 1rem 1.75rem;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.features ul li::before,
.legal-column ul li::before,
.legal-content.single-column ul li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-alt), var(--brand));
  box-shadow: 0 0 18px rgba(0, 184, 148, 0.45);
}

.features ul li:last-child,
.legal-column ul li:last-child,
.legal-content.single-column ul li:last-child {
  border-bottom: none;
}

.features form {
  text-align: left;
}

/* Intro sections */
.legal-intro {
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  text-align: center;
}

/* Two column sections */
.legal-content.columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2.25rem;
}

.legal-column {
  flex: 1 1 380px;
  max-width: 520px;
}

/* Single content sections */
.legal-content.single-column {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem;
}

.legal-content.single-column h1,
.legal-content.single-column h2,
.legal-content.single-column p,
.legal-content.single-column ul,
.legal-content.single-column li {
  display: block;
  width: 100%;
  text-align: left;
}

.legal-content.single-column h1 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  text-align: center;
  color: #ffffff;
  margin-bottom: 2rem;
}

/* Dashboard */
.dashboard-section {
  margin-top: 2rem;
  padding: 1.6rem;
}

.dashboard-subnav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.dashboard-subnav .cta-link,
.dashboard-subnav .cta-button {
  min-height: 46px;
  padding: 0.8rem 1.2rem;
}

.dashboard-subnav .cta-link.active,
.dashboard-subnav .cta-link[aria-current="page"] {
  box-shadow:
    0 12px 26px rgba(0, 184, 148, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.dashboard-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Status messages */
.status-message,
#account-status-message,
#activity-status-message,
#password-status-message,
#billing-status-message,
#sessions-status-message,
#api-keys-status-message,
#register-message,
#login-message,
#forgot-password-message,
#reset-password-message,
#resend-verification-message,
#verify-email-message {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.status-message.success {
  color: var(--success);
  border-color: rgba(100, 226, 154, 0.28);
  background: rgba(100, 226, 154, 0.08);
}

.status-message.error {
  color: #ffb7c3;
  border-color: rgba(240, 108, 132, 0.28);
  background: rgba(240, 108, 132, 0.08);
}

.status-message.warning {
  color: var(--warning);
  border-color: rgba(255, 210, 127, 0.26);
  background: rgba(255, 210, 127, 0.08);
}

/* Comparison table */
.comparison {
  padding: 2rem;
  overflow-x: auto;
}

.comparison table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.comparison th,
.comparison td {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.comparison th {
  background:
    linear-gradient(180deg, rgba(53, 214, 255, 0.95), rgba(0, 184, 148, 0.95));
  color: #ffffff;
  font-weight: 700;
}

.comparison tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

/* FAQ */
.faq {
  padding: 2rem;
  color: var(--text-soft);
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  padding: 1rem 1.1rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  font-size: 1.03rem;
  font-weight: 600;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.faq-btn:hover {
  background: rgba(0, 184, 148, 0.12);
  border-color: rgba(0, 184, 148, 0.22);
  transform: translateY(-1px);
}

.faq-content {
  display: none;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--brand);
  margin-top: 0.7rem;
  border-radius: 16px;
}

.faq-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1rem 0 0;
}

.faq-content li {
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.faq-item.active .faq-content {
  display: block;
}

.faq-item.active .faq-btn {
  background: rgba(0, 184, 148, 0.16);
  border-color: rgba(0, 184, 148, 0.26);
  color: #fff;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 1rem 3.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-brand {
  max-width: 520px;
}

.footer-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-tagline {
  margin: 0;
  color: var(--text-soft);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  text-decoration: none;
  color: #ffffff;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

/* Utility spacing */
.comparison,
.faq {
  max-width: 1100px;
  margin: 0 auto;
}

.features,
.dashboard-section,
.legal-content.columns,
.legal-content.single-column,
.faq,
.comparison,
.legal-intro {
  margin-bottom: 2rem;
}

/* Generic cards */
.zone-header-card,
.zone-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  min-width: 0;
  overflow: hidden;
}

.zone-card:hover,
.zone-header-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-strong);
}

/* Pricing */
.pricing-card {
  position: relative;
  padding: 1.6rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.pricing-card.featured {
  border-color: var(--brand);
  box-shadow:
    0 0 0 2px rgba(0, 184, 148, 0.25),
    0 20px 50px rgba(0, 0, 0, 0.4);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--brand);
  color: #fff;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  border-radius: 999px;
  font-weight: 700;
}

.pricing-price {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
  margin: 0.35rem 0 0.5rem;
  letter-spacing: -0.04em;
}

.pricing-cycle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
}

.pricing-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.5rem;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 1.1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-alt), var(--brand));
  box-shadow: 0 0 16px rgba(0, 184, 148, 0.4);
}

.pricing-list li:last-child {
  border-bottom: none;
}

/* Dashboard helpers */
.key-value-list {
  display: grid;
  gap: 0.7rem;
  color: var(--text-soft);
}

.key-value-list strong {
  color: #ffffff;
}

.stack-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.stack-list li {
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.7rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.records-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  min-width: 0;
}

.records-toolbar-controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
  min-width: 0;
}

.records-toolbar-controls input,
.records-toolbar-controls select {
  min-width: 180px;
}

.record-form-grid,
.record-form-grid-wide {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.record-form-grid {
  grid-template-columns: 1fr 180px 1.3fr;
}

.record-form-grid-wide {
  grid-template-columns:
    minmax(160px, 1fr)
    minmax(160px, 1fr)
    minmax(160px, 1fr)
    minmax(160px, 1fr);
}

.record-form-grid > *,
.record-form-grid-wide > * {
  min-width: 0;
  max-width: 100%;
}

.email-form-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.email-form-grid > * {
  min-width: 0;
  max-width: 100%;
}

.email-form-grid .field-span-2 {
  grid-column: span 2;
}

/* New service form layouts */
.zone-grid-services-forms {
  align-items: start;
}

.record-form-grid-2 {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.record-form-grid-2 > * {
  min-width: 0;
  max-width: 100%;
}

.record-form-grid-records {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.record-form-grid-records > * {
  min-width: 0;
  max-width: 100%;
}

.record-form-grid-records #dns-record-zone-id,
.record-form-grid-records #dns-record-value {
  grid-column: span 2;
}

.record-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.05rem;
  margin-bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  flex-wrap: wrap;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    transform var(--transition);
  min-width: 0;
}

.record-item:hover {
  border-color: rgba(0, 184, 148, 0.18);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.record-item-info {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  flex: 1 1 420px;
}

.record-item-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.record-item-heading strong {
  color: #ffffff;
  overflow-wrap: anywhere;
}

.record-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  color: var(--text-soft);
  font-size: 0.95rem;
  word-break: break-word;
}

.record-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.record-actions .cta-button,
.record-actions .cta-link {
  width: auto;
  min-width: 110px;
}

.record-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  min-width: 0;
}

.record-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  min-width: 0;
}

.record-actions {
  align-items: stretch;
}

.record-actions .cta-button,
.record-actions .cta-link {
  min-width: 0;
}

#service-modal .record-item-meta {
  overflow-wrap: anywhere;
}

#service-modal .record-item-info {
  min-width: 0;
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.billing-summary-card {
  min-height: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: capitalize;
}

.pill-success {
  background: rgba(100, 226, 154, 0.12);
  border-color: rgba(100, 226, 154, 0.24);
  color: var(--success);
}

.pill-warning {
  background: rgba(255, 210, 127, 0.12);
  border-color: rgba(255, 210, 127, 0.24);
  color: var(--warning);
}

.pill-danger {
  background: rgba(240, 108, 132, 0.12);
  border-color: rgba(240, 108, 132, 0.24);
  color: #ffb7c3;
}

#api-key-secret-value {
  font-size: 0.96rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(0, 184, 148, 0.22);
  border-radius: 16px;
  padding: 1rem;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.dnssec-copy-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

#service-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 2rem;
  overflow: auto;
  background: rgba(3, 10, 18, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#service-modal .zone-card {
  background:
    linear-gradient(180deg, rgba(15, 26, 38, 0.96), rgba(11, 22, 32, 0.94)),
    var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
}

/* Modal and detail blocks */
#service-modal-content .zone-card {
  margin-top: 1rem;
}

#service-modal-content pre,
#service-detail-viewer pre,
#job-detail-viewer pre,
#service-insight-panel pre {
  margin-top: 0.75rem;
}

#service-detail-viewer,
#job-detail-viewer,
#service-insight-panel,
#overview-account-summary,
#overview-customer-summary,
#overview-subscription-summary,
#overview-orders-summary,
#overview-services-summary,
#overview-jobs-summary,
#billing-subscription-summary,
#billing-order-summary,
#rbac-user-summary,
#checkout-plan-summary {
  min-height: 64px;
}

/* Shared dashboard modal styling */
#service-modal,
#email-password-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 2rem;
  overflow: auto;
  background: rgba(3, 10, 18, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#service-modal .zone-card,
#email-password-modal .zone-card {
  background:
    linear-gradient(180deg, rgba(15, 26, 38, 0.96), rgba(11, 22, 32, 0.94)),
    var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
}

#email-password-modal .records-toolbar,
#service-modal .records-toolbar {
  align-items: flex-start;
}

/* Better long-value handling inside DNS / email / service detail areas */
#selected-email-account-summary,
#selected-dns-account-summary,
#selected-dns-zone-summary,
#service-detail-viewer,
#service-insight-panel,
#job-detail-viewer {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Optional: keep big action groups tidy in DNS/email cards */
.zone-card .records-toolbar-controls {
  max-width: 100%;
}

/* Mobile modal spacing */
@media (max-width: 640px) {
  #service-modal,
  #email-password-modal {
    padding: 1rem !important;
  }
}

/* Better wrapping for long DNS values */
#selected-dns-account-summary,
#selected-dns-zone-summary,
#dns-zone-detail-viewer,
#dns-record-detail-viewer,
#dns-publish-result,
#service-detail-viewer {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Shared modal styling if DNS uses a modal */
#dns-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 2rem;
  overflow: auto;
  background: rgba(3, 10, 18, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#dns-modal .zone-card {
  background:
    linear-gradient(180deg, rgba(15, 26, 38, 0.96), rgba(11, 22, 32, 0.94)),
    var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 640px) {
  #dns-modal {
    padding: 1rem !important;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .record-form-grid-wide,
  .billing-grid,
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.5rem));
  }

  .nav-container {
    min-height: 78px;
    padding: 0.9rem 0;
    align-items: center;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(15, 26, 38, 0.98), rgba(11, 22, 32, 0.98)),
      var(--panel-strong);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    z-index: 150;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
  }

  .nav a::after,
  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    min-height: 50px;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
  }

  .nav-dropdown-toggle:hover,
  .nav-dropdown-toggle.active,
  .nav-dropdown-toggle[aria-current="page"],
  .nav-dropdown.active .nav-dropdown-toggle {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.45rem;
    padding: 0.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-dropdown-menu a {
    padding: 0.85rem 1rem;
  }

  .hero {
    padding: 5rem 1rem 3.75rem;
  }

  .features,
  .dashboard-section,
  .legal-content.columns,
  .legal-content.single-column,
  .faq,
  .comparison,
  .legal-intro {
    border-radius: 20px;
  }

  .dashboard-subnav {
    align-items: stretch;
  }

  .dashboard-subnav .cta-link,
  .dashboard-subnav .cta-button {
    min-width: 0;
  }

  .record-form-grid-2,
  .record-form-grid-records {
    grid-template-columns: 1fr;
  }

  .record-form-grid-records #dns-record-zone-id,
  .record-form-grid-records #dns-record-value {
    grid-column: span 1;
  }
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
  }

  .records-toolbar-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .records-toolbar-controls input,
  .records-toolbar-controls select,
  .records-toolbar-controls .cta-button,
  .records-toolbar-controls .cta-link {
    width: 100%;
    min-width: 0;
  }

  .record-form-grid,
  .record-form-grid-wide,
  .billing-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .record-actions {
    width: 100%;
    justify-content: stretch;
  }

  .record-actions .cta-button,
  .record-actions .cta-link {
    width: 100%;
  }

  .record-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dnssec-copy-actions {
    flex-direction: column;
  }

  .dnssec-copy-actions .cta-button,
  .dnssec-copy-actions .cta-link {
    width: 100%;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.55;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button,
  .cta-link {
    width: 100%;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0.6rem;
  }

  .features,
  .dashboard-section,
  .legal-content.single-column,
  .faq,
  .comparison,
  .legal-intro {
    padding: 1.2rem;
  }

  .comparison table {
    min-width: 640px;
  }

  .zone-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-subnav {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-subnav .cta-link,
  .dashboard-subnav .cta-button {
    width: 100%;
    margin-left: 0 !important;
  }

  #service-modal {
    padding: 1rem !important;
  }
}

@media (max-width: 700px) {
  .email-form-grid {
    grid-template-columns: 1fr;
  }

  .email-form-grid .field-span-2 {
    grid-column: span 1;
  }
}

#dashboard-view-support .record-form-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#dashboard-view-support .zone-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

#dashboard-view-support input,
#dashboard-view-support select,
#dashboard-view-support textarea {
  width: 100%;
  min-width: 0;
}

@media (max-width: 900px) {
  #dashboard-view-support .record-form-grid-wide {
    grid-template-columns: 1fr;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.status-up {
  color: #00d7aa;
  background: rgba(0, 184, 148, 0.12);
  border-color: rgba(0, 184, 148, 0.28);
}

.status-degraded {
  color: #ffd166;
  background: rgba(255, 209, 102, 0.12);
  border-color: rgba(255, 209, 102, 0.28);
}

.status-down {
  color: #ff7b7b;
  background: rgba(255, 123, 123, 0.12);
  border-color: rgba(255, 123, 123, 0.28);
}

.status-unknown {
  color: #c3d1dc;
  background: rgba(255, 255, 255, 0.08);
}

.incident-timeline {
  display: grid;
  gap: 1rem;
}

.incident-timeline-item {
  position: relative;
}

.incident-timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  color: var(--text-soft);
}

.incident-timeline-meta div {
  min-width: 150px;
}

.incident-timeline-meta strong {
  display: block;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.incident-timeline-meta p {
  margin: 0;
  opacity: 0.8;
}

@media (max-width: 640px) {
  .incident-timeline-meta {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.uptime-history-row {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.uptime-history-row:last-child {
  border-bottom: none;
}

.uptime-history-label {
  display: grid;
  gap: 0.25rem;
}

.uptime-history-label strong {
  color: #ffffff;
}

.uptime-history-label span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.uptime-bars {
  display: grid;
  grid-template-columns: repeat(30, minmax(5px, 1fr));
  gap: 4px;
  align-items: center;
}

.uptime-day {
  display: block;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.uptime-good {
  background: linear-gradient(180deg, var(--brand-hover), var(--brand));
  box-shadow: 0 0 14px rgba(0, 184, 148, 0.18);
}

.uptime-warning {
  background: linear-gradient(180deg, #ffd166, var(--warning));
  box-shadow: 0 0 14px rgba(255, 210, 127, 0.14);
}

.uptime-bad {
  background: linear-gradient(180deg, #ff7b7b, var(--danger));
  box-shadow: 0 0 14px rgba(240, 108, 132, 0.14);
}

.uptime-empty {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 700px) {
  .uptime-history-row {
    grid-template-columns: 1fr;
  }

  .uptime-bars {
    grid-template-columns: repeat(30, minmax(4px, 1fr));
    gap: 3px;
  }

  .uptime-day {
    height: 24px;
  }
}

/* Sales / conversion helpers */
.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 184, 148, 0.12);
  border: 1px solid rgba(0, 184, 148, 0.24);
  color: var(--brand-hover);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.sales-highlight {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(0, 184, 148, 0.18), rgba(53, 214, 255, 0.12));
  border: 1px solid rgba(0, 184, 148, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.plan-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.plan-card-featured {
  border-color: rgba(0, 184, 148, 0.45) !important;
  box-shadow:
    0 0 0 1px rgba(0, 184, 148, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.38) !important;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-control {
  margin-top: 0.45rem;
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    align-items: stretch;
  }

  .trust-pill {
    width: 100%;
    justify-content: center;
  }
}