/* ============================================================
   Kairos Website — Dark Modern Stylesheet
   ============================================================ */

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

:root {
  --bg-base:      #07070f;
  --bg-card:      #0e0e1a;
  --bg-card2:     #14141f;
  --border:       rgba(255,255,255,.07);
  --primary:      #6366f1;
  --primary-glow: rgba(99,102,241,.35);
  --accent:       #22d3ee;
  --accent-glow:  rgba(34,211,238,.25);
  --purple:       #a855f7;
  --green:        #10b981;
  --red:          #ef4444;
  --yellow:       #f59e0b;
  --text:         #f1f5f9;
  --text-muted:   #94a3b8;
  --text-subtle:  #64748b;
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--primary); color: #fff; }

a { color: var(--accent); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: .8; }

img { max-width: 100%; }

/* ---------- Canvas Particles ---------- */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}

/* ---------- Navbar ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(7,7,15,.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}

.nav-logo .logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text); opacity: 1; }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: .45rem 1.1rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  background: #4f52d6;
  box-shadow: 0 0 20px var(--primary-glow);
  opacity: 1 !important;
}

/* ---------- Section helpers ---------- */
section {
  position: relative;
  z-index: 1;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.2);
  padding: .3rem .8rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: .75rem auto 0;
  max-width: 560px;
  text-align: center;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

/* radial glow */
#hero::before {
  content: '';
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse at center,
    rgba(99,102,241,.18) 0%,
    rgba(34,211,238,.08) 40%,
    transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.3);
  color: #a5b4fc;
  font-size: .82rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.75rem;
  animation: fadeDown .8s ease both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  animation: fadeDown .8s .1s ease both;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 60%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 1.25rem auto 0;
  animation: fadeDown .8s .2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown .8s .3s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #818cf8);
  color: #fff;
  box-shadow: 0 4px 30px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--primary-glow);
  opacity: 1;
}

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

.btn-outline:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.15);
  transform: translateY(-2px);
  opacity: 1;
}

/* Hero status widget */
.hero-status-strip {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 3.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: .55rem 1.4rem;
  font-size: .85rem;
  color: var(--text-muted);
  animation: fadeDown .8s .45s ease both;
}

.hero-status-strip .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  color: var(--text-subtle);
  animation: fadeIn 1.5s 1s ease both;
}

.scroll-hint .mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--text-subtle);
  border-radius: 12px;
  position: relative;
}

.scroll-hint .mouse::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--text-subtle);
  border-radius: 2px;
  animation: scrollDot 1.5s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { opacity: 1; top: 5px; }
  100% { opacity: 0; top: 17px; }
}

/* ---------- Live Status Section ---------- */
#status {
  padding: 6rem 0;
}

.status-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Overall status banner */
.overall-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 2rem;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.overall-status .status-label {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.overall-status .status-label .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.status-timestamp {
  font-size: .8rem;
  color: var(--text-subtle);
}

/* Resource rows */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.resource-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
}

.resource-item:hover {
  border-color: rgba(255,255,255,.14);
  transform: translateX(4px);
}

.resource-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.resource-name {
  font-weight: 600;
  font-size: .95rem;
}

.resource-url {
  font-size: .78rem;
  color: var(--text-subtle);
  margin-top: 2px;
}

.resource-type-badge {
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 99px;
  background: rgba(99,102,241,.15);
  color: #a5b4fc;
  border: 1px solid rgba(99,102,241,.25);
  white-space: nowrap;
}

.resource-uptime {
  text-align: right;
  font-size: .85rem;
  font-weight: 700;
}

.resource-uptime .uptime-label {
  font-size: .7rem;
  font-weight: 400;
  color: var(--text-subtle);
}

/* Timeline bars */
.timeline-bar {
  display: flex;
  gap: 2px;
  margin-top: .55rem;
  grid-column: 1 / -1;
}

.timeline-bar .bar-seg {
  height: 6px;
  flex: 1;
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

.timeline-bar .bar-seg:hover {
  transform: scaleY(2);
  opacity: .9;
}

/* Placeholder / skeleton */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,.05) 25%,
    rgba(255,255,255,.1) 50%,
    rgba(255,255,255,.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-row {
  height: 72px;
  margin-bottom: .75rem;
  border-radius: var(--radius);
}

.status-configure-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--text-subtle);
}

.status-configure-note code {
  background: rgba(255,255,255,.07);
  padding: .15rem .45rem;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  color: var(--accent);
}

/* ---------- Features Section ---------- */
#features {
  padding: 6rem 0;
  background: linear-gradient(to bottom, transparent, rgba(99,102,241,.04) 50%, transparent);
}

.features-header { text-align: center; margin-bottom: 3.5rem; }
.features-header .section-subtitle { margin: .75rem auto 0; }

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: rgba(99,102,241,.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
}

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

.feature-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- Screenshots Section ---------- */
#screenshots {
  padding: 6rem 0;
}

.screenshots-header { text-align: center; margin-bottom: 3rem; }

.screenshots-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.screenshot-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.screenshot-tab {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: .45rem 1.1rem;
  border-radius: 8px;
  font-size: .83rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.screenshot-tab.active, .screenshot-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.screenshot-frame {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.screenshot-mockup {
  background: #0e0e1a;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mockup-bar {
  background: #1a1a2e;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.mockup-url {
  flex: 1;
  margin-left: .5rem;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  height: 22px;
}

/* Animated mock dashboard */
.mock-dashboard {
  padding: 1.5rem;
}

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1rem;
}

.mock-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .75rem 1rem;
}

.mock-stat .mock-val {
  font-size: 1.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mock-stat .mock-lbl {
  font-size: .7rem;
  color: var(--text-subtle);
  margin-top: 2px;
}

.mock-resource-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .6rem .85rem;
  margin-bottom: .45rem;
}

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

.mock-resource-name {
  font-size: .82rem;
  font-weight: 600;
  flex: 1;
}

.mock-bars {
  display: flex;
  gap: 2px;
  flex: 2;
}

.mock-bar-seg {
  height: 14px;
  flex: 1;
  border-radius: 3px;
}

.mock-pct {
  font-size: .78rem;
  font-weight: 700;
  min-width: 40px;
  text-align: right;
}

/* ---------- Quick Start Section ---------- */
#quickstart {
  padding: 6rem 0;
  background: linear-gradient(to bottom, transparent, rgba(34,211,238,.03) 50%, transparent);
}

.quickstart-header { text-align: center; margin-bottom: 3rem; }

.quickstart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.code-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}

.code-block-title {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.code-block-lang {
  font-size: .7rem;
  background: rgba(99,102,241,.2);
  color: #a5b4fc;
  padding: .15rem .55rem;
  border-radius: 4px;
  font-weight: 600;
}

.code-block pre {
  padding: 1.25rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: .82rem;
  line-height: 1.7;
  color: #e2e8f0;
  overflow-x: auto;
  white-space: pre;
}

.code-block pre .cmd { color: var(--accent); }
.code-block pre .comment { color: #64748b; font-style: italic; }
.code-block pre .string { color: #86efac; }
.code-block pre .key { color: #f9a8d4; }
.code-block pre .val { color: #fde68a; }

.quickstart-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  transition: border-color var(--transition);
}

.step-card:hover { border-color: rgba(99,102,241,.35); }

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body h4 { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.step-body p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- API Section ---------- */
#api {
  padding: 6rem 0;
}

.api-header { text-align: center; margin-bottom: 3rem; }

.api-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.api-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.api-table thead tr {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border);
}

.api-table th {
  padding: .8rem 1.25rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-subtle);
}

.api-table td {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

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

.api-table tbody tr:hover td { background: rgba(255,255,255,.02); }

.method-badge {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 5px;
  font-size: .72rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.method-get  { background: rgba(16,185,129,.2);  color: #6ee7b7; }
.method-post { background: rgba(99,102,241,.2);  color: #a5b4fc; }
.method-put  { background: rgba(245,158,11,.2);  color: #fde68a; }
.method-del  { background: rgba(239,68,68,.2);   color: #fca5a5; }

.auth-badge {
  font-size: .72rem;
  padding: .15rem .55rem;
  border-radius: 5px;
  font-weight: 600;
}

.auth-public  { background: rgba(16,185,129,.1);  color: #6ee7b7; }
.auth-admin   { background: rgba(239,68,68,.1);   color: #fca5a5; }
.auth-authed  { background: rgba(245,158,11,.1);  color: #fde68a; }

.api-path {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  color: var(--accent);
}

/* ---------- Metrics Section ---------- */
#metrics {
  padding: 6rem 0;
  background: linear-gradient(to bottom, transparent, rgba(168,85,247,.04) 50%, transparent);
}

.metrics-header { text-align: center; margin-bottom: 3rem; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168,85,247,.35);
}

.metric-value {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: .35rem;
}

/* ---------- CTA Section ---------- */
#cta {
  padding: 7rem 0;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99,102,241,.2), transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2.25rem;
}

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

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: .88rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text); opacity: 1; }

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  font-size: .8rem;
  color: var(--text-subtle);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

/* ---------- Keyframes ---------- */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Color helpers ---------- */
.text-green  { color: var(--green) !important; }
.text-red    { color: var(--red) !important; }
.text-yellow { color: var(--yellow) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted  { color: var(--text-muted) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .quickstart-grid { grid-template-columns: 1fr; }
  .mock-stat-row   { grid-template-columns: repeat(2, 1fr); }
  .resource-item   {
    grid-template-columns: auto 1fr auto;
  }
  .resource-uptime { display: none; }
  nav { padding: .9rem 1.25rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links li:nth-child(1),
  .nav-links li:nth-child(2),
  .nav-links li:nth-child(3) { display: none; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .mock-stat-row { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid  { grid-template-columns: repeat(2, 1fr); }
}
