:root {
  --bg-light: #ffffff;
  --bg-slate: #f8fafc;
  --bg-stone: #f4f4f0;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;

  /* Signature 11x Terracotta Orange Default */
  --accent: #d14d28;
  --accent-rgb: 209, 77, 40;
  --accent-contrast: #ffffff;
}

body.full-dark-mode {
  --bg-light: #090d16;
  --bg-slate: #0f172a;
  --bg-stone: #0b0f19;
  --text-dark: #f8fafc;
  --text-muted: #94a3b8;
  --border-light: #1e293b;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family:
    "Jakarta",
    "Arial",
    -apple-system,
    sans-serif;
  overflow-x: hidden;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.h1-hero {
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.h2-section {
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.h3-card {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.body-lead {
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.6;
}

.body-card {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.58;
}

.eyebrow-pill {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Cosmic Hero Canvas */
.cosmic-hero {
  background-color: #06080f;
  color: #ffffff;
  background-image:
    radial-gradient(
      1px 1px at 16% 24%,
      rgba(255, 255, 255, 0.35) 50%,
      transparent 100%
    ),
    radial-gradient(
      1px 1px at 54% 14%,
      rgba(255, 255, 255, 0.25) 50%,
      transparent 100%
    ),
    radial-gradient(
      1.5px 1.5px at 84% 28%,
      rgba(255, 255, 255, 0.28) 50%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 90% 42% at 50% 105%,
      rgba(var(--accent-rgb), 0.32),
      rgba(var(--accent-rgb), 0.05) 55%,
      transparent 80%
    ),
    radial-gradient(
      circle at 76% 48%,
      rgba(var(--accent-rgb), 0.12),
      transparent 52%
    );
}

/* 11x.ai Progressive Top Viewport Blur Aura */
.nav-proximity-blur-zone {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 128px;
  z-index: 45;
  pointer-events: none;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  background: linear-gradient(
    to bottom,
    rgba(6, 8, 15, 0.35) 0%,
    rgba(6, 8, 15, 0.12) 55%,
    rgba(6, 8, 15, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Seam-Free Menu Bar (Isolated ::before glass surface prevents border-radius / gradient edge lines) */
.ezitech-exact-nav {
  position: relative;
  height: 60px;
  border-radius: 15px;
  background: transparent;
  border: none;
  padding-left: 16px;
  padding-right: 6px;
  isolation: isolate;
}

.ezitech-exact-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background:
    radial-gradient(
      ellipse 42% 140% at 13% 50%,
      rgba(var(--accent-rgb), 0.46) 0%,
      rgba(var(--accent-rgb), 0.14) 55%,
      rgba(var(--accent-rgb), 0) 100%
    ),
    rgba(12, 11, 14, 0.9);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    0 10px 28px -8px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.ezitech-exact-nav.scrolled-nav::before {
  background:
    radial-gradient(
      ellipse 42% 140% at 13% 50%,
      rgba(var(--accent-rgb), 0.55) 0%,
      rgba(var(--accent-rgb), 0.18) 55%,
      rgba(var(--accent-rgb), 0) 100%
    ),
    rgba(10, 9, 12, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 14px 34px -8px rgba(0, 0, 0, 0.6);
}

/* Hover-Only Menu Highlighting */
.nav-links-group:hover .nav-pill-item {
  opacity: 0.52;
  filter: blur(0.65px);
}
.nav-links-group .nav-pill-item:hover,
.nav-links-group .group:hover > .nav-pill-item {
  opacity: 1 !important;
  filter: blur(0px) !important;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
}

.nav-pill-item {
  padding: 7px 14px;
  border-radius: 9px;
  border: 1px solid transparent;
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.group:hover .nav-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

/* Darker Deep Obsidian Sub-Menu with Subtle Orange Gradient, 64px Blur & Fine Noise */
.ezitech-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: rgba(7, 6, 6, 0.96);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E"),
    radial-gradient(
      ellipse 75% 55% at 10% 0%,
      rgba(var(--accent-rgb), 0.11) 0%,
      rgba(var(--accent-rgb), 0.03) 50%,
      transparent 80%
    ),
    radial-gradient(
      circle at 90% 100%,
      rgba(var(--accent-rgb), 0.07) 0%,
      transparent 55%
    ),
    linear-gradient(
      145deg,
      rgba(14, 10, 9, 0.96) 0%,
      rgba(7, 6, 6, 0.97) 60%,
      rgba(11, 8, 8, 0.96) 100%
    );
  backdrop-filter: blur(64px) saturate(190%);
  -webkit-backdrop-filter: blur(64px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: 18px;
  box-shadow:
    0 28px 64px -10px rgba(0, 0, 0, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.group:hover .ezitech-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.submenu-row:hover .submenu-icon-box {
  background-color: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.55);
  color: #ffffff;
}
.submenu-row:hover .submenu-title {
  color: var(--accent);
}

.sec-white {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.sec-slate {
  background-color: var(--bg-slate);
  color: var(--text-dark);
}

.sec-stone {
  background-color: var(--bg-stone);
  color: var(--text-dark);
}

.card-surface {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 22px;
}

.card-subtle {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: 20px;
}

.text-muted-theme {
  color: var(--text-muted);
}

.border-theme {
  border-color: var(--border-light);
}

.accent-color {
  color: var(--accent);
}

.accent-fill {
  background-color: var(--accent);
  color: var(--accent-contrast);
}

.accent-outline {
  border-color: var(--accent);
}

.accent-soft-bg {
  background-color: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 999px;
  background: var(--border-light);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

#heroUrlInput {
  min-width: 0;
}
.mast .brand {
  color: white;
}
.mast a.nav-quote {
  color: #111;
}
.hero-form {
  display: contents;
}
.hero-form input {
  min-width: 0;
}
@media (max-width: 480px) {
  #heroUrlInput {
    width: 100%;
  }
  #heroSubmitScopeBtn {
    white-space: normal;
  }
}

.home-directory {
  text-align: center;
  background: white;
  padding: 0 20px 48px;
}
.home-directory a {
  display: inline-flex;
  padding: 13px 22px;
  border: 1px solid #bcb6b4;
  border-radius: 50px;
  font-weight: 700;
}
