:root {
  --bg: #07080c;
  --bg-elevated: #0d0f17;
  --surface: #11131d;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: #f3f4f8;
  --muted: #9399ad;
  --dim: #646b82;
  --cyan: #22d3ee;
  --magenta: #e879f9;
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 14.9%, 0.938 20.3%, 1.017 24.1%, 1.045 27.2%, 1.041 31.1%, 1.005 40.9%, 0.996 51.3%, 1 100%);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", ui-sans-serif, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Animated GPU-Composited 3D Studio Atmosphere */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  will-change: transform;
  transform: translateZ(0);
}

@media (max-width: 768px) {
  .bg-orb {
    filter: none;
    animation: none !important;
    opacity: 0.22;
    will-change: auto;
  }
  .topbar {
    background: rgba(7, 8, 12, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .section {
    content-visibility: auto;
    contain-intrinsic-size: 600px;
  }
}

.bg-orb-cyan {
  top: -18vmax;
  left: -12vmax;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.75) 0%, transparent 70%);
  animation: orbDriftA 22s ease-in-out infinite alternate;
}

.bg-orb-magenta {
  bottom: -20vmax;
  right: -12vmax;
  background: radial-gradient(circle, rgba(232, 121, 249, 0.7) 0%, rgba(139, 92, 246, 0.35) 45%, transparent 72%);
  animation: orbDriftB 26s ease-in-out infinite alternate;
}

#bgCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes orbDriftA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(8vw, 6vh, 0) scale(1.12); }
}

@keyframes orbDriftB {
  0% { transform: translate3d(0, 0, 0) scale(1.05); }
  100% { transform: translate3d(-9vw, -7vh, 0) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb {
    animation: none;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.container {
  width: min(1160px, 90%);
  margin: 0 auto;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  user-select: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.28)) drop-shadow(0 0 22px rgba(192, 132, 252, 0.2));
  transition: transform 220ms ease, filter 220ms ease;
}

.brand:hover .brand-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.45)) drop-shadow(0 0 28px rgba(192, 132, 252, 0.35));
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}

.brand-name {
  font-family: "Outfit", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 1.38rem;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 48%, #cbd5e1 85%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: filter 220ms ease;
}

.brand:hover .brand-name {
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.35));
}

.brand-sub {
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.brand-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.85);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: clamp(44px, 5vw, 72px) 0 clamp(38px, 4.5vw, 60px);
}

.hero-grid {
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-copy {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-copy .lead {
  margin-inline: auto;
}

.kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 10px;
}

h1 {
  font-family: "Syne", ui-sans-serif, "Segoe UI Variable Display", sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.serif-italic {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: #d9dde9;
}

h2 {
  font-family: "Syne", ui-sans-serif, "Segoe UI Variable Display", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.25;
}

.lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 48ch;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 420ms var(--spring), background 180ms ease, border-color 180ms ease;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn-solid {
  background: var(--text);
  color: var(--bg);
}

.btn-solid:hover {
  background: #ffffff;
}

.btn-line {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-line:hover {
  border-color: var(--border-strong);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.hero-meta .handle {
  color: var(--text);
}

/* 3D Hero Stage */
.hero-stage {
  background: radial-gradient(circle at 50% 42%, #131728 0%, #090a10 72%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
}

.stage-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.stage-name {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.stage-btns {
  display: flex;
  gap: 6px;
}

.mini-btn {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(7, 8, 12, 0.75);
  color: var(--muted);
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease;
}

.mini-btn:hover,
.mini-btn[aria-pressed="true"] {
  color: var(--text);
  border-color: var(--border-strong);
}

#heroCanvas {
  width: 100%;
  height: auto;
  display: block;
  cursor: grab;
}

#heroCanvas:active {
  cursor: grabbing;
}

.model-switcher {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.model-tab {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.model-tab:hover {
  color: var(--text);
}

.model-tab.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

/* Sections */
.section {
  padding: clamp(38px, 4.5vw, 58px) 0;
}

.section-divider {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.section-head {
  margin-bottom: 24px;
}

.section-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 640px;
  line-height: 1.5;
}

/* Compact 3-Column 3D Showcase Grid */
.showcase-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.showcase-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color 220ms ease, transform 420ms var(--spring);
}

.showcase-row:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.showcase-visual {
  position: relative;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 48%, #14192b 0%, #07080d 78%);
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
}

.preview-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
  background: rgba(10, 14, 24, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.mini-3d {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: grab;
}

.mini-3d:active {
  cursor: grabbing;
}

.mini-3d-viewer {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-color: var(--cyan);
  --progress-bar-height: 2px;
}

.showcase-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 6px 6px;
}

.row-tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  font-weight: 600;
}

.showcase-body h3 {
  font-size: 1.08rem;
}

.showcase-body p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 48ch;
}

.text-link {
  align-self: flex-start;
  margin-top: auto;
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 160ms ease, transform 360ms var(--spring);
}

.text-link:hover {
  border-color: var(--cyan);
  transform: translateX(3px);
}

/* Process Grid */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.proc-item {
  position: relative;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(165deg, rgba(16, 21, 34, 0.82), rgba(8, 11, 18, 0.94));
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.proc-item:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 22px rgba(56, 189, 248, 0.08);
}

.proc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.proc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #e0f2fe;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(192, 132, 252, 0.18));
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.proc-tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.proc-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.proc-item p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.48;
}

/* Quote Studio */
.quote-layout {
  display: flex;
  justify-content: center;
}

.quote-side {
  width: min(680px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.quote-side .lead {
  margin-inline: auto;
}

.freedom-callout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  font-size: 0.8rem;
  color: #e0f2fe;
  margin-bottom: 16px;
}

.callout-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* Bulk & Direct Contact Card */
.bulk-contact-card {
  width: 100%;
  margin-top: 4px;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(16, 22, 36, 0.85), rgba(10, 13, 22, 0.92));
  border: 1px solid rgba(56, 189, 248, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.bulk-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.bulk-badge {
  align-self: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 3px 9px;
  border-radius: 999px;
}

.bulk-contact-card h3 {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text);
}

.bulk-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 54ch;
}

.bulk-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.bulk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.bulk-btn-primary {
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
}

.bulk-btn-primary:hover {
  background: rgba(56, 189, 248, 0.24);
  border-color: rgba(56, 189, 248, 0.7);
}

.bulk-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
}

.bulk-btn-ghost:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.quote-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-row[hidden] {
  display: none;
}

label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--muted);
}

input, select, textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 9px 12px;
  font: inherit;
  font-size: 0.9rem;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--border-strong);
  outline: none;
}

/* Modern Custom Select Dropdown */
.cs-wrapper {
  position: relative;
  width: 100%;
}

.cs-native-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.cs-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 9px 12px;
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cs-trigger:hover {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(15, 19, 30, 0.9);
}

.cs-wrapper.is-open .cs-trigger,
.cs-trigger:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
  outline: none;
}

.cs-trigger-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 200ms ease, color 200ms ease;
}

.cs-wrapper.is-open .cs-arrow {
  transform: rotate(180deg);
  color: var(--cyan);
}

.cs-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(13, 17, 28, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 160ms ease, transform 180ms ease;
}

.cs-wrapper.is-open .cs-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cs-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.cs-option:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
}

.cs-option.is-selected {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.18), rgba(192, 132, 252, 0.14));
  color: #ffffff;
  font-weight: 600;
}

.cs-option-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  opacity: 0;
  flex-shrink: 0;
}

.cs-option.is-selected .cs-option-dot {
  opacity: 1;
}

/* Conditional Upload & Link Fields */
.conditional-field[hidden] {
  display: none;
}

.upload-label {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.sr-only-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.upload-dropzone {
  position: relative;
  border: 1.5px dashed rgba(148, 163, 184, 0.32);
  border-radius: 12px;
  background: rgba(10, 14, 24, 0.72);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.upload-dropzone-compact {
  padding: 10px 12px;
}

.upload-dropzone:hover,
.upload-dropzone.is-dragover,
.upload-dropzone:focus-visible {
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.06);
  outline: none;
}

.upload-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.86rem;
  color: var(--muted);
}

.upload-dropzone-compact .upload-empty {
  flex-direction: row;
  justify-content: center;
  gap: 8px;
}

.upload-empty strong {
  color: #e0f2fe;
}

.upload-empty small {
  font-size: 0.74rem;
  opacity: 0.75;
}

.upload-icon {
  font-size: 1.15rem;
  color: var(--cyan);
}

.upload-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
}

.upload-selected[hidden] {
  display: none;
}

.upload-filename {
  color: #e0f2fe;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-clear {
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
  border-radius: 8px;
  padding: 4px 10px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.upload-clear:hover {
  background: rgba(244, 63, 94, 0.25);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.feedback {
  font-size: 0.88rem;
  color: var(--cyan);
}

/* Footer */
.footer {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

/* GPU-composited scroll reveals (hero above-the-fold always visible immediately) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

.hero-copy.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .showcase-row, .text-link {
    transition: none;
  }
}

@media (max-width: 960px) {
  .hero-grid, .quote-layout {
    grid-template-columns: 1fr;
  }
  .showcase-list {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1160px, 92%);
  }

  /* Crisp Mobile Header */
  .nav-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: auto;
    padding: 10px 0 0;
  }

  .brand {
    justify-content: center;
    gap: 10px;
    padding-bottom: 10px;
  }

  .brand-logo {
    height: 36px;
  }

  .brand-name {
    font-size: 1.08rem;
    letter-spacing: 0.12em;
  }

  .brand-sub {
    font-size: 0.54rem;
    letter-spacing: 0.18em;
    gap: 5px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-around;
    gap: 8px;
    padding: 8px 0 10px;
    border-top: 1px solid var(--border);
  }

  .nav-links a {
    font-size: 0.84rem;
    padding: 4px 8px;
    border-radius: 8px;
  }

  /* Hero & Typography */
  .hero {
    padding: 28px 0 32px;
  }

  .kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
  }

  h1 {
    font-size: clamp(2rem, 8.8vw, 2.75rem);
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .lead {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-meta {
    justify-content: center;
    gap: 6px 10px;
    font-size: 0.7rem;
  }

  /* Sections & Cards */
  .section {
    padding: 34px 0;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-head h2 {
    font-size: clamp(1.55rem, 6.8vw, 2.1rem);
  }

  .showcase-row {
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .showcase-visual {
    min-height: 170px;
    padding: 8px;
  }

  .mini-3d {
    max-width: 100%;
    height: auto !important;
  }

  .process-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .proc-item,
  .bulk-contact-card,
  .quote-form {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .bulk-actions {
    flex-direction: column;
  }

  .bulk-actions .bulk-btn {
    width: 100%;
  }

  /* Prevent iOS Safari zoom on input focus */
  input, select, textarea {
    font-size: 16px;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer & Cookie Banner */
  .footer {
    padding: 22px 0 84px;
    text-align: center;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .footer-right {
    justify-content: center;
    gap: 6px 8px;
    font-size: 0.8rem;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-banner-inner {
    padding: 14px;
    gap: 12px;
  }

  .cookie-banner-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .cookie-banner-actions .cookie-btn {
    padding: 9px 6px;
    font-size: 0.78rem;
  }

  .kvkk-card {
    padding: 18px 16px;
    max-height: 88vh;
  }

  .cookie-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-modal-actions .cookie-btn {
    width: 100%;
  }
}

/* KVKK Consent, Modal & Live Form Feedback */
.kvkk-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.kvkk-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--cyan);
  cursor: pointer;
}

.kvkk-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--cyan);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.kvkk-link:hover {
  color: var(--text);
}

.footer-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.feedback.is-success {
  color: #4ade80;
}

.feedback.is-error {
  color: #fca5a5;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.kvkk-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 80;
}

.kvkk-modal[hidden] {
  display: none;
}

#cookiePolicyModal,
#kvkkModal {
  z-index: 90;
}

.kvkk-card {
  width: min(640px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.kvkk-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.kvkk-head h2 {
  font-size: 1.15rem;
  font-weight: 700;
}

.kvkk-close {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  width: 34px;
  height: 34px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.kvkk-close:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.kvkk-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.kvkk-body strong {
  color: var(--text);
}

.kvkk-body code {
  background: rgba(148, 163, 184, 0.14);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.84em;
  color: #e0f2fe;
}

/* Cookie Consent Banner & Preferences Modal */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 75;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  pointer-events: auto;
  width: min(960px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(11, 14, 24, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.62);
}

.cookie-banner-text {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cookie-banner-text strong {
  font-size: 0.94rem;
  color: var(--text);
}

.cookie-banner-text p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.cookie-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(148, 163, 184, 0.6);
  transform: translateY(-1px);
}

.cookie-btn-accent {
  background: rgba(34, 211, 238, 0.16);
  border-color: rgba(34, 211, 238, 0.55);
  color: #e0f2fe;
}

.cookie-btn-accent:hover {
  background: rgba(34, 211, 238, 0.25);
  border-color: rgba(34, 211, 238, 0.8);
}

.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0;
}

.cookie-pref-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.cookie-pref-toggle {
  cursor: pointer;
}

.cookie-pref-toggle input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--cyan);
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-pref-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cookie-pref-info strong {
  font-size: 0.88rem;
  color: var(--text);
}

.cookie-pref-info small {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-always-on {
  font-size: 0.74rem;
  font-weight: 700;
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.cookie-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.site-el-hidden {
  display: none !important;
}

/* Modern Sleek Dark Scrollbars (Zero White/Clunky Native Tracks) */
html {
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.32) #070910;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.28) transparent;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #070910;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.36), rgba(168, 85, 247, 0.36));
  border-radius: 999px;
  border: 1.5px solid #070910;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.65), rgba(232, 121, 249, 0.6));
}

::-webkit-scrollbar-corner {
  background: transparent;
}
