@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");

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

:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;
}

body {
  font-family: "DM Sans", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

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

.logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  text-decoration: none;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Section */
.section {
  padding: 3.5rem 0;
}

.border-top {
  border-top: 1px solid var(--border);
}

.hero {
  padding-top: 7rem;
  padding-bottom: 2.5rem;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  text-decoration: none;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--foreground);
}

.icon {
  width: 1rem;
  height: 1rem;
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Typography */
.title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.description {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Document */
.document-card {
  border: 2px solid var(--foreground);
  overflow: hidden;
}

.document-header {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid var(--foreground);
  align-items: center;
  flex-wrap: wrap;
}

.document-icon-container {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.document-icon {
  width: 2.5rem;
  height: 2.5rem;
}

.document-info {
  flex: 1;
  min-width: 200px;
}

.document-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.document-meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Open Button */
.open-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: var(--foreground);
  color: var(--background);
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.open-btn:hover {
  background-color: #333;
  transform: translateY(-1px);
}

.open-btn:active {
  transform: translateY(0);
}

.open-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.document-viewer {
  background-color: var(--muted);
  height: calc(100vh - 200px);
  min-height: 700px;
}

.pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Illustration */
.illustration-container {
  display: none;
}

.illustration {
  width: 100%;
  max-width: 24rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Responsive */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .document-viewer {
    height: calc(100vh - 180px);
    min-height: 800px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }

  .nav-container {
    padding: 0 3rem;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .illustration-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

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

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 1rem;
  }

  .menu-btn {
    display: block;
  }

  .title {
    font-size: 2rem;
  }

  .document-viewer {
    height: calc(100vh - 250px);
    min-height: 500px;
  }

  .document-header {
    padding: 1rem 1.25rem;
  }

  .open-btn-text {
    display: none;
  }

  .open-btn {
    padding: 0.75rem;
  }
}
