/* ==========================================================================
   ACAYSIA - Deep Tech Design System
   Clean, professional aesthetic for industrial & investor audiences
   ========================================================================== */

/* CSS Variables */
:root {
  --color-white: #ffffff;
  --color-off-white: #fafafa;
  --color-gray-50: #f8f9fa;
  --color-gray-100: #e9ecef;
  --color-gray-200: #dee2e6;
  --color-gray-300: #ced4da;
  --color-gray-400: #adb5bd;
  --color-gray-500: #6c757d;
  --color-gray-600: #495057;
  --color-gray-700: #343a40;
  --color-gray-800: #212529;
  --color-gray-900: #0d1117;
  
  --color-primary: #059669;
  --color-primary-light: #10b981;
  --color-primary-dark: #047857;
  --color-primary-subtle: #ecfdf5;
  
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.1);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-800);
  background: var(--color-white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-gray-900);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
}

p {
  color: var(--color-gray-600);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg {
  max-width: 1400px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.03em;
  transition: color var(--transition-fast);
}

.logo:hover {
  color: var(--color-primary);
}

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

.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-gray-900);
}

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

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-gray-800);
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 30%, rgba(5, 150, 105, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

/* Chemical Plant Illustration */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.plant-svg {
  width: 100%;
  max-width: 440px;
  height: auto;
}

/* Steam animation */
.steam-1 {
  animation: steam-rise 3s ease-in-out infinite;
}

.steam-2 {
  animation: steam-rise 3.5s ease-in-out infinite 0.5s;
}

.steam-3 {
  animation: steam-rise 4s ease-in-out infinite 1s;
}

.steam-4 {
  animation: steam-rise 3.2s ease-in-out infinite 0.3s;
}

.steam-5 {
  animation: steam-rise 3.8s ease-in-out infinite 0.7s;
}

@keyframes steam-rise {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-8px) translateX(3px);
    opacity: 0.3;
  }
}

/* Indicator pulse */
.indicator {
  animation: indicator-pulse 2s ease-in-out infinite;
}

@keyframes indicator-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Stirrer oscillation */
.stirrer {
  transform-origin: 250px 267px;
  animation: stirrer-oscillate 1.5s ease-in-out infinite;
}

@keyframes stirrer-oscillate {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.7); }
}

/* Bubble animations */
.bubble-1 {
  animation: bubble-rise 4s ease-in-out infinite;
}

.bubble-2 {
  animation: bubble-rise 5s ease-in-out infinite 0.5s;
}

.bubble-3 {
  animation: bubble-rise 4.5s ease-in-out infinite 1s;
}

.bubble-4 {
  animation: bubble-rise 3.5s ease-in-out infinite 1.5s;
}

@keyframes bubble-rise {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-15px);
    opacity: 0.5;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(5, 150, 105, 0.15);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--color-gray-900);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--color-gray-500);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-gray-900);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-gray-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gray-700);
  border: 1px solid var(--color-gray-200);
}

.btn-secondary:hover {
  background: var(--color-gray-50);
  border-color: var(--color-gray-300);
}

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

.btn-accent:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
}

/* ==========================================================================
   VIDEO HERO SECTION
   ========================================================================== */

.video-hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 100%);
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.35;
  filter: blur(2px) brightness(0.7);
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(5, 150, 105, 0.25) 0%,
    rgba(13, 17, 23, 0.75) 100%
  );
  z-index: 2;
}

.video-content {
  position: relative;
  z-index: 3;
  padding: 80px 0;
}

.video-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.video-text .section-eyebrow {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
}

.video-text h2 {
  color: var(--color-white);
  margin: 24px 0 20px;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.video-text p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-section {
  padding: 80px 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-100);
}

/* ==========================================================================
   VENDOR LOGOS SECTION
   ========================================================================== */

.vendors-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
  overflow: hidden;
  position: relative;
}

.vendors-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gray-200) 50%, transparent 100%);
}

.vendor-logos {
  margin-top: 64px;
  overflow: hidden;
  position: relative;
  padding: 40px 0;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.vendor-track {
  display: flex;
  gap: 120px;
  animation: scroll-logos 50s linear infinite;
  width: fit-content;
  will-change: transform;
}

.vendor-track:hover {
  animation-play-state: paused;
}

.vendor-item {
  flex-shrink: 0;
  width: 240px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
}

.vendor-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.vendor-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.vendor-item:hover::before {
  opacity: 1;
}

.vendor-item svg {
  width: 100%;
  height: 100%;
  filter: grayscale(100%) opacity(0.5);
  transition: filter var(--transition-base);
}

.vendor-item:hover svg {
  filter: grayscale(0%) opacity(1);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-240px * 6 - 120px * 6));
  }
}

/* ==========================================================================
   ARCHITECTURE DIAGRAM SECTION
   ========================================================================== */

.architecture-diagram-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.diagram-wrapper {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-200);
  margin-bottom: 32px;
  overflow: hidden;
}

.diagram-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.03) 0%, rgba(13, 17, 23, 0.03) 100%);
  pointer-events: none;
  z-index: 1;
}

.architecture-diagram {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  filter: blur(8px) brightness(0.9);
  -webkit-filter: blur(8px) brightness(0.9);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

/* Prevent right-click on diagram */
.diagram-wrapper {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.diagram-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(5, 150, 105, 0.08);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
  user-select: none;
}

.diagram-note {
  display: flex;
  align-items: flex-start;
  padding: 20px 24px;
  background: rgba(5, 150, 105, 0.05);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-gray-600);
  margin: 0;
}

.diagram-note svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   FEATURE SECTIONS
   ========================================================================== */

.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--color-gray-50);
}

.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--color-gray-500);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-gray-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--color-primary);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.feature-card p {
  font-size: 15px;
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* Props Grid (2 column) */
.props-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.prop-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.prop-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.prop-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  color: var(--color-primary);
}

.prop-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.prop-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 100%);
  position: relative;
}

.prop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.prop-card:hover .prop-image img {
  transform: scale(1.05);
}

.prop-content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prop-content h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 600;
}

.prop-content p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ==========================================================================
   TIMELINE / DEPLOYMENT
   ========================================================================== */

.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--color-gray-100);
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.timeline-content h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.timeline-content p {
  font-size: 16px;
  color: var(--color-gray-500);
  line-height: 1.7;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
}

.page-hero h1 {
  margin-bottom: 24px;
}

.page-hero .lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--color-gray-500);
  max-width: 680px;
  line-height: 1.7;
}

/* About intro with illustration */
.about-intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.reactor-illustration {
  position: sticky;
  top: 120px;
}

.reactor-illustration svg {
  width: 100%;
  height: auto;
}

.about-text {
  max-width: 600px;
}

.about-text p {
  font-size: 18px;
  margin-bottom: 24px;
  line-height: 1.8;
  color: var(--color-gray-600);
}

.about-text p:first-child::first-letter {
  font-size: 3.5em;
  float: left;
  line-height: 0.8;
  margin-right: 12px;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}

.about-content {
  max-width: 720px;
}

.about-content p {
  font-size: 18px;
  margin-bottom: 24px;
  line-height: 1.8;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.mv-card {
  padding: 48px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
}

.mv-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.mv-card p {
  font-size: 18px;
  color: var(--color-gray-700);
  line-height: 1.7;
}

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

.value-card {
  padding: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--color-primary);
}

.value-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  margin-top: 20px;
}

.value-card p {
  font-size: 15px;
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.contact-card {
  padding: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.contact-card:hover {
  border-color: var(--color-primary);
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--color-gray-500);
  margin-bottom: 16px;
}

.contact-card a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.contact-card a:hover {
  color: var(--color-primary-dark);
}

/* Form */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-gray-800);
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

#form-status {
  font-size: 14px;
  color: var(--color-gray-600);
}

/* ==========================================================================
   RESOURCES PAGE
   ========================================================================== */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.resource-category {
  padding: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
}

.resource-category h3 {
  font-size: 20px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-gray-100);
}

.resource-list {
  list-style: none;
}

.resource-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.resource-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.resource-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--color-gray-700);
  transition: color var(--transition-fast);
}

.resource-list a:hover {
  color: var(--color-primary);
}

.resource-list a span:last-child {
  color: var(--color-gray-400);
  transition: transform var(--transition-fast);
}

.resource-list a:hover span:last-child {
  transform: translateX(4px);
  color: var(--color-primary);
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

.error-content h1 {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--color-gray-100);
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.error-content p {
  font-size: 16px;
  color: var(--color-gray-500);
  margin-bottom: 32px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-transition {
  display: none;
}

.footer-transition-light {
  display: none;
}

footer {
  padding: 48px 0;
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-100);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .logo {
  color: var(--color-gray-900);
}

footer .logo:hover {
  color: var(--color-primary);
}

footer p {
  font-size: 14px;
  color: var(--color-gray-500);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
  padding: 100px 0;
  background: var(--color-white);
  text-align: center;
  border-top: 1px solid var(--color-gray-100);
}

.cta-section h2 {
  color: var(--color-gray-900);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--color-gray-500);
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .plant-svg {
    max-width: 360px;
  }
  
  .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .reactor-illustration {
    position: static;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .about-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  nav .container {
    height: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    border-bottom: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
  }

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

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

  .hero-visual {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Video section responsive */
  .video-hero-section {
    min-height: 350px;
  }

  .video-content {
    padding: 50px 0;
  }

  .video-text h2 {
    font-size: 1.75rem;
  }

  .video-text p {
    font-size: 15px;
    padding: 0 20px;
  }

  .background-video {
    filter: blur(3px) brightness(0.6);
    opacity: 0.3;
  }

  /* Vendor logos responsive */
  .vendors-section {
    padding: 80px 0;
  }

  .vendor-track {
    gap: 60px;
    animation: scroll-logos-mobile 35s linear infinite;
  }

  .vendor-item {
    width: 180px;
    height: 100px;
    padding: 20px;
  }

  @keyframes scroll-logos-mobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-180px * 6 - 60px * 6));
    }
  }

  /* Architecture diagram responsive */
  .diagram-wrapper {
    padding: 24px;
  }

  .diagram-watermark {
    font-size: 24px;
  }

  .architecture-diagram {
    filter: blur(10px) brightness(0.88);
    -webkit-filter: blur(10px) brightness(0.88);
  }

  .diagram-note {
    font-size: 13px;
    padding: 16px 20px;
  }

  .section {
    padding: 80px 0;
  }
  
  .feature-grid,
  .props-grid,
  .mission-vision,
  .contact-grid,
  .resource-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .prop-image {
    height: 220px;
  }

  .prop-content {
    padding: 24px;
  }

  .prop-content h3 {
    font-size: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .timeline-number {
    font-size: 36px;
  }
  
  footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Utility classes */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mt-8 { margin-top: 64px; }

/* ==========================================================================
   3D MODEL VIEWER
   ========================================================================== */

.hardware-viewer-section {
  background: var(--color-gray-50);
}

#model-viewer-container {
  position: relative;
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-100);
}

#model-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

#model-canvas:active {
  cursor: grabbing;
}

.viewer-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 24px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 10;
}

.viewer-controls p {
  margin: 0;
  font-size: 14px;
  color: var(--color-gray-600);
  font-weight: 500;
}

.loading-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  z-index: 20;
  transition: opacity 0.3s ease;
}

.loading-indicator p {
  margin-top: 16px;
  font-size: 16px;
  color: var(--color-gray-600);
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-gray-200);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Mobile adjustments */
@media (max-width: 768px) {
  #model-viewer-container {
    height: 400px;
  }

  .viewer-controls p {
    font-size: 12px;
  }

  .viewer-controls {
    padding: 10px 20px;
    bottom: 16px;
  }
}
.mb-8 { margin-bottom: 64px; }
