/* JsonForge Stylesheet - Independent Design */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,800;1,400&display=swap');

:root {
  /* Palette: Lean Light Theme with Neon Accents */
  --c-bg: #F8FAFC;
  --c-surface: #FFFFFF;
  --c-text: #0F172A;
  --c-text-muted: #64748B;
  
  --c-primary: #10B981;       /* Electric Lime (144° hue) */
  --c-primary-hover: #059669;
  --c-secondary: #8B5CF6;     /* Neon Purple */
  --c-accent: #F43F5E;        /* Bright Coral */
  --c-navy: #1E293B;          /* Deep Navy */

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Spacing & Layout */
  --container-width: 1200px;
  --space-unit: clamp(1rem, 2.5vw, 3rem);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Effects */
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, picture { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
button, input { font: inherit; }

/* Utility: Container (MANDATORY) */
.jf-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--c-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.jf-h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
.jf-h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.jf-h3 { font-size: 1.25rem; font-weight: 600; }
.jf-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--c-text-muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}
.jf-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--c-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

/* Buttons */
.jf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 0.5rem;
  border: none;
}
.jf-btn--primary {
  background-color: var(--c-primary);
  color: var(--c-navy);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.jf-btn--primary:hover {
  background-color: var(--c-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.jf-btn--outline {
  background: transparent;
  border: 2px solid var(--c-navy);
  color: var(--c-navy);
}
.jf-btn--outline:hover {
  background: var(--c-navy);
  color: var(--c-surface);
}

/* Navigation */
.jf-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-block: 1rem;
}
.jf-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.jf-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--c-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.jf-logo span { color: var(--c-primary); }
.jf-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.jf-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-navy);
}
.jf-link:hover { color: var(--c-primary); }

@media (max-width: 768px) {
  .jf-links { display: none; } /* Simplified for mobile demo */
}

/* Generic Section Wrapper */
.jf-section {
  padding-block: var(--space-unit);
}
.jf-section--alt {
  background-color: var(--c-surface);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Hero Grid */
.jf-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}
.jf-hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.jf-hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--c-navy);
  aspect-ratio: 4/3;
}

/* Cards */
.jf-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.jf-card {
  background: var(--c-surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}
.jf-card:hover { transform: translateY(-5px); border-color: var(--c-primary); }
.jf-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--c-secondary);
}

/* Stats */
.jf-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.jf-stat-num {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--c-primary);
  font-family: var(--font-mono);
  line-height: 1;
}
.jf-stat-label {
  color: var(--c-text-muted);
  font-weight: 600;
  margin-top: 0.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* CTA Band */
.jf-cta-band {
  background: var(--c-navy);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--c-surface);
  position: relative;
  overflow: hidden;
}
.jf-cta-band h2 { color: var(--c-surface); }
.jf-cta-band p { color: #94A3B8; margin-bottom: 2rem; }
/* Decorative blob */
.jf-cta-band::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--c-secondary) 0%, transparent 70%);
  opacity: 0.2;
  filter: blur(60px);
}

/* FAQ */
.jf-faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 1.5rem 0;
}
.jf-faq-q {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.jf-faq-a {
  color: var(--c-text-muted);
}

/* Footer */
.jf-footer {
  background: var(--c-surface);
  border-top: 1px solid #E2E8F0;
  padding-block: 4rem;
  margin-top: 4rem;
}
.jf-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.jf-footer h4 { font-size: 0.9rem; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 1.5rem; letter-spacing: 0.1em; }
.jf-footer-links { list-style: none; }
.jf-footer-links li { margin-bottom: 0.75rem; }
.jf-footer-links a:hover { color: var(--c-primary); text-decoration: underline; }
.jf-copyright {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
  text-align: center;
  color: var(--c-text-muted);
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .jf-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .jf-hero-actions { justify-content: center; }
  .jf-stats-grid { grid-template-columns: 1fr 1fr; }
  .jf-footer-grid { grid-template-columns: 1fr 1fr; }
}
body{margin:0}
html{-webkit-text-size-adjust:100%}
img,svg,video{max-width:100%;height:auto}
*{box-sizing:border-box}
