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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background: #ffffff;
  color: #000;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nav {
  padding: 32px 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-center {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
}

.nav-center > a {
  color: #000;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.nav-center > a:hover {
  opacity: 0.6;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  color: #000;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dropdown-toggle:hover {
  opacity: 0.6;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  background: #f5f5f5;
  padding: 4px;
  min-width: 160px;
  display: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dropdown.active .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: #f0f0f0;
}

.main {
  flex: 1;
  padding: 80px 48px;
}

.hero {
  margin-bottom: 80px;
  padding-bottom: 48px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.6;
}

.content {
  max-width: 640px;
}

.intro-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.large-text {
  font-size: 1.4rem !important;
  font-weight: 600;
  margin-bottom: 32px !important;
}

.tools-section {
  margin-top: 120px;
  padding-top: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  margin-top: 32px;
}

.tool-category {
  display: flex;
  flex-direction: column;
}

.category-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #000;
  transition: background 0.2s, transform 0.1s;
}

.tool-tag:hover {
  background: #e8e8e8;
  transform: translateY(-1px);
}

.footer {
  padding: 32px 48px;
  text-align: center;
}

.footer p {
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  animation: fadeIn 0.2s ease;
}

.modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
}

.modal-content {
  background-color: #ffffff;
  margin: auto;
  padding: 48px;
  border-radius: 8px;
  max-width: 900px;
  width: 100%;
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
  animation: slideDown 0.3s ease;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.resume-modal-content {
  padding: 0;
  max-width: 1000px;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.resume-modal-content.fullscreen,
.modal.fullscreen .resume-modal-content {
  max-width: 100%;
  width: 100%;
  height: 100vh;
  margin: 0;
  border-radius: 0;
}

.modal.fullscreen {
  padding: 0;
}

.resume-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e0e0e0;
  background: #ffffff;
  border-radius: 8px 8px 0 0;
}

.resume-actions {
  display: flex;
  gap: 8px;
}

.resume-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #000;
  transition: all 0.2s;
}

.resume-btn:hover {
  background: #e8e8e8;
  border-color: #000;
}

.resume-btn svg {
  flex-shrink: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #000;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
  z-index: 10;
}

.resume-modal-content .modal-close {
  position: relative;
  top: auto;
  right: auto;
}

.modal-close:hover {
  background: #f5f5f5;
}

.resume-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 0 8px 8px;
  flex: 1;
}

.resume-modal-content.fullscreen .resume-iframe,
.modal.fullscreen .resume-iframe {
  border-radius: 0;
}

/* Contact Modal Styles */
.contact-modal-content {
  max-width: 600px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.email-container {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 4px;
  transition: border-color 0.2s;
}

.email-container:focus-within {
  border-color: #000;
}

.email-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 1rem;
  background: transparent;
  color: #000;
  font-family: inherit;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: #f5f5f5;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #000;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.copy-btn:hover {
  background: #e8e8e8;
}

.copy-btn.copied {
  background: #000;
  color: #fff;
}

.copy-btn svg {
  flex-shrink: 0;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: #000;
  background: #f9f9f9;
  transform: translateY(-1px);
}

.social-link svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.social-link span {
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 24px;
    justify-content: center;
  }
  
  .nav-center {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .main {
    padding: 48px 24px;
  }
  
  .hero {
    margin-bottom: 48px;
    padding-bottom: 32px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .footer {
    padding: 24px;
  }

  .tools-section {
    margin-top: 80px;
    padding-top: 48px;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 32px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .modal.active {
    padding: 20px 12px;
  }

  .modal-content {
    padding: 32px 24px;
    margin-top: 20px;
    margin-bottom: 20px;
    max-height: calc(100vh - 40px);
  }

  .resume-modal-content {
    height: calc(100vh - 40px);
  }

  .resume-header {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .resume-actions {
    flex: 1;
    min-width: 100%;
    order: 1;
  }

  .resume-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.85rem;
    justify-content: center;
  }

  .resume-btn span {
    font-size: 0.8rem;
  }

  .resume-modal-content .modal-close {
    order: 2;
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
  }

  .contact-items {
    gap: 24px;
  }

  .social-link {
    padding: 12px;
  }

  .copy-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}


