@import url("/fonts/fonts.css");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");
/* AXL Protocol - Global Stylesheet (Graphite Light Theme) */

:root {
  /* GRAY SCALE (Graphite, pure neutral, 0 saturation) */
  --gray-50:  #fafafa;
  --gray-100: #f5f5f5;
  --gray-150: #f0f0f0;
  --gray-200: #e0e0e0;
  --gray-250: #d9d9d9;
  --gray-300: #d0d0d0;
  --gray-400: #c0c0c0;
  --gray-500: #a8a8a8;
  --gray-600: #909090;
  --gray-650: #666666;
  --gray-700: #606060;
  --gray-800: #333333;
  --gray-900: #1a1a1a;

  /* ORANGE (single brand accent) */
  --orange-50:  #fafafa;
  --orange-100: #e0e0e0;
  --orange-200: #a8a8a8;
  --orange-300: #a8a8a8;
  --orange-400: #606060;
  --orange-500: #333333;
  --orange-600: #333333;
  --orange-700: #1a1a1a;
  --orange-glow: rgba(51,51,51,0.1);
  --orange-tint: rgba(51,51,51,0.06);

  /* SEMANTIC TOKENS */
  --background:           var(--gray-150);
  --foreground:           var(--gray-800);
  --card:                 var(--gray-100);
  --card-foreground:      var(--gray-800);
  --primary:              var(--gray-700);
  --primary-foreground:   #ffffff;
  --secondary:            var(--gray-200);
  --secondary-foreground: var(--gray-800);
  --muted:                var(--gray-250);
  --muted-foreground:     var(--gray-650);
  --accent:               var(--orange-400);
  --accent-hover:         var(--orange-500);
  --accent-foreground:    #ffffff;
  --border:               var(--gray-300);
  --input:                var(--gray-200);
  --ring:                 var(--orange-400);

  /* FUNCTIONAL */
  --destructive:          #EF4444;
  --destructive-foreground: #ffffff;
  --success:              #606060;
  --success-foreground:   #ffffff;

  /* NAV */
  --nav-bg:               var(--gray-800);
  --nav-text:             var(--gray-150);
  --nav-accent:           var(--orange-400);
  --nav-muted:            var(--gray-500);
  --nav-border:           var(--gray-700);

  /* CODE BLOCKS */
  --code-bg:              var(--gray-800);
  --code-text:            var(--gray-150);
  --code-border:          var(--orange-400);
  --code-inline-bg:       var(--orange-tint);
  --code-inline-text:     var(--orange-600);

  /* RADIUS */
  --radius: 0.35rem;
}

/* Base Reset */

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

/* Body */

body {
  background: #f0f0f0;
  color: #333333;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  padding-top: 0;
}

/* Typography */

h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  color: #333333;
}

h2 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: #333333;
  border-bottom: 2px solid #606060;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #606060;
}

h4 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: #1a1a1a;
}

a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #333333;
}

strong {
  color: #333333;
}

em {
  color: #666666;
}

/* Code */

code {
  font-family: 'JetBrains Mono', monospace;
  color: #1a1a1a;
  background: rgba(51,51,51,0.06);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

pre {
  background: #333333;
  border-left: 3px solid #606060;
  color: #f0f0f0;
  border-radius: 6px;
  padding: 16px 20px;
  overflow-x: auto;
  margin: 16px 0;
}

pre code {
  background: none;
  color: #f0f0f0;
  padding: 0;
  border-radius: 0;
}

/* Tables */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666666;
  background: #e0e0e0;
  border-bottom: 2px solid #d0d0d0;
  padding: 10px 14px;
  text-align: left;
}

td {
  padding: 10px 14px;
  border-bottom: 1px solid #d0d0d0;
}

tr:hover {
  background: rgba(96,96,96,0.04);
}

/* Cards */

.card {
  background: #f5f5f5;
  border-radius: 8px;
  color: #333333;
  padding: 24px;
  border: 1px solid #d0d0d0;
}

/* Buttons */

.btn-primary {
  display: inline-block;
  background: #606060;
  color: #ffffff;
  padding: 10px 24px;
  border: none;
  border-radius: 0.35rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #333333;
  color: #ffffff;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  border: 1px solid #d0d0d0;
  color: #333333;
  padding: 10px 24px;
  border-radius: 0.35rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  border-color: #606060;
}

/* Utility Classes */

.text-orange { color: #1a1a1a; }
.text-muted { color: #666666; }
.text-light { color: #a8a8a8; }
.text-dark { color: #333333; }
.text-gray-400 { color: #c0c0c0; }
.text-gray-600 { color: #909090; }
.text-gray-700 { color: #606060; }
.bg-dark { background: #333333; }
.bg-card { background: #f5f5f5; }
.bg-page { background: #f0f0f0; }
.bg-secondary { background: #e0e0e0; }

/* Responsive */

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  body { padding-top: 0; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
  pre {
    font-size: 13px;
    padding: 12px 14px;
  }
  table {
    display: block;
    overflow-x: auto;
  }
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}


/* SPLINE 3D SCENE */
#spline-canvas {
  background: #f5f5f5;
  border: 1px solid #d0d0d0;
}

/* SPOTLIGHT EFFECT (from Aceternity, adapted to vanilla CSS) */
.spotlight {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 138%;
  height: 169%;
  opacity: 0;
  animation: spotlight-fade 3s ease-in-out forwards;
}

@keyframes spotlight-fade {
  0% { opacity: 0; }
  100% { opacity: 0.21; }
}

/* Hero split layout */
.hero {
  display: flex;
  align-items: center;
  min-height: 80vh;
  padding: 60px 0;
  gap: 40px;
}

.hero-left {
  flex: 1;
  max-width: 560px;
}

.hero-right {
  flex: 1;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    min-height: auto;
    padding: 40px 0;
    text-align: center;
  }
  .hero-left {
    max-width: 100%;
  }
  .hero-right {
    min-height: 280px;
    width: 100%;
  }
}
