:root {
  --bg-main: #ffffff;
  --bg-light: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-light: #e0f2fe;
  --border: #e2e8f0;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(226, 232, 240, 0.8);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-stack);
  font-size: 16px;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  scroll-behavior: auto;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

h1 { font-size: 2.75rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.85rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1.25rem; color: var(--text-muted); font-size: 1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--text-main); font-weight: 600; }

/* Structural Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.bg-light { background-color: var(--bg-light); }

.grid {
  display: grid;
  gap: 1.75rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Header & Sticky Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.logo svg { width: 1.35rem; height: 1.35rem; color: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

.nav-links {
  display: flex;
  gap: 1.75rem;
}

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

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 4.5rem;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--bg-main);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* UI Elements & Components */
.card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.icon-accent { width: 1.75rem; height: 1.75rem; color: var(--accent); flex-shrink: 0; }

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 6px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.card-icon svg { width: 1.5rem; height: 1.5rem; }

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--accent); color: var(--bg-main); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary { background: var(--bg-main); color: var(--text-main); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-light); border-color: var(--text-muted); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; border-radius: 4px; }
.btn-icon { width: 1rem; height: 1rem; }

/* Hero Section */
.hero-section {
  padding: 10.5rem 0 7rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 2.25rem;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Title Profile */
.section-title-area {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

/* Interactive Timeline Module */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 45px;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 9px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid var(--accent);
  z-index: 2;
  transition: var(--transition);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .timeline-line { left: 50%; transform: translateX(-50%); }
  .timeline-item { width: 50%; padding-left: 0; margin-bottom: 3.5rem; }
  .timeline-item:nth-child(even) { margin-left: auto; padding-left: 40px; }
  .timeline-item:nth-child(odd) { padding-right: 40px; text-align: right; }
  .timeline-dot { left: auto; top: 28px; }
  .timeline-item:nth-child(even) .timeline-dot { left: -8px; }
  .timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
}

/* Document Cards Structure */
.doc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.doc-meta { display: flex; gap: 1.25rem; margin-bottom: 1.75rem; }
.doc-icon { width: 2.75rem; height: 2.75rem; color: var(--accent); flex-shrink: 0; }
.doc-icon svg { width: 100%; height: 100%; }
.doc-title { font-size: 1.15rem; margin-bottom: 0.25rem; }
.doc-size { font-size: 0.8rem; color: var(--text-muted); }
.doc-actions { display: flex; gap: 0.75rem; }

/* Checklist Component */
.checklist { list-style: none; }
.checklist li { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.checklist li:last-child { margin-bottom: 0; }
.check-icon { width: 1.35rem; height: 1.35rem; color: #10b981; flex-shrink: 0; margin-top: 0.2rem; }
.check-icon svg { width: 100%; height: 100%; }

/* Accordion Module */
.accordion-group { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:first-child { border-top: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}
.chevron { width: 1.25rem; height: 1.25rem; color: var(--text-muted); transition: var(--transition); }
.accordion-content {
  padding: 0 0.5rem 1.5rem;
  overflow: hidden;
  transition: var(--transition);
}
.accordion-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); color: var(--accent); }

/* Contact Profile */
.contact-container { max-width: 750px; }
.contact-email {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-top: 1rem;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.contact-email:hover { border-color: var(--accent); }

/* Miscellaneous Layout Helpers */
.text-center { text-align: center; }
.margin-auto { margin-left: auto; margin-right: auto; }
.padding-lg { padding: 3rem; }

/* Global Scroll Elements */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  width: 0%;
  z-index: 1100;
}

#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
  transition: var(--transition);
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--bg-light); border-color: var(--text-muted); }
#back-to-top svg { width: 1.25rem; height: 1.25rem; color: var(--text-main); }

/* Footer */
.footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 4rem 0;
  font-size: 0.85rem;
}
.copyright { font-weight: 600; margin-bottom: 1rem; color: var(--text-main); }
.disclaimer { text-align: justify; line-height: 1.5; }

/* Subtle Animation Classes */
.js-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.js-animate.animated {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item.animated .timeline-dot {
  background: var(--accent);
}