@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --bg-primary: #05060b;
  --bg-secondary: #0b0d19;
  --bg-tertiary: #13172b;
  --color-green: #00ff66;
  --color-green-dim: #00a843;
  --color-cyan: #00f0ff;
  --color-cyan-dim: #009db7;
  --color-orange: #ff9900;
  --color-text: #f1f5f9;
  --color-text-dim: #64748b;
  --border-color: rgba(0, 240, 255, 0.15);
  --border-color-green: rgba(0, 255, 102, 0.15);
  --neon-glow-cyan: 0 0 12px rgba(0, 240, 255, 0.3);
  --neon-glow-green: 0 0 12px rgba(0, 255, 102, 0.3);
  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html, body {
  background-color: var(--bg-primary);
  color: var(--color-text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Background Cyber Grid & Scanline Effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(11, 13, 25, 0.8) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(11, 13, 25, 0.8) 0.5px, transparent 0.5px);
  background-size: 40px 40px;
  background-position: center;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.35;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan-dim);
}

/* Utilities & Animations */
.glow-text-cyan {
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}
.glow-text-green {
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.6);
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.scanline-moving {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.1), transparent);
  animation: scanline 6s linear infinite;
  pointer-events: none;
}

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

header {
  position: sticky;
  top: 0;
  background: rgba(5, 6, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: all 0.3s;
}

header.scrolled {
  box-shadow: var(--neon-glow-cyan);
  border-color: rgba(0, 240, 255, 0.3);
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-badge {
  height: 38px;
  width: auto;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 2px;
  font-family: var(--font-sans);
}

.logo-text span {
  color: var(--color-cyan);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--color-text-dim);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  letter-spacing: 1px;
}

nav a:hover, nav a.active {
  color: var(--color-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.nav-btn {
  border: 1px solid var(--color-cyan);
  padding: 8px 16px;
  border-radius: 4px;
  background: transparent;
  color: var(--color-cyan) !important;
  box-shadow: var(--neon-glow-cyan);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  color: #fff !important;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 140px 0 100px 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  z-index: -1;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
}

.badge-tag {
  align-self: flex-start;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--color-cyan);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-tag::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-cyan);
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-title span {
  display: block;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-dim);
  margin-bottom: 40px;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-sans);
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--color-cyan);
  color: var(--bg-primary);
  border: 1px solid var(--color-cyan);
  box-shadow: var(--neon-glow-cyan);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-cyan);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--color-text-dim);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cyber-cube {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-full-img {
  width: 90%;
  height: auto;
  z-index: 10;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.25));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cube-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.15) 0%, transparent 70%);
  filter: blur(15px);
  z-index: 1;
  animation: pulse 3s infinite;
}

/* Interactive Simulator Section */
.simulator-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  color: var(--color-green);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--color-text-dim);
  font-size: 1.05rem;
}

/* Terminal Console Grid styling */
.simulator-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.control-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  position: relative;
}

.panel-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title span {
  color: var(--color-cyan);
}

.panel-title::after {
  content: "ENV: VERIFIED";
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(0, 255, 102, 0.1);
  color: var(--color-green);
  border: 1px solid var(--border-color-green);
  padding: 2px 8px;
  border-radius: 4px;
}

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

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--color-text);
  padding: 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: var(--neon-glow-cyan);
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.radio-card {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.radio-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
}

.radio-card.active {
  border-color: var(--color-cyan);
  background: rgba(0, 240, 255, 0.03);
  box-shadow: var(--neon-glow-cyan);
}

.radio-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.radio-header span {
  color: var(--color-text);
}

.radio-card.active .radio-header span {
  color: var(--color-cyan);
}

.radio-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.radio-badge.tpm {
  background: rgba(0, 255, 102, 0.1);
  color: var(--color-green);
  border: 1px solid var(--border-color-green);
}
.radio-badge.byok {
  background: rgba(255, 153, 0, 0.1);
  color: var(--color-orange);
  border: 1px solid rgba(255, 153, 0, 0.2);
}
.radio-badge.hsm {
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-cyan);
  border: 1px solid var(--border-color);
}

.radio-desc {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.sign-trigger-btn {
  width: 100%;
  background: var(--color-green);
  color: var(--bg-primary);
  border: 1px solid var(--color-green);
  font-weight: 700;
  box-shadow: var(--neon-glow-green);
  margin-top: 10px;
}

.sign-trigger-btn:hover {
  background: transparent;
  color: var(--color-green);
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.5);
  transform: translateY(-2px);
}

/* Terminal Console Element */
.terminal-window {
  background: #020306;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  height: 540px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  overflow: hidden;
  position: relative;
}

.terminal-window.success-glow {
  border-color: var(--color-green);
  box-shadow: var(--neon-glow-green);
}

.terminal-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.terminal-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.terminal-control.close { background: #ef4444; }
.terminal-control.minimize { background: #eab308; }
.terminal-control.maximize { background: #22c55e; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-dim);
  letter-spacing: 0.5px;
}

.terminal-action {
  color: var(--color-text-dim);
  cursor: pointer;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.terminal-action:hover {
  color: var(--color-cyan);
}

.terminal-body {
  flex-grow: 1;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #a7f3d0; /* Soft terminal green */
  overflow-y: auto;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.2);
}

.terminal-line {
  word-break: break-all;
}

.terminal-line.command {
  color: var(--color-cyan);
}

.terminal-line.command::before {
  content: "sysadmin@axiom-node:~$ ";
  color: var(--color-text-dim);
}

.terminal-line.info {
  color: var(--color-text-dim);
}

.terminal-line.success {
  color: var(--color-green);
}

.terminal-line.error {
  color: #ef4444;
}

.terminal-line.output {
  color: #e2e8f0;
  background: rgba(255,255,255,0.02);
  padding: 10px;
  border-radius: 4px;
  border-left: 2px solid var(--color-cyan);
  white-space: pre-wrap;
  position: relative;
  font-size: 0.8rem;
}

.copy-envelope-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--color-cyan);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
}

.copy-envelope-btn:hover {
  background: var(--color-cyan);
  color: var(--bg-primary);
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--color-green);
  margin-left: 4px;
  animation: blink 1s infinite;
  vertical-align: middle;
}

/* Architecture Flow Pipeline Section */
.architecture-section {
  padding: 100px 0;
  position: relative;
}

.pipeline-flow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-top: 60px;
  position: relative;
}

.pipeline-flow::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cyan) 30%, var(--color-green) 70%);
  z-index: 1;
  opacity: 0.3;
}

.pipeline-node {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.pipeline-node:hover {
  border-color: var(--color-cyan);
  box-shadow: var(--neon-glow-cyan);
  transform: translateY(-5px);
}

.node-number {
  width: 36px;
  height: 36px;
  background: var(--bg-primary);
  border: 2px solid var(--color-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 24px;
  box-shadow: var(--neon-glow-cyan);
}

.pipeline-node:nth-child(2) .node-number {
  border-color: var(--color-green);
  color: var(--color-green);
  box-shadow: var(--neon-glow-green);
}

.pipeline-node:nth-child(3) .node-number {
  border-color: var(--color-orange);
  color: var(--color-orange);
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.4);
}

.node-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.node-desc {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  margin-bottom: 20px;
}

.node-bullets {
  list-style: none;
}

.node-bullets li {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.node-bullets li::before {
  content: "//";
  position: absolute;
  left: 0;
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
}

.pipeline-node:nth-child(2) .node-bullets li::before {
  color: var(--color-green);
}
.pipeline-node:nth-child(3) .node-bullets li::before {
  color: var(--color-orange);
}

/* Feature Comparison Table Section */
.features-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  margin-top: 48px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th {
  background: var(--bg-tertiary);
  padding: 20px 24px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.5px;
}

.comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.feature-name {
  font-weight: 600;
  color: #fff;
  width: 25%;
}

.comparison-table td.traditional {
  color: var(--color-text-dim);
  width: 37.5%;
}

.comparison-table td.axiom-way {
  color: var(--color-green);
  background: rgba(0, 255, 102, 0.02);
  font-weight: 500;
  width: 37.5%;
  border-left: 1px solid rgba(0, 255, 102, 0.1);
  border-right: 1px solid rgba(0, 255, 102, 0.1);
}

.comparison-table th.axiom-header {
  color: var(--color-green);
  background: rgba(0, 255, 102, 0.04);
  border-left: 1px solid rgba(0, 255, 102, 0.1);
  border-right: 1px solid rgba(0, 255, 102, 0.1);
}

/* Downloads Section */
.download-section {
  padding: 100px 0;
  position: relative;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.download-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.download-card:hover {
  border-color: var(--color-cyan);
  box-shadow: var(--neon-glow-cyan);
  transform: translateY(-4px);
}

.download-card.primary-doc {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(0, 240, 255, 0.03) 100%);
  border-color: rgba(0, 240, 255, 0.3);
}

.card-icon {
  font-size: 2.2rem;
  color: var(--color-cyan);
  margin-bottom: 24px;
}

.download-card.primary-doc .card-icon {
  color: var(--color-green);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  margin-bottom: 30px;
  flex-grow: 1;
}

.binary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.binary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 12px 18px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.binary-item span {
  color: var(--color-text-dim);
}

.binary-dl-link {
  color: var(--color-cyan);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.binary-dl-link:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--color-cyan);
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-color);
  background: #020306;
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-info {
  max-width: 320px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  margin-top: 12px;
}

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

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-cyan);
  letter-spacing: 1px;
  margin-bottom: 18px;
}

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

.footer-col a {
  text-decoration: none;
  color: var(--color-text-dim);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--color-text-dim);
  text-decoration: none;
}

/* Responsive adjustments */
@media(max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .simulator-container {
    grid-template-columns: 1fr;
  }
  .pipeline-flow {
    grid-template-columns: 1fr;
  }
  .pipeline-flow::before {
    display: none;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
    gap: 40px;
  }
}

/* Compliance steps section */
.compliance-steps-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
  position: relative;
}

.compliance-interactive-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

@media(max-width: 992px) {
  .compliance-interactive-container {
    grid-template-columns: 1fr;
  }
}

.steps-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-nav-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.step-nav-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.step-nav-card.active {
  border-color: var(--color-cyan);
  box-shadow: var(--neon-glow-cyan);
  background: rgba(0, 240, 255, 0.02);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cyan);
  opacity: 0.6;
}

.step-nav-card.active .step-num {
  opacity: 1;
  text-shadow: var(--text-shadow-glow);
}

.step-nav-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.step-nav-card p {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  line-height: 1.4;
}

.steps-display {
  display: flex;
  justify-content: center;
}

.display-screen {
  background: #020306;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 100%;
  max-width: 550px;
  height: 320px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  overflow: hidden;
}

.screen-header {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.screen-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.screen-dot.red { background: #ff3b30; }
.screen-dot.yellow { background: #ffcc00; }
.screen-dot.green { background: #34c759; }

.screen-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-dim);
  letter-spacing: 0.5px;
}

.screen-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, #0a0e1a 0%, #020306 100%);
}

.step-visual {
  display: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease forwards;
}

.step-visual.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.visual-dropzone, .visual-package {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.v-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.4));
}

.visual-package .v-icon {
  filter: drop-shadow(0 0 15px rgba(0, 255, 102, 0.4));
}

.v-main {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
}

.v-sub {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.visual-console {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: flex-start;
}

.c-line {
  line-height: 1.5;
}

.c-line.info {
  color: var(--color-text-dim);
}

.c-line.success {
  color: var(--color-green);
  text-shadow: 0 0 8px rgba(0,255,102,0.3);
}

/* Lightbox Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(2, 3, 6, 0.95);
  backdrop-filter: blur(10px);
}

.modal-content {
  margin: auto;
  display: block;
  width: 85%;
  max-width: 1100px;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
  animation: zoom 0.3s ease;
}

@keyframes zoom {
  from {transform: scale(0.95); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: var(--color-text-dim);
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
  color: #fff;
  text-decoration: none;
}

/* Axiom Capsule Sections Styling */
.capsule-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  position: relative;
}

.capsule-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.capsule-hero-content {
  display: flex;
  flex-direction: column;
}

.capsule-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #fff;
}

.capsule-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Feature Cards Grid */
.capsule-features-section {
  padding: 60px 0;
}

.capsule-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.capsule-feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.capsule-feature-card:hover {
  border-color: var(--color-cyan);
  box-shadow: var(--neon-glow-cyan);
  transform: translateY(-5px);
}

.capsule-feature-card .card-tag {
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.capsule-feature-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.capsule-feature-card .card-desc {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  line-height: 1.5;
}

/* Workflow Flow styling */
.capsule-workflow-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 60px 0;
}

.workflow-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  gap: 15px;
}

.workflow-node {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  flex: 1;
  text-align: center;
  transition: all 0.3s;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.workflow-node:hover {
  border-color: var(--color-cyan);
  box-shadow: var(--neon-glow-cyan);
  transform: translateY(-3px);
}

.workflow-step {
  width: 32px;
  height: 32px;
  background: var(--bg-primary);
  border: 2px solid var(--color-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 16px;
  box-shadow: var(--neon-glow-cyan);
}

.workflow-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.workflow-desc {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  line-height: 1.4;
}

.workflow-arrow {
  font-size: 1.8rem;
  color: var(--color-cyan);
  opacity: 0.7;
  font-weight: bold;
}

/* Showcase Section */
.capsule-showcase-section {
  padding: 80px 0;
}

.showcase-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 50px;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.showcase-item.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.showcase-item.reverse .showcase-content {
  order: 2;
}

.showcase-item.reverse .showcase-image-wrapper {
  order: 1;
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

.showcase-text {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  line-height: 1.6;
}

.showcase-image-wrapper {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  background: #000;
  transition: all 0.3s;
}

.showcase-image-wrapper:hover {
  border-color: var(--color-cyan);
  box-shadow: var(--neon-glow-cyan);
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
  cursor: zoom-in;
}

.showcase-img:hover {
  transform: scale(1.01);
}

/* Platform relationship styles */
.platform-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
}

/* Responsive Overrides */
@media(max-width: 992px) {
  .capsule-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .capsule-hero-content {
    align-items: center;
  }
  .capsule-features-grid {
    grid-template-columns: 1fr;
  }
  .workflow-flow {
    flex-direction: column;
    gap: 20px;
  }
  .workflow-arrow {
    transform: rotate(90deg);
    margin: 5px 0;
  }
  .showcase-item, .showcase-item.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .showcase-item.reverse .showcase-content {
    order: 1;
  }
  .showcase-item.reverse .showcase-image-wrapper {
    order: 2;
  }
}
