/* ==========================================================================
   VDF Solutions — Nuviax High-End Tech Design System
   Inspired by nuviax.it: Dark Luxury, Architectural Blueprint & High-Tech Precision
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Surface & Backgrounds */
  --nx-bg: #161616;          /* Haupt-Hintergrund (Obsidian/Anthrazit) */
  --nx-bg-2: #1b1a19;        /* Karten & Oberflächen */
  --nx-bg-3: #282522;        /* Erhöhte Kacheln & Inputs */
  --nx-bg-warm: #453f39;     /* Warmer Akzent-Hintergrund */

  /* Borders & Grids */
  --nx-border: #2f2b2a;      /* Subtile Haarlinie */
  --nx-border-2: #3e3b39;    /* Akzentuierte Linie */
  --nx-border-light: rgba(255, 255, 255, 0.08);

  /* Brand Accents (Nuviax Gold / Amber) */
  --nx-gold: #e8a41d;
  --nx-gold-hover: #f5b32e;
  --nx-gold-soft: rgba(232, 164, 29, 0.12);
  --nx-gold-line: rgba(232, 164, 29, 0.35);
  --nx-gold-glow: 0 0 0 3px #ffffff, 0 2px 5px 0 rgba(0, 0, 0, 0.3), 0 0 0 2px #f8eaf0, 0 3.7px 4.8px 0 rgba(238, 100, 89, 0.12), 0 10.3px 13.4px 0 rgba(238, 100, 89, 0.22), 0 24.7px 32.3px 0 rgba(238, 100, 89, 0.18), 0 42px 107px 0 rgba(234, 66, 53, 0.34), inset 0 1px 4px 2px #fef7f7, inset 0 1px 18px 2px #fef7f7;

  /* Typography Colors */
  --nx-text: #ffffff;
  --nx-text-muted: #b2b0ae;  /* Sekundärtext */
  --nx-text-dim: #7d7a77;    /* Dezent / Badges */

  /* Dimensions & Fonts */
  --nx-radius: 16px;
  --nx-radius-sm: 10px;
  --nx-radius-lg: 24px;
  --nx-maxw: 1320px;
  --nx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nx-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nx-serif: 'Instrument Serif', Georgia, serif;
  --nx-mono: 'DM Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--nx-bg);
  color-scheme: dark;
}

body {
  background-color: var(--nx-bg);
  color: var(--nx-text);
  font-family: var(--nx-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--nx-maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.mono {
  font-family: var(--nx-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   Blueprint Corners & Section Reticle Decorations
   ========================================================================== */
.section-padding-large {
  padding: 96px 0;
  position: relative;
}

.section-contant-padding {
  position: relative;
  margin-top: 48px;
}

.section-border-block {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Corner ticks and lines */
.section-border-01, .section-border-02, .section-border-03, .section-border-04,
.section-border-bot-01, .section-border-bot-02, .section-border-bot-03, .section-border-bot-04 {
  position: absolute;
  background: var(--nx-border);
}

.section-border-01 { top: 0; left: 0; width: 32px; height: 1px; }
.section-border-02 { top: 0; left: 0; width: 1px; height: 32px; }
.section-border-03 { top: 0; right: 0; width: 32px; height: 1px; }
.section-border-04 { top: 0; right: 0; width: 1px; height: 32px; }

.section-border-bot-01 { bottom: 0; left: 0; width: 32px; height: 1px; }
.section-border-bot-02 { bottom: 0; left: 0; width: 1px; height: 32px; }
.section-border-bot-03 { bottom: 0; right: 0; width: 32px; height: 1px; }
.section-border-bot-04 { bottom: 0; right: 0; width: 1px; height: 32px; }

/* Subtle cross marks on corners */
.section-border-block::before,
.section-border-block::after {
  content: "+";
  position: absolute;
  color: var(--nx-gold-line);
  font-family: var(--nx-mono);
  font-size: 12px;
  line-height: 1;
}
.section-border-block::before { top: -6px; left: -4px; }
.section-border-block::after { bottom: -6px; right: -4px; }

/* ==========================================================================
   Eyebrows & Section Captions (Nuviax Pill Chip)
   ========================================================================== */
.section-caption-block,
.hero-section-caption-block,
.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  background: rgba(27, 26, 25, 0.85);
  border: 1px solid var(--nx-border);
  border-radius: 999px;
  color: var(--nx-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.caption-icon,
.nx-eyebrow-icon {
  width: 14px;
  height: 14px;
  color: var(--nx-gold);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section-caption-devider,
.hero-caption-devider {
  width: 1px;
  height: 12px;
  background: var(--nx-border-2);
}

.caption-text {
  color: #dedcd8;
}

/* ==========================================================================
   Buttons with Nuviax Signature Glow & Text Roll
   ========================================================================== */
.button-primary,
.nav-button,
.nx-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: var(--nx-gold) !important;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(0, 0, 0, 0.08) 100%);
  color: #ffffff !important;
  border: 1px solid #ffd3d4;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--nx-gold-glow);
  transition: filter 0.25s var(--nx-ease), transform 0.2s var(--nx-ease);
  position: relative;
  overflow: hidden;
}

.button-primary:hover,
.nav-button:hover,
.nx-btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.button-primary:active,
.nav-button:active,
.nx-btn--primary:active {
  transform: translateY(1px);
}

.button-secondery,
.nx-btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--nx-text);
  border: 1px solid var(--nx-border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--nx-ease);
  backdrop-filter: blur(4px);
}

.button-secondery:hover,
.nx-btn--ghost:hover {
  border-color: var(--nx-gold);
  color: var(--nx-gold);
  background: var(--nx-gold-soft);
  transform: translateY(-1px);
}

/* Button Roll Animation */
.button-inner-block {
  height: 22px;
  overflow: hidden;
  display: block;
}

.button-text {
  display: block;
  line-height: 22px;
  white-space: nowrap;
  transition: transform 0.32s var(--nx-ease);
  will-change: transform;
}

.button-primary:hover .button-text,
.button-secondery:hover .button-text,
.nav-button:hover .button-text,
.nx-btn--primary:hover .button-text,
.nx-btn--ghost:hover .button-text {
  transform: translateY(-22px);
}

/* ==========================================================================
   Navigation Bar (Dark, Blurry, Tech)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(22, 22, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nx-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--nx-maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #282522 0%, #161616 100%);
  border: 1px solid var(--nx-gold-line);
  color: var(--nx-gold);
  border-radius: 10px;
  font-family: var(--nx-mono);
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.nav-menu-link-block {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--nx-text-muted);
  transition: color 0.2s var(--nx-ease);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link-inner-block {
  height: 20px;
  overflow: hidden;
  display: block;
}

.nav-link-text {
  display: block;
  line-height: 20px;
  transition: transform 0.28s var(--nx-ease);
}

.nav-link:hover .nav-link-text {
  transform: translateY(-20px);
}

.nav-link .hover-text {
  color: var(--nx-gold);
}

.nav-cta-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Language Switcher */
.nx-language-switch {
  display: inline-flex;
  align-items: center;
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  padding: 3px 5px;
  gap: 4px;
}

.nx-language-switch a {
  padding: 4px 8px;
  font-family: var(--nx-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--nx-text-dim);
  border-radius: 5px;
  transition: all 0.2s var(--nx-ease);
}

.nx-language-switch a:hover {
  color: var(--nx-text);
}

.nx-language-switch a[aria-current="page"] {
  background: var(--nx-bg-3);
  color: var(--nx-gold);
}

/* Mobile Menu Toggle */
.menu-button {
  display: none;
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  color: var(--nx-text);
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--nx-ease);
}

.menu-button:hover {
  border-color: var(--nx-gold);
  color: var(--nx-gold);
}

/* ==========================================================================
   Hero Section
   ========================================================================= */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--nx-border);
  background: radial-gradient(circle at 50% -20%, rgba(232, 164, 29, 0.08) 0%, transparent 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-title-block h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-title-block h1 em {
  font-family: var(--nx-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--nx-gold);
}

/* Rotating Changing Words */
.hero-title-inner-block {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-title-changing-words-wrapper {
  display: inline-grid;
  height: 1.15em;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
}

.hero-title-changeing-word {
  color: var(--nx-gold);
  font-family: var(--nx-serif);
  font-style: italic;
  font-weight: 400;
  animation: wordRotate 10s infinite;
  opacity: 0;
  transform: translateY(100%);
  grid-area: 1 / 1;
}

.hero-title-changeing-word._01 { animation-delay: 0s; }
.hero-title-changeing-word._02 { animation-delay: 2.5s; }
.hero-title-changeing-word._03 { animation-delay: 5s; }
.hero-title-changeing-word._04 { animation-delay: 7.5s; }

@keyframes wordRotate {
  0% { transform: translateY(100%); opacity: 0; }
  5% { transform: translateY(0); opacity: 1; }
  25% { transform: translateY(0); opacity: 1; }
  30% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(-100%); opacity: 0; }
}

.hero-description-block {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--nx-text-muted);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-cta-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Cards Grid (4-part blueprint cluster) */
.hero-cards-wrapper-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hero-card-01, .hero-card-02, .hero-card-03, .hero-card-04 {
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 26px 24px;
  position: relative;
  transition: transform 0.25s var(--nx-ease), border-color 0.25s var(--nx-ease), box-shadow 0.25s var(--nx-ease);
}

.hero-card-01:hover, .hero-card-02:hover, .hero-card-03:hover, .hero-card-04:hover {
  transform: translateY(-2px);
  border-color: var(--nx-border-2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.hero-card-title-block {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-title-block::after {
  content: "↗";
  font-size: 15px;
  color: var(--nx-gold);
}

.hero-card-designation {
  font-size: 13px;
  color: var(--nx-text-muted);
  line-height: 1.5;
}

.hero-card-04 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
  background: rgba(40, 37, 34, 0.4);
}

.hero-card-041 {
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.hero-card-041-icon {
  color: var(--nx-gold);
  font-size: 16px;
  margin-bottom: 4px;
}

.hero-card-041-title {
  font-size: 12px;
  font-weight: 600;
  color: #dedcd8;
}

/* ==========================================================================
   Tech Stack & Certification Marquee
   ========================================================================== */
.nx-certbar-section {
  padding: 24px 0;
  background: var(--nx-bg-2);
  border-bottom: 1px solid var(--nx-border);
  overflow: hidden;
}

.nx-certbar {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nx-certbar-label {
  font-family: var(--nx-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--nx-gold);
  text-transform: uppercase;
  white-space: nowrap;
  padding-left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nx-certbar-label::after {
  content: "";
  display: block;
  width: 1px;
  height: 16px;
  background: var(--nx-border-2);
}

.nx-certbar-track {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}

.nx-certbar-tile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--nx-bg);
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nx-text-muted);
}

.nx-certbar-tile .tile-icon {
  color: var(--nx-gold);
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Stats / "Zahlen, die zählen"
   ========================================================================== */
.number-top-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.number-title-block h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.number-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.number-cards-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.number-card {
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.number-card-icon {
  color: var(--nx-gold);
  font-size: 24px;
  margin-bottom: 16px;
}

.number-card-title-block h3 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.number-card-description-block {
  font-size: 14px;
  color: var(--nx-text-muted);
  line-height: 1.55;
}

/* Big center card */
.number-card-big {
  background: linear-gradient(180deg, var(--nx-bg-3) 0%, var(--nx-bg-2) 100%);
  border: 1px solid var(--nx-border-2);
  border-radius: var(--nx-radius);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.number-card-big::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nx-gold), transparent);
}

.number-card-big .kicker {
  color: var(--nx-gold);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.number-card-big h3 {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.number-card-big p {
  font-size: 15px;
  color: var(--nx-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Services Section (Dual Tab & 6 Precision Cards)
   ========================================================================== */
.services-section {
  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
  background: var(--nx-bg);
}

.services-top-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.services-top-block h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  position: relative;
  transition: all 0.28s var(--nx-ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--nx-border-2);
  background: var(--nx-bg-3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.service-card-num {
  font-family: var(--nx-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--nx-gold);
}

.service-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(232, 164, 29, 0.08);
  border: 1px solid rgba(232, 164, 29, 0.2);
  display: grid;
  place-items: center;
  color: var(--nx-gold);
  font-size: 16px;
}

.service-card h3 {
  font-size: 21px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 14px;
  color: var(--nx-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--nx-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-gold);
}

/* ==========================================================================
   4-Step Process Section ("Der VDF-Prozess")
   ========================================================================== */
.process-section {
  padding: 96px 0;
  position: relative;
}

.process-top-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.process-top-block h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.process-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 32px 26px;
  position: relative;
  transition: transform 0.25s var(--nx-ease), border-color 0.25s var(--nx-ease);
}

.process-card:hover {
  transform: translateY(-3px);
  border-color: var(--nx-gold-line);
}

.process-card-number {
  font-family: var(--nx-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--nx-gold);
  margin-bottom: 16px;
}

.process-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 13px;
  color: var(--nx-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Webdesign Showcase Gallery (in sleek Dark Theme)
   ========================================================================== */
.showcase-section {
  padding: 96px 0;
  background: var(--nx-bg-2);
  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
}

.showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.showcase-head h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.showcase-card {
  background: var(--nx-bg);
  border: 1px solid var(--nx-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--nx-ease), border-color 0.25s var(--nx-ease), box-shadow 0.25s var(--nx-ease);
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--nx-gold-line);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

.showcase-preview-motion {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #101010;
}

.showcase-preview-motion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-preview-motion img {
  transform: scale(1.05);
}

.showcase-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(22, 22, 22, 0.85);
  border: 1px solid var(--nx-border);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: var(--nx-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--nx-gold);
  backdrop-filter: blur(6px);
}

.showcase-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.showcase-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.showcase-card-body p {
  font-size: 12px;
  color: var(--nx-text-muted);
  line-height: 1.4;
}

.showcase-card-body .view-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--nx-gold);
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.gallery-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--nx-border);
  background: var(--nx-bg);
  color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s var(--nx-ease);
}

.gallery-button:hover:not(:disabled) {
  border-color: var(--nx-gold);
  color: var(--nx-gold);
}

.gallery-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.gallery-page {
  font-family: var(--nx-mono);
  font-size: 12px;
  color: var(--nx-text-muted);
}

/* ==========================================================================
   Review / Testimonial Slider
   ========================================================================== */
.review-section {
  padding: 96px 0;
  position: relative;
}

.review-top-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.review-top-block h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.review-card {
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.review-left-block {
  border-right: 1px solid var(--nx-border);
  padding-right: 48px;
}

.review-company-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border-2);
  border-radius: 8px;
  font-family: var(--nx-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-gold);
  margin-bottom: 24px;
}

.review-author-name {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.review-author-role {
  font-size: 13px;
  color: var(--nx-text-muted);
}

.review-right-block quote {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
  color: #ffffff;
  font-weight: 400;
  display: block;
  margin-bottom: 32px;
}

.review-metrics-row {
  display: flex;
  gap: 20px;
}

.review-metric-tag {
  background: var(--nx-bg);
  border: 1px solid var(--nx-border);
  border-radius: 10px;
  padding: 12px 18px;
}

.review-metric-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--nx-gold);
}

.review-metric-label {
  font-size: 12px;
  color: var(--nx-text-muted);
}

/* ==========================================================================
   Contact Section (2-Column Blueprint Card with Web3Forms)
   ========================================================================== */
.contact-section {
  padding: 96px 0;
  border-top: 1px solid var(--nx-border);
}

.contact-box {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.contact-copy {
  padding: 64px 48px;
  background: linear-gradient(180deg, var(--nx-bg-3) 0%, var(--nx-bg-2) 100%);
  border-right: 1px solid var(--nx-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-copy h2 {
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
}

.contact-copy h2 em {
  font-family: var(--nx-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--nx-gold);
}

.contact-copy p {
  font-size: 15px;
  color: var(--nx-text-muted);
  line-height: 1.65;
}

.contact-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--nx-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: #dedcd8;
}

.contact-meta a {
  color: var(--nx-gold);
}

.form-area {
  padding: 64px 54px;
  background: var(--nx-bg-2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: #dedcd8;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--nx-bg);
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--nx-gold);
  box-shadow: 0 0 0 2px var(--nx-gold-soft);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 12px;
  color: var(--nx-text-dim);
  margin-top: 16px;
  line-height: 1.5;
}

.form-note a {
  color: var(--nx-gold);
  text-decoration: underline;
}

.form-status {
  font-size: 13px;
  min-height: 20px;
  margin-top: 12px;
}

/* ==========================================================================
   Technical Blueprint Footer
   ========================================================================== */
.footer {
  background: var(--nx-bg);
  border-top: 1px solid var(--nx-border);
  padding: 72px 0 36px;
  position: relative;
}

.footer-line-block {
  position: relative;
  height: 1px;
  background: var(--nx-border);
  margin-bottom: 56px;
}

.footer-line-dot {
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  background: var(--nx-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--nx-gold);
}
.footer-line-dot._01 { left: 0; }
.footer-line-dot._02 { left: 33%; }
.footer-line-dot._03 { left: 66%; }
.footer-line-dot._04 { right: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-description {
  font-size: 14px;
  color: var(--nx-text-muted);
  line-height: 1.65;
  max-width: 360px;
}

.footer-nav-col h4 {
  font-family: var(--nx-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--nx-gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col a {
  font-size: 14px;
  color: var(--nx-text-muted);
  transition: color 0.2s;
}

.footer-nav-col a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid var(--nx-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--nx-text-dim);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover {
  color: var(--nx-gold);
}

.nx-cookie-btn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .number-cards-wrapper {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-box {
    grid-template-columns: 1fr;
  }
  .contact-copy {
    border-right: none;
    border-bottom: 1px solid var(--nx-border);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu-link-block {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(22, 22, 22, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--nx-border);
    flex-direction: column;
    padding: 24px 28px;
    gap: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
    z-index: 999;
  }
  .nav-menu-link-block.is-open {
    display: flex;
  }
  .nav-menu-link-block .nav-link {
    width: 100%;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-menu-link-block .nav-link:last-child {
    border-bottom: none;
  }
  .menu-button {
    display: inline-flex;
  }
  .nav-cta-block {
    gap: 12px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-cards-wrapper {
    grid-template-columns: 1fr;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .review-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .review-left-block {
    border-right: none;
    border-bottom: 1px solid var(--nx-border);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-area, .contact-copy {
    padding: 36px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .nav-button {
    display: none;
  }
  .nav-container {
    padding: 0 16px;
    height: 72px;
  }
  .hero-inner {
    gap: 40px;
  }
  .nx-display {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
  }
  .hero-card-01, .hero-card-02, .hero-card-03, .hero-card-04 {
    padding: 24px 20px;
  }
  .stat-number {
    font-size: 38px;
  }
  .contact-title {
    font-size: 32px;
  }
}

/* ==========================================================================
   FAQ Section (AEO / Answer Engine Optimization & Accessibility)
   ========================================================================== */
.faq-section {
  border-top: 1px solid var(--nx-border);
  background: var(--nx-bg);
  padding: 100px 0;
}

.faq-top-block {
  margin-bottom: 48px;
  max-width: 780px;
}

.faq-top-block h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
  margin-top: 12px;
  margin-bottom: 16px;
}

.faq-grid {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

.faq-item {
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: 12px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--nx-border-2);
}

.faq-item[open] {
  background: var(--nx-bg-3);
  border-color: rgba(232, 164, 29, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  user-select: none;
  list-style: none;
  transition: color 0.2s ease;
}

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

.faq-summary:hover {
  color: var(--nx-gold);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--nx-border-2);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  font-family: var(--nx-mono);
  font-size: 14px;
  color: var(--nx-gold);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: rgba(232, 164, 29, 0.15);
  border-color: var(--nx-gold);
}

.faq-answer {
  padding: 0 28px 24px 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--nx-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

.faq-answer p {
  margin: 0;
}

.faq-answer strong {
  color: #ffffff;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 64px 0;
  }
  .faq-summary {
    padding: 20px 20px;
    font-size: 16px;
  }
  .faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 14px;
  }
}


