.aiw-page {
  background: #060e1a;
  color: #e3edf7;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.aiw-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(8, 145, 178, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(212, 165, 49, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(8, 145, 178, 0.03) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
}

.aiw-page .landing-nav {
  background: rgba(6, 14, 26, 0.95);
  border-bottom: 1px solid rgba(8, 145, 178, 0.12);
}

.aiw-page .landing-nav .nav-links a { color: #94a3b8; }
.aiw-page .landing-nav .nav-links a:hover { color: #e3edf7; }

.aiw-container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

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

.aiw-hero {
  padding: 56px 0 48px;
  text-align: center;
  animation: aiwFadeUp 0.7s ease-out;
}

.aiw-countdown {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 165, 49, 0.06);
  border: 1px solid rgba(212, 165, 49, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 28px;
}

.aiw-countdown .aiw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4a531;
  animation: aiwPulse 2s ease-in-out infinite;
}

@keyframes aiwPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.aiw-countdown span {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d4a531;
}

.aiw-hero h1 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.12;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 800;
  color: #e3edf7;
}

.aiw-hero h1 .accent-water { color: #06b6d4; }
.aiw-hero h1 .accent-gold { color: #f0c14b; }

.aiw-hero .aiw-subtitle {
  font-size: 17px;
  color: #a3bdd6;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

.aiw-hero .aiw-subtitle strong {
  color: #e3edf7;
  font-weight: 600;
}

.aiw-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 56px;
  animation: aiwFadeUp 0.7s ease-out 0.1s both;
}

.aiw-stat {
  background: #111f35;
  border: 1px solid rgba(8, 145, 178, 0.1);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.2s;
}

.aiw-stat:hover {
  border-color: rgba(8, 145, 178, 0.25);
  transform: translateY(-2px);
}

.aiw-stat-icon { font-size: 24px; margin-bottom: 6px; }

.aiw-stat-value {
  font-family: 'Space Mono', monospace;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.aiw-stat-value.water { color: #06b6d4; }
.aiw-stat-value.danger { color: #ef4444; }
.aiw-stat-value.gold { color: #f0c14b; }
.aiw-stat-value.success { color: #10b981; }

.aiw-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #5e839e;
  margin-top: 4px;
  letter-spacing: 0.3px;
  line-height: 1.5;
}

.aiw-stats .aiw-stat:nth-child(1) { animation: aiwFadeUp 0.5s ease-out 0.15s both; }
.aiw-stats .aiw-stat:nth-child(2) { animation: aiwFadeUp 0.5s ease-out 0.25s both; }
.aiw-stats .aiw-stat:nth-child(3) { animation: aiwFadeUp 0.5s ease-out 0.35s both; }
.aiw-stats .aiw-stat:nth-child(4) { animation: aiwFadeUp 0.5s ease-out 0.45s both; }

.aiw-section {
  margin-bottom: 56px;
}

.aiw-section-header {
  margin-bottom: 24px;
  animation: aiwFadeUp 0.6s ease-out;
}

.aiw-section-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #5e839e;
  margin-bottom: 8px;
  display: block;
}

.aiw-section-title {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  font-weight: 700;
  color: #e3edf7;
}

.aiw-section-desc {
  color: #a3bdd6;
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 640px;
}

.aiw-panel {
  background: #111f35;
  border: 1px solid rgba(8, 145, 178, 0.1);
  border-radius: 14px;
  padding: 28px;
}

.aiw-panel-gold {
  background: linear-gradient(135deg, rgba(212, 165, 49, 0.07), rgba(212, 165, 49, 0.02));
  border: 1px solid rgba(212, 165, 49, 0.2);
  border-radius: 14px;
  padding: 32px;
}

.aiw-slider-control {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.aiw-slider-control label {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #5e839e;
  min-width: 100px;
}

.aiw-slider-control input[type="range"] {
  flex: 1;
  min-width: 180px;
  -webkit-appearance: none;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0891b2, #ef4444);
  outline: none;
}

.aiw-slider-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #0891b2;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(8, 145, 178, 0.3);
}

.aiw-slider-control input[type="range"].gold-slider {
  background: linear-gradient(90deg, #9a7620, #f0c14b);
}

.aiw-slider-control input[type="range"].gold-slider::-webkit-slider-thumb {
  border-color: #f0c14b;
  box-shadow: 0 0 10px rgba(212, 165, 49, 0.3);
}

.aiw-slider-readout {
  font-family: 'Space Mono', monospace;
  font-size: 26px;
  font-weight: 700;
  color: #06b6d4;
  min-width: 80px;
  text-align: right;
}

.aiw-page canvas {
  width: 100%;
  height: 240px;
  display: block;
}

.aiw-legend {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.aiw-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #5e839e;
  font-family: 'Space Mono', monospace;
}

.aiw-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

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

@media (max-width: 768px) {
  .aiw-grid-2 { grid-template-columns: 1fr; }
}

.aiw-bar-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aiw-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aiw-bar-label {
  font-size: 11px;
  font-family: 'Space Mono', monospace;
  color: #5e839e;
  min-width: 80px;
  text-align: right;
}

.aiw-bar-track {
  flex: 1;
  height: 26px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 5px;
  overflow: hidden;
}

.aiw-bar-fill {
  height: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.aiw-bar-fill span {
  font-size: 10px;
  font-family: 'Space Mono', monospace;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.aiw-bar-fill.c-water { background: linear-gradient(90deg, #0e7490, #0891b2); }
.aiw-bar-fill.c-indirect { background: linear-gradient(90deg, #5c6bc0, #7986cb); }
.aiw-bar-fill.c-supply { background: linear-gradient(90deg, #607d8b, #90a4ae); }

.aiw-flow {
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin: 28px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.aiw-flow-step {
  background: #0c1829;
  border: 1px solid rgba(8, 145, 178, 0.1);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  flex: 1;
  min-width: 130px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.aiw-flow-step.highlight {
  border-color: rgba(212, 165, 49, 0.3);
  background: rgba(212, 165, 49, 0.06);
}

.aiw-flow-step.water-highlight {
  border-color: rgba(8, 145, 178, 0.25);
  background: rgba(8, 145, 178, 0.04);
}

.aiw-flow-step .step-icon { font-size: 22px; }

.aiw-flow-step .step-phase {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5e839e;
}

.aiw-flow-step .step-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.aiw-flow-step .step-sub {
  font-size: 11px;
  color: #5e839e;
  line-height: 1.4;
}

.aiw-flow-arrow {
  display: flex;
  align-items: center;
  color: #5e839e;
  font-size: 16px;
  padding: 0 2px;
  animation: aiwArrowPulse 2s ease-in-out infinite;
}

@keyframes aiwArrowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

@media (max-width: 600px) {
  .aiw-flow { flex-direction: column; align-items: center; }
  .aiw-flow-arrow { transform: rotate(90deg); }
  .aiw-flow-step { max-width: 100%; width: 100%; }
}

.aiw-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.aiw-calc-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.aiw-calc-card .cc-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5e839e;
  margin-bottom: 6px;
}

.aiw-calc-card .cc-value {
  font-family: 'Space Mono', monospace;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.aiw-calc-card .cc-unit {
  font-size: 11px;
  color: #5e839e;
  margin-top: 2px;
}

.aiw-use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.aiw-use-case {
  background: #111f35;
  border: 1px solid rgba(8, 145, 178, 0.1);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.3s, transform 0.2s;
}

.aiw-use-case:hover {
  border-color: rgba(8, 145, 178, 0.2);
  transform: translateY(-2px);
}

.aiw-use-case .uc-icon { font-size: 28px; margin-bottom: 10px; }

.aiw-use-case .uc-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e3edf7;
}

.aiw-use-case .uc-desc {
  font-size: 13px;
  color: #a3bdd6;
  line-height: 1.6;
  font-weight: 400;
}

.aiw-use-case .uc-tag {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(8, 145, 178, 0.1);
  color: #06b6d4;
  border: 1px solid rgba(8, 145, 178, 0.15);
}

.aiw-use-case.emerging .uc-tag {
  background: rgba(212, 165, 49, 0.1);
  color: #d4a531;
  border-color: rgba(212, 165, 49, 0.2);
}

.aiw-panel-title {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5e839e;
  margin-bottom: 16px;
}

.aiw-note {
  font-size: 11px;
  color: #5e839e;
  margin-top: 14px;
  text-align: center;
  line-height: 1.6;
  font-style: italic;
}

.aiw-mrv-summary {
  text-align: center;
  margin-top: 24px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.aiw-mrv-summary p {
  font-size: 14px;
  color: #a3bdd6;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.aiw-varies-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aiw-varies-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.aiw-varies-icon { font-size: 18px; flex-shrink: 0; }

.aiw-varies-title {
  font-size: 13px;
  font-weight: 600;
  color: #e3edf7;
}

.aiw-varies-desc {
  font-size: 12px;
  color: #a3bdd6;
  line-height: 1.5;
  margin-top: 2px;
}

.aiw-footer {
  margin-top: 64px;
  padding: 32px 0 48px;
  border-top: 1px solid rgba(8, 145, 178, 0.1);
  text-align: center;
}

.aiw-footer p {
  font-size: 11px;
  color: #5e839e;
  line-height: 1.9;
  font-family: 'Space Mono', monospace;
}

.aiw-footer a { color: #06b6d4; text-decoration: none; }
.aiw-footer .gold-text { color: #d4a531; }
