*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #080808; --bg-card: #0d1117; --teal: #0DBFA0; --white: #ffffff;
  --gray-100: #e5e7eb; --gray-300: #9ca3af; --gray-500: #6b7280;
  --font-display: 'Syne', sans-serif; --font-body: 'DM Sans', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--white); font-family: var(--font-body); font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ''; position: fixed; top: -30%; left: 50%; transform: translateX(-50%); width: 120vw; height: 80vh; background: radial-gradient(ellipse at center, rgba(13,191,160,0.06) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
a { color: var(--teal); }

/* HEADER */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; background: rgba(8,8,8,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.04); }
header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--white); text-decoration: none; letter-spacing: -0.02em; }
.logo-dot { color: var(--teal); }
nav { display: flex; align-items: center; gap: 32px; }
nav a { color: var(--gray-300); text-decoration: none; font-size: 0.9rem; font-weight: 400; transition: color 0.2s; }
nav a:hover { color: var(--white); }
nav a.active { color: var(--teal); }
.btn-nav { background: var(--teal); color: var(--bg) !important; padding: 10px 20px; border-radius: 6px; font-weight: 500; font-size: 0.85rem; text-decoration: none; transition: all 0.2s; }
.btn-nav:hover { background: #0ad9b5; transform: translateY(-1px); }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; top: 65px; left: 0; right: 0; background: rgba(8,8,8,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 24px; z-index: 99; flex-direction: column; gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--gray-300); text-decoration: none; font-size: 1.05rem; font-weight: 400; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 0.2s; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--white); }
.mobile-nav .btn-mobile-cta { color: var(--bg) !important; background: var(--teal); text-align: center; padding: 14px; border-radius: 6px; border-bottom: none; margin-top: 12px; font-weight: 500; }

/* BREADCRUMB */
.breadcrumb-bar { padding: 88px 0 0; }
.breadcrumb-bar nav { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--gray-500); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.breadcrumb-bar nav a { color: var(--gray-500); text-decoration: none; transition: color 0.2s; }
.breadcrumb-bar nav a:hover { color: var(--teal); }
.breadcrumb-bar nav span { color: var(--gray-500); }

/* TERM HERO */
.term-page { padding: 60px 0 0; }
.term-hero { max-width: 820px; margin-bottom: 64px; }
.term-meta { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.cluster-badge { font-size: 0.75rem; font-weight: 500; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; background: rgba(13,191,160,0.08); border: 1px solid rgba(13,191,160,0.2); border-radius: 20px; padding: 4px 12px; }
.cluster-badge--secondary { color: var(--gray-300); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.term-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem,5vw,3.8rem); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 20px; }
.term-tagline { font-size: 1.05rem; color: var(--gray-300); line-height: 1.7; max-width: 660px; }

/* TERM BODY */
.term-body { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 820px; }
.term-section { padding: 48px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.term-section:last-child { border-bottom: none; }
.term-section h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 20px; color: var(--white); }
.term-section h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--white); }
.term-section p { font-size: 0.95rem; color: var(--gray-300); line-height: 1.8; margin-bottom: 16px; }
.term-section p:last-child { margin-bottom: 0; }
.term-section p strong { color: var(--white); font-weight: 500; }
.term-section a { color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(13,191,160,0.3); transition: border-color 0.2s; }
.term-section a:hover { border-color: var(--teal); }

/* FIVE DIMENSIONS */
.five-dimensions { margin-top: 32px; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 28px 24px; }
.five-dimensions h3 { font-family: var(--font-display); font-size: 0.95rem; color: var(--gray-300); font-weight: 500; letter-spacing: 0.02em; margin-bottom: 20px; }
.dimensions-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.dimension-item { padding: 16px; background: rgba(255,255,255,0.02); border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); }
.dimension-number { font-size: 0.72rem; font-weight: 500; color: var(--teal); margin-bottom: 6px; }
.dimension-title { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.dimension-desc { font-size: 0.78rem; color: var(--gray-500); line-height: 1.5; }

/* EXAMPLE BOX */
.example-box { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06); border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; padding: 28px 24px; }
.example-label { font-size: 0.75rem; font-weight: 500; color: var(--teal); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.example-box p { font-size: 0.9rem; color: var(--gray-300); line-height: 1.75; margin-bottom: 12px; }
.example-box p:last-child { margin-bottom: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 24px; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 24px; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; color: var(--white); }
.faq-item p { font-size: 0.88rem; color: var(--gray-300); line-height: 1.7; }
.faq-item a { color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(13,191,160,0.3); transition: border-color 0.2s; }
.faq-item a:hover { border-color: var(--teal); }

/* LINKS SECTION */
.term-links .links-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.links-col { display: flex; flex-direction: column; gap: 8px; }
.links-label { font-size: 0.75rem; font-weight: 500; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.link-chip { display: inline-flex; align-items: center; font-size: 0.85rem; color: var(--teal); text-decoration: none; background: rgba(13,191,160,0.06); border: 1px solid rgba(13,191,160,0.15); border-radius: 8px; padding: 8px 14px; transition: all 0.2s; width: fit-content; }
.link-chip:hover { background: rgba(13,191,160,0.12); border-color: rgba(13,191,160,0.3); }

/* BULLETS */
.bullet-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.bullet-list li { font-size: 0.9rem; color: var(--gray-300); display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.bullet-list li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: rgba(13,191,160,0.1); border: 1px solid rgba(13,191,160,0.25); flex-shrink: 0; margin-top: 1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230DBFA0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

/* INFO BOX */
.info-box { background: rgba(13,191,160,0.05); border: 1px solid rgba(13,191,160,0.15); border-radius: 12px; padding: 20px 24px; margin-top: 20px; }
.info-box p { font-size: 0.88rem; color: var(--gray-300); line-height: 1.7; margin: 0; }
.info-box strong { color: var(--teal); font-weight: 500; }

/* CTA STRIP */
.cta-strip { padding: 60px 0; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 40px; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--bg-card); border: 1px solid rgba(13,191,160,0.15); border-radius: 16px; padding: 32px 36px; position: relative; overflow: hidden; }
.cta-strip-inner::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--teal), transparent); opacity: 0.5; }
.cta-strip-title { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 6px; }
.cta-strip-sub { font-size: 0.85rem; color: var(--gray-500); }
.btn-primary { background: var(--teal); color: var(--bg); padding: 12px 24px; border-radius: 6px; font-weight: 500; font-size: 0.9rem; text-decoration: none; transition: all 0.2s; border: 1px solid var(--teal); display: inline-block; white-space: nowrap; }
.btn-primary:hover { background: #0ad9b5; transform: translateY(-1px); }

/* FOOTER */
footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 0; }
footer .container { display: flex; justify-content: space-between; align-items: center; }
.footer-left { font-size: 0.8rem; color: var(--gray-500); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: var(--gray-500); text-decoration: none; transition: color 0.2s; border-bottom: none; }
.footer-links a:hover { color: var(--gray-300); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.js .animate { opacity: 0; animation: fadeUp 0.7s ease-out forwards; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) { .dimensions-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px) {
  nav a:not(.btn-nav) { display: none; }
  .hamburger { display: flex; }
  .dimensions-grid { grid-template-columns: repeat(2,1fr); }
  .term-links .links-grid { grid-template-columns: 1fr; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  footer .container { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) { .dimensions-grid { grid-template-columns: 1fr; } }
