/* ==========================================================================
   EVEROS INDONESIA - COMPREHENSIVE DESIGN SYSTEM & EDUCATIONAL PORTAL
   ========================================================================== */

:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d121d;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 36, 56, 0.9);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.3);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Lighting */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-top-left {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 70%);
  top: -150px;
  left: -150px;
}

.glow-bottom-right {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
  bottom: -200px;
  right: -200px;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 14, 0.85);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffffff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.68rem;
  padding: 2px 8px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.main-content {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.hero-section {
  text-align: center;
  padding: 30px 0 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-actions a {
  text-decoration: none;
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */

.section-container {
  margin-top: 90px;
}

.section-header {
  text-align: left;
  margin-bottom: 32px;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 10px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 1: EDU GRID (APA, KENAPA, MENGAPA)
   ========================================================================== */

.edu-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.edu-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.edu-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.edu-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.edu-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.edu-analogy {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-cyan);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.5;
}

.edu-analogy em {
  color: #fff;
  font-style: italic;
}

.edu-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.edu-checklist li {
  position: relative;
  padding-left: 20px;
}

.edu-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: 700;
}

/* ==========================================================================
   SECTION 2: HOW IT WORKS (WORKFLOW DUAL)
   ========================================================================== */

.workflow-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.workflow-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
}

.workflow-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 16px;
}

.workflow-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.workflow-sub {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.step-content strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

.step-content code {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85em;
}

/* ==========================================================================
   SECTION 3: GLOSARIUM A - Z
   ========================================================================== */

.glossary-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.search-box {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.search-box input {
  padding-left: 46px !important;
  font-size: 0.95rem !important;
  background: #090d16 !important;
  border-radius: var(--radius-md) !important;
}

.glossary-alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alpha-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.alpha-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.alpha-btn.active {
  background: var(--accent-cyan);
  color: #041322;
  border-color: var(--accent-cyan);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.glossary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}

.glossary-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: var(--bg-card-hover);
}

.term-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.term-badge {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.term-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.term-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.term-desc code {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   SECTION 5: INTEGRATION
   ========================================================================== */

.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.integration-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  transition: var(--transition);
}

.integration-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.integration-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.integration-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.code-snippet-box {
  position: relative;
  background: #07090e;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}

.code-snippet-box pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #e2e8f0;
  overflow-x: auto;
  line-height: 1.5;
}

.copy-code-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.copy-code-btn:hover {
  background: var(--accent-cyan);
  color: #041322;
  border-color: var(--accent-cyan);
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.feature-bullets code {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   SECTION 6: FAQ ACCORDION
   ========================================================================== */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   SECTION 7: ARCHITECTURE
   ========================================================================== */

.arch-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
}

.arch-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.arch-node {
  flex: 1;
  min-width: 190px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}

.public-node {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.private-node {
  border-color: rgba(16, 185, 129, 0.35);
}

.node-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.node-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.node-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.arch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 100px;
}

.arch-arrow span {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-align: center;
}

.arrow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.5), rgba(16, 185, 129, 0.5));
  position: relative;
}

.arrow-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(16, 185, 129, 0.8);
  border-right: 2px solid rgba(16, 185, 129, 0.8);
  transform: rotate(45deg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-color);
  background: rgba(7, 9, 14, 0.95);
  padding: 32px 0;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.security-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 1000px) {
  .edu-grid-3 { grid-template-columns: 1fr; }
  .workflow-container { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
}
