/* =========================================================
   ProbX — Design System (Awwwards-inspired, Obsidian Dark Theme)
   Fonts: Outfit (Display) & Inter (Body) | Custom Glows & Smooth Curves
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  /* Brand Gradients & Accents */
  --accent-cyan: #06B6D4;
  --accent-blue: #C87F3B;
  --accent: #C87F3B;
  --accent-dark: #9F5B24;
  --accent-muted: rgba(200, 127, 59, 0.06);
  --accent-gradient: linear-gradient(135deg, var(--accent-blue) 0%, #E29B3E 100%);

  /* Backgrounds */
  --bg-white: #FFFFFF;
  /* Pure white */
  --bg-gray: #F5F5F7;
  /* Warm light gray */
  --bg-gray-2: #FAFAFC;
  /* Elevated canvas */
  --bg-dark: #0F0F14;
  /* Dark footer grounding */
  --bg-dark-2: #08080B;
  /* Deep dark overlay */

  /* Text */
  --text: #1D1D1F;
  /* Dark charcoal */
  --text-2: #323235;
  /* Charcoal secondary */
  --text-3: #636366;
  /* Slate gray tertiary */
  --text-4: #8E8E93;
  /* Muted gray captions */
  --text-white: #FFFFFF;
  --text-white-2: rgba(255, 255, 255, 0.85);

  /* Borders */
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.04);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(200, 127, 59, 0.2);

  /* Shadows — soft ambient shadows for light surfaces */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --nav-h: 68px;
  --section-pad: 140px;
  --max-width: 1200px;
  --gutter: 48px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Transitions */
  --ease: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ─── Utility ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label--dark {
  color: var(--accent);
}

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 0.08s;
}

.fade-up-delay-2 {
  transition-delay: 0.16s;
}

.fade-up-delay-3 {
  transition-delay: 0.24s;
}

.fade-up-delay-4 {
  transition-delay: 0.32s;
}

.fade-up-delay-5 {
  transition-delay: 0.40s;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 980px;
  transition: all var(--ease);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost-dark:hover {
  background: var(--bg-gray);
  border-color: #b8b8bf;
}

.btn-ghost-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-ghost-accent:hover {
  background: var(--accent-muted);
}

.btn-arrow {
  gap: 6px;
}

.btn-arrow::after {
  content: '→';
  font-size: 15px;
  font-weight: 400;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent-gradient);
  z-index: 1100;
  transition: width 0.1s ease-out;
}

/* ═══════════════════════════════════════════════════════════
   SPLASH SCREEN — Premium Cinematic Entrance
   ═══════════════════════════════════════════════════════════ */
body.splash-active {
  overflow: hidden;
  height: 100vh;
}

.splash-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
  transition: background 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

.splash-screen.outro {
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
}

/* ── Splash Content Container ───────────────────────── */
.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* ── Glowing Logo Mark ──────────────────────────────── */
.splash-logo-mark {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, #C87F3B 0%, #E29B3E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  opacity: 0;
  transform: scale(0.5) rotate(-10deg);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 40px rgba(200, 127, 59, 0.4), 0 0 80px rgba(6, 182, 212, 0.15);
}

.splash-logo-mark.visible {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.splash-logo-mark span {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ── Brand Name — Simple Fade ───────────────────────── */
.splash-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.splash-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.splash-text span {
  background: linear-gradient(135deg, #E29B3E 0%, #E28743 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.splash-logo-img {
  height: clamp(60px, 8vw, 90px);
  width: auto;
  filter: brightness(0);
  display: block;
  transform-origin: center center;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
              filter 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

.splash-screen.outro .splash-logo-img {
  filter: brightness(0) invert(1);
}

.splash-screen.outro .splash-tagline,
.splash-screen.outro .splash-line {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ── Tagline ────────────────────────────────────────── */
.splash-tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 1.6vw, 17px);
  font-weight: 500;
  color: rgba(6, 8, 26, 0.6);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.splash-tagline.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Horizontal Wipe Line ───────────────────────────── */
.splash-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 127, 59, 0.6) 30%, rgba(226, 155, 62, 0.6) 70%, transparent 100%);
  margin-top: 24px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(200, 127, 59, 0.3);
}

.splash-line.visible {
  width: clamp(120px, 28vw, 320px);
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--ease), border-color var(--ease);
}

.nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  transition: background var(--ease), backdrop-filter var(--ease);
  z-index: -1;
}

.nav.scrolled::after {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav.scrolled {
  border-bottom: 1px solid var(--border-light);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}

.nav__logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent-gradient);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.nav__logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--ease);
}

.nav.scrolled .nav__logo-img {
  filter: brightness(0);
}

body.splash-active .nav__logo-img {
  opacity: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--ease);
  letter-spacing: -0.01em;
}

.nav__link:hover {
  color: #fff;
}

.nav.scrolled .nav__link {
  color: var(--text-3);
}

.nav.scrolled .nav__link:hover {
  color: var(--text);
}

.nav__cta {
  margin-left: 8px;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 6px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all var(--ease);
  border-radius: 2px;
}

.nav.scrolled .nav__hamburger span {
  background: var(--text);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile .nav__link {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav__mobile .nav__link:hover {
  color: var(--accent);
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  background: #0a0e1a;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transform: scale(1.04);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 14, 26, 0.35) 0%,
      rgba(10, 14, 26, 0.55) 45%,
      rgba(10, 14, 26, 0.80) 75%,
      #000000 100%);
  z-index: 1;
}

/* Decorative cyber overlays */
.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: 80px 80px;
  background-position: center top;
  pointer-events: none;
  z-index: 1;
}

.glow-orb {
  position: absolute;
  top: 35%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(200, 127, 59, 0.06) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
  animation: pulseGlow 12s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15) rotate(90deg);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-top: var(--nav-h);
}

.hero__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #06B6D4;
  margin-bottom: 24px;
}

.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #C87F3B;
  margin-bottom: 24px;
  max-width: 800px;
  background: linear-gradient(160deg, #E8A94E 0%, #C87F3B 45%, #A0612A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(0, 0, 0, 0.25);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats__item {
  padding: 56px 40px;
  text-align: center;
  position: relative;
}

.stats__item+.stats__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 28%;
  height: 44%;
  width: 1px;
  background: var(--border-light);
}

.stats__number {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats__suffix {
  color: var(--accent);
}

.stats__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Section Base ───────────────────────────────────────── */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--gray {
  background: var(--bg-gray);
}

.section--white {
  background: var(--bg-white);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.section__header {
  margin-bottom: 72px;
}

.section__header--center {
  text-align: center;
}

.section__h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 18px;
}

.section--dark .section__h2 {
  color: #fff;
}

.section__sub {
  font-size: 17px;
  color: var(--text-3);
  max-width: 580px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.section--dark .section__sub {
  color: var(--text-white-2);
}

.section__header--center .section__sub {
  margin: 0 auto;
}

/* ─── Products Showcase ──────────────────────────────────── */
.products__showcase {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.showcase-item--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.showcase-item--reverse .showcase-item__img-wrapper {
  order: 2;
}

.showcase-item--reverse .showcase-item__content {
  order: 1;
}

.showcase-item__img-wrapper {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.showcase-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.showcase-item:hover .showcase-item__img {
  transform: scale(1.04);
}

.showcase-item__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(0, 242, 254, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.showcase-item:hover .showcase-item__glow {
  opacity: 1;
}

.showcase-item__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.showcase-item__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200, 127, 59, 0.15);
  background: var(--accent-muted);
  padding: 6px 14px;
  border-radius: 980px;
  margin-bottom: 24px;
}

.showcase-item__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.showcase-item__desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 32px;
}

.showcase-item__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  margin-bottom: 36px;
}

.showcase-item__specs li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-3);
  list-style: none;
}

.showcase-item__specs li strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ─── About ──────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}

.about__p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__bullets {
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
}

.about__bullet-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.about__img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.about__img-badge {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 18px 22px;
  min-width: 180px;
  box-shadow: var(--shadow-md);
}

.about__img-side {
  position: relative;
}

.about__badge-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.about__badge-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  line-height: 1.45;
}

/* ─── R&D ────────────────────────────────────────────────── */
.rd__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.rd__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.rd__h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.rd__p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 36px;
}

.rd__focus-areas {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rd__focus-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
  backdrop-filter: blur(12px);
}

.rd__focus-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.95);
}

.rd__focus-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  white-space: nowrap;
  margin-top: 2px;
  min-width: 24px;
}

.rd__focus-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.rd__focus-desc {
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.65;
}

/* ─── Consultancy / Service Cards ────────────────────────── */
.consultancy__grid {
  display: flex;
  flex-direction: row;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-gray-2);
  border-radius: 0;
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-right: none;
  box-shadow: none;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  flex: 1;
}

.service-card:first-child {
  border-top-left-radius: var(--r-lg);
  border-bottom-left-radius: var(--r-lg);
}

.service-card:last-child {
  border-right: 1px solid var(--border);
  border-top-right-radius: var(--r-lg);
  border-bottom-right-radius: var(--r-lg);
}

@media (max-width: 768px) {
  .consultancy__grid {
    flex-direction: column;
  }
  .service-card {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
  .service-card:first-child {
    border-top-left-radius: var(--r-lg);
    border-top-right-radius: var(--r-lg);
    border-bottom-left-radius: 0;
  }
  .service-card:last-child {
    border-bottom: 1px solid var(--border);
    border-bottom-left-radius: var(--r-lg);
    border-bottom-right-radius: var(--r-lg);
    border-top-right-radius: 0;
  }
}

.service-card::before,
.rd__focus-item::before,
.contact__form::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(200, 127, 59, 0.06), transparent 80%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.service-card:hover::before,
.rd__focus-item:hover::before,
.contact__form:hover::before {
  opacity: 1;
}

.service-card>*,
.rd__focus-item>*,
.contact__form>* {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.95);
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: block;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--accent);
  transition: all var(--ease);
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
}

.service-card:hover .service-card__icon {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(200, 127, 59, 0.3);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
}

/* ─── Industries ─────────────────────────────────────────── */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.02);
  text-align: center;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.industry-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(22, 22, 34, 0.55);
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.05);
  transform: translateY(-3px);
}

.industry-item__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--ease);
}

.industry-item:hover .industry-item__icon {
  color: var(--accent-cyan);
  transform: scale(1.1);
}

.industry-item__icon svg {
  width: 28px;
  height: 28px;
}

.industry-item__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ─── Why ProbX ──────────────────────────────────────────── */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.why-item {
  padding: 48px 36px;
  border: 1px solid var(--border);
  background: var(--bg-gray-2);
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
}

.why-item:hover {
  background: var(--bg-white);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.why-item__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  display: block;
}

.why-item__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.why-item__desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.75;
}

/* ─── Contact ────────────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact__info-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.contact__info-sub {
  font-size: 16px;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 44px;
  letter-spacing: -0.01em;
}

.contact__info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__info-item-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact__info-item-icon svg {
  width: 20px;
  height: 20px;
}

.contact__info-item-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 3px;
}

.contact__info-item-value {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
}

/* Form */
.contact__form {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact__form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-4);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  -webkit-appearance: none;
  letter-spacing: -0.01em;
}

.form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2371717a' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-4);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(200, 127, 59, 0.12);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form__submit {
  width: 100%;
  padding: 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  background: var(--accent-gradient);
  color: #ffffff;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
}

.form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 127, 59, 0.25);
}

.form__success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--accent);
}

.form__success p {
  color: var(--text);
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-gray);
  padding: 72px 0 0;
  color: var(--text-2);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer__logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0);
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social-link {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.02em;
  transition: all var(--ease);
}

.footer__social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  color: var(--text-3);
  transition: color var(--ease);
}

.footer__link:hover {
  color: var(--text);
}

.footer__bottom {
  border-top: 1px solid var(--border-light);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 12px;
  color: var(--text-3);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-link {
  font-size: 12px;
  color: var(--text-3);
  transition: color var(--ease);
}

.footer__bottom-link:hover {
  color: var(--text);
}

/* ─── Sub-page Hero ──────────────────────────────────────── */
.page-hero {
  background: var(--bg-dark);
  padding: 140px 0 88px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.07) 0%, transparent 70%);
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 28px;
}

.page-hero__breadcrumb a {
  color: var(--accent);
}

.page-hero__breadcrumb span {
  color: rgba(255, 255, 255, 0.2);
}

.page-hero__h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 640px;
}

.page-hero__sub {
  font-size: 18px;
  color: var(--text-white-2);
  max-width: 520px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root {
    --gutter: 32px;
  }

  .industries__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad: 80px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rd__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rd__img {
    height: 300px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* .consultancy__grid override removed */

  .showcase-item,
  .showcase-item--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .showcase-item--reverse .showcase-item__img-wrapper {
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --gutter: 24px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item+.stats__item::before {
    display: none;
  }

  .stats__item {
    border-bottom: 1px solid var(--border-light);
  }

  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  /* .consultancy__grid override removed */

  .form__row {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: 28px 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}