/* ================================================================
   JodiCore — Global Stylesheet v1.0
   Theme: Dark Corporate & Professional
   Fonts: Cormorant Garamond (display) + Outfit (UI)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

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

:root {
  --ink:          #060A14;
  --ink-2:        #0C1221;
  --ink-3:        #111827;
  --gold:         #C9A84C;
  --gold-light:   #E8C97A;
  --gold-muted:   rgba(201,168,76,0.15);
  --platinum:     #E8EDF5;
  --plat-muted:   rgba(232,237,245,0.55);
  --steel:        rgba(232,237,245,0.12);
  --steel-border: rgba(232,237,245,0.08);
  --blue:         #1A6FD4;
  --blue-soft:    #4A9FFF;
  --success:      #2ECC71;
  --error:        #E74C3C;
  --warning:      #F39C12;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Outfit', sans-serif;
  --font-mono:    'Space Mono', monospace;
  --radius:       6px;
  --radius-lg:    10px;
  --max-w:        1200px;
  --section-pad:  120px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--platinum);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Noise + Grid overlays ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.35;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none; z-index: 0;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { line-height: 1.15; }

.display { font-family: var(--font-display); font-weight: 300; }
.mono    { font-family: var(--font-mono); }

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

img { max-width: 100%; display: block; }

/* ── Layout Utilities ── */
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }

.section-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--platinum);
  margin-bottom: 18px;
  line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--gold); }

.section-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--plat-muted);
  max-width: 560px;
  line-height: 1.8;
}

.gold-divider { width: 48px; height: 1px; background: var(--gold); opacity: 0.6; margin-bottom: 40px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
}

.btn-sm  { padding: 8px 18px; font-size: 12px; }
.btn-md  { padding: 11px 24px; }
.btn-lg  { padding: 14px 32px; font-size: 14px; }
.btn-xl  { padding: 16px 40px; font-size: 15px; }

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--plat-muted);
  border-color: var(--steel-border);
}
.btn-ghost:hover {
  color: var(--platinum);
  border-color: rgba(232,237,245,0.2);
  background: var(--steel);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: rgba(201,168,76,0.4);
}
.btn-outline-gold:hover {
  background: var(--gold-muted);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ── Cards ── */
.card {
  background: var(--ink-2);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, background 0.3s;
}
.card:hover {
  border-color: rgba(201,168,76,0.2);
  background: var(--ink-3);
}
.card-accent { border-top: 2px solid var(--gold); }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plat-muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--platinum);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 300;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control::placeholder { color: rgba(232,237,245,0.25); }
.form-control:focus {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

textarea.form-control { resize: vertical; min-height: 120px; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
select.form-control option { background: var(--ink-2); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 6px;
}
.form-success {
  font-size: 13px;
  color: var(--success);
  background: rgba(46,204,113,0.08);
  border: 1px solid rgba(46,204,113,0.2);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
}
.form-alert {
  font-size: 13px;
  color: var(--error);
  background: rgba(231,76,60,0.08);
  border: 1px solid rgba(231,76,60,0.2);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
}

/* ── Navigation ── */
#jc-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 72px;
  background: rgba(6,10,20,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--steel-border);
  transition: all 0.3s;
}
#jc-nav.scrolled {
  background: rgba(6,10,20,0.97);
  border-bottom-color: rgba(232,237,245,0.12);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--platinum);
}
.logo-text span { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--plat-muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--platinum); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--platinum); transition: all 0.3s;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: calc(var(--section-pad) + 72px) 0 80px;
  border-bottom: 1px solid var(--steel-border);
}
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.3);
  border-radius: 2px; padding: 5px 12px; margin-bottom: 24px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300; line-height: 1.05; color: var(--platinum);
  margin-bottom: 20px;
}
.page-hero-title em { font-style: italic; color: var(--gold); }
.page-hero-subtitle {
  font-size: 18px; font-weight: 300; color: var(--plat-muted);
  max-width: 600px; line-height: 1.8;
}

/* ── Page Glow ── */
.page-glow {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.glow-gold {
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.glow-blue {
  background: radial-gradient(circle, rgba(26,111,212,0.1) 0%, transparent 70%);
}

/* ── Feature Lists ── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; font-weight: 300; color: var(--plat-muted); line-height: 1.6;
}
.feature-list li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 9px;
}

/* ── Tags / Badges ── */
.tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold); background: var(--gold-muted);
}
.tag-blue {
  border-color: rgba(26,111,212,0.3);
  color: var(--blue-soft); background: rgba(26,111,212,0.1);
}
.tag-green {
  border-color: rgba(46,204,113,0.3);
  color: var(--success); background: rgba(46,204,113,0.08);
}

/* ── Table ── */
.jc-table { width: 100%; border-collapse: collapse; }
.jc-table th {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--plat-muted); padding: 12px 20px;
  text-align: left; border-bottom: 1px solid var(--steel-border);
}
.jc-table td {
  font-size: 14px; font-weight: 300; color: var(--platinum);
  padding: 16px 20px; border-bottom: 1px solid var(--steel-border);
  vertical-align: top;
}
.jc-table tr:last-child td { border-bottom: none; }
.jc-table tr:hover td { background: rgba(232,237,245,0.02); }

/* ── Dividers ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--steel-border);
  margin: 0;
}
.section-divider-gold {
  border-top-color: rgba(201,168,76,0.2);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Footer ── */
#jc-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--steel-border);
  padding: 64px 0 40px;
  position: relative; z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand p {
  font-size: 14px; font-weight: 300;
  color: var(--plat-muted); line-height: 1.8;
  margin-top: 16px; max-width: 280px;
}
.footer-col-title {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.footer-links a {
  font-size: 14px; font-weight: 300;
  color: var(--plat-muted); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--platinum); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--steel-border);
  font-size: 12px; font-weight: 300; color: var(--plat-muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 12px; color: var(--plat-muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-legal a:hover { color: var(--platinum); }

/* ── Utility ── */
.text-gold { color: var(--gold); }
.text-muted { color: var(--plat-muted); }
.text-center { text-align: center; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-64 { margin-bottom: 64px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--plat-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--platinum); }
.breadcrumb span { color: var(--plat-muted); }
.breadcrumb .current { color: var(--gold); }

/* ── Status Indicator ── */
.status-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; margin-right: 6px;
}
.status-dot.green { background: var(--success); box-shadow: 0 0 6px rgba(46,204,113,0.5); }
.status-dot.yellow { background: var(--warning); box-shadow: 0 0 6px rgba(243,156,18,0.5); }
.status-dot.red { background: var(--error); box-shadow: 0 0 6px rgba(231,76,60,0.5); }

/* ── Prose ── */
.prose { max-width: 720px; }
.prose h2 { font-family: var(--font-display); font-size: 28px; font-weight: 400; color: var(--platinum); margin: 48px 0 16px; }
.prose h3 { font-size: 18px; font-weight: 500; color: var(--platinum); margin: 32px 0 12px; }
.prose p  { font-size: 15px; font-weight: 300; color: var(--plat-muted); line-height: 1.8; margin-bottom: 20px; }
.prose ul { list-style: none; margin-bottom: 20px; }
.prose ul li { font-size: 15px; font-weight: 300; color: var(--plat-muted); line-height: 1.7; padding: 4px 0 4px 20px; position: relative; }
.prose ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.prose strong { color: var(--platinum); font-weight: 500; }
.prose a { color: var(--gold); border-bottom: 1px solid rgba(201,168,76,0.3); }
.prose a:hover { border-bottom-color: var(--gold); }
.prose code { font-family: var(--font-mono); font-size: 13px; background: var(--ink-3); border: 1px solid var(--steel-border); padding: 2px 6px; border-radius: 3px; color: var(--gold-light); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}
