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

:root {
  --bg: #0a0c10;
  --bg-alt: #111419;
  --surface: #161b22;
  --surface-hover: #1c222b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaed;
  --text-muted: #8b939e;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.15);
  --accent-glow: rgba(0, 212, 170, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --header-h: 72px;
  --container: min(1120px, 100% - 2rem);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 30px;
  height: 30px;
  background: url("images/filastruct-mark.svg") center / contain no-repeat;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  font-size: 0.925rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--accent);
  color: #041510;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
}

.layer {
  position: absolute;
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.06), transparent);
}

.layer-1 {
  width: 320px;
  height: 320px;
  top: 18%;
  right: 8%;
  transform: rotate(12deg);
  animation: float 8s ease-in-out infinite;
}

.layer-2 {
  width: 220px;
  height: 220px;
  top: 35%;
  right: 22%;
  transform: rotate(-8deg);
  animation: float 10s ease-in-out infinite reverse;
  opacity: 0.7;
}

.layer-3 {
  width: 140px;
  height: 140px;
  top: 55%;
  right: 12%;
  transform: rotate(20deg);
  animation: float 7s ease-in-out infinite 1s;
  opacity: 0.5;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 12deg)); }
  50% { transform: translateY(-16px) rotate(calc(var(--r, 12deg) + 4deg)); }
}

.hero-content {
  position: relative;
  padding-block: 4rem 6rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 42ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.hero-stats dt {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--text);
}

.hero-stats dd {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.section-header--left {
  text-align: left;
  margin: 0 0 2rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* Materials */
.materials-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tech-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.tech-block h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.tech-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.tag-list li {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  list-style: none;
  counter-reset: none;
}

.process-steps li {
  position: relative;
  padding-top: 0.5rem;
}

.step-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.process-steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.process-steps p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-image {
  width: 100%;
  height: 100%;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.6rem 0.25rem 0;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
  will-change: transform;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--accent-dim),
    0 12px 30px var(--accent-glow);
}

.product-image {
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.07);
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-image img {
    transition: none;
  }

  .product-card:hover {
    transform: none;
  }

  .product-card:hover .product-image img {
    transform: none;
  }
}

.product-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.product-size {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.product-body h3 {
  font-size: 1.1rem;
  margin: 0.35rem 0 0.5rem;
}

.product-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.product-materials {
  font-size: 0.78rem !important;
  margin-top: 0.5rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--accent);
}

/* Inventory */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.inventory-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: -2rem auto 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.inventory-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.inventory-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.color-stock-summary {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.color-stock-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.color-stock-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.color-stock-item--out {
  opacity: 0.7;
}

.color-stock-name {
  flex: 1;
  font-size: 0.875rem;
}

.color-stock-item .color-swatch {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.color-stock-item .stock-badge {
  margin-left: auto;
  flex-shrink: 0;
}

.inventory-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.inventory-card--out {
  opacity: 0.55;
}

.inventory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.inventory-head h3 {
  font-size: 1.05rem;
}

.inventory-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.stock-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.stock-in {
  background: var(--accent-dim);
  color: var(--accent);
}

.stock-out {
  background: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.swatch-out {
  opacity: 0.35;
  position: relative;
}

.swatch-out::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, #ff6b6b 40%, #ff6b6b 60%, transparent 60%);
  border-radius: 50%;
}

.inventory-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

.placeholder-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.placeholder-text {
  color: var(--text-muted);
  font-style: italic;
}

.testimonial--placeholder {
  border-style: dashed;
  opacity: 0.85;
}

.payment-placeholder {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.payment-placeholder strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.payment-placeholder p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.price-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.price-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 0.35rem 0;
  color: var(--text-muted);
}

.price-total {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.price-total span:last-child {
  font-family: var(--mono);
  color: var(--accent);
}

.price-placeholder,
.price-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-disclaimer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.social-links--placeholder span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Design assistant */
.assistant-panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.assistant-disclaimer {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.08);
  border-radius: 10px;
  font-size: 0.82rem;
  color: #f5d98b;
}

.assistant-progress-wrap {
  height: 4px;
  background: var(--bg);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.assistant-progress-bar {
  height: 100%;
  width: 16%;
  background: linear-gradient(90deg, var(--accent), #0099ff);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.assistant-steps {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.assistant-question {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.assistant-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.assistant-options {
  display: grid;
  gap: 0.65rem;
}

.assistant-option {
  text-align: left;
  padding: 1rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.assistant-option strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.assistant-option span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.assistant-option:hover,
.assistant-option.selected {
  border-color: rgba(0, 212, 170, 0.45);
  background: var(--accent-dim);
}

.assistant-text {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  resize: vertical;
  min-height: 110px;
}

.assistant-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.assistant-analyze {
  text-align: center;
  padding: 2.5rem 1rem;
}

.assistant-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.assistant-analyze-label {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.assistant-analyze-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.assistant-results-summary {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.assistant-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.assistant-result-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.assistant-result-card--top {
  border-color: rgba(0, 212, 170, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.15);
}

.assistant-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.ai-product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-image-loading,
.ai-image-error {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 1rem;
}

.ai-image-loading-hint {
  font-size: 0.72rem;
  opacity: 0.75;
}

.ai-image-error .ai-image-retry {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
}

.ai-image-error svg {
  width: 100%;
  max-height: 120px;
  opacity: 0.7;
}

.assistant-result-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: var(--surface);
  min-height: 180px;
}

.assistant-result-image img,
.assistant-result-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.assistant-result-image--ai {
  background: var(--bg);
}

.assistant-feature-list {
  list-style: none;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.assistant-feature-list li {
  padding: 0.15rem 0;
}

.assistant-feature-list li::before {
  content: "→ ";
  color: var(--accent);
}

.assistant-results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.assistant-result-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.assistant-result-why {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 0.85rem;
}

.assistant-result-meta {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.assistant-result-meta li {
  padding: 0.2rem 0;
}

.assistant-result-meta strong {
  color: var(--text);
}

.hidden {
  display: none !important;
}

.assistant-customize-title {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.assistant-customize-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.assistant-customize-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.assistant-customize-form label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.assistant-customize-form input,
.assistant-customize-form select,
.assistant-customize-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.assistant-customize-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.custom-price-label {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.custom-price-label strong {
  color: var(--accent);
  font-family: var(--mono);
}

@media (max-width: 768px) {
  .assistant-customize-layout {
    grid-template-columns: 1fr;
  }
}

/* Pricing banner */
.pricing-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(0, 153, 255, 0.08));
  border-block: 1px solid var(--border);
}

.pricing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing-inner h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.pricing-inner p {
  color: var(--text-muted);
}

.pricing-inner strong {
  color: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.price-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price-card-head h3 {
  font-size: 1.15rem;
}

.price-card-size {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card-from {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.price-card-from span {
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 0.4rem;
}

.price-card-materials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.price-card-materials li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border);
}

.price-card-materials li:last-child {
  border-bottom: none;
}

.price-card-materials li span:last-child {
  font-family: var(--mono);
  color: var(--text);
}

.price-card-link {
  margin-top: auto;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
}

.price-card-link:hover {
  text-decoration: underline;
}

.pricing-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
}

.pricing-points li {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pricing-points strong {
  color: var(--accent);
  font-family: var(--mono);
}

.pricing-cta {
  text-align: center;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 0;
}

.testimonial p {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text);
}

.testimonial footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.1rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  font-size: 0.85rem;
  color: var(--accent);
  transition: opacity 0.2s;
}

.social-links a:hover {
  opacity: 0.8;
}

/* Quote form */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-details li:last-child {
  border-bottom: none;
}

.contact-details strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-details a {
  color: var(--accent);
  transition: opacity 0.2s;
}

.contact-details a:hover {
  opacity: 0.8;
}

.quote-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.25rem;
}

.form-note.success {
  color: var(--accent);
}

.form-note.error {
  color: #ff6b6b;
}

.image3d-form {
  max-width: 760px;
  margin: 0 auto;
}

.image3d-demo-card {
  max-width: 760px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
}

.image3d-demo-card h3 {
  font-size: 1rem;
  margin: 0.2rem 0 0.3rem;
}

.image3d-demo-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.image3d-format-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.75rem 0.25rem 0;
}

.image3d-format-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--text);
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 32ch;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1rem;
  }

  .nav-links .btn {
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .quote-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .form-row--split {
    grid-template-columns: 1fr;
  }

  .image3d-demo-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }
}
