@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --red: #e8001c;
  --red-dim: #8c0010;
  --gold: #c9a84c;
  --gold-bright: #f5d080;
  --dark: #030508;
  --dark-2: #080c12;
  --dark-3: #0d1218;
  --dark-4: #111820;
  --text-primary: #f0f4ff;
  --text-secondary: #8a9ab8;
  --text-dim: #3d4f6b;
  --border: rgba(201, 168, 76, 0.15);
  --border-bright: rgba(201, 168, 76, 0.4);
}

html {
  scroll-behavior: auto;
}

body {
  background: var(--dark);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, border-color 0.12s ease;
}

/* ── Canvas ── */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#three-canvas {
  width: 100%;
  height: 100%;
}

/* ── Scroll Container ── */
#scroll-container {
  position: relative;
  z-index: 2;
}

/* ── Noise Overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.4;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
  padding: 18px 60px;
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo span {
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
}

.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: 10px 24px;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--gold-bright);
}

/* ── Section Base ── */
section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  overflow: hidden;
}

.hero-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--red);
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  max-width: 900px;
}

.hero-title .line-2 {
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 244, 255, 0.3);
}

.hero-title .accent {
  color: var(--red);
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(20px);
}

.btn-primary {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--red);
  padding: 16px 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  background: #ff0020;
}

.btn-secondary {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.btn-secondary svg {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  padding: 6px;
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  color: var(--text-primary);
}

.btn-secondary:hover svg {
  border-color: var(--gold);
}

.hero-stats {
  position: absolute;
  right: 60px;
  bottom: 60px;
  display: flex;
  gap: 48px;
  opacity: 0;
  transform: translateY(20px);
}

.stat-item {
  text-align: right;
}

.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-value span {
  color: var(--gold);
}

.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-indicator {
  position: absolute;
  left: 60px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}

.scroll-indicator-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

.scroll-indicator-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
}

/* ── Model Section ── */
#model-section {
  min-height: 300vh;
  position: relative;
}

.model-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.model-info-panel {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 380px;
  z-index: 10;
}

.panel-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.panel-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.panel-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.spec-item {
  background: var(--dark-2);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.spec-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--red);
  transition: height 0.4s ease;
}

.spec-item:hover::before {
  height: 100%;
}

.spec-item-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.spec-item-value .unit {
  font-size: 12px;
  color: var(--gold);
}

.spec-item-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.model-annotation {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.annotation-item {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s ease;
}

.annotation-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.annotation-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.6);
}

.annotation-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.annotation-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ── Features Section ── */
#features {
  background: var(--dark-2);
  padding: 120px 60px;
  display: block;
  min-height: auto;
  position: relative;
  overflow: hidden;
}

#features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--dark-3);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  background: var(--dark-4);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-dim);
  line-height: 1;
  margin-bottom: 32px;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.feature-card:hover .feature-number {
  opacity: 0.7;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--gold);
}

.feature-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── Process Section ── */
#process {
  padding: 120px 60px;
  display: block;
  min-height: auto;
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  cursor: default;
  transition: background 0.3s;
}

.process-step:first-child {
  border-top: 1px solid var(--border);
}

.step-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  padding-top: 4px;
}

.step-content {
  flex: 1;
}

.step-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
}

.step-arrow {
  color: var(--text-dim);
  transition: color 0.3s, transform 0.3s;
  flex-shrink: 0;
  align-self: center;
}

.process-step:hover .step-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

.process-visual {
  position: relative;
}

.process-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(232, 0, 28, 0.12) 0%, transparent 70%);
}

.process-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 8px 16px;
  display: inline-block;
  margin-bottom: 32px;
}

.process-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
}

.process-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.tolerance-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tolerance-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.tolerance-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.tolerance-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

/* ── Materials Section ── */
#materials {
  background: var(--dark-2);
  padding: 120px 60px;
  display: block;
  min-height: auto;
  overflow: hidden;
  position: relative;
}

#materials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

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

.material-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.material-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.material-swatch {
  width: 100%;
  height: 4px;
  margin-bottom: 32px;
  border-radius: 2px;
}

.swatch-titanium { background: linear-gradient(to right, #8a9bb0, #c5ced8, #8a9bb0); }
.swatch-inconel { background: linear-gradient(to right, #7a6b5a, #c8a96e, #7a6b5a); }
.swatch-steel { background: linear-gradient(to right, #4a5568, #718096, #4a5568); }
.swatch-carbon { background: linear-gradient(to right, #1a1a2e, #2d3561, #1a1a2e); }

.material-code {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.material-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.material-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

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

.material-prop {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.prop-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.prop-val {
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  color: var(--gold);
  font-size: 10px;
}

/* ── CTA Section ── */
#cta-section {
  padding: 120px 60px;
  display: block;
  min-height: auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(80px, 15vw, 220px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 244, 255, 0.04);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.cta-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.cta-title .red { color: var(--red); }

.cta-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-outline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 16px 40px;
  text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.2s;
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold);
}

.cert-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.cert-item {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cert-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Footer ── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-primary);
}

.footer-logo span { color: var(--red); }

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-align: right;
}

/* ── Grid Lines Overlay ── */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── Scanline ── */
.scanline {
  position: fixed;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(232, 0, 28, 0.08), transparent);
  pointer-events: none;
  z-index: 99;
  animation: scanDown 8s linear infinite;
}

@keyframes scanDown {
  0% { top: -2px; opacity: 1; }
  95% { opacity: 1; }
  100% { top: 100vh; opacity: 0; }
}

/* ── Loading Screen ── */
#loading {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.loading-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.loading-logo span { color: var(--red); }

.loading-bar-wrap {
  width: 280px;
  height: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  background: linear-gradient(to right, var(--red), var(--gold));
  width: 0%;
  transition: width 0.1s linear;
}

.loading-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── Telemetry Bar ── */
.telemetry-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--red) var(--progress, 0%), transparent var(--progress, 0%));
  z-index: 200;
  pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  nav { padding: 24px 32px; }
  nav.scrolled { padding: 16px 32px; }
  .nav-links { gap: 28px; }
  #hero { padding: 0 32px; }
  .hero-stats { right: 32px; }
  .scroll-indicator { left: 32px; }
  #features, #process, #materials, #cta-section, footer { padding-left: 32px; padding-right: 32px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .materials-grid { grid-template-columns: 1fr 1fr; }
  .model-info-panel { left: 32px; }
  .model-annotation { right: 32px; }
}

@media (max-width: 1100px) and (min-width: 769px) {
  footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-copy {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-stats { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .model-info-panel { max-width: 260px; }
  .model-annotation { display: none; }
  footer { display: flex; flex-direction: column; gap: 24px; text-align: center; }
  .footer-copy { text-align: center; }
}
