/* ============================================================
   STACKVIBE — Plain HTML/CSS Export
   Design tokens match the original Next.js/Tailwind v4 theme
   ============================================================ */

/* ---- Google Fonts fallback stack ---- */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500&family=PT+Mono:wght@400&display=swap');

/* ---- CSS Custom Properties (design tokens) ---- */
:root {
  color-scheme: dark;
  --background:        #0e0e0e;
  --foreground:        #f2f2f2;
  --card:              #1c1c1c;
  --card-foreground:   #f2f2f2;
  --primary:           #CCFF00;   /* electric lime */
  --primary-hover:     #CCFF00;
  --primary-foreground:#141414;
  --secondary:         #242424;
  --secondary-foreground: #d9d9d9;
  --muted:             #2e2e2e;
  --muted-foreground:  #999999;
  --border:            #333333;
  --input:             #242424;
  --ring:              #d9f99d;
  --radius:            0.5rem;
  --radius-sm:         0.25rem;
  --radius-md:         0.375rem;
  --radius-lg:         0.5rem;
  --radius-xl:         0.75rem;
  --radius-2xl:        1rem;
  --font-sans:         'Geist', 'Segoe UI', system-ui, sans-serif;
  --font-mono:         'Geist Mono', 'Courier New', monospace;
  --font-logo:         'PT Mono', 'Courier New', monospace;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
  outline-color: color-mix(in srgb, var(--ring) 50%, transparent);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

::selection {
  background: #d4f76e;
  color: #141414;
}

/* ---- Utility classes ---- */
.hidden { display: none !important; }

.text-gradient-lime {
  background: linear-gradient(135deg, #CCFF00 0%, #CCFF00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tracking-display { letter-spacing: -0.02em; }

.w-3\.5 { width: 0.875rem; height: 0.875rem; }
.w-3 { width: 0.75rem; height: 0.75rem; }
.w-5 { width: 1.25rem; height: 1.25rem; }
.text-primary { color: var(--primary); }
.flex-shrink-0 { flex-shrink: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 72rem; /* 1152px */
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.container-narrow {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container-narrow { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-narrow { padding: 0 2rem; } }

.site-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  position: relative;
  padding: 6rem 0;
}
@media (min-width: 1024px) { .section { padding: 8rem 0; } }

.section-border {
  border-top: 1px solid var(--border);
}

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

.section-title {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-subtitle {
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.btn-primary:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); }

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}
.btn-outline:hover { background-color: var(--muted); }

.btn-sm  { padding: 0.375rem 0.875rem; font-size: 0.875rem; border-radius: var(--radius); }
.btn-lg  { padding: 0.75rem 1.5rem;   font-size: 1rem;     border-radius: var(--radius); }
.btn-xl  { padding: 0.875rem 1.75rem; font-size: 1.0625rem; border-radius: var(--radius); }

.btn-rounded { border-radius: 9999px !important; }
.btn-full    { width: 100%; }

.btn-icon { width: 1rem; height: 1rem; flex-shrink: 0; }

/* ============================================================
