/* AIRunX Marketing Site — Brand Tokens & Global Styles */

:root {
  --color-blue: #1E3A8A;
  --color-silver: #C0C0C0;
  --color-bg: #0F172A;
  --color-surface: #1E293B;
  --color-text: #E2E8F0;
  --color-text-dim: #94A3B8;
  --color-border: #334155;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', Menlo, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--color-silver);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(30, 58, 138, 0.15) 0%, transparent 60%);
}

.ascii-logo {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.4rem, 1.4vw, 0.8rem);
  line-height: 1.0;
  background: linear-gradient(to right, var(--color-blue), var(--color-silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  white-space: pre;
  display: inline-block;
  transform: scaleY(1.1);
}

.tagline {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  background: linear-gradient(to right, #fff, var(--color-silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-dim);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-blue), #2563EB);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.4);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 6px 30px rgba(30, 58, 138, 0.6);
}

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

.btn-secondary:hover {
  color: #fff;
  border-color: var(--color-silver);
}

/* ===== Value Propositions ===== */
.value-props {
  padding: 8rem 1.5rem;
}

.value-prop {
  max-width: 800px;
  margin: 0 auto 6rem;
  text-align: center;
}

.value-prop:last-child {
  margin-bottom: 0;
}

.value-prop h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--color-text), var(--color-silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-prop p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-dim);
  max-width: 550px;
  margin: 0 auto;
}

/* ===== Features Grid ===== */
.features {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(30, 58, 138, 0.05) 50%, transparent);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: var(--color-blue);
  box-shadow: 0 0 20px rgba(30, 58, 138, 0.2);
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--color-text-dim);
  font-size: 0.95rem;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 6rem 1.5rem;
}

.pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pipeline-step {
  text-align: center;
  flex: 0 0 auto;
  min-width: 100px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.step-label {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  max-width: 120px;
  margin: 0 auto;
}

.pipeline-arrow {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  color: var(--color-silver);
}

.pipeline-arrow::after {
  content: '\2192';
  font-size: 1.5rem;
  color: var(--color-blue);
}

/* ===== Quick Start ===== */
.quick-start {
  padding: 6rem 1.5rem;
}

.terminal {
  max-width: 650px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.terminal-header {
  background: #1a1a2e;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

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

.terminal-body {
  background: #0a0a0a;
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 2;
}

.terminal-body code {
  display: block;
  white-space: pre;
}

.prompt {
  color: #27c93f;
  margin-right: 0.5rem;
}

.string {
  color: #ffbd2e;
}

/* ===== Footer ===== */
.site-footer {
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-badges img {
  height: 20px;
}

.footer-credits p {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-credits a {
  color: var(--color-silver);
}

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

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .pipeline {
    flex-direction: column;
    align-items: center;
  }

  .pipeline-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .value-props {
    padding: 5rem 1.5rem;
  }

  .value-prop {
    margin-bottom: 4rem;
  }
}
